Build Error with SPI

More
15 Apr 2018 03:57 #68655 by Elmtree
Build Error with SPI was created by Elmtree
Hey all,

I'm trying to build with make because docker hasn't been working on my computer for the builds. I'm getting this error with every version of deviation that I've tried.
+ Building 'devo6.elf'
objs/devo6/a7105.o: In function `A7105_ReadReg':
a7105.c:(.text.A7105_ReadReg+0x12): undefined reference to `PROTOSPI_read3wire'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:263: devo6.elf] Error 1
make: *** [Makefile:53: devo6] Error 2

I traced this error back to target/common/devo/protospi.h

I determined that the only time that this PROTOSPI_read3wire is called is in the a7105.c so I just moved the actual function into that file to see if it would compile. It does, but when I upload to deviation I get a blank screen on power up and I can't power it down.

any other debug ideas?

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.021 seconds
Powered by Kunena Forum