Remove reverse methods from per-board defs

This commit is contained in:
Scott Shawcroft 2020-05-19 11:43:57 -07:00
parent 9eb85a5feb
commit acf4b1bede
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E
4 changed files with 2 additions and 4 deletions

View File

@ -32,8 +32,6 @@
// Increase stack size slightly due to CPX library import nesting // Increase stack size slightly due to CPX library import nesting
#define CIRCUITPY_DEFAULT_STACK_SIZE (4760) // divisible by 8 #define CIRCUITPY_DEFAULT_STACK_SIZE (4760) // divisible by 8
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
#define DEFAULT_I2C_BUS_SCL (&pin_PB03) #define DEFAULT_I2C_BUS_SCL (&pin_PB03)
#define DEFAULT_I2C_BUS_SDA (&pin_PB02) #define DEFAULT_I2C_BUS_SDA (&pin_PB02)

View File

@ -18,8 +18,6 @@
#define CALIBRATE_CRYSTALLESS 1 #define CALIBRATE_CRYSTALLESS 1
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
#define DEFAULT_I2C_BUS_SCL (&pin_PA09) #define DEFAULT_I2C_BUS_SCL (&pin_PA09)
#define DEFAULT_I2C_BUS_SDA (&pin_PA08) #define DEFAULT_I2C_BUS_SDA (&pin_PA08)

View File

@ -47,6 +47,7 @@
#define MICROPY_PY_FUNCTION_ATTRS (0) #define MICROPY_PY_FUNCTION_ATTRS (0)
// MICROPY_PY_UJSON depends on MICROPY_PY_IO // MICROPY_PY_UJSON depends on MICROPY_PY_IO
#define MICROPY_PY_IO (0) #define MICROPY_PY_IO (0)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
#define MICROPY_PY_UJSON (0) #define MICROPY_PY_UJSON (0)
#define MICROPY_PY_UERRNO_LIST \ #define MICROPY_PY_UERRNO_LIST \
X(EPERM) \ X(EPERM) \

View File

@ -623,6 +623,7 @@ extern const struct _mp_obj_module_t ustack_module;
#else #else
#define ULAB_MODULE #define ULAB_MODULE
#endif #endif
#if MICROPY_PY_URE #if MICROPY_PY_URE
#define RE_MODULE { MP_ROM_QSTR(MP_QSTR_re), MP_ROM_PTR(&mp_module_ure) }, #define RE_MODULE { MP_ROM_QSTR(MP_QSTR_re), MP_ROM_PTR(&mp_module_ure) },
#else #else