feat: Use explicit linker script for 1MB flash B/W radios (#4244)
This commit is contained in:
@@ -231,7 +231,7 @@ elseif(PCB STREQUAL X7)
|
||||
set(MODULE_SIZE_STD YES)
|
||||
set(FLAVOUR boxer)
|
||||
set(NAVIGATION_TYPE x7)
|
||||
set(CPU_TYPE_FULL STM32F407xE)
|
||||
set(CPU_TYPE_FULL STM32F407xG)
|
||||
set(ROTARY_ENCODER YES)
|
||||
set(USB_CHARGER YES)
|
||||
add_definitions(-DRADIO_BOXER)
|
||||
@@ -449,7 +449,12 @@ elseif (CPU_TYPE_FULL STREQUAL STM32F407xE)
|
||||
set(CPU_TYPE STM32F4)
|
||||
add_definitions(-DSTM32F407xx)
|
||||
add_definitions(-DSTM32F40_41xxx -DSTM32F407xx)
|
||||
set(LINKER_SCRIPT targets/taranis/stm32f4_flash.ld)
|
||||
set(LINKER_SCRIPT targets/taranis/stm32f4_512k_flash.ld)
|
||||
elseif (CPU_TYPE_FULL STREQUAL STM32F407xG)
|
||||
set(CPU_TYPE STM32F4)
|
||||
add_definitions(-DSTM32F407xx)
|
||||
add_definitions(-DSTM32F40_41xxx -DSTM32F407xx)
|
||||
set(LINKER_SCRIPT targets/taranis/stm32f4_1m_flash.ld)
|
||||
elseif (CPU_TYPE_FULL STREQUAL STM32F413xG)
|
||||
set(CPU_TYPE STM32F4)
|
||||
add_definitions(-DSTM32F413xx)
|
||||
|
||||
Reference in New Issue
Block a user