Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Help porting the HDC1000 library

$
0
0

Hi, I'm new to Energia though I have decent experience with arduino. Could someone help me out in porting this arduino sensor library for HDC1000 for the MSP430 lauchpad using Energia?

 

I tried doing it by replacing the <> #include statements using " " but it throws up a lot of errors. I have a school contest that I would like to participate soon and have to use the HDC1000 sensor board.

Thanks in Advance!

Vignesh

 

c:/users/vignesh/documents/energia-0101e0015/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: readTempHumi.cpp.elf section `.text' will not fit in region `rom'
c:/users/vignesh/documents/energia-0101e0015/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: readTempHumi.cpp.elf section `.bss' will not fit in region `ram'
c:/users/vignesh/documents/energia-0101e0015/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: section .vectors loaded at [0000ffe0,0000ffff] overlaps section .text loaded at [0000f800,0001138b]
c:/users/vignesh/documents/energia-0101e0015/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: region `ram' overflowed by 50 bytes
c:/users/vignesh/documents/energia-0101e0015/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: region `rom' overflowed by 5470 bytes
c:/users/vignesh/documents/energia-0101e0015/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libcrt0.a(_copy_data.o): In function `__do_copy_data':
/root/mspgcc-20120406/BUILD/gcc/gcc/../../../gcc-4.6.3/gcc/config/msp430/crt0.S:195: relocation truncated to fit: R_MSP430_16_BYTE against symbol `__data_load_start' defined in *ABS* section in readTempHumi.cpp.elf
core.a(main.cpp.o): In function `main':
main.cpp:(.init9+0xa): relocation truncated to fit: R_MSP430_16_BYTE against symbol `serialEventRun()' defined in .text._Z14serialEventRunv section in core.a(TimerSerial.cpp.o)
main.cpp:(.init9+0x16): relocation truncated to fit: R_MSP430_16 against symbol `serialEventRun()' defined in .text._Z14serialEventRunv section in core.a(TimerSerial.cpp.o)
readTempHumi.cpp.o: In function `setup':
readTempHumi.cpp:(.text.setup+0xc): relocation truncated to fit: R_MSP430_16 against symbol `TimerSerial::begin(unsigned long)' defined in .text._ZN11TimerSerial5beginEm section in core.a(TimerSerial.cpp.o)
readTempHumi.cpp.o: In function `loop':
readTempHumi.cpp:(.text.loop+0x2): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
readTempHumi.cpp:(.text.loop+0x24): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
readTempHumi.cpp:(.text.loop+0x46): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
core.a(TimerSerial.cpp.o): In function `serialEventRun()':
TimerSerial.cpp:(.text._Z14serialEventRunv+0xe): relocation truncated to fit: R_MSP430_16 against symbol `serialEvent()' defined in .text._Z11serialEventv section in core.a(TimerSerial.cpp.o)
core.a(TimerSerial.cpp.o): In function `TimerSerial::TimerSerial()':
TimerSerial.cpp:(.text._ZN11TimerSerialC2Ev+0x10): relocation truncated to fit: R_MSP430_16_BYTE against symbol `vtable for TimerSerial' defined in .rodata._ZTV11TimerSerial section in core.a(TimerSerial.cpp.o)
core.a(TimerSerial.cpp.o): In function `TimerSerial::begin(unsigned long)':
TimerSerial.cpp:(.text._ZN11TimerSerial5beginEm+0x4c): relocation truncated to fit: R_MSP430_16 against symbol `__udivsi3' defined in .text.libgcc section in c:/users/vignesh/documents/energia-0101e0015/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_udivmod32.o)
core.a(TimerSerial.cpp.o): In function `_GLOBAL__sub_I_Serial':
TimerSerial.cpp:(.text.startup._GLOBAL__sub_I_Serial+0x6): additional relocation overflows omitted from the output
collect2: ld returned 1 exit status

Viewing all articles
Browse latest Browse all 2077

Trending Articles