Skip to content

Update CubeMX/README.md (Correct Using GCC Compiler section) #52

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions CubeMX/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,5 @@ By default this project is the Arm Compiler 6 (AC6). Using STM32CubeMX it can be
- Select STM32CubeIDE and disable Generate Under Root.
- Click GENERATE CODE to recreate the CubeMX generated files for the GCC compiler.

In the file [CubeMX.cproject.yml](./CubeMX.cproject.yml), update `linker:` node configuration to reference appropriate [GCC linker script template](https://open-cmsis-pack.github.io/cmsis-toolbox/build-overview#linker-script-templates). You may customize this GCC linker script template file to your project's requirements.

[Rebuild the project](#build-project) using the CMSIS-Toolbox command `cbuild` with the option `--rebuild`.
- In the file [CubeMX.cproject.yml](./CubeMX.cproject.yml), update `linker:` node to reference the GCC linker script generated by CubeMX, typically found in folder `./STM32CubeMX/<target-type>/STM32CubeMX/STM32CubeIDE`. You may customize this linker script to meet your project's specific needs, but it should remain consistent with the CubeMX-generated startup and system files.
- [Rebuild the project](#build-project) using the CMSIS-Toolbox command `cbuild` with the option `--rebuild`.
Loading