py/mpconfig: Add MICROPY_PY_PLATFORM, enabled at extra features level.

Previously this was explicitly enabled on esp32/stm32/renesas/mimxrt/samd,
but didn't get a default feature level because it wasn't in py/mpconfig.h.

With this commit it's now enabled at the "extra features" level, which adds
rp2, unix-standard, windows, esp8266, webassembly, and some nrf boards.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2023-07-21 13:39:36 +10:00
committed by Damien George
parent 14374850ce
commit 975a687447
6 changed files with 9 additions and 12 deletions

View File

@@ -94,7 +94,6 @@ uint32_t trng_random_u32(void);
#define MICROPY_PY_MACHINE_TIMER (1)
#define MICROPY_SOFT_TIMER_TICKS_MS systick_ms
#define MICROPY_PY_ONEWIRE (1)
#define MICROPY_PY_PLATFORM (1)
// fatfs configuration used in ffconf.h
#define MICROPY_FATFS_ENABLE_LFN (1)