Skip to content

Conversation

@supersimple33
Copy link

I just added it for the metro_m4 and gc_m4 as of right now but I'm gonna search for who else should be included.

ianrrees and others added 15 commits June 21, 2025 10:29
Still a few TODOs before this can really be put to use:
  * Tool needs to populate examples section of BSP Cargo.toml
  * Move examples from BSPs to the examples directory
  * Handle support files for examples
  * Think about CI and whether we want to leave the BSP example dir
    populated
This avoids issues with some specific examples that use macro
definitions containing `{{`, which handlebars uses as a delimiter.
Note this does change the behaviour of feather_m4 slightly - the LED
now blinks faster.

Since we're likely going to want variations for different HAL versions,
chip families, bootloaders; maybe we need to add a renaming
functionality.  For example, we might have a generic-m4-blinky_basic.rs
and a generic-m0-blinky_basic.rs which get distributed as
boards/.../examples/blinky_basic.rs
Did this due to dependency clash, looks like updating nom will be the
easiest way forward but don't have time now.
@supersimple33
Copy link
Author

I added feather m4 but I can't test any of this pr on device rn.

@ianrrees ianrrees force-pushed the manage branch 3 times, most recently from 4424471 to 8d83432 Compare June 27, 2025 01:49
@ianrrees ianrrees force-pushed the manage branch 8 times, most recently from dd19a6a to 1c718a3 Compare July 6, 2025 23:47
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