Comments (5)
Additional informations in #15
from atdf2svd.
What about naming the fields "module-instance_name", iff module-instance is available? As far as I've seen now (attiny412.atdf and AVR128DA28.atdf), the module-instance only shows up in the interrupt map.
from atdf2svd.
Yeah, this is what I was thinking as well. Though we need to check whether this regresses any of the "old" ATDF files. It might also be worth it to look at the C headers, how they name interrupts on the newer MCUs.
from atdf2svd.
iotn412.h
- Header of attiny412:
/* ========== Interrupt Vector Definitions ========== */
/* Vector 0 is the reset vector */
/* CRCSCAN interrupt vectors */
#define CRCSCAN_NMI_vect_num 1
#define CRCSCAN_NMI_vect _VECTOR(1) /* */
/* BOD interrupt vectors */
#define BOD_VLM_vect_num 2
#define BOD_VLM_vect _VECTOR(2) /* */
/* PORTA interrupt vectors */
#define PORTA_PORT_vect_num 3
#define PORTA_PORT_vect _VECTOR(3) /* */
/* RTC interrupt vectors */
#define RTC_CNT_vect_num 6
#define RTC_CNT_vect _VECTOR(6) /* */
#define RTC_PIT_vect_num 7
#define RTC_PIT_vect _VECTOR(7) /* */
...
This are all AVR targets containing the module-instance
keyword:
- ATmega1608
- ATmega1609
- ATmega3208
- ATmega3209
- ATmega4808
- ATmega4809
- ATmega808
- ATmega809
- ATtiny827
- ATtiny826
- ATtiny824
- ATtiny817
- ATtiny816
- ATtiny814
- ATtiny807
- ATtiny806
- ATtiny804
- ATtiny427
- ATtiny426
- ATtiny424
- ATtiny417
- ATtiny416
- ATtiny414
- ATtiny412
- ATtiny406
- ATtiny404
- ATtiny402
- ATtiny3217
- ATtiny3216
- ATtiny214
- ATtiny212
- ATtiny204
- ATtiny202
- ATtiny1627
- ATtiny1626
- ATtiny1624
- ATtiny1617
- ATtiny1616
- ATtiny1614
- ATtiny1607
- ATtiny1606
- ATtiny1604
- ATtiny416auto
- AVR32DA28
- AVR32DA32
- AVR32DA48
- AVR32DB28
- AVR32DB32
- AVR32DB48
- AVR64DA28
- AVR64DA32
- AVR64DA48
- AVR64DA64
- AVR64DB28
- AVR64DB32
- AVR64DB48
- AVR64DB64
- AVR128DA28
- AVR128DA32
- AVR128DA48
- AVR128DA64
- AVR128DB28
- AVR128DB32
- AVR128DB48
- AVR128DB64
(From the atdf's in Microchip ATautomotive Series Device Support (2.1.39), Microchip ATmega Series Device Support (2.2.108),
Microchip ATtiny Series Device Support (2.5.116), Microchip AVR-Dx Series Device Support (1.6.88))
from atdf2svd.
Okay, that does not seem to include any of the "old" chips which I was worried about ... And the C header does look like it is doing the same thing you proposed so I think this is the way to go!
from atdf2svd.
Related Issues (15)
- Never generate empty description tags HOT 2
- Drop invalid enumerated values with a warning HOT 4
- Handling of multiple declaration/meanings of the same interrupt vector HOT 9
- Interrupts HOT 1
- Wrong parsing of register access mode HOT 7
- Peripherials missing addressBlock element HOT 8
- Fix SVD schema violations HOT 14
- Does not handle attiny412 TCA0 possibly due to split mode HOT 4
- Setup CI with regression tests HOT 1
- Upgrade to xmltree 0.10 HOT 1
- Fix parsing of nested register groups HOT 8
- Fall back to caption from module if instance caption is missing HOT 1
- Make signals_to_port_fields patch work with newer devices
- PTC peripheral has no base address HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atdf2svd.