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:
parent
3e35773c8a
commit
5e7b211b79
@ -46,10 +46,6 @@ CANFD_SUPPORTED 8
|
|||||||
|
|
||||||
STM32_ST_USE_TIMER 12
|
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
|
define CH_CFG_ST_RESOLUTION 16
|
||||||
|
|
||||||
# use last 2 pages for flash storage
|
# use last 2 pages for flash storage
|
||||||
|
@ -71,6 +71,9 @@ mcu = {
|
|||||||
'HAL_HAVE_HARDWARE_DOUBLE' : '1',
|
'HAL_HAVE_HARDWARE_DOUBLE' : '1',
|
||||||
'HAL_WITH_MCU_MONITORING' : '1',
|
'HAL_WITH_MCU_MONITORING' : '1',
|
||||||
'STM32H7' : '1',
|
'STM32H7' : '1',
|
||||||
|
# disable core m4 use to silence the asserts
|
||||||
|
# checking allocation of peripherals
|
||||||
|
'STM32_HAS_M4' : '0',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user