enable microcontroller.cpu.voltage on SAME54

This commit is contained in:
root 2021-06-08 10:04:40 -05:00
parent b2dea8ae0d
commit 72db13fc2d

View File

@ -73,9 +73,9 @@
#define MICROPY_PY_SYS_PLATFORM "MicroChip SAMD51" #define MICROPY_PY_SYS_PLATFORM "MicroChip SAMD51"
#elif defined(SAME54) #elif defined(SAME54)
#define MICROPY_PY_SYS_PLATFORM "MicroChip SAME54" #define MICROPY_PY_SYS_PLATFORM "MicroChip SAME54"
#ifndef MICROCONTROLLER_VOLTAGE_DISABLE // #ifndef MICROCONTROLLER_VOLTAGE_DISABLE
#define MICROCONTROLLER_VOLTAGE_DISABLE (1) // #define MICROCONTROLLER_VOLTAGE_DISABLE (1)
#endif // #endif
#endif #endif
#define SPI_FLASH_MAX_BAUDRATE 24000000 #define SPI_FLASH_MAX_BAUDRATE 24000000
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1) #define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)