Hello again. Two weeks later:
We tried to do the release build once again.
The project workspace was moved to a fresh directory and the previous suggestions have been implemented.
The release build was done for the project, the chip and the board projects. All compiled with zero errors and warnings.
The last two paragraphs in the build were:
//*************************************
Building target: no2son.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\John\Documents\4 Sondes\workspace\lpc_chip_11u6x\Release" -L"C:\Users\John\Documents\4 Sondes\workspace\lpc_board_nxp_lpcxpresso_11u68\Release" -Xlinker -Map="no2son.map" -Xlinker --gc-sections -Xlinker --allow-multiple-definition -mcpu=cortex-m0 -mthumb -T "no2son_Release.ld" -o "no2son.axf" ./src/I2C.o ./src/PressTemp.o ./src/clock.o ./src/cr_startup_lpc11u6x.o ./src/crp.o ./src/l_UART.o ./src/l_ad.o ./src/main.o ./src/mtb.o ./src/sysinit.o -llpc_board_nxp_lpcxpresso_11u68 -llpc_chip_11u6x
Finished building target: no2son.axf
make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size "no2son.axf"; # arm-none-eabi-objcopy -O binary "no2son.axf" "no2son.bin" ; checksum -p LPC11U68 -d "no2son.bin";
text data bss dec hex filename
28184 68 2344 30596 7784 no2son.axf
18:07:11 Build Finished. 0 errors, 0 warnings. (took 2s.206ms)
//****************************************************
The lpc11u68 was connected by using a Link2. It works for the debug version.
Do we need to do a release version for the Link2 as well? Probably has a 43xx chip.
The run release command (green triangle) builds the release version again but does not launch. (the first time, it tried to launch but reported it could not.)
The "problems page" lists two errors and five warnings.
//*****************************************************
Description Resource Path Location Type
fatal error: chip.h: No such file or directory board.h /lpc_board_nxp_lpclink2_4370/inc line 35 C/C++ Problem
Description Resource Path Location Type
make: *** [src/subdir.mk:23: src/board.o] Error 1 lpc_board_nxp_lpclink2_4370 C/C++ Problem
//**************************************************************
Any suggestions?
jDrum