-
Notifications
You must be signed in to change notification settings - Fork 76
header inclusion issues for STM32U545xx #41
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
Comments
See also stm32u5xx_hal_driver#6 |
Hi @rob-zeno, Thank you for this report. It looks like there is a typo in the title. I suppose you mean "U545" instead of "H545". Would you mind correcting it please to avoid any confusion? Thank you, |
Hello @rob-the-dude, Thank you for your contribution. You are absolutely right about this point. Thank you again for your contribution. We are looking forward to reading from you again. With regards, |
Whoops, you're right! Been working with too many different chip families! Thanks for everyone's help here! |
…pport building for the STM32U545 chip. These changes have been provided to ST (STMicroelectronics/STM32CubeU5#41). However, they have fixed the issue internally and are awaiting a future release to push them out. I am in the process of creating a PR for Zephyr-proper to add support for the STM32U545 part as well as the Nucleo-U545RE-Q board. That PR is dependent on these changes. Signed-off-by: Rob Newberry <[email protected]>
…pport building for the STM32U545 chip. These changes have been provided to ST (STMicroelectronics/STM32CubeU5#41). However, they have fixed the issue internally and are awaiting a future release to push them out. I am in the process of creating a PR for Zephyr-proper to add support for the STM32U545 part as well as the Nucleo-U545RE-Q board. That PR is dependent on these changes. Signed-off-by: Rob Newberry <[email protected]>
I'm trying to get Zephyr RTOS working on Nucleo U545RE-Q board, with an STM32U545RET6Q part on it.
Zephyr RTOS uses the STM32U5xx_HAL_Driver for certain functionality. According to engineers there, it copies the stm32_hal_conf_template.h file to stm32_hal_conf.h, leaving all of the options defined.
Unfortunately, the HAL_SRAM_MODULE_ENABLED, HAL_NAND_MODULE_ENABLED and HAL_NOR_MODULE_ENABLED definitions include files that do not compile for the STM32U545 family.
According to one of the engineers on the Zephyr team, the problematic included files (stm32u5xx_hal_sram.h, stm32u5xx_hal_nor.h and stm32u5xx_hal_nand.h) need to have:
around the contents. As an example, he points to the STM32CubeG4 where this approach is used.
I can prepare a PR with these changes, but thought I would bring the issue up here first.
The text was updated successfully, but these errors were encountered: