Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: FreescaleIAP/FreescaleIAP.cpp
- Revision:
- 4:8d109a566486
- Parent:
- 2:8c44f28c122c
--- 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