As per the lpc11xx manual the stack pointer should be set before IAP
calls are made.  

In lpc11xx_flash_prepare() and lpc11xx_flash_erase() bug in calculating
the ending sector number.
More Files to ignore
Add explanation how toi fill the libopencm3 directory
stlink: Use a seperate linker file as stlink has only 64 kByte
stlink: Update to current libopencm3 usb api.
native/usbuart: Move platform dependant parts to platform.h
stlink: Add the UART
Move usbdfu to platforms/stm32 directory
stlink: Add DFU capability
Move usbuart to the stm32 directory
cdcacm: move non-constant parts to platform.[hc]
Move (now-constant) cdcacm.c to platforms/stm32
platforms/stm32: Move more platform dependencies to platform.h
usbdfu: Allow for different, but constant flash page sizes
stm32_can: Changes to get blackmagic to work
traceswo: factor out platform dependant parts
traceswo: Move (now-constant) traceswo.c to platforms/stm32
f4discovery: Create a platforms directory for the F4 on the F4 Discovery board
usbuart, jtagtap, swdptap: Factor out GPIO setup
stm32_mem: Allow to select the programmer with the serial number