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

GCC port merge #9

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

GCC port merge #9

wants to merge 17 commits into from

Conversation

awsmit07
Copy link

Merge request of James' GCC port and the additional modifications I made

jbootsma and others added 17 commits October 18, 2023 19:36
Removes all IAR project/settings files. Doing this as a separate commit
to separate out the noise.
Adds waf with the wscript to define the build, which is setup to use
the ARM gcc compiler. Also adds vscode configuration with pre-setup
build/launch/debug configurations and a set of recommended extensions
to make debugging the board possible.
Improves the logic for finding GCC and JLink tools under Mac and linux,
now that their default install paths are known.
A few fixes, probably not all where needed:
- Don't enable peripheral clocks until clocks sources are stabalized
- Ensure all clock operations wait for the appropriate status register
  bits.
- (The important one) don't change the flash wait states until the clock
  is bumped up to 12 MHz. This works around an errata where the flash
  controller can't operate at sub-5MHz with the 2-wait-state
  setting.
When using the built-in build command (ctrl+shift+b, or when starting a
debug session) vscode will parse the output for "problems". This was
working but trying to navigate to the issue fails.

This fixes the config to ensure paths are interpreted correctly, and to
also make the build task compile everything instead of stopping on
error.
check_gcc_version() had the .exe extension hardcoded, make this only
happen on windows.
Add support for dot matrix board to wscript. Using the --board option
while running waf configure allows the user to set the default board to
DOT_MATRIX or ASCII.

Currently the captouch support for the dot matrix board is disabled due
to the Atmel QTouch library for GCC being missing.
Add the following extension to the list of recommended extensions
- Serial monitor
- Git lens
- Git graph
Add new launch menu item for debugging the dot matrix board. Change
ASCII board debug menu name
Update the windows and macOS ARM GNU toolchain version to the latest
available (13.3 Rel 1)
Add readme specifying how to set up the project
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