qmk-dactyl-manuform-a/tmk_core/common
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
..
arm_atsam
avr
chibios core: chibios: bootloader: use integer pointers as volatile (#13450) 2021-07-06 00:24:48 +01:00
test
action.c
action.h
action_code.h
action_layer.c Improve layer mask handling (#13065) 2021-07-03 00:19:52 -07:00
action_layer.h Improve layer mask handling (#13065) 2021-07-03 00:19:52 -07:00
action_macro.c
action_macro.h
action_tapping.c
action_tapping.h
action_util.c
action_util.h
atomic_util.h
bootloader.h
debug.c
debug.h
eeconfig.c
eeconfig.h
eeprom.h
gpio.h
host.c
host.h
host_driver.h
keyboard.c
keyboard.h
keycode.h
lib_printf.mk
nodebug.h
pin_defs.h
print.h
printf.c
progmem.h
raw_hid.h
report.c
report.h
sendchar.h
sendchar_null.c
sendchar_uart.c
sleep_led.h
suspend.h
sync_timer.c
sync_timer.h
timer.h
usb_util.c
usb_util.h
virtser.h
wait.h