Skip to content

A simple Rust Peripheral-Access-Crate for Fomu running the foboot-2.0 MCU

License

Notifications You must be signed in to change notification settings

im-tomu/fomu-pac-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAC for the foboot peripherals

SVD is generated from https://github.com/im-tomu/foboot, with lxsocdoc updated to the current version:

$ cd hw
hw$ cd deps/lxsocdoc
hw/deps/lxsocdoc$ git pull
[..]
hw/deps/lxsocdoc$ cd ../../
hw$ python3 foboot-bitstream.py --document-only

You can now replace the current svd file with the one under hw/build/software/Fomu.svd and regenerate the rust code with:

$ sh generate.sh

You need svd2rust & form for this to work.

About

A simple Rust Peripheral-Access-Crate for Fomu running the foboot-2.0 MCU

Resources

License

Stars

Watchers

Forks

Packages

No packages published