mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 17:06:52 +06:00
a535d24ecf
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 |
||
---|---|---|
.. | ||
arm_atsam | ||
avr | ||
chibios | ||
test | ||
action_code.h | ||
action_layer.c | ||
action_layer.h | ||
action_macro.c | ||
action_macro.h | ||
action_tapping.c | ||
action_tapping.h | ||
action_util.c | ||
action_util.h | ||
action.c | ||
action.h | ||
atomic_util.h | ||
bootloader.h | ||
debug.c | ||
debug.h | ||
eeconfig.c | ||
eeconfig.h | ||
eeprom.h | ||
gpio.h | ||
host_driver.h | ||
host.c | ||
host.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_null.c | ||
sendchar_uart.c | ||
sendchar.h | ||
sleep_led.h | ||
suspend.h | ||
sync_timer.c | ||
sync_timer.h | ||
timer.h | ||
usb_util.c | ||
usb_util.h | ||
virtser.h | ||
wait.h |