Hello World SX126X_PingPong_Demo Example does not compile!

06 Jan 2019

the online compiler throws this error:

Error: Identifier "FAIL" is undefined in "SX126xLib/sx126x.cpp", Line: 933, Col: 28

the platform is the FRDM-KL25Z.


07 Jan 2019

just change that offending line to MBED_ASSERT(0);

A more simple demonstration is here https://os.mbed.com/users/dudmuck/code/simple_rx/ along with corresponding simple_tx.