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

Update STM32 build project #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Sazerac4
Copy link

@Sazerac4 Sazerac4 commented May 26, 2024

  • Add .gitgnore
  • Update build.zig to 0.12
  • Add optimization level : -0g for C sources
  • Add debug options to the build
  • Add sysmem + syscalls for recent GCC (optional)
  • Add float formatting support (optional)
  • Generate hex and bin output
  • Update linker script

- Update build.zig to 0.12
- Add optimization level : -0g for C sources
- Add debug options to the build
- Add sysmem + syscalls for recent GCC (optional)
- Add float formatting support (optional)
- Generate hex and bin output
@simoneruffini
Copy link
Owner

Very nice job! I like your work!
Do you think we can generate the map file?

@Sazerac4
Copy link
Author

Sazerac4 commented May 26, 2024

Unfortunately, this option is not yet supported by Zig: zig cc: unsupported linker arg: -Map=skrouterd.map

You can follow this nice guide here for more details and future update:

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.

2 participants