**** Build of configuration Release for project TCL **** make all Building target: TCL.axf Invoking: MCU Linker arm-none-eabi-gcc -nostdlib -Xlinker -Map="TCL.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "TCL_Release.ld" -o"TCL.axf" ./src/RITtimer.o ./src/cr_startup_lpc176x.o ./src/extint.o ./src/lpc17xx_clkpwr.o ./src/lpc17xx_gpio.o ./src/lpc17xx_i2c.o ./src/lpc17xx_libcfg_default.o ./src/lpc17xx_pinsel.o ./src/main.o -lCMSISv1p30_LPC17xx c:/nxp/lpcxpresso_4.1.0_190/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv1p30_LPC17xx collect2: ld returned 1 exit status make: *** [TCL.axf] Error 1 |
Building target: TCL.axf Invoking: MCU Linker arm-none-eabi-gcc -nostdlib -L"C:\Users\marta\Documents\LPCXpresso_4.1.0_190\workspace\CMSISv1p30_LPC17xx\Debug" -Xlinker -Map="TCL.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "TCL_Debug.ld" -o"TCL.axf" ./src/RITtimer.o ./src/cr_startup_lpc176x.o ./src/extint.o ./src/lpc17xx_clkpwr.o ./src/lpc17xx_gpio.o ./src/lpc17xx_i2c.o ./src/lpc17xx_libcfg_default.o ./src/lpc17xx_pinsel.o ./src/main.o -lCMSISv1p30_LPC17xx Finished building target: TCL.axf |
/* SystemClockUpdate() updates the SystemFrequency variable */ SystemCoreClockUpdate(); // enable and initialize the timer - interrupt init_rit_timer( TIME_INTERVAL ); enable_rit_timer(); while (1) { if(rit_timer_counter || 0) { // when I change to 1 I can see the square wave on oscilloscope // some code here // debug toggle GPIO to scope the loop duration if(i++ % 2) FIO_ByteSetValue(1, 3, INT3_LED); else FIO_ByteClearValue(1, 3, INT3_LED); // reset timer rit_timer_counter = 0; } } |