Lora example doesn't work? #989
-
|
I decided to try the LoRa example (`examples/drivers/lora). When I run it on esp32 I get an error:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
|
Please provide the command line you used to build the example. |
Beta Was this translation helpful? Give feedback.
-
|
I see your build target is There is a build target The global |
Beta Was this translation helpful? Give feedback.
-
|
Good thing I came across this (and #991); I was about to implement the SX1276 driver for my nodemcu! Thanks @tve for asking and @mkellner for the detailed answer. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I'm wondering how it's possible for the lora example to work (esp. accessing the |
Beta Was this translation helpful? Give feedback.








I see your build target is
esp32/nodemcu. That device does not support LoRa.There is a build target
esp32/heltec_lora_32located in$MODDABLE/build/devices/esp32/targets/heltec_lora_32. It is set up for the way that device is wired.The global
deviceis defined inhost/provider.jsin that directory. That particular build target includes adevice.peripheral.loraobject, which is necessary for this example.