1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

NucleoF7 board support

This commit is contained in:
Sami Korhonen 2016-12-04 09:48:47 +02:00
parent 5ee5ec1358
commit 7c6d3efa13
9 changed files with 712 additions and 4 deletions

View file

@ -51,6 +51,10 @@
#define FLASH_PAGE_SIZE ((uint32_t)0x40000)
#endif
#if defined(STM32F746xx)
#define FLASH_PAGE_SIZE ((uint32_t)0x40000)
#endif
#if defined(STM32F40_41xxx)
#define FLASH_PAGE_SIZE ((uint32_t)0x20000)
#endif
@ -78,6 +82,8 @@
#define FLASH_PAGE_COUNT 3 // just to make calculations work
#elif defined (STM32F745xx)
#define FLASH_PAGE_COUNT 4 // just to make calculations work
#elif defined (STM32F746xx)
#define FLASH_PAGE_COUNT 4 // just to make calculations work
#else
#define FLASH_PAGE_COUNT ((FLASH_SIZE * 0x400) / FLASH_PAGE_SIZE)
#endif