Dependencies:   IAP

Revision:
4:4060309b9cc0
Parent:
3:27407c4984cf
--- a/IAP/IAP.cpp	Thu Feb 13 16:07:07 2014 +0000
+++ b/IAP/IAP.cpp	Tue Oct 14 08:15:03 2014 +0000
@@ -30,7 +30,7 @@
 #define     USER_FLASH_AREA_START_STR( x )      STR( x )
 #define     STR( x )                            #x
 
-unsigned char user_area[ USER_FLASH_AREA_SIZE ] __attribute__((section( ".ARM.__at_" USER_FLASH_AREA_START_STR( USER_FLASH_AREA_START ) ), zero_init));
+//unsigned char user_area[ USER_FLASH_AREA_SIZE ] __attribute__((section( ".ARM.__at_" USER_FLASH_AREA_START_STR( USER_FLASH_AREA_START ) ), zero_init));
 
 
 /*
@@ -56,7 +56,7 @@
             IAPCommand_Compare,
             IAPCommand_Reinvoke_ISP,
             IAPCommand_Read_device_serial_number,
-#if defined(TARGET_LPC11U24)
+#if defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501)
             IAPCommand_EEPROM_Write = 61,
             IAPCommand_EEPROM_Read,
 #endif
@@ -228,7 +228,7 @@
     return ( USER_FLASH_AREA_SIZE );
 }
 
-#if defined(TARGET_LPC11U24)
+#if defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401) || defined(TARGET_LPC11U35_501)
 /** Copy RAM to EEPROM (LPC11U24)
  *  
  *  @param    source_addr    Source RAM address from which data bytes are to be read.
@@ -270,3 +270,5 @@
 }
 #endif
 
+
+