Skip to content

Commit d042c9f

Browse files
committed
Disabled ordered dicts for some m0 boards
1 parent e6d0b20 commit d042c9f

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

ports/atmel-samd/boards/circuitplayground_express_crickit/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@
4545
// USB is always used internally so skip the pin objects for it.
4646
#define IGNORE_PIN_PA24 1
4747
#define IGNORE_PIN_PA25 1
48+
49+
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)

ports/atmel-samd/boards/feather_m0_express/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@
3030
// USB is always used internally so skip the pin objects for it.
3131
#define IGNORE_PIN_PA24 1
3232
#define IGNORE_PIN_PA25 1
33+
34+
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)

ports/atmel-samd/boards/feather_m0_supersized/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@
3030
// USB is always used internally so skip the pin objects for it.
3131
#define IGNORE_PIN_PA24 1
3232
#define IGNORE_PIN_PA25 1
33+
34+
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)

ports/atmel-samd/boards/metro_m0_express/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@
3636
// USB is always used internally so skip the pin objects for it.
3737
#define IGNORE_PIN_PA24 1
3838
#define IGNORE_PIN_PA25 1
39+
40+
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)

py/circuitpy_mpconfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ 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+
#ifndef MICROPY_PY_COLLECTIONS_ORDEREDDICT
198199
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (CIRCUITPY_FULL_BUILD)
200+
#endif
199201
// Opposite setting is deliberate.
200202
#define MICROPY_PY_UERRNO_ERRORCODE (!CIRCUITPY_FULL_BUILD)
201203
#ifndef MICROPY_PY_URE

0 commit comments

Comments
 (0)