]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/avr/bootloader.c
Make sure NOBITS is set on reset_key
[qmk_firmware.git] / tmk_core / common / avr / bootloader.c
index c4b913280ede7f250c0b4ebc273387d5f374e1ad..3cdcd2e426b6b68a774b955c900e18962a60d28a 100644 (file)
@@ -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
  *