**** Clean-only build of configuration Debug for project adc **** make clean rm -rf ./src/adc.o ./src/adc_main.o ./src/cr_startup_lpc13.o ./src/adc.d ./src/adc_main.d ./src/cr_startup_lpc13.d adc.axf **** Build of configuration Debug for project adc **** make all Building file: ../src/adc.c Invoking: MCU C Compiler arm-none-eabi-gcc -D__USE_CMSIS=CMSISv1p30_LPC13xx -DCR_INTEGER_PRINTF -DDEBUG -D__CODE_RED -D__REDLIB__ -I"/home/samantha/workspace/CMSISv1p30_LPC13xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/adc.d" -MT"src/adc.d" -o"src/adc.o" "../src/adc.c" Finished building: ../src/adc.c Building file: ../src/adc_main.c Invoking: MCU C Compiler arm-none-eabi-gcc -D__USE_CMSIS=CMSISv1p30_LPC13xx -DCR_INTEGER_PRINTF -DDEBUG -D__CODE_RED -D__REDLIB__ -I"/home/samantha/workspace/CMSISv1p30_LPC13xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/adc_main.d" -MT"src/adc_main.d" -o"src/adc_main.o" "../src/adc_main.c" Finished building: ../src/adc_main.c Building file: ../src/cr_startup_lpc13.c Invoking: MCU C Compiler arm-none-eabi-gcc -D__USE_CMSIS=CMSISv1p30_LPC13xx -DCR_INTEGER_PRINTF -DDEBUG -D__CODE_RED -D__REDLIB__ -I"/home/samantha/workspace/CMSISv1p30_LPC13xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/cr_startup_lpc13.d" -MT"src/cr_startup_lpc13.d" -o"src/cr_startup_lpc13.o" "../src/cr_startup_lpc13.c" Finished building: ../src/cr_startup_lpc13.c Building target: adc.axf Invoking: MCU Linker arm-none-eabi-gcc -nostdlib -L"/home/samantha/workspace/CMSISv1p30_LPC13xx/Debug" -Xlinker --gc-sections -Xlinker -Map=adc.map -mcpu=cortex-m3 -mthumb -T "adc_Debug.ld" -o"adc.axf" ./src/adc.o ./src/adc_main.o ./src/cr_startup_lpc13.o -lCMSISv1p30_LPC13xx Finished building target: adc.axf make --no-print-directory post-build Performing post-build steps arm-none-eabi-size adc.axf; # arm-none-eabi-objcopy -O ihex adc.axf adc.hex ; text data bss dec hexfilename 9096 4 44 9144 23b8adc.axf |
#define ADC_INTERRUPT_FLAG0/* 1 is interrupt driven, 0 is polling */ #define ADC_DEBUG1 |
#ifdef ADC_DEBUG // Note: a single printf call can add 10k to code size ADCBar(i, ADCValue); printf("ADC[%d] = %05d\r\n", i, ADCValue); #endif |