12 Commits
Author SHA1 Message Date
Thomas WeißschuhandGitHub de3c42125b chibios: disable RWX segment warning on newer GNU lds (#22007) 2023-11-13 22:29:12 +00:00
Thomas WeißschuhandGitHub 615ca78567 directly use object files when linking ELF (#22025) 2023-09-17 14:25:46 +10:00
Thomas WeißschuhandGitHub b9f2121d10 chibios: mark boot2 bootlader data readonly (#21986) 2023-09-13 16:48:38 +10:00
Thomas WeißschuhandGitHub f699fde7d9 Generalize AVR -Werror=array-bounds workaround (#21798)
GCC 13 needs the same workaround as GCC 12.
To avoid having to maintain an ever-growing list of broken versions
apply the workaround wherever it can be used.

If at some point a fixed version of GCC is released the workaround can
be disabled for those fixed versions.

See #17064
2023-08-23 20:55:03 +01:00
Thomas WeißschuhandGitHub cbe1c22d46 quantum: led: split out led_update_ports() for customization of led behaviour (#14452) 2022-10-06 21:24:41 +11:00
Thomas WeißschuhandGitHub f1cd2a5a89 ChibiOS: add support for HID Programmable Buttons (#15787)
* ChibiOS: add support for HID Programmable Buttons

Fixes #15596

* Enable SHARED_ENDPOINT when PROGRAMMABLE_BUTTON is enabled

The Programmable Button driver expects the shared EP to be enabled.
So enforce this invariant.
2022-02-04 22:25:57 +00:00
Thomas WeißschuhandGitHub 5fb6d57f36 [Bug] fix logical minimum in Programmable Button rdesc (#14464) 2021-09-16 17:04:26 +10:00
Thomas WeißschuhandGitHub ceaf35c741 [Bug] Fix descriptor for USB Programmable Buttons (#14455) 2021-09-15 19:24:06 -07:00
Thomas WeißschuhandGitHub 58d72ad795 core: fix compilation issues with USB programmable buttons (#14454)
Reported here:
https://github.com/qmk/qmk_firmware/pull/12950#issuecomment-920329569
2021-09-16 06:28:19 +10:00
Thomas WeißschuhandGitHub 83988597f4 Add Support for USB programmable buttons (#12950) 2021-09-15 08:40:22 -07:00
Thomas WeißschuhandGitHub a535d24ecf core: chibios: bootloader: use integer pointers as volatile (#13450)
This prevents gcc from incorrectly trying to validate array bounds.

```
tmk_core/common/chibios/bootloader.c: error: '__builtin_memcpy' offset [0, 21] is out of the bounds [0, 0] [-Werror=array-bounds]
  107 |     __builtin_memcpy((void *) VBAT, (const void *)sys_reset_to_loader_magic, sizeof(sys_reset_to_loader_magic));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578#c16
Fixes #12925
2021-07-06 00:24:48 +01:00
Thomas WeißschuhandGitHub b5c361542e mousekey: expose current report to users (#13069) 2021-07-03 00:50:47 -07:00