Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-06 | all: move Register{8,16,32} values into runtime/volatile | Ayke van Laethem | |
This avoids duplication of code. None of the smoke tests have changed their output. | |||
2019-05-27 | tools: generate volatile HasBits() method in device wrappers to simplify bit ↵ | Ron Evans | |
comparison code Signed-off-by: Ron Evans <[email protected]> | |||
2019-05-24 | tools/gen-device: complete refactor to new generator based on volatile package | Ron Evans | |
Signed-off-by: Ron Evans <[email protected]> | |||
2019-05-19 | machine/sam: Refactor all machine/runtime code to use new volatile package/API | Ron Evans | |
Signed-off-by: Ron Evans <[email protected]> | |||
2019-05-14 | avr: use register wrappers that use runtime/volatile.*Uint8 calls | Ayke van Laethem | |
This avoids the //go:volatile pragma on types in Go source code, at least for AVR targets. | |||
2019-01-20 | generators: correctly handle clustered subtypes used in Atmel SAMD21 SVD for ↵ | Ron Evans | |
important peripherals Signed-off-by: Ron Evans <[email protected]> | |||
2019-01-15 | tools/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-13 | generator: generate device wrappers for Atmel SAM family | Ron Evans | |
Signed-off-by: Ron Evans <[email protected]> | |||
2019-01-08 | tools: use env to search path for python3 | j7b | |
2018-12-01 | tools: 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-22 | tools/gen-device-svd: generate .s files compatible with lld | Ayke 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-20 | avr: add support for the digispark | Ayke van Laethem | |
Blinking the on-board LED works. Nothing else has been tested yet. | |||
2018-10-06 | nrf: add micro:bit board | Ayke van Laethem | |
2018-10-03 | tools/gen-device-svd: fix interrupts for derived peripherals | Ayke van Laethem | |
2018-10-02 | tools/gen-device-svd: support old Python version | Ayke van Laethem | |
Travis-CI runs Ubuntu Trusty with Python 3.4, so we have to support that. | |||
2018-10-01 | tools/gen-device-svd: fix bug in previous commit | Ayke 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-01 | tools/gen-device-svd: make sure all clusters are included | Ayke van Laethem | |
This is important for nrf52840, which has UART pin selection in a cluster that wasn't exposed. | |||
2018-09-30 | tools/gen-device-svd: generate code for cluster arrays | Ayke van Laethem | |
This should make it possible to add support for PWM on nrf devices. | |||
2018-09-30 | tools/gen-device-svd: move peripheral list to beginning | Ayke 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-30 | tools/gen-device-svd: rewrite with ElementTree | Ayke 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-28 | all: change special type __volatile to pragma //go:volatile | Ayke 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-24 | avr: fix default handler in interrupt vector | Ayke 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-23 | tools/gen-device-svd: fix script filename in output | Ayke van Laethem | |
2018-09-23 | avr: automatically generate interrupt vectors | Ayke van Laethem | |
2018-09-22 | tools/gen-device-svd: avoid _Msk for single-bit fields | Ayke van Laethem | |
2018-09-22 | tools/gen-device-svd: show better error messages | Ayke van Laethem | |
Show an error message when input .svd files cannot be found. | |||
2018-09-22 | tools/gen-device-svd: make source URL configurable | Ayke van Laethem | |
2018-09-22 | tools/gen-device-svd: indentation in .s file | Ayke van Laethem | |
2018-09-22 | tools/gen-device/svd: auto-generate output directory | Ayke van Laethem | |
2018-09-22 | tools/gen-device-svd: emit correct Go code for stm32 | Ayke 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-21 | all: use groupName in peripherals | Ayke van Laethem | |
This is needed for support for multiple instances of a peripheral type. | |||
2018-09-21 | tools/gen-device-svd: make svd files deal with stm32 | Ayke van Laethem | |
First concrete preparation for stm32 support at some point. | |||
2018-09-21 | targets: clean up and unify linker scripts | Ayke 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-21 | all: generate interrupt vector from .svd file | Ayke van Laethem | |
2018-09-17 | avr: initial implementation for PWM | Ron Evans | |
Signed-off-by: Ron Evans <[email protected]> Edited slightly by Ayke van Laethem | |||
2018-09-13 | gen-device: move to new tools directory | Ayke van Laethem | |