Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 775 Bytes

development.md

File metadata and controls

26 lines (21 loc) · 775 Bytes

Developer's Guide

Prerequisites

cargo install atpacks-svd-harvester

Update SVDs

Use this step to automatically download most recent SVDs:

atpacks-svd-harvester -r https://packs.download.microchip.com/ -f same70 -f sams70 -f samv70 -f samv71 -f samv71-rt -f samrh707 -f samrh71 -d svd -m svdmap.json

Update PACs

This step regenerates PAC crates based on pac/templates content. The svdmap.json is used to propagate info about versions of ATPACKs SVDs were obtained from as Atmel/Microchip do not version them.

tools/pacs.py ./svd ./pac

Test

Publication / Release

for p in `ls -d pac/at*` ; do cargo publish -p ${p##*/} ; cargo clean -p ${p##*/} ; done