atsam-rs / atsam-pac Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
SVD files can be found https://www.keil.com/dd2/pack/ under Microchip SAM4 Series Device Support and Examples.
Found some more issues with the svd files. Seems like some interrupts are missing.
SUPC (Supply Controller) - 0
RSTC (Reset Controller) - 1
RTC (Real Time Clock) - 2
RTT (Real Time Timer) - 3
WDT (Watchdog Timer) - 4
...
<peripheral>
<name>EFC0</name>
<version>6450M</version>
<description>Embedded Flash Controller 0</description>
<groupName>EFC</groupName>
<prependToName>EFC0_</prependToName>
<baseAddress>0x400E0A00</baseAddress>
<addressBlock>
<offset>0</offset>
<size>0x200</size>
<usage>registers</usage>
</addressBlock>
<interrupt>
<name>EFC0</name>
<value>6</value>
</interrupt>
<registers>
...
vs.
...
<peripheral>
<name>RTT</name>
<version>6081J</version>
<description>Real-time Timer</description>
<groupName>SYSC</groupName>
<prependToName>RTT_</prependToName>
<baseAddress>0x400E1430</baseAddress>
<addressBlock>
<offset>0</offset>
<size>0x200</size>
<usage>registers</usage>
</addressBlock>
<registers>
...
Currently they indicate the SVDs were sourced from the Atmel download site instead of
https://developer.arm.com/tools-and-software/embedded/cmsis/cmsis-search
The svd2rust pactool.sh installs is a custom one using a bleeding edge svdparser (which is required for our SVDs). This should be resolved once mainline svd2rust catches up.
Since the merge of this commit the Peripheral::take()
function requiered the critical-section crate and the critcal-section
feature enabled. Currently this is not possible via this crate.
May I ask why you compete with atsams-rs
in publishing PAC crates for ATSAME70 series? We have matching HAL implementations from all SAMS70, SAME70, SAMV70 & SAMV71 and we publish PACs quite regularly.
Wouldn't be better to join us in efforts to maintain them?
Hi, I've ATSAM4L8 Xplained Pro board and I wanted to get started on embedded rust with this board. I've recently started working on embedded rust and I was wondering if I could get some help getting started. The slack workspace seemed like it would be a good start but I'm unable to join. Can you help me out here? Thanks!
SVD files can be found https://www.keil.com/dd2/pack/ under Microchip SAM4 Series Device Support and Examples.
SVD files can be found https://www.keil.com/dd2/pack/ under Microchip SAM4 Series Device Support and Examples.
ATSAM4E8C, ATSAM4E16C -> ATSAM4E_C
ATSAM4E8E, ATSAM4E16E -> ATSAM4E_E
ATSAM4LC* -> ATSAM4LC
ATSAM4LS* -> ATSAM4LS
SVD files can be found https://www.keil.com/dd2/pack/ under Microchip SAM4 Series Device Support and Examples.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.