Mathew Key
unread,Nov 7, 2011, 9:19:28 AM11/7/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ioio-...@googlegroups.com
Hi Ytai,
Im looking at modifying the firmware for the IOIO to add in support for a radio my company makes....basically creating an App note to go from our radio chip to Bluetooth. Ive been following along the Developer Getting Started Guide and MPLAB X is giving me the following build error. Using the latest Beta 7.12 and C30 v3.30c
Any ideas?
Thanks in advance!
Mat
CLEAN SUCCESSFUL (total time: 203ms)
make -f nbproject/Makefile-IOIO0021.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `C:/Documents and Settings/Mat/Desktop/TELRAN Bluetooth/ioio/firmware/app_layer_v1'
make -f nbproject/Makefile-IOIO0021.mk dist/IOIO0021/production/app_layer_v1.production.out
make[2]: Entering directory `C:/Documents and Settings/Mat/Desktop/TELRAN Bluetooth/ioio/firmware/app_layer_v1'
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/_ext/1270477542/logging.o.d -o build/IOIO0021/production/_ext/1270477542/logging.o ../common/logging.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/_ext/1537399865/uart2.o.d -o build/IOIO0021/production/_ext/1537399865/uart2.o ../microchip/common/uart2.c
adc.c: In function '_GFX1Interrupt':
adc.c:120: warning: 'group_header_pos' may be used uninitialized in this function
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/adc.o.d -o build/IOIO0021/production/adc.o adc.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/byte_queue.o.d -o build/IOIO0021/production/byte_queue.o byte_queue.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/digital.o.d -o build/IOIO0021/production/digital.o digital.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/features.o.d -o build/IOIO0021/production/features.o features.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/i2c.o.d -o build/IOIO0021/production/i2c.o i2c.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/icsp.o.d -o build/IOIO0021/production/icsp.o icsp.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/incap.o.d -o build/IOIO0021/production/incap.o incap.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/main.o.d -o build/IOIO0021/production/main.o main.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/pins.o.d -o build/IOIO0021/production/pins.o pins.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/protocol.o.d -o build/IOIO0021/production/protocol.o protocol.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/pwm.o.d -o build/IOIO0021/production/pwm.o pwm.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/spi.o.d -o build/IOIO0021/production/spi.o spi.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/timers.o.d -o build/IOIO0021/production/timers.o timers.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -g -omf=elf -x c -c -mcpu=24FJ128DA106 -fno-short-double -Wall -DPLATFORM=1021 -DNDEBUG -I. -I.. -I../microchip/include -I../common -O3 -MMD -MF build/IOIO0021/production/uart.o.d -o build/IOIO0021/production/uart.o uart.c
"C:\Program Files\Microchip\mplabc30\v3.30c\bin\pic30-gcc.exe" -omf=elf -mcpu=24FJ128DA106 -o dist/IOIO0021/production/app_layer_v1.production.out build/IOIO0021/production/_ext/1270477542/logging.o build/IOIO0021/production/_ext/1537399865/uart2.o build/IOIO0021/production/adc.o build/IOIO0021/production/byte_queue.o build/IOIO0021/production/digital.o build/IOIO0021/production/features.o build/IOIO0021/production/i2c.o build/IOIO0021/production/icsp.o build/IOIO0021/production/incap.o build/IOIO0021/production/main.o build/IOIO0021/production/pins.o build/IOIO0021/production/protocol.o build/IOIO0021/production/pwm.o build/IOIO0021/production/spi.o build/IOIO0021/production/timers.o build/IOIO0021/production/uart.o -Wl,--defsym=__MPLAB_BUILD=1,--heap=1536,--gc-sections,-l"conn",-l"adb",-l"usb",-l"btstack",-L"../libconn/dist/PIC24FJ128DA106",-L"../libadb/dist/PIC24FJ128DA106",-L"../libbtstack/dist/PIC24FJ128DA106",-L"../libusb/dist/PIC24FJ128DA106",-Map=".map",--report-mem,--script="../common/dummy.gld",-T../blapi/app_IOIO0021.gld
c:\program files\microchip\mplabc30\v3.30c\bin\bin\..\bin/pic30-elf-ld.exe: cannot find -lconn
make[2]: *** [dist/IOIO0021/production/app_layer_v1.production.out] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
make[2]: Leaving directory `C:/Documents and Settings/Mat/Desktop/TELRAN Bluetooth/ioio/firmware/app_layer_v1'
make[1]: Leaving directory `C:/Documents and Settings/Mat/Desktop/TELRAN Bluetooth/ioio/firmware/app_layer_v1'
BUILD FAILED (exit value 2, total time: 11s)