Add support for NUCLEO-H755ZI-Q board #34
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request for board NUCLEO-H755ZI-Q servers as tutorial on how to add new board to IMBootloader.

How to add new board?
Add the new board to the Makefile (RAM support is optional, depending on whether you want it to be able to run from RAM):
In this case, we had an STM32H755ZI MCU, which is slightly different from previously supported H7 MCUs. This one has two cores, so we needed to enable the STM32 HAL for it. This change can be seen in the Makefile.stm32h7xx file.
The NUCLEO-H755ZI-Q board uses an integrated SMPS (Switched-Mode Power Supply) as its power source. To provide flexibility, we added an option to the board_config.h file to choose between LDO and SMPS power modes.
The standard board configuration defines two LEDs and a button, if present. In this case, we added a blue button to trigger bootloader entry on boot.
And don't forget to add board information to board_info.h
Finally, add the board to the README.md file and update the compile.yml file to include it in the compilation process with each pull request.
How to test it?
Example of writing an IMLedBlink application for NUCLEO-H755ZI-Q
IMProject/IMLedBlink#5