HAL_ChibiOS: moved M4 disable into H757 script

this fixes assert checking in the bootloader and for boards other than
CubeRedPrimary
This commit is contained in:
Andrew Tridgell 2024-01-20 07:52:07 +11:00
parent 3e35773c8a
commit 5e7b211b79
2 changed files with 3 additions and 4 deletions

View File

@ -46,10 +46,6 @@ CANFD_SUPPORTED 8
STM32_ST_USE_TIMER 12
# disable core m4 use to silence the asserts
# checking allocation of peripherals
define STM32_HAS_M4 0
define CH_CFG_ST_RESOLUTION 16
# use last 2 pages for flash storage

View File

@ -71,6 +71,9 @@ mcu = {
'HAL_HAVE_HARDWARE_DOUBLE' : '1',
'HAL_WITH_MCU_MONITORING' : '1',
'STM32H7' : '1',
# disable core m4 use to silence the asserts
# checking allocation of peripherals
'STM32_HAS_M4' : '0',
}
}