2018-02-28 18:25:06 -04:00
|
|
|
# FMUv2 build, same as fmuv3, but 1M flash to avoid hardware issue
|
|
|
|
# with 2nd half of flash on early STM32F427 chips
|
|
|
|
|
|
|
|
include ../fmuv3/hwdef.dat
|
|
|
|
|
|
|
|
FLASH_SIZE_KB 1024
|
|
|
|
|
|
|
|
# this reduces features to keep the firmware small. This is not
|
|
|
|
# actually needed as of February 2018 as the full build does fit in
|
|
|
|
# 1M, but it prepares us for when large features such as scripting are
|
|
|
|
# added to the build
|
|
|
|
define HAL_MINIMIZE_FEATURES 1
|
2020-02-28 23:31:20 -04:00
|
|
|
|
|
|
|
# we don't have a flash page spare to write parameters to:
|
|
|
|
undef STORAGE_FLASH_PAGE
|
2022-04-05 21:48:31 -03:00
|
|
|
|
2022-04-14 03:28:05 -03:00
|
|
|
# minimal drivers to reduce flash usage
|
|
|
|
include ../include/minimal.inc
|
2022-10-04 04:10:18 -03:00
|
|
|
|
|
|
|
# produce this error if we are on a 2M board and using 1M firmware
|
|
|
|
define BOARD_CHECK_F427_USE_2M "2M flash - use fmuv3 firmware"
|