LoRaWAN 0 Posted August 3, 2018 Share Posted August 3, 2018 I get the error "'SPISettings' does not name a type" when I compile my code for LoRaWAN. The codes are working in Arduino with the libraries LoRa.h and SPI.h. I have added the image to where the error is pointing at (In LoRa Library) and the Error message as well below. I tried changing the energia SPI library to the Arduino SPI library as well but this created more problems. Out of all the things I tried, the most simple error I get is here when it says "Does not name a type". How can I correct that bit of code to get rid of this error. I'm a relative beginner in Energia and not sure what to do. Appreciate any help. Thank you🙂     Quote Link to post Share on other sites
NurseBob 111 Posted August 4, 2018 Share Posted August 4, 2018 Did you edit the LoRa.h file from #include <Arduino.h> to #include <Energia.h>? Might help? Quote Link to post Share on other sites
LoRaWAN 0 Posted August 4, 2018 Author Share Posted August 4, 2018 1 hour ago, NurseBob said: Did you edit the LoRa.h file from #include <Arduino.h> to #include <Energia.h>? Might help? Yes! No Luck Quote Link to post Share on other sites
NurseBob 111 Posted August 4, 2018 Share Posted August 4, 2018 Take a look at this link regarding include statements in C++, it may provide some insight? Quote Link to post Share on other sites
LoRaWAN 0 Posted August 4, 2018 Author Share Posted August 4, 2018 SPI.hSPI.cppLoRa.hLoRa.cpp Hi, Thank you, but it seems I have initialized as mentioned there. However, I'm attaching the library files here and the .ino file that I'm trying to compile on Energia. Appreciate if you can further assist me 20 minutes ago, NurseBob said: Take a look at this link regarding include statements in C++, it may provide some insight?  LoRaSender.ino Quote Link to post Share on other sites
NurseBob 111 Posted August 4, 2018 Share Posted August 4, 2018 >Appreciate if you can further assist me Unfortunately, my current system configuration doesn't support Energia builds at the moment. So, hopefully someone else will be able to help. LoRaWAN 1 Quote Link to post Share on other sites
LoRaWAN 0 Posted August 5, 2018 Author Share Posted August 5, 2018 11 hours ago, NurseBob said: >Appreciate if you can further assist me Unfortunately, my current system configuration doesn't support Energia builds at the moment. So, hopefully someone else will be able to help. Thank you Quote Link to post Share on other sites
jcR 6 Posted August 14, 2018 Share Posted August 14, 2018 you can not use Lora library with the MSP430G2553. Ram is to small !!!!! only 512 bytes Arduino 2Kbytes SRAM LoRaWAN 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.