Ensure that we don't initialise more motors than are defined in target.h. Make MAX_PW...
[betaflight.git] / src / main / target / stm32_flash_f103_128k_opbl.ld
blob643ddcff2343436bbdf8bd1eb6d4403c7e6fa634
1 /*
2 *****************************************************************************
3 **
4 **  File        : stm32_flash.ld
5 **
6 **  Abstract    : Linker script for STM32F103CB Device with
7 **                128KByte FLASH, 20KByte RAM
8 **
9 *****************************************************************************
12 /* Specify the memory areas. */
13 MEMORY
15   FLASH (rx)       : ORIGIN = 0x08003000, LENGTH = 124K - 0x03000 /* last 4kb used for config storage first 12k for OP Bootloader */
16   FLASH_CONFIG (r) : ORIGIN = 0x0801F000, LENGTH = 4K
18   RAM (xrw)       : ORIGIN = 0x20000000, LENGTH = 20K
19   MEMORY_B1 (rx)  : ORIGIN = 0x60000000, LENGTH = 0K
22 INCLUDE "stm32_flash.ld"