correct MP_TYPE_FLAG_NONE to MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS
also remove #include py/objproperty.h where not needed (side effect of looking for property uses)
This commit is contained in:
parent
59463683dd
commit
616201109c
|
@ -27,7 +27,6 @@
|
||||||
#include "bindings/espulp/ULPAlarm.h"
|
#include "bindings/espulp/ULPAlarm.h"
|
||||||
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
|
|
||||||
//| class ULPAlarm:
|
//| class ULPAlarm:
|
||||||
//| """Trigger an alarm when the ULP requests wake-up."""
|
//| """Trigger an alarm when the ULP requests wake-up."""
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "py/binary.h"
|
#include "py/binary.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/runtime0.h"
|
#include "py/runtime0.h"
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#include "py/binary.h"
|
#include "py/binary.h"
|
||||||
#include "py/mphal.h"
|
#include "py/mphal.h"
|
||||||
#include "py/nlr.h"
|
#include "py/nlr.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "shared-bindings/microcontroller/Pin.h"
|
#include "shared-bindings/microcontroller/Pin.h"
|
||||||
#include "shared-bindings/analogbufio/BufferedIn.h"
|
#include "shared-bindings/analogbufio/BufferedIn.h"
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
|
|
||||||
#include "shared-bindings/camera/Camera.h"
|
#include "shared-bindings/camera/Camera.h"
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
|
|
||||||
#include "shared/runtime/context_manager_helpers.h"
|
#include "shared/runtime/context_manager_helpers.h"
|
||||||
#include "py/binary.h"
|
#include "py/binary.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "shared-bindings/microcontroller/Pin.h"
|
#include "shared-bindings/microcontroller/Pin.h"
|
||||||
#include "shared-bindings/busio/I2C.h"
|
#include "shared-bindings/busio/I2C.h"
|
||||||
|
|
|
@ -420,7 +420,7 @@ STATIC MP_DEFINE_CONST_DICT(i2ctarget_i2c_target_request_locals_dict, i2ctarget_
|
||||||
MP_DEFINE_CONST_OBJ_TYPE(
|
MP_DEFINE_CONST_OBJ_TYPE(
|
||||||
i2ctarget_i2c_target_request_type,
|
i2ctarget_i2c_target_request_type,
|
||||||
MP_QSTR_I2CTargetRequest,
|
MP_QSTR_I2CTargetRequest,
|
||||||
MP_TYPE_FLAG_NONE,
|
MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS,
|
||||||
make_new, i2ctarget_i2c_target_request_make_new,
|
make_new, i2ctarget_i2c_target_request_make_new,
|
||||||
locals_dict, &i2ctarget_i2c_target_request_locals_dict
|
locals_dict, &i2ctarget_i2c_target_request_locals_dict
|
||||||
);
|
);
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "py/obj.h"
|
#include "py/obj.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
|
|
||||||
#include "shared/runtime/context_manager_helpers.h"
|
#include "shared/runtime/context_manager_helpers.h"
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "py/obj.h"
|
#include "py/obj.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/objarray.h"
|
#include "py/objarray.h"
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "py/binary.h"
|
#include "py/binary.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/runtime0.h"
|
#include "py/runtime0.h"
|
||||||
#include "shared-bindings/memorymap/AddressRange.h"
|
#include "shared-bindings/memorymap/AddressRange.h"
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "py/binary.h"
|
#include "py/binary.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/runtime0.h"
|
#include "py/runtime0.h"
|
||||||
#include "shared-bindings/nvm/ByteArray.h"
|
#include "shared-bindings/nvm/ByteArray.h"
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "shared/runtime/context_manager_helpers.h"
|
#include "shared/runtime/context_manager_helpers.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/runtime0.h"
|
#include "py/runtime0.h"
|
||||||
#include "shared-bindings/microcontroller/Pin.h"
|
#include "shared-bindings/microcontroller/Pin.h"
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
#include "shared/runtime/context_manager_helpers.h"
|
#include "shared/runtime/context_manager_helpers.h"
|
||||||
#include "py/binary.h"
|
#include "py/binary.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "shared-bindings/microcontroller/Pin.h"
|
#include "shared-bindings/microcontroller/Pin.h"
|
||||||
#include "shared-bindings/util.h"
|
#include "shared-bindings/util.h"
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "shared/runtime/context_manager_helpers.h"
|
#include "shared/runtime/context_manager_helpers.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/runtime0.h"
|
#include "py/runtime0.h"
|
||||||
#include "shared-bindings/microcontroller/Pin.h"
|
#include "shared-bindings/microcontroller/Pin.h"
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "py/obj.h"
|
#include "py/obj.h"
|
||||||
#include "py/objproperty.h"
|
|
||||||
#include "py/runtime.h"
|
#include "py/runtime.h"
|
||||||
#include "py/objarray.h"
|
#include "py/objarray.h"
|
||||||
|
|
||||||
|
|
|
@ -166,7 +166,7 @@ STATIC MP_DEFINE_CONST_DICT(vectorio_rectangle_locals_dict, vectorio_rectangle_l
|
||||||
MP_DEFINE_CONST_OBJ_TYPE(
|
MP_DEFINE_CONST_OBJ_TYPE(
|
||||||
vectorio_rectangle_type,
|
vectorio_rectangle_type,
|
||||||
MP_QSTR_Rectangle,
|
MP_QSTR_Rectangle,
|
||||||
MP_TYPE_FLAG_NONE,
|
MP_TYPE_FLAG_HAS_SPECIAL_ACCESSORS,
|
||||||
make_new, vectorio_rectangle_make_new,
|
make_new, vectorio_rectangle_make_new,
|
||||||
locals_dict, &vectorio_rectangle_locals_dict,
|
locals_dict, &vectorio_rectangle_locals_dict,
|
||||||
protocol, &rectangle_draw_protocol
|
protocol, &rectangle_draw_protocol
|
||||||
|
|
Loading…
Reference in New Issue