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 |
||
---|---|---|
.. | ||
_timer.h | ||
_wait.h | ||
atomic_util.h | ||
bootloader.c | ||
chibios_config.h | ||
eeprom_stm32.c | ||
eeprom_stm32.h | ||
eeprom_teensy.c | ||
flash_stm32.c | ||
flash_stm32.h | ||
gpio.h | ||
pin_defs.h | ||
sleep_led.c | ||
suspend.c | ||
syscall-fallbacks.c | ||
timer.c | ||
wait.c |