aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
AgeCommit message (Collapse)Author
2019-05-14avr: use register wrappers that use runtime/volatile.*Uint8 callsAyke van Laethem
This avoids the //go:volatile pragma on types in Go source code, at least for AVR targets.
2019-01-20generators: correctly handle clustered subtypes used in Atmel SAMD21 SVD for ↵Ron Evans
important peripherals Signed-off-by: Ron Evans <[email protected]>
2019-01-15tools/gen-device-svd: handle case with nested registers that have same ↵Ron Evans
address to avoid duplicates Signed-off-by: Ron Evans <[email protected]>
2019-01-13generator: generate device wrappers for Atmel SAM familyRon Evans
Signed-off-by: Ron Evans <[email protected]>
2019-01-08tools: use env to search path for python3j7b
2018-12-01tools: correct error generating board files that calculated the address ↵Ron Evans
incorrectly after a cluster type Signed-off-by: Ron Evans <[email protected]>
2018-11-22tools/gen-device-svd: generate .s files compatible with lldAyke van Laethem
The llvm linker expects some flags to line up in input sections mapped to a particular output section, which the GNU linker ignored. Make sure this flag is set in the input section, see: https://svnweb.freebsd.org/base/stable/11/sys/arm/arm/locore-v4.S?r1=321049&r2=321048&pathrev=321049
2018-11-20avr: add support for the digisparkAyke van Laethem
Blinking the on-board LED works. Nothing else has been tested yet.
2018-10-06nrf: add micro:bit boardAyke van Laethem
2018-10-03tools/gen-device-svd: fix interrupts for derived peripheralsAyke van Laethem
2018-10-02tools/gen-device-svd: support old Python versionAyke van Laethem
Travis-CI runs Ubuntu Trusty with Python 3.4, so we have to support that.
2018-10-01tools/gen-device-svd: fix bug in previous commitAyke van Laethem
There was a bug in the generated Go code: padding member numbers would not increase their count leading to multiple struct members with the same name.
2018-10-01tools/gen-device-svd: make sure all clusters are includedAyke van Laethem
This is important for nrf52840, which has UART pin selection in a cluster that wasn't exposed.
2018-09-30tools/gen-device-svd: generate code for cluster arraysAyke van Laethem
This should make it possible to add support for PWM on nrf devices.
2018-09-30tools/gen-device-svd: move peripheral list to beginningAyke van Laethem
It's much easier to scan the source when the peripheral list is at the front. Go doesn't care about the order of declaration anyway.
2018-09-30tools/gen-device-svd: rewrite with ElementTreeAyke van Laethem
xml.etree.ElementTree is much easier to work with. This also fixes a few small bugs in the parser. And as an added bonus, device generation got a lot faster: apprently etree is a lot faster than minidom.
2018-09-28all: change special type __volatile to pragma //go:volatileAyke van Laethem
This is one step towards removing unnecessary special casts in most cases. It is also part of removing as much magic as possible from the compiler (the pragma is explicit, the special name is not).
2018-09-24avr: fix default handler in interrupt vectorAyke van Laethem
Apparently the target of a weak symbol must be defined in the same file as where it is used as a weak symbol. https://www.avrfreaks.net/forum/using-weak-custom-vector-table#comment-745922
2018-09-23tools/gen-device-svd: fix script filename in outputAyke van Laethem
2018-09-23avr: automatically generate interrupt vectorsAyke van Laethem
2018-09-22tools/gen-device-svd: avoid _Msk for single-bit fieldsAyke van Laethem
2018-09-22tools/gen-device-svd: show better error messagesAyke van Laethem
Show an error message when input .svd files cannot be found.
2018-09-22tools/gen-device-svd: make source URL configurableAyke van Laethem
2018-09-22tools/gen-device-svd: indentation in .s fileAyke van Laethem
2018-09-22tools/gen-device/svd: auto-generate output directoryAyke van Laethem
2018-09-22tools/gen-device-svd: emit correct Go code for stm32Ayke van Laethem
Groups were not recognized because the parser only looked at the derivedFrom attribute and not at <groupName> tags for matching peripherals.
2018-09-21all: use groupName in peripheralsAyke van Laethem
This is needed for support for multiple instances of a peripheral type.
2018-09-21tools/gen-device-svd: make svd files deal with stm32Ayke van Laethem
First concrete preparation for stm32 support at some point.
2018-09-21targets: clean up and unify linker scriptsAyke van Laethem
Especially arm.ld needed some cleaning up. Other than that, I've made sure the two linker scripts look similar where possible.
2018-09-21all: generate interrupt vector from .svd fileAyke van Laethem
2018-09-17avr: initial implementation for PWMRon Evans
Signed-off-by: Ron Evans <[email protected]> Edited slightly by Ayke van Laethem
2018-09-13gen-device: move to new tools directoryAyke van Laethem