Other Parts Discussed in Thread: ENERGIA, PGA460
I am trying to use the GetDistance example program for the BOOSTXL-PGA460 in Energia. I am stuck at the verification stage before I try to upload it to the board. When I attempt to verify the program, the first error among many is:
sketch\PGA460_USSC.cpp.o: In function `pga460::initBoostXLPGA460(unsigned char, unsigned long, unsigned char)':
PGA460_USSC.cpp:(.text._ZN6pga46017initBoostXLPGA460Ehmh+0x236): undefined reference to `spi_initialize_pga460()'
I've tried several things to get this working including putting the definition directly into the PGA460_USSC.cpp file, changing or adding includes so that the function should definitely be defined, installing the BOOST Energia files using the GUI's .zip uploader, manually installing the files, trying it on a separate computer (both Win10 x64), and more.
The problem is only when using these BOOSTXL-PGA460 example programs. I can get the general ones, such as blinking the LEDs, to work just fine.
Can anyone provide some insight into the problem I'm having? Perhaps even a simple installation guide would help in case I'm missing some simple yet critical step to getting this working since these programs are not included with the general Energia download.
Thanks for any help/advice!