Skip to content

Commit f7b30aa

Browse files
iabdalkaderdpgeorge
authored andcommitted
stm32/boards/OPENMV_N6: Switch to object REPR_C.
Signed-off-by: iabdalkader <[email protected]>
1 parent 8995a29 commit f7b30aa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ports/stm32/boards/OPENMV_N6/mpconfigboard.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
#define MICROPY_GC_STACK_ENTRY_TYPE uint32_t
55
#define MICROPY_ALLOC_GC_STACK_SIZE (128)
6-
#define MICROPY_FATFS_EXFAT (1)
6+
7+
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C)
8+
typedef int mp_int_t; // must be pointer size
9+
typedef unsigned int mp_uint_t; // must be pointer size
710

811
#define MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE (0)
912
#define MICROPY_HW_HAS_SWITCH (0)
@@ -15,6 +18,7 @@
1518
#define MICROPY_HW_ENABLE_USB (1)
1619
#define MICROPY_HW_ENABLE_SDCARD (1)
1720
#define MICROPY_PY_PYB_LEGACY (0)
21+
#define MICROPY_FATFS_EXFAT (1)
1822

1923
#define MICROPY_BOARD_ENTER_BOOTLOADER board_enter_bootloader
2024
#define MICROPY_BOARD_EARLY_INIT board_early_init

0 commit comments

Comments
 (0)