Medsimo 1 Posted March 13, 2017 Share Posted March 13, 2017 hello People !! I have traying to upload this code (see below) in Tiva C LP with CC2530 AIR MODULE. I have this errors, someone gives me some help please. " I have libreries in order and all" Issues: C:\Users\Myriam\Documents\Energia\libraries\SPI\SPI.cpp: In member function 'void SPIClass::begin()': C:\Users\Myriam\Documents\Energia\libraries\SPI\SPI.cpp:207:55: error: invalid conversion from 'long unsigned int*' to 'uint32_t* {aka unsigned int*}' [-fpermissive] while(ROM_SSIDataGetNonBlocking(SSIBASE, &initialData)); ^ C:\Users\Myriam\Documents\Energia\libraries\SPI\SPI.cpp: In member function 'uint8_t SPIClass::transfer(uint8_t)': C:\Users\Myriam\Documents\Energia\libraries\SPI\SPI.cpp:244:35: error: invalid conversion from 'long unsigned int*' to 'uint32_t* {aka unsigned int*}' [-fpermissive] ROM_SSIDataGet(SSIBASE, &rxtxData); ^ code: Tiva_measurment.ino Quote Link to post Share on other sites
energia 485 Posted March 13, 2017 Share Posted March 13, 2017 It seems that there is a data type mismatch between whatever code is calling the SPI API's and the SPI library. Where did the ZBooster library come from? Medsimo 1 Quote Link to post Share on other sites
Medsimo 1 Posted March 14, 2017 Author Share Posted March 14, 2017 ZBooster, I downloaded it from MWEINTRA's libraries, could tell me what part of the code is giving me error, I can not find it in my code (attached above). thanks for your reply :). 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.