diff options
author | Florian Didron <fdidron@users.noreply.github.com> | 2019-04-23 11:06:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 11:06:56 +0900 |
commit | f93b7b53b7c46e6a8e4ea5e65659e407c372ca8c (patch) | |
tree | afa9ad87406f7b267875553f2b6a695caf163dce /tmk_core/common | |
parent | 7ca465911dda885b0ecba11c0757134f36085de6 (diff) | |
parent | 2d95c30c28f96c3f746479ddb04ace20e0724e7f (diff) |
Merge pull request #23 from zsa/fix/avr_gcc_compiler
Fix AVR GCC 8.x compiler error
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/avr/bootloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/avr/bootloader.c b/tmk_core/common/avr/bootloader.c index c4b913280e..3cdcd2e426 100644 --- a/tmk_core/common/avr/bootloader.c +++ b/tmk_core/common/avr/bootloader.c @@ -70,7 +70,7 @@ * http://www.fourwalledcubicle.com/files/LUFA/Doc/120730/html/_page__software_bootloader_start.html */ #define BOOTLOADER_RESET_KEY 0xB007B007 -uint32_t reset_key __attribute__ ((section (".noinit"))); +uint32_t reset_key __attribute__ ((section (".noinit,\"aw\",@nobits;"))); /** \brief initialize MCU status by watchdog reset * |