Closed marcoaccame closed 7 months ago
This PR adds demo projects for the board amcfoc that allows bootstrap from either the CM4 or CM7 core.
amcfoc
The changed code is mainly related to the new amcfoc board or to new features activaed only by specific calls or by macros and can be safely merged.
Those changes are:
stm32hal_config()
stm32hal_start()
stm32hal
stm32hal_init()
STM32HAL_USE_LOWLEVEL_DELAY
EMBOT_REDEFINE_hw_bsp_DRIVER_init
embot::hw::bsp
init()
EMBOT_REDEFINE_hw_bsp_DRIVER_puts
puts()
This PR adds demo projects for the board
amcfoc
that allows bootstrap from either the CM4 or CM7 core.The changed code is mainly related to the new
amcfoc
board or to new features activaed only by specific calls or by macros and can be safely merged.Those changes are:
stm32hal_config()
andstm32hal_start()
in thestm32hal
library that split the actions ofstm32hal_init()
;STM32HAL_USE_LOWLEVEL_DELAY
instm32hal
that improves the default delay function used when the RTOS has not started yet;EMBOT_REDEFINE_hw_bsp_DRIVER_init
inembot::hw::bsp
that redefines theinit()
of the HW w/ specific code;EMBOT_REDEFINE_hw_bsp_DRIVER_puts
inembot::hw::bsp
that redefined theputs()
function to use the bus we want and not ITM as default.