Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-26 | debug: add overload for writing floats to stimulus ports | Karl Palsson | 1 | -0/+9 | |
Overload all the things! Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2022-01-26 | cortex-debug: support itm blocking for char too | Karl Palsson | 1 | -0/+8 | |
less end user casting, more back end c++ magic | |||||
2022-01-26 | cortex-debug: add blocking ITM helpers. | Karl Palsson | 1 | -0/+26 | |
Sometimes you really would like to slow things down to get trace out. | |||||
2022-01-26 | stm32f3: add ADC1/2 and ADC3/4 convencience aliases | Karl Palsson | 1 | -0/+4 | |
So you don't always have to refer to ADC12 or ADC34 | |||||
2022-01-26 | stm32wb: use ADC_COMMON1 for consistent naming | Karl Palsson | 1 | -1/+1 | |
2022-01-26 | stm32_rcc: allow aliases for enables. | Karl Palsson | 5 | -222/+222 | |
By flipping the name/number definition, we can define aliases such as ADC and ADC1, or FMC/FSMC for the same bits, making it easier to have code that both matches reference manuals, and also code that matches between lines. runtime tested on WB, compile tested on F3. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2022-01-26 | gdb/rblog: fix python3 compatibility | Karl Palsson | 1 | -2/+2 | |
At least use print as a function so it can be imported without breaking Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2022-01-26 | flash: convert to new style | Karl Palsson | 11 | -26/+77 | |
2022-01-20 | adc: stm32f3: expand and verify | Karl Palsson | 2 | -4/+10 | |
Working with dma and timers. This preserves the somewhat dubious decision that ADC clock for F1 and F3 should be 12Mhz. It can always be overridden later. | |||||
2022-01-20 | platforms: stm32f3: make functional | Karl Palsson | 3 | -7/+237 | |
Sufficient for blinking leds. Not much else tested yet. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-17 | gpio: stm32: default to v2 | Karl Palsson | 6 | -34/+5 | |
v2 is for everyone except f1, so avoid the yaml spam. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | gpio: Generate instances from platform spec. | Vegard Storheil Eriksen | 12 | -250/+391 | |
2021-09-16 | adc: stm32wb: add old style | Karl Palsson | 1 | -1/+10 | |
ADC has not been converted to new style, so leveraging legacy f3 code for now. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | gpio: stm32wb: add base addresses to platform | Karl Palsson | 1 | -0/+12 | |
This is not hooked up to anything yet, but would be where the GPIOs get connected if they are converted to new style. There's no reason to pull this commit by itself though! | |||||
2021-09-16 | gpio: stm32wb: old style: add basic support | Karl Palsson | 1 | -0/+6 | |
gpio hasn't (yet) been converted to new style. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | flash: stm32wb: oldstyle: add register map and basic init | Karl Palsson | 2 | -0/+31 | |
Flash hasn't yet been ported to new style. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2021-09-16 | timer: stm32: default to v1 | Karl Palsson | 5 | -29/+3 | |
"All" parts so far have the v1 timer api, so default to that, but allow overriding, instead of requiring it to be specified every time. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | timer: add extra registers found on some newer parts | Karl Palsson | 1 | -0/+6 | |
Compatible with existing parts, these are extended option and input selection registers at the end. Found on some Gx, Ux and Wx parts so far. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | timer: convert to new style and add WB | Karl Palsson | 9 | -47/+151 | |
Stub f1 and f3 platform files have been added to preserve the collected timer base addresses, even though those platforms aren't actually supported in laks yet. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | dma: convert to new style, add DMAMUX | Karl Palsson | 8 | -60/+125 | |
DMAMUX is a channel/source muxer available on L4+,L5,H7,G0,G4,WB and WL parts. Signed-of-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | uart: Add PRESC register on extended v2 | Karl Palsson | 1 | -0/+1 | |
L4+, G0, G4, WB and the "newer" parts use the usart-v2 registers, but add a new register at the end. Simply make it available for all v2 implementations. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | rcc: Fix enable register access for devices with multiple registers for the ↵ | Vegard Storheil Eriksen | 2 | -2/+2 | |
same bus. | |||||
2021-09-16 | platforms: add stm32wb | Karl Palsson | 3 | -0/+211 | |
Basic RCC and memory map support. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | ITM: allow varisized access | Karl Palsson | 1 | -1/+5 | |
save that trace bandwidth baby | |||||
2021-09-16 | cortex_m: debug: basic ITM/DWT/TPIU stubs. | Karl Palsson | 1 | -0/+41 | |
Sourced from zyp on irc. Maybe not the best or most permanent name, but saves dropping it into every project. Signed-off-by: Karl Palsson <karlp@etactica.com> | |||||
2021-09-16 | rcc: include a static file with function prototypes | Karl Palsson | 2 | -0/+7 | |
Authors modifying rcc.cpp should add their protos here as desired. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2021-09-16 | generators: clearly mark generated files | Karl Palsson | 6 | -0/+14 | |
This makes it easier for end users to see where files have come from. Signed-off-by: Karl Palsson <karlp@tweak.net.au> | |||||
2021-09-16 | gdb: mmio: document how to call functions | Karl Palsson | 1 | -0/+3 | |
Because I can never remember it. | |||||
2021-09-15 | async: Add coroutine tasks and scheduler. | Vegard Storheil Eriksen | 1 | -0/+163 | |
2021-09-15 | async: Add generic coroutine type. | Vegard Storheil Eriksen | 1 | -0/+107 | |
2021-09-15 | platforms: Add initial RISC-V/GD32V support. | Vegard Storheil Eriksen | 11 | -0/+304 | |
2021-09-15 | platforms: Improve STM32F42x support. | Vegard Storheil Eriksen | 2 | -2/+9 | |
2021-09-15 | build: Build with -fdata-sections. | Vegard Storheil Eriksen | 1 | -2/+2 | |
2021-09-15 | platforms: Add initial STM32F7 support. | Vegard Storheil Eriksen | 3 | -5/+251 | |
2021-09-15 | gdb_plugins: Add $mmio_ptr function. | Vegard Storheil Eriksen | 1 | -0/+26 | |
2021-09-15 | .gitignore: Ignore generated files. | Vegard Storheil Eriksen | 2 | -13/+13 | |
2021-09-15 | uart: Generate instances from platform spec. | Vegard Storheil Eriksen | 6 | -59/+70 | |
2021-09-14 | interrupt: Generate interrupt.h. | Vegard Storheil Eriksen | 1 | -0/+2 | |
2021-01-26 | rcc: Generate enables from platform spec. | Vegard Storheil Eriksen | 7 | -473/+287 | |
2021-01-22 | ld_scripts: Remove obsolete linker scripts. | Vegard Storheil Eriksen | 15 | -169/+64 | |
2021-01-22 | os: Remove old threading code. | Vegard Storheil Eriksen | 6 | -75/+2 | |
2021-01-22 | interrupt: Refactor to be more flexible. | Vegard Storheil Eriksen | 8 | -195/+207 | |
2021-01-22 | templates/periph_instances: Add aliases. | Vegard Storheil Eriksen | 1 | -2/+8 | |
2021-01-21 | templates/periph_instances: Make instances constexpr. | Vegard Storheil Eriksen | 1 | -1/+1 | |
2021-01-21 | usb/dwc_otg: Use mmio_ptr. | Vegard Storheil Eriksen | 2 | -41/+39 | |
2021-01-21 | mmio: Add mmio_ptr template. | Vegard Storheil Eriksen | 2 | -0/+96 | |
2021-01-16 | interrupt: Generate interrupts from platform spec. | Vegard Storheil Eriksen | 12 | -296/+204 | |
2021-01-16 | usb: Generate instances from platform spec. | Vegard Storheil Eriksen | 6 | -22/+46 | |
2021-01-15 | interrupt: Removed mf_vectors. | Vegard Storheil Eriksen | 4 | -36/+1 | |
2021-01-07 | build: Added hex and size_prefix filters for Jinja2. | Vegard Storheil Eriksen | 2 | -2/+11 | |