1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Add Nucleo-F303RE support

This commit is contained in:
jflyper 2019-09-24 00:24:38 +09:00
parent 429f684378
commit cb1bdfe204
7 changed files with 305 additions and 0 deletions

View file

@ -0,0 +1,28 @@
/*
*****************************************************************************
**
** File : stm32_flash.ld
**
** Abstract : Linker script for STM32F303xD/E Device
** FLASH 512KByte
** SRAM 64KByte
** CCM 16KByte
**
*****************************************************************************
*/
/* Specify the memory areas. */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 508K
FLASH_CONFIG (r) : ORIGIN = 0x0807F000, LENGTH = 4K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 16K
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
}
REGION_ALIAS("STACKRAM", CCM)
REGION_ALIAS("FASTRAM", CCM)
INCLUDE "stm32_flash.ld"