This is not for a LoRa transceiver, but rather a regular radio receiver … the compile errors are in the RadioHead Library. I’ve not used the library before, so I have no idea if it compiles for other boards, but I imagine it does, I’ve certainly heard of this library and the current version was released 11 months ago it seems
I’ve actually searched the rest of the library for
OCIE1A, but cannot see their use anywhere other than in RH_ASK.cpp, so I figured I just comment out those bad boys and see if the library will then compile.
It doesn’t because of the last error:
.pio\libdeps\wiscore_rak4631\RadioHead\RH_ASK.cpp: At global scope:
.pio\libdeps\wiscore_rak4631\RadioHead\RH_ASK.cpp:714:4: error: expected constructor, destructor, or type conversion before '(' token
After running with
-E build_flag, I’ve had a look in RH_ASK.cpp.o and it looks okay to me, unless ISR needs defining for the platform or something.
# 714 ".pio\\libdeps\\wiscore_rak4631\\RadioHead\\RH_ASK.cpp"
I’m not entirely certain that this
ISR is needed (because I can find no references to it at all), so I’ve just gone ahead and commented out that too and I have a successful build (but we all know that just because it builds doesn’t mean that it works) … I’ll let you know what happens
Update: the ISR() member appears to be managing the Tx and Rx timers, so it is needed, but the code just won’t compile