qmk_firmware/tmk_core/common/chibios
Thomas Weißschuh 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
..
_timer.h Avoid 8-bit timer overflows in debounce algorithms (#12240) 2021-06-09 17:23:21 +10:00
_wait.h 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
atomic_util.h
bootloader.c core: chibios: bootloader: use integer pointers as volatile (#13450) 2021-07-06 00:24:48 +01:00
chibios_config.h Allow configuration of USB_VBUS_PIN on chibios (#13342) 2021-06-26 11:48:48 +01:00
eeprom_stm32.c
eeprom_stm32.h
eeprom_teensy.c
flash_stm32.c
flash_stm32.h
gpio.h Add readPort() and some API to 'tmk_core/common/*/gpio.h' (#12754) 2021-06-07 18:23:21 +09:00
pin_defs.h 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
sleep_led.c 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
suspend.c 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
syscall-fallbacks.c
timer.c
wait.c 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00