From: Leo C Date: Mon, 18 May 2015 08:06:49 +0000 (+0200) Subject: Merge branch 'test-fboot-support' X-Git-Tag: hexrel-6~1 X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/commitdiff_plain/0c728c8de88d86247d2a75348e71f5af37838c28 Merge branch 'test-fboot-support' --- 0c728c8de88d86247d2a75348e71f5af37838c28 diff --cc avr/main.c index 5a0d792,f4d4c6f..3852e75 --- a/avr/main.c +++ b/avr/main.c @@@ -23,13 -24,10 +24,11 @@@ #include "gpio.h" #include "time.h" #include "rtc.h" +#include "debug.h" - static uint8_t mcusr; + uint8_t mcusr __attribute__ ((section (".noinit"))); - /*--------------------------------------------------------------------------*/ #if DEBUG - __attribute__ ((naked)) __attribute__ ((section (".init3"))) void preset_ram (void) {