CLEAN SUCCESSFUL (total time: 116ms) make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory '/home/padmal/Documents/FOSSASIA/pslab-firmware/PSLab_Original' make -f nbproject/Makefile-default.mk dist/default/production/PSLab_Original.production.hex make[2]: Entering directory '/home/padmal/Documents/FOSSASIA/pslab-firmware/PSLab_Original' "/opt/microchip/xc16/v1.41/bin/xc16-gcc" proto2_main.c -o build/default/production/proto2_main.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/proto2_main.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" PSLAB_UART.c -o build/default/production/PSLAB_UART.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/PSLAB_UART.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" PSLAB_I2C.c -o build/default/production/PSLAB_I2C.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/PSLAB_I2C.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" Common_Functions.c -o build/default/production/Common_Functions.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/Common_Functions.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" PSLAB_NRF.c -o build/default/production/PSLAB_NRF.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/PSLAB_NRF.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" PSLAB_SPI.c -o build/default/production/PSLAB_SPI.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/PSLAB_SPI.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" PSLAB_ADC.c -o build/default/production/PSLAB_ADC.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/PSLAB_ADC.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" Wave_Generator.c -o build/default/production/Wave_Generator.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/Wave_Generator.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off proto2_main.c: In function 'main': proto2_main.c:110:25: warning: '_flash_helper1' is deprecated (declared at /opt/microchip/xc16/v1.41/bin/bin/../../support/generic/h/libpic30.h:385): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc proto2_main.c:115:29: warning: '_flash_helper10' is deprecated (declared at /opt/microchip/xc16/v1.41/bin/bin/../../support/generic/h/libpic30.h:403): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc proto2_main.c:1094:31: warning: assignment makes pointer from integer without a cast proto2_main.c:1101:31: warning: assignment makes pointer from integer without a cast "/opt/microchip/xc16/v1.41/bin/xc16-gcc" Function.c -o build/default/production/Function.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/Function.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off "/opt/microchip/xc16/v1.41/bin/xc16-gcc" Measurements.c -o build/default/production/Measurements.o -c -mcpu=24EP256GP204 -MMD -MF "build/default/production/Measurements.o.d" -mno-eds-warn -g -omf=elf -DXPRJ_default=default -no-legacy-libc -O1 -msmart-io=1 -Wall -msfr-warn=off Function.c: In function 'load_to_flash': Function.c:331:5: warning: '_flash_helper1' is deprecated (declared at /opt/microchip/xc16/v1.41/bin/bin/../../support/generic/h/libpic30.h:385): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc Function.c:336:9: warning: '_flash_helper10' is deprecated (declared at /opt/microchip/xc16/v1.41/bin/bin/../../support/generic/h/libpic30.h:403): consider migrating to Microchip Code Configurator https://www.microchip.com/mcc proto2_main.c: At top level: proto2_main.c:1382:1: warning: '_FUID0' definition has been deprecated: consider migrating to #pragma config proto2_main.c:1382:1: warning: '_FUID1' definition has been deprecated: consider migrating to #pragma config proto2_main.c:1382:1: warning: '_FUID2' definition has been deprecated: consider migrating to #pragma config proto2_main.c:1382:1: warning: '_FUID3' definition has been deprecated: consider migrating to #pragma config "/opt/microchip/xc16/v1.41/bin/xc16-gcc" -o dist/default/production/PSLab_Original.production.elf build/default/production/proto2_main.o build/default/production/PSLAB_UART.o build/default/production/PSLAB_I2C.o build/default/production/Common_Functions.o build/default/production/PSLAB_NRF.o build/default/production/PSLAB_SPI.o build/default/production/PSLAB_ADC.o build/default/production/Wave_Generator.o build/default/production/Function.o build/default/production/Measurements.o -mcpu=24EP256GP204 -omf=elf -DXPRJ_default=default -no-legacy-libc -Wl,--local-stack,,--defsym=__MPLAB_BUILD=1,,--script=p24EP256GP204.gld,--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="dist/default/production/PSLab_Original.production.map",--report-mem,--memorysummary,dist/default/production/memoryfile.xml xc16-ld 1.41 (A) Default Code Model: Small Default Data Model: Large Default Scalar Model: Small "program" Memory [Origin = 0x200, Length = 0x2adec] section address length (PC units) length (bytes) (dec) ------- ------- ----------------- -------------------- .text 0x200 0x49c 0x6ea (1770) .const 0x69c 0x48 0x6c (108) .text 0x6e4 0x10c 0x192 (402) CALIBS 0x800 0x7800 0xb400 (46080) .text 0x8000 0x20d2 0x313b (12603) .dinit 0xa0d2 0x66e 0x9a5 (2469) .text 0xa740 0xf76 0x1731 (5937) Total "program" memory used (bytes): 0x10ef9 (69369) 26% "data" Memory [Origin = 0x1000, Length = 0x8000] section address alignment gaps total length (dec) ------- ------- -------------- ------------------- .nbss 0x1000 0 0x62 (98) .ndata 0x1062 0 0x14 (20) .nbss 0x1076 0 0x8 (8) .ndata 0x107e 0 0x8 (8) .nbss 0x1086 0 0xa (10) .ndata 0x1090 0 0x4 (4) .nbss 0x1094 0 0x4 (4) .ndata 0x1098 0 0x4 (4) .nbss 0x109c 0 0x2 (2) .ndata 0x109e 0 0x2 (2) .nbss 0x10a0 0 0x2 (2) adcbuff 0x10a2 0 0x4e20 (20000) .bss 0x5ec2 0 0x5dc (1500) sine_table1 0x649e 0 0x400 (1024) sine_table2 0x689e 0 0x400 (1024) .bss 0x6c9e 0 0x196 (406) sine_table1_short 0x6e34 0 0x40 (64) sine_table2_short 0x6e74 0 0x40 (64) .data 0x6eb4 0 0x12 (18) Total "data" memory used (bytes): 0x5ec6 (24262) 74% Dynamic Memory Usage region address maximum length (dec) ------ ------- --------------------- heap 0 0 (0) stack 0x6ec6 0x113a (4410) Maximum dynamic memory (bytes): 0x113a (4410) "/opt/microchip/xc16/v1.41/bin"/xc16-bin2hex dist/default/production/PSLab_Original.production.elf -a -omf=elf make[2]: Leaving directory '/home/padmal/Documents/FOSSASIA/pslab-firmware/PSLab_Original' make[1]: Leaving directory '/home/padmal/Documents/FOSSASIA/pslab-firmware/PSLab_Original' BUILD SUCCESSFUL (total time: 9s) Loading code from /home/padmal/Documents/FOSSASIA/pslab-firmware/PSLab_Original/dist/default/production/PSLab_Original.production.hex... Loading completed