1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Move STM (and clone) related config in flash implementation to platform (#14103)

This commit is contained in:
Jay Blackman 2025-01-06 19:36:24 +11:00 committed by GitHub
parent 69f8f71b77
commit 02432af6fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 653 additions and 535 deletions

View file

@ -83,6 +83,7 @@ DEVICE_FLAGS += -DUSE_ATBSP_DRIVER -DAT32F43x -DHSE_VALUE=$(HSE_VALUE) -DAT32
MCU_COMMON_SRC = \
common/stm32/system.c \
common/stm32/io_impl.c \
common/stm32/config_flash.c \
AT32/startup/at32f435_437_clock.c \
AT32/startup/system_at32f435_437.c \
AT32/adc_at32f43x.c \

View file

@ -142,3 +142,5 @@ typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
#define MAX_SPI_PIN_SEL 4
#endif
#define FLASH_CONFIG_BUFFER_TYPE uint32_t