Skip to content

Nopvzutys/stm32f446-pac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F446 Peripheral Access Crate

LICENSE

This crate provides an autogenerated API for access to STM 446R peripherals. The API is generated using svd2rust.

Regenerating the PAC

On a unix-style OS, all you need are these commands:

# svd2rust -i STM32F446.svd --reexport-interrupt --ignore-groups --impl-defmt defmt --impl-debug --impl-debug-feature debug
$ rm -r src/*
$ form -i lib.rs -o src
$ rm lib.rs
$ cargo fmt

On windows you need to replace the / with \ and additionally run dos2unix to convert the line endings, like so:

$ svd2rust.exe -i STM32F446.svd --reexport-interrupt --ignore-groups --impl-defmt defmt --impl-debug --impl-debug-feature debug
$ rm -r src\*
$ form -i lib.rs -o src
$ rm lib.rs
$ cargo fmt
$ cd src
$ dos2unix **\*.rs *.rs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published