Closed
Description
Exported project for LPCXpresso broken from mbed library Rev.122 and onward.
Step to reproduce:
- Create blinky project for LPC1768 (or other LPC) target
- Set mbed library Rev. 122 or 123
- Export to LPCXpresso
- Open the project by LPCXpresso IDE (I used LPCXpresso v8.1.4)
- Build the project file
Building target: mbed_blinky.axf
Invoking: MCU C++ Linker
arm-none-eabi-c++ -nostdlib -L"/Users/toyowata/Documents/LPCXpresso_8.1.4/workspace/mbed_blinky" -L"/Users/toyowata/Documents/LPCXpresso_8.1.4/workspace/mbed_blinky/mbed" -L"/Users/toyowata/Documents/LPCXpresso_8.1.4/workspace/mbed_blinky/mbed/TARGET_LPC1768" -L"/Users/toyowata/Documents/LPCXpresso_8.1.4/workspace/mbed_blinky/mbed/TARGET_LPC1768/TARGET_NXP" -L"/Users/toyowata/Documents/LPCXpresso_8.1.4/workspace/mbed_blinky/mbed/TARGET_LPC1768/TARGET_NXP/TARGET_LPC176X" -L"/Users/toyowata/Documents/LPCXpresso_8.1.4/workspace/mbed_blinky/mbed/TARGET_LPC1768/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768" -Xlinker -Map="mbed_blinky.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "" -o "mbed_blinky.axf" ./main.o
/Applications/lpcxpresso_8.1.4_606/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld: read in flex scanner failed
collect2: error: ld returned 1 exit status
make: *** [mbed_blinky.axf] Error 1
When I use Rev. 121 mbed library, it worked fine (I could build a project by LPCXpresso). The exporter doesn't seem to generate pre-build object files for target. See below:
mbed library Rev.122 and onward
mbed library Rev.121 and upward
I also tried to export other target such as LPC1114FN28 anr LPCXpresso11U68, they are same result.