diff --git a/ports/stm32/boards/OPENMV_N6/mpconfigboard.h b/ports/stm32/boards/OPENMV_N6/mpconfigboard.h index 5e4f810999..f1ece03fe0 100644 --- a/ports/stm32/boards/OPENMV_N6/mpconfigboard.h +++ b/ports/stm32/boards/OPENMV_N6/mpconfigboard.h @@ -3,7 +3,10 @@ #define MICROPY_GC_STACK_ENTRY_TYPE uint32_t #define MICROPY_ALLOC_GC_STACK_SIZE (128) -#define MICROPY_FATFS_EXFAT (1) + +#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C) +typedef int mp_int_t; // must be pointer size +typedef unsigned int mp_uint_t; // must be pointer size #define MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE (0) #define MICROPY_HW_HAS_SWITCH (0) @@ -15,6 +18,7 @@ #define MICROPY_HW_ENABLE_USB (1) #define MICROPY_HW_ENABLE_SDCARD (1) #define MICROPY_PY_PYB_LEGACY (0) +#define MICROPY_FATFS_EXFAT (1) #define MICROPY_BOARD_ENTER_BOOTLOADER board_enter_bootloader #define MICROPY_BOARD_EARLY_INIT board_early_init