| 123456789101112131415161718192021222324252627282930 |
- #include <stdint.h>
- // Type definitions for the specific machine
- typedef intptr_t mp_int_t; // must be pointer size
- typedef uintptr_t mp_uint_t; // must be pointer size
- typedef long mp_off_t;
- // Need to provide a declaration/definition of alloca()
- #if defined(__FreeBSD__) || defined(__NetBSD__)
- #include <stdlib.h>
- #else
- #include <alloca.h>
- #endif
- #define MICROPY_MPHALPORT_H "lib/micropython-port/mphalport.h"
- #define MICROPY_CONFIG_ROM_LEVEL (MICROPY_CONFIG_ROM_LEVEL_MINIMUM)
- #define MICROPY_ENABLE_COMPILER (1)
- #define MICROPY_ENABLE_GC (1)
- #define MICROPY_MIN_USE_CORTEX_CPU (1)
- #define MICROPY_MIN_USE_STM32_MCU (1)
- #define MICROPY_HW_BOARD_NAME "Flipper Zero"
- #define MICROPY_HW_MCU_NAME "STM32WB55RG"
- #define MICROPY_ENABLE_EXTERNAL_IMPORT (1)
- #define MICROPY_READER_VFS (1)
|