-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Description
Since the new release of the RF24 libraries Im unable to use them with platformio anymore.
Even if I try to use the older version that was working for projects before this update.
Here is the error that I get: platformio/platformio-home#5848
I know that until this point its a platformio issue thats why I opened it there instead of here, but even if I try to download every library manually and insert them into the lib folder Im getting a bunch of compiler errors.
This issue seems only to affect the RF24Network and RF24Mesh libraries. The RF24 library can be isntalled in platformio without problems.
This seems to only effect the nrf_to_nrf.cpp source file:
Details
-----------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/lilygo-t-display-s3.html
PLATFORM: Espressif 32 (6.2.0) > LilyGo T-Display-S3
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20008.0 (2.0.8)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 41 compatible libraries
Scanning dependencies...
Dependency Graph
|-- RF24 @ 1.4.7
|-- RF24Mesh @ 1.1.9
|-- RF24Network @ 1.0.18
|-- SPI @ 2.0.0
Building in release mode
Compiling .pio\build\lilygo-t-display-s3\liba8a\nrf_to_nrf\nrf_to_nrf.cpp.o
Compiling .pio\build\lilygo-t-display-s3\FrameworkArduino\libb64\cdecode.c.o
Compiling .pio\build\lilygo-t-display-s3\FrameworkArduino\libb64\cencode.c.o
Compiling .pio\build\lilygo-t-display-s3\FrameworkArduino\main.cpp.o
Compiling .pio\build\lilygo-t-display-s3\FrameworkArduino\stdlib_noniso.c.o
Compiling .pio\build\lilygo-t-display-s3\FrameworkArduino\wiring_pulse.c.o
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In function 'uint32_t addr_conv(const uint8_t*)':
Compiling .pio\build\lilygo-t-display-s3\FrameworkArduino\wiring_shift.c.o
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:22:12: error: '__REV' was not declared in this scope
return __REV(
^~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'bool nrf_to_nrf::begin()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:86:5: error: 'NRF_CLOCK' was not declared in this scope
NRF_CLOCK->EVENTS_HFCLKSTARTED = 0;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:86:5: note: suggested alternative: 'F_LOCK'
NRF_CLOCK->EVENTS_HFCLKSTARTED = 0;
^~~~~~~~~
F_LOCK
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:94:28: error: 'CLOCK_LFCLKSRC_SRC_Xtal' was not declared in this scope
NRF_CLOCK->LFCLKSRC = (CLOCK_LFCLKSRC_SRC_Xtal << CLOCK_LFCLKSRC_SRC_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:94:55: error: 'CLOCK_LFCLKSRC_SRC_Pos' was not declared in this scope
NRF_CLOCK->LFCLKSRC = (CLOCK_LFCLKSRC_SRC_Xtal << CLOCK_LFCLKSRC_SRC_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:102:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->POWER = 1;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:102:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->POWER = 1;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:105:30: error: 'RADIO_PCNF0_S0LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (1 << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (1 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:105:61: error: 'RADIO_PCNF0_LFLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (1 << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (1 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:105:92: error: 'RADIO_PCNF0_S1LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (1 << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (1 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:107:25: error: 'RADIO_PCNF1_WHITEEN_Disabled' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (4 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:107:57: error: 'RADIO_PCNF1_WHITEEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (4 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:107:85: error: 'RADIO_PCNF1_ENDIAN_Big' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (4 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:107:111: error: 'RADIO_PCNF1_ENDIAN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (4 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:107:143: error: 'RADIO_PCNF1_BALEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (4 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:107:190: error: 'RADIO_PCNF1_STATLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (4 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:107:239: error: 'RADIO_PCNF1_MAXLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (4 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:121:25: error: 'RADIO_CRCCNF_LEN_Two' was not declared in this scope
NRF_RADIO->CRCCNF = RADIO_CRCCNF_LEN_Two; /* CRC configuration: 16bit */
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:126:24: error: 'RADIO_MODE_MODE_Nrf_1Mbit' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:126:53: error: 'RADIO_MODE_MODE_Pos' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:126:53: note: suggested alternative: 'GPIO_MODE_OUTPUT'
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~
GPIO_MODE_OUTPUT
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:129:34: error: 'RADIO_TXPOWER_TXPOWER_Pos' was not declared in this scope
NRF_RADIO->TXPOWER = (0x8 << RADIO_TXPOWER_TXPOWER_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'uint8_t nrf_to_nrf::sample_ed()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:143:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->TASKS_EDSTART = 1; // Start
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:143:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->TASKS_EDSTART = 1; // Start
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'bool nrf_to_nrf::available(uint8_t*)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:173:9: error: 'NRF_RADIO' was not declared in this scope
if (NRF_RADIO->EVENTS_CRCOK) {
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:173:9: note: suggested alternative: 'NRF_PA_LOW'
if (NRF_RADIO->EVENTS_CRCOK) {
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:175:23: error: 'CCM_IV_SIZE' was not declared in this scope
uint8_t tmpIV[CCM_IV_SIZE];
^~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:175:23: note: suggested alternative: 'MEM_SIZE'
uint8_t tmpIV[CCM_IV_SIZE];
^~~~~~~~~~~
MEM_SIZE
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:298:9: error: 'NRF_RADIO' was not declared in this scope
if (NRF_RADIO->EVENTS_CRCERROR) {
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:298:9: note: suggested alternative: 'NRF_PA_LOW'
if (NRF_RADIO->EVENTS_CRCERROR) {
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::read(void*, uint8_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:313:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->TASKS_START = 1;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:313:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->TASKS_START = 1;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'bool nrf_to_nrf::write(void*, uint8_t, bool, bool)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:402:13: error: 'NRF_RADIO' was not declared in this scope
if (NRF_RADIO->STATE < 9) {
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:402:13: note: suggested alternative: 'NRF_PA_LOW'
if (NRF_RADIO->STATE < 9) {
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:410:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->EVENTS_END = 0;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:410:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->EVENTS_END = 0;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:426:41: error: 'RADIO_MODE_MODE_Nrf_1Mbit' was not declared in this scope
if (NRF_RADIO->MODE == (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos)) {
^~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:426:70: error: 'RADIO_MODE_MODE_Pos' was not declared in this scope
if (NRF_RADIO->MODE == (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos)) {
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:426:70: note: suggested alternative: 'GPIO_MODE_OUTPUT'
if (NRF_RADIO->MODE == (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos)) {
^~~~~~~~~~~~~~~~~~~
GPIO_MODE_OUTPUT
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'bool nrf_to_nrf::startWrite(void*, uint8_t, bool)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:507:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->TASKS_START = 1;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:507:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->TASKS_START = 1;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::startListening(bool)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:566:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->EVENTS_DISABLED = 0;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:566:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->EVENTS_DISABLED = 0;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::stopListening(bool, bool)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:589:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->EVENTS_DISABLED = 0;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:589:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->EVENTS_DISABLED = 0;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'bool nrf_to_nrf::isValid()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:621:21: error: 'NRF_RADIO' was not declared in this scope
uint32_t freq = NRF_RADIO->FREQUENCY;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:621:21: note: suggested alternative: 'NRF_PA_LOW'
uint32_t freq = NRF_RADIO->FREQUENCY;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::setChannel(uint8_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:632:48: error: 'NRF_RADIO' was not declared in this scope
void nrf_to_nrf::setChannel(uint8_t channel) { NRF_RADIO->FREQUENCY = channel; }
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:632:48: note: suggested alternative: 'NRF_PA_LOW'
void nrf_to_nrf::setChannel(uint8_t channel) { NRF_RADIO->FREQUENCY = channel; }
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'uint8_t nrf_to_nrf::getChannel()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:636:52: error: 'NRF_RADIO' was not declared in this scope
uint8_t nrf_to_nrf::getChannel() { return (uint8_t)NRF_RADIO->FREQUENCY; }
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:636:52: note: suggested alternative: 'NRF_PA_LOW'
uint8_t nrf_to_nrf::getChannel() { return (uint8_t)NRF_RADIO->FREQUENCY; }
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::enableDynamicPayloads(uint8_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:672:13: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (6 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:672:13: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (6 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:672:38: error: 'RADIO_PCNF0_S0LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (6 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:672:69: error: 'RADIO_PCNF0_LFLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (6 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:672:100: error: 'RADIO_PCNF0_S1LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (6 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:676:13: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (8 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:676:13: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (8 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:676:38: error: 'RADIO_PCNF0_S0LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (8 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:676:69: error: 'RADIO_PCNF0_LFLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (8 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:676:100: error: 'RADIO_PCNF0_S1LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (0 << RADIO_PCNF0_S0LEN_Pos) | (8 << RADIO_PCNF0_LFLEN_Pos) | (3 << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:29: error: 'RADIO_PCNF1_WHITEEN_Disabled' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:61: error: 'RADIO_PCNF1_WHITEEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:89: error: 'RADIO_PCNF1_ENDIAN_Big' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:115: error: 'RADIO_PCNF1_ENDIAN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:162: error: 'RADIO_PCNF1_BALEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:193: error: 'RADIO_PCNF1_STATLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:678:236: error: 'RADIO_PCNF1_MAXLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (0 << RADIO_PCNF1_STATLEN_Pos) | (payloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::disableDynamicPayloads()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:692:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:692:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:692:38: error: 'RADIO_PCNF0_S0LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:692:69: error: 'RADIO_PCNF0_LFLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:692:108: error: 'RADIO_PCNF0_S1LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:694:25: error: 'RADIO_PCNF1_WHITEEN_Disabled' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:694:57: error: 'RADIO_PCNF1_WHITEEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:694:85: error: 'RADIO_PCNF1_ENDIAN_Big' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:694:111: error: 'RADIO_PCNF1_ENDIAN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:694:158: error: 'RADIO_PCNF1_BALEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:694:205: error: 'RADIO_PCNF1_STATLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:694:254: error: 'RADIO_PCNF1_MAXLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::setPayloadSize(uint8_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:708:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:708:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:708:38: error: 'RADIO_PCNF0_S0LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:708:69: error: 'RADIO_PCNF0_LFLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:708:108: error: 'RADIO_PCNF0_S1LEN_Pos' was not declared in this scope
NRF_RADIO->PCNF0 = (lenConfig << RADIO_PCNF0_S0LEN_Pos) | (0 << RADIO_PCNF0_LFLEN_Pos) | (lenConfig << RADIO_PCNF0_S1LEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:710:25: error: 'RADIO_PCNF1_WHITEEN_Disabled' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:710:57: error: 'RADIO_PCNF1_WHITEEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:710:85: error: 'RADIO_PCNF1_ENDIAN_Big' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:710:111: error: 'RADIO_PCNF1_ENDIAN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:710:158: error: 'RADIO_PCNF1_BALEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:710:205: error: 'RADIO_PCNF1_STATLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:710:254: error: 'RADIO_PCNF1_MAXLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (addressWidth - 1 << RADIO_PCNF1_BALEN_Pos) | (staticPayloadSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::openReadingPipe(uint8_t, uint64_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:744:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE0 = base;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:744:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE0 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:749:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE1 = base;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:749:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE1 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:754:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE1 = base;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:754:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE1 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:758:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->RXADDRESSES |= 1 << child;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:758:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->RXADDRESSES |= 1 << child;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::openWritingPipe(uint64_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:777:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE0 = base;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:777:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE0 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::openReadingPipe(uint8_t, const uint8_t*)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:803:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE0 = base;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:803:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE0 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:808:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE1 = base;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:808:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE1 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:813:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE1 = base;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:813:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE1 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:817:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->RXADDRESSES |= 1 << child;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:817:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->RXADDRESSES |= 1 << child;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::openWritingPipe(const uint8_t*)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:837:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->BASE0 = base;
^~~~~~~~~
Archiving .pio\build\lilygo-t-display-s3\libFrameworkArduino.a
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:837:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->BASE0 = base;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'bool nrf_to_nrf::setDataRate(uint8_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:885:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:885:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:885:28: error: 'RADIO_MODE_MODE_Nrf_1Mbit' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:885:57: error: 'RADIO_MODE_MODE_Pos' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:885:57: note: suggested alternative: 'GPIO_MODE_OUTPUT'
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_1Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~
GPIO_MODE_OUTPUT
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:889:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:889:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:889:28: error: 'RADIO_MODE_MODE_Nrf_2Mbit' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~
Indexing .pio\build\lilygo-t-display-s3\libFrameworkArduino.a
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:889:57: error: 'RADIO_MODE_MODE_Pos' was not declared in this scope
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:889:57: note: suggested alternative: 'GPIO_MODE_OUTPUT'
NRF_RADIO->MODE = (RADIO_MODE_MODE_Nrf_2Mbit << RADIO_MODE_MODE_Pos);
^~~~~~~~~~~~~~~~~~~
GPIO_MODE_OUTPUT
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::setPALevel(uint8_t, bool)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:914:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->TXPOWER = paLevel;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:914:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->TXPOWER = paLevel;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'uint8_t nrf_to_nrf::getPALevel()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:922:23: error: 'NRF_RADIO' was not declared in this scope
uint8_t paLevel = NRF_RADIO->TXPOWER;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:922:23: note: suggested alternative: 'NRF_PA_LOW'
uint8_t paLevel = NRF_RADIO->TXPOWER;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::setCRCLength(nrf_crclength_e)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:954:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->CRCCNF = RADIO_CRCCNF_LEN_Two; /* CRC configuration: 16bit */
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:954:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->CRCCNF = RADIO_CRCCNF_LEN_Two; /* CRC configuration: 16bit */
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:954:29: error: 'RADIO_CRCCNF_LEN_Two' was not declared in this scope
NRF_RADIO->CRCCNF = RADIO_CRCCNF_LEN_Two; /* CRC configuration: 16bit */
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:959:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->CRCCNF = RADIO_CRCCNF_LEN_One; /* CRC configuration: 8bit */
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:959:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->CRCCNF = RADIO_CRCCNF_LEN_One; /* CRC configuration: 8bit */
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:959:29: error: 'RADIO_CRCCNF_LEN_One' was not declared in this scope
NRF_RADIO->CRCCNF = RADIO_CRCCNF_LEN_One; /* CRC configuration: 8bit */
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:964:9: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->CRCCNF = 0; /* CRC configuration: Disabled */
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:964:9: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->CRCCNF = 0; /* CRC configuration: Disabled */
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'nrf_crclength_e nrf_to_nrf::getCRCLength()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:974:9: error: 'NRF_RADIO' was not declared in this scope
if (NRF_RADIO->CRCCNF == 0) {
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:974:9: note: suggested alternative: 'NRF_PA_LOW'
if (NRF_RADIO->CRCCNF == 0) {
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:977:35: error: 'RADIO_CRCCNF_LEN_One' was not declared in this scope
else if (NRF_RADIO->CRCCNF == RADIO_CRCCNF_LEN_One) {
^~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'bool nrf_to_nrf::testCarrier(uint8_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:990:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->EVENTS_RSSIEND = 0;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:990:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->EVENTS_RSSIEND = 0;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::powerUp()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1004:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->POWER = 1;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1004:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->POWER = 1;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::powerDown()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1016:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->EVENTS_DISABLED = 0;
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1016:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->EVENTS_DISABLED = 0;
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::setAddressWidth(uint8_t)':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:5: error: 'NRF_RADIO' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:5: note: suggested alternative: 'NRF_PA_LOW'
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:25: error: 'RADIO_PCNF1_WHITEEN_Disabled' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:57: error: 'RADIO_PCNF1_WHITEEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:85: error: 'RADIO_PCNF1_ENDIAN_Big' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:111: error: 'RADIO_PCNF1_ENDIAN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:153: error: 'RADIO_PCNF1_BALEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:188: error: 'RADIO_PCNF1_STATLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1035:237: error: 'RADIO_PCNF1_MAXLEN_Pos' was not declared in this scope
NRF_RADIO->PCNF1 = (RADIO_PCNF1_WHITEEN_Disabled << RADIO_PCNF1_WHITEEN_Pos) | (RADIO_PCNF1_ENDIAN_Big << RADIO_PCNF1_ENDIAN_Pos) | (a_width - 1 << RADIO_PCNF1_BALEN_Pos) | (pSize << RADIO_PCNF1_STATLEN_Pos) | (staticPayloadSize << RADIO_PCNF1_MAXLEN_Pos);
^~~~~~~~~~~~~~~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'void nrf_to_nrf::printDetails()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1045:20: error: 'NRF_RADIO' was not declared in this scope
Serial.println(NRF_RADIO->STATE);
^~~~~~~~~
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:1045:20: note: suggested alternative: 'NRF_PA_LOW'
Serial.println(NRF_RADIO->STATE);
^~~~~~~~~
NRF_PA_LOW
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp: In member function 'nrf_crclength_e nrf_to_nrf::getCRCLength()':
.pio/libdeps/lilygo-t-display-s3/nrf_to_nrf/src/nrf_to_nrf.cpp:983:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
*** [.pio\build\lilygo-t-display-s3\liba8a\nrf_to_nrf\nrf_to_nrf.cpp.o] Error 1
================================================================== [FAILED] Took 9.20 seconds ==================================================================Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels