Skip to content

Commit 4270061

Browse files
committed
Moved ORDEREDDICT define to central location
1 parent 0775e2b commit 4270061

File tree

7 files changed

+1
-7
lines changed

7 files changed

+1
-7
lines changed

ports/atmel-samd/mpconfigport.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
#define MICROPY_PY_SYS_PLATFORM "Atmel SAMD21"
4444
#define SPI_FLASH_MAX_BAUDRATE 8000000
4545
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
46-
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)
4746
#define MICROPY_PY_FUNCTION_ATTRS (0)
4847
// MICROPY_PY_UJSON depends on MICROPY_PY_IO
4948
#define MICROPY_PY_IO (0)
@@ -81,7 +80,6 @@
8180
#endif
8281
#define SPI_FLASH_MAX_BAUDRATE 24000000
8382
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
84-
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
8583
#define MICROPY_PY_FUNCTION_ATTRS (1)
8684
// MICROPY_PY_UJSON depends on MICROPY_PY_IO
8785
#define MICROPY_PY_IO (1)

ports/litex/mpconfigport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
#define CIRCUITPY_INTERNAL_NVM_SIZE (0)
3232
#define MICROPY_NLR_THUMB (0)
33-
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
3433
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
3534
#define MICROPY_PY_UBINASCII (1)
3635
#define MICROPY_PY_UJSON (1)

ports/mimxrt10xx/mpconfigport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ extern uint8_t _ld_default_stack_size;
4040
// 20kiB stack
4141
#define CIRCUITPY_DEFAULT_STACK_SIZE ((uint32_t) &_ld_default_stack_size)
4242
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
43-
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)
4443
#define MICROPY_PY_FUNCTION_ATTRS (0)
4544
#define MICROPY_PY_IO (1)
4645
#define MICROPY_PY_UJSON (1)

ports/nrf/mpconfigport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "nrf_sdm.h" // for SD_FLASH_SIZE
3535
#include "peripherals/nrf/nvm.h" // for FLASH_PAGE_SIZE
3636

37-
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
3837
#define MICROPY_PY_FUNCTION_ATTRS (1)
3938
#define MICROPY_PY_IO (1)
4039
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

ports/stm/mpconfigport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
#include <stdint.h>
3232

33-
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
3433
#define MICROPY_PY_FUNCTION_ATTRS (1)
3534
#define MICROPY_PY_IO (1)
3635
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

ports/unix/mpconfigport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
#define MICROPY_PY_SYS_STDFILES (1)
100100
#define MICROPY_PY_SYS_EXC_INFO (1)
101101
#define MICROPY_PY_COLLECTIONS_DEQUE (1)
102-
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
103102
#ifndef MICROPY_PY_MATH_SPECIAL_FUNCTIONS
104103
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
105104
#endif

py/circuitpy_mpconfig.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ typedef long mp_off_t;
195195
#define MICROPY_PY_BUILTINS_STR_PARTITION (CIRCUITPY_FULL_BUILD)
196196
#define MICROPY_PY_BUILTINS_STR_SPLITLINES (CIRCUITPY_FULL_BUILD)
197197
#define MICROPY_PY_UERRNO (CIRCUITPY_FULL_BUILD)
198+
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (CIRCUITPY_FULL_BUILD)
198199
// Opposite setting is deliberate.
199200
#define MICROPY_PY_UERRNO_ERRORCODE (!CIRCUITPY_FULL_BUILD)
200201
#ifndef MICROPY_PY_URE

0 commit comments

Comments
 (0)