1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

NEW TARGET: AT32 debug targets, ATSTARTF435 and REVO-AT (#12392)

* Never block use of SWD pins

* Split the AT-START-F435 and REVO-AT configs out from AT32F435/target.h
This commit is contained in:
Steve Evans 2023-02-21 12:14:07 +00:00 committed by GitHub
parent 166ff9c9b3
commit 1ff78c6aac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 137 additions and 52 deletions

View file

@ -50,6 +50,10 @@ uint8_t eepromData[EEPROM_SIZE];
# define FLASH_PAGE_SIZE ((uint32_t)0x4000)
# elif defined(STM32F446xx)
# define FLASH_PAGE_SIZE ((uint32_t)0x4000)
# elif defined(AT32F435ZMT7) || defined(AT32F435RMT7)
# define FLASH_PAGE_SIZE ((uint32_t)0x1000) // 4K sectors
# elif defined(AT32F435RGT7)
# define FLASH_PAGE_SIZE ((uint32_t)0x0800) // 2K sectors
// F7
#elif defined(STM32F722xx)
# define FLASH_PAGE_SIZE ((uint32_t)0x4000) // 16K sectors