hi
I check the example in ESP32 repo:
and it doesnt build:
vscode shows errors:
................
................
Compiling .pio\build\cubecell_board_plus\lib669\LoraWan102\loramac\region\RegionEU433.c.o
src\cubecell_ab02.cpp: In function 'void setup()':
src\cubecell_ab02.cpp:43:3: error: 'Mcu' was not declared in this scope
43 | Mcu.begin();
| ^~~
src\cubecell_ab02.cpp: In function 'void loop()':
src\cubecell_ab02.cpp:55:5: error: 'sendMessage' was not declared in this scope
55 | sendMessage(message);
| ^~~~~~~~~~~
src\cubecell_ab02.cpp:62:13: error: 'LoRa' was not declared in this scope; did you mean 'LoRaWAN'?
62 | onReceive(LoRa.parsePacket());
| ^~~~
| LoRaWAN
src\cubecell_ab02.cpp:62:3: error: 'onReceive' was not declared in this scope
62 | onReceive(LoRa.parsePacket());
| ^~~~~~~~~
src\cubecell_ab02.cpp: In function 'void sendMessage(String)':
src\cubecell_ab02.cpp:67:3: error: 'LoRa' was not declared in this scope; did you mean 'LoRaWAN'?
67 | LoRa.beginPacket(); // start packet
| ^~~~
| LoRaWAN
src\cubecell_ab02.cpp: In function 'void onReceive(int)':
src\cubecell_ab02.cpp:82:19: error: 'LoRa' was not declared in this scope; did you mean 'LoRaWAN'?
82 | int recipient = LoRa.read(); // recipient address
| ^~~~
| LoRaWAN
*** [.pio\build\cubecell_board_plus\src\cubecell_ab02.cpp.o] Error 1
=============================================================== [FAILED] Took 3.54 seconds ===============================================================
any advices?