Medsimo

ERROR COMPILING ...

3 posts in this topic

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

Share this post


Link to post
Share on other sites

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 likes this

Share this post


Link to post
Share on other sites

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 :).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now