10 years, 8 months ago.  This question has been closed. Reason: Figured it out on my own

Read only LPC11U24.sct

I've been working on a bare metal project using the LPC11U24 and have started to get dangerously close to the 32k limit on the flash. I've seen that there is a LPC11U37 which is pin-for-pin compatible with the LPC11U24. It has the same peripheral map and the only difference is the amount of flash (128k) and RAM available. Since the differences are so minimal it doesn't seem worthwhile going through the entire porting process so I would have thought that the following changes should be sufficient to allow me to use the online compiler to compile my code for the LPC11U3x. (I would program the device using the ISP bootloader so it is just the online compiler function that I need).

Original LPC11U24.sct:

LR_IROM1 0x00000000 0x8000  {    ; load region size_region (32k)
  ER_IROM1 0x00000000 0x8000  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }
  ; 8_byte_aligned(48 vect * 4 bytes) =  8_byte_aligned(0xC0) = 0xC0
  ; 8KB - 0xC0 = 0x1F40
  RW_IRAM1 0x100000C0 0x1F40  {
   .ANY (+RW +ZI)
  }
  RW_IRAM2 0x20004000 0x800   { ; RW data, USB RAM
   .ANY (USBRAM)
  }
}

New LPC11U24.sct:

LR_IROM1 0x00000000 0x20000  {    ; load region size_region (128k)
  ER_IROM1 0x00000000 0x20000  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }
  ; 8_byte_aligned(48 vect * 4 bytes) =  8_byte_aligned(0xC0) = 0xC0
  ; 8KB - 0xC0 = 0x1F40
  RW_IRAM1 0x100000C0 0x1F40  {
   .ANY (+RW +ZI)
  }
  RW_IRAM2 0x20004000 0x800   { ; RW data, USB RAM
   .ANY (USBRAM)
  }
  RW_IRAM3 0x20000000 0x800   { ; RW data
   .ANY (MORERAM)
  }
}

Problem is, LPC11U24.sct is read only so I can't make these changes. Is there any way to overwrite this file?

Many thanks Tim

Question relating to: