Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo projects for amcfoc that boots from CM4 and/or CM7 #481

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

marcoaccame
Copy link
Contributor

@marcoaccame marcoaccame commented Mar 12, 2024

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:

  • new API stm32hal_config() and stm32hal_start() in the stm32hal library that split the actions of stm32hal_init();
  • macro STM32HAL_USE_LOWLEVEL_DELAY in stm32hal that improves the default delay function used when the RTOS has not started yet;
  • macro EMBOT_REDEFINE_hw_bsp_DRIVER_init in embot::hw::bsp that redefines the init() of the HW w/ specific code;
  • amcro EMBOT_REDEFINE_hw_bsp_DRIVER_puts in embot::hw::bsp that redefined the puts() function to use the bus we want and not ITM as default.

@marcoaccame marcoaccame changed the title Demo projects for amcfoc that boots from CM4 and CM7 Demo projects for amcfoc that boots from CM4 and/or CM7 Mar 12, 2024
@marcoaccame marcoaccame merged commit e1a2389 into robotology:devel Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant