Simple template to generate a embassy project for a few common boards. Make sure you've run cargo install cargo-generate before using.
STM32 chip choices and configurations are automatically updated from stm32-data-generated via scripts/update-chip-choices.py.
cargo generate --git https://github.com/lulf/embassy-template.git -d chip=<chip-name>
Then follow the instructions.
If you want to add a new chip choice, you can add it to the NON_STM32_CHIPS and NON_STM32_CONFIGS dictionaries in scripts/update-chip-choices.py.
Then run scripts/update-chip-choices.py to update cargo-generate.toml and pre-script.rhai, or let the GitHub Actions workflow do it automatically.
Read more about the auto-generation process in scripts/README.md.