.

Dependencies:   mbed EthernetInterface mbed-rtos

Fork of Bootloader_K64F by Erik -

Revision:
4:8d109a566486
Parent:
2:8c44f28c122c
diff -r 8c39a7751758 -r 8d109a566486 FreescaleIAP/FreescaleIAP.cpp
--- a/FreescaleIAP/FreescaleIAP.cpp	Thu Mar 12 22:01:09 2015 +0000
+++ b/FreescaleIAP/FreescaleIAP.cpp	Fri Mar 13 21:30:48 2015 +0000
@@ -2,8 +2,6 @@
 
 //#define IAPDEBUG
 
-#define FLASH_LOC(loc)      __attribute__((section(".ARM.__at_ ## loc ##")))
-
 #ifdef TARGET_K64F
 //For K64F
 #   include "MK64F12.h"
@@ -48,7 +46,7 @@
 IAPCode check_error(void);
 IAPCode program_word(int address, char *data);
     
-__attribute__((section(".ARM.__at_0x11000")))  IAPCode erase_sector(int address) {
+__attribute__((section(".ARM.__at_0x11000"))) IAPCode erase_sector(int address) {
     #ifdef IAPDEBUG
     printf("IAP: Erasing at %x\r\n", address);
     #endif