enable microcontroller.cpu.voltage on SAME54

This commit is contained in:
root 2021-06-08 10:04:40 -05:00
parent b2dea8ae0d
commit 72db13fc2d
1 changed files with 3 additions and 3 deletions

View File

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