novalabsxyz / devdocs

Helium developer documentation site
https://developer.helium.com
46 stars 45 forks source link

Arduino Compile Error #168

Closed gregarican closed 3 years ago

gregarican commented 3 years ago

Following the instructions outlined in https://developer.helium.com/devices/arduino-quickstart/heltec-wifi-lora-32-v2 I receive a compile error trying to deploy the project (https://github.com/helium/longfi-arduino/blob/master/Heltec-WiFi-LoRa-32-V2/longfi-us915/longfi-us915.ino) to my Heltec ESP32 V2 board.

The specific error listed is "libraries\ESP32_LoRaWAN-master\ESP32_LoRaWAN.cpp.o:(.literal._ZL22lwan_dev_params_updatev+0x0): undefined reference to 'userChannelsMask'" on my attempts.

Any suggestions?

gregarican commented 3 years ago

You can disregard. Saw in support forums the need to include this in the sample sketch.

/LoraWan channelsmask, default channels 0-7/ uint16_t userChannelsMask[6]={ 0x00FF,0x0000,0x0000,0x0000,0x0000,0x0000 };

Would be nice to update the docs with this one tidbit :)