Hello !
I have a Xiao ESP32C3 board, and I would like to know if it is possible to connect a 433 MHz RF transmission module to it. I have tried several codes, but none of them work, as well as libraries like RadioHead and VirtualWire. None of them work.
I am attaching the code used along with the error message obtained :
#include <RH_ASK.h>
#include <SPI.h> // Not actually used but needed to compile
RH_ASK driver;
void setup()
{
Serial.begin(9600); // Debugging only
if (!driver.init())
Serial.println(âinit failedâ);
}
void loop()
{
const char *msg = âHello World!â;
driver.send((uint8_t *)msg, strlen(msg));
driver.waitPacketSent();
delay(1000);
}
error :
In file included from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RHGenericDriver.h:9,
from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RHNRFSPIDriver.h:9,
from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:6:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp: In member function âuint8_t RHNRFSPIDriver::spiCommand(uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:34:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:34:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:44:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:44:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp: In member function âuint8_t RHNRFSPIDriver::spiRead(uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:51:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:51:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:62:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:62:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp: In member function âuint8_t RHNRFSPIDriver::spiWrite(uint8_t, uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:69:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:69:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:86:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:86:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp: In member function âuint8_t RHNRFSPIDriver::spiBurstRead(uint8_t, uint8_t*, uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:93:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:93:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:105:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:105:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp: In member function âuint8_t RHNRFSPIDriver::spiBurstWrite(uint8_t, const uint8_t*, uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:112:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:112:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:124:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHNRFSPIDriver.cpp:124:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
In file included from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RHGenericDriver.h:9,
from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RHNRFSPIDriver.h:9,
from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RH_CC110.h:17,
from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:8:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp: In member function âvoid RH_CC110::clearRxBuf()â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:293:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:293:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:296:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:296:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp: In member function âvirtual bool RH_CC110::recv(uint8_t*, uint8_t*)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:306:2: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:306:2: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:311:2: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RH_CC110.cpp:311:2: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
In file included from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RHGenericDriver.h:9,
from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RHSPIDriver.h:9,
from c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:6:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp: In member function âuint8_t RHSPIDriver::spiRead(uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:47:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:47:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:54:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:54:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp: In member function âuint8_t RHSPIDriver::spiWrite(uint8_t, uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:61:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:61:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:71:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:71:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp: In member function âuint8_t RHSPIDriver::spiBurstRead(uint8_t, uint8_t*, uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:78:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:78:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:86:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:86:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp: In member function âuint8_t RHSPIDriver::spiBurstWrite(uint8_t, const uint8_t*, uint8_t)â:
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: error: âXTOS_DISABLE_ALL_INTERRUPTSâ was not declared in this scope
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:93:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1753:65: note: suggested alternative: âtaskDISABLE_INTERRUPTSâ
#define ATOMIC_BLOCK_START uint32_t volatile register ilevel = XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:93:5: note: in expansion of macro âATOMIC_BLOCK_STARTâ
ATOMIC_BLOCK_START;
^~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: error: âXTOS_RESTORE_INTLEVELâ was not declared in this scope
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:101:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead/RadioHead.h:1754:27: note: suggested alternative: âSOC_SYSTIMER_INT_LEVELâ
#define ATOMIC_BLOCK_END XTOS_RESTORE_INTLEVEL(ilevel);
^~~~~~~~~~~~~~~~~~~~~
c:\Users\Pablo\Documents\Arduino\libraries\RadioHead\RHSPIDriver.cpp:101:5: note: in expansion of macro âATOMIC_BLOCK_ENDâ
ATOMIC_BLOCK_END;
^~~~~~~~~~~~~~~~
exit status 1
Compilation error: exit status 1