Commit Graph

348 Commits

Author SHA1 Message Date
Stefan Kerkmann
0056a1f0d0 platforms: rp: link ram functions to ramtext section
With the 2.0.0 pico-sdk release it is possible to re-define the custom
pico-sdk linker sections, allowing us to drop the custom linker script
which introduced the `.time_critical` section in ram. This section is
for functions we do not want to execute from flash e.g. everything that
must be fast or available if the XIP flash is deactivated e.g. when
programming the flash itself.
2024-09-01 10:02:04 +02:00
Stefan Kerkmann
42c2e8d1f7 platforms: rp: split into common and rp2040 part
Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
2024-09-01 10:02:04 +02:00
Stefan Kerkmann
10fe06e228 platforms: rp: update for pico sdk 2.0
Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
2024-08-30 18:23:01 +02:00
Stefan Kerkmann
24042a0cf1 bootloaders: rp2040: update for pico sdk 2.0 2024-08-30 17:02:23 +02:00
QMK Bot
48d3edd66f Merge remote-tracking branch 'origin/master' into develop 2024-08-18 21:33:42 +00:00
Joel Challis
1355eb493f
Default STM32G431 back to wear_leveling EFL driver (#24299) 2024-08-19 07:33:11 +10:00
Dasky
56ebd3b829
Rename promicro_rp2040 converter to sparkfun_pm2040 (#24192) 2024-07-25 22:51:32 +01:00
Nick Brassel
daa777d6fb
[WIP] Adds bus acquire/release semantics to SPI start/stop. (#23439) 2024-07-18 08:59:08 +10:00
Nick Brassel
3a711f4cfa
Allow overriding get_hardware_id(). (#24051) 2024-07-05 11:22:08 +10:00
Joel Challis
b826877c40
Decouple VIA from STM32 L0/L1 EEPROM implementation (#23901) 2024-06-12 13:00:23 +10:00
QMK Bot
e381f91c6e Merge remote-tracking branch 'origin/master' into develop 2024-06-10 00:24:00 +00:00
Joel Challis
8b5cdfabf5
Re-implement eeprom_write_qword as define (#23890) 2024-06-10 01:23:25 +01:00
Drashna Jaelre
333f8bf0d7
Add STM32F405RG ld script for tinyuf2 (#23885) 2024-06-09 11:08:53 +10:00
dexter93
75d11e0421
[wear_leveling] efl updates (#22489)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-06-04 20:16:45 +10:00
QMK Bot
9be50fdce5 Merge remote-tracking branch 'origin/master' into develop 2024-05-29 01:55:15 +00:00
Joel Challis
2f9f000d0c
Workaround for broken ChibiOS startup (#23822) 2024-05-29 11:54:47 +10:00
Purdea Andrei
267dffda15
EEPROM: Don't erase if we don't have to. Adding eeprom_driver_format abstraction. (#18332) 2024-05-28 12:49:55 +01:00
Ryan
0ff53b2498
Rename RGBW define to WS2812_RGBW (#23585) 2024-04-28 00:36:54 +10:00
Nick Brassel
f8a7a6848d
Update ChibiOS submodules. (#23405) 2024-04-05 13:23:43 +11:00
Ryan
01be746fc4
Update I2C API usage in keyboard code (#23360) 2024-03-27 12:41:53 +00:00
Ryan
f7cf40fa77
Add init function to RGBLight driver struct (#23076) 2024-03-18 22:03:27 +11:00
Joel Challis
4bbfecae90
Infer eeconfig identifiers (#22135)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-03-14 21:45:03 +11:00
QMK Bot
145a1eca1b Merge remote-tracking branch 'origin/master' into develop 2024-03-09 10:40:47 +00:00
Nick Brassel
900e79febe
Attempt to deal with GCC 13+ and rv32 arch extensions. (#23086) 2024-03-09 21:40:19 +11:00
Drashna Jaelre
83e6ddbbb4
[Audio] Add support for audio shutdown pin (#22731)
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-03-06 22:02:37 +11:00
QMK Bot
73c4ca175b Merge remote-tracking branch 'origin/master' into develop 2024-03-02 18:20:47 +00:00
Joel Challis
092ef661af
Workaround for uart makefile issues (#23192) 2024-03-02 18:20:18 +00:00
Ryan
569b0c70be
WS2812 PWM: prefix for DMA defines (#23111)
* WS2812 PWM: prefix for DMA defines

* Add backward compatibility defines
2024-03-02 17:16:47 +00:00
Nick Brassel
8b8f73098b
Fix up AVR production build target. (#23190) 2024-03-02 08:44:51 +11:00
Stefan Kerkmann
61fa6949fb
[Core] Allow ChibiOS SIO driver for UART driver (#22839)
* onekey: stm32f3_disco: add usart pins and activate peripheral

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: change SD1 prefix to UART

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: add SIO driver and RP2040 compatibility

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Update platforms/chibios/drivers/uart.h

Co-authored-by: Joel Challis <git@zvecr.com>

---------

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-20 11:34:24 +01:00
Ryan
865a8f42a6
WS2812 bitbang: prefix for NOP_FUDGE define (#23110) 2024-02-20 21:13:18 +11:00
Ryan
2d1aed78a6
Update GPIO macro usages in core (#23093) 2024-02-18 17:08:27 +11:00
Ryan
b8646bc40b
Update naming convention for GPIO control macros (#23085) 2024-02-17 00:18:26 +11:00
QMK Bot
3f6e362b8d Merge remote-tracking branch 'origin/master' into develop 2024-02-06 07:09:53 +00:00
Ryan
45ae4dec4d
WS2812: Better error message when trying to use bitbang driver on RP2040 (#23025) 2024-02-06 08:09:22 +01:00
Joel Challis
93f20e012e
Workaround for G431 eeprom emulation (#23002) 2024-02-03 19:09:18 +00:00
Joel Challis
bb71145632
Tidy up print/debug logging headers (#22969) 2024-01-27 04:30:29 +00:00
David Hoelscher
e9bd7d7ad3
I2C driver cleanup (#21273)
* remove i2c_start and i2c_stop from i2c drivers

* remove static i2c_address variable from chibios i2c driver
2024-01-17 14:05:38 +01:00
Ryan
a522b1f156
i2c: rename read/write register functions (#22905) 2024-01-16 02:26:40 +00:00
Drashna Jaelre
7ed3138e5f
Remove PWM advanced check for WS2812 driver (#22830) 2024-01-05 12:27:55 +00:00
Drashna Jaelre
29f8fa35cf
[Audio] Enable Complementary output for PWM Hardware driver (#22726)
Co-authored-by: Joel Challis <git@zvecr.com>
2023-12-21 19:38:59 -08:00
Nebuleon
229a1690a7
dac_additive: Decouple the buffer length from the waveform length (#22276)
* dac_additive: Decouple the buffer length from the waveform length

* Formatting changes for the previous commit

* Reformat waveform tables with rows of 16 entries, ending at column 116

* Revert "Reformat waveform tables with rows of 16 entries, ending at column 116"

This reverts commit 6f2d37908d.
2023-12-12 20:06:56 +01:00
Cipulot
81cedf5fa5
Add ADC support STM32L4xx and STM32G4xx series MCUs (#22341)
* Update analog.c

* Changes to remove errors in compile

* Update analog.c

Fix for RP2040 build errors

* Revert "Merge branch 'adc-add-stm32l4xx-stm32g4xx' of https://github.com/Cipulot/qmk_firmware into adc-add-stm32l4xx-stm32g4xx"

This reverts commit b11c297078, reversing
changes made to ed3051f941.

* Update analog.c

Attempt fix for formatting CI error

* Update platforms/chibios/drivers/analog.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update platforms/chibios/drivers/analog.c

Co-authored-by: Joel Challis <git@zvecr.com>

* Update platforms/chibios/drivers/analog.c

Co-authored-by: Joel Challis <git@zvecr.com>

---------

Co-authored-by: Joel Challis <git@zvecr.com>
2023-12-08 01:26:44 +00:00
leah-splitkb
2450fe28ee
Add Imera converter (#22419) 2023-11-28 17:53:47 +11:00
Nick Brassel
f96a7bbd63
Cater for ECC failures in EFL wear-leveling. (#19749)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-11-26 22:59:38 +11:00
Nick Brassel
3a5e4253fc
Add simpler method for relocating functions to RAM. (#21804) 2023-11-22 12:08:52 +11:00
Joel Challis
02d3b233ab
chibios: disable RWX segment warning on newer GNU lds (#22471) 2023-11-13 23:45:40 +00:00
Nick Brassel
4c625d8286
Revert "chibios: disable RWX segment warning on newer GNU lds (#22007)" (#22469)
This reverts commit de3c42125b.
2023-11-13 22:41:12 +00:00
Thomas Weißschuh
de3c42125b
chibios: disable RWX segment warning on newer GNU lds (#22007) 2023-11-13 22:29:12 +00:00
Joel Challis
bf6f13a2b0
Consolidate some EEPROM Driver configuration (#22321) 2023-10-23 00:37:27 +01:00