# Heltec Wifi LoRa v2 compilation error due to missing constant declaration

**URL:** <https://www.thethingsnetwork.org/forum/t/heltec-wifi-lora-v2-compilation-error-due-to-missing-constant-declaration/39382>\
**Category:** LMIC\
**Created:** [August 21, 2020, 7:58am UTC](https://www.thethingsnetwork.org/forum/t/heltec-wifi-lora-v2-compilation-error-due-to-missing-constant-declaration/39382 "2020-08-21T07:58:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [August 21, 2020, 8:28am UTC](https://www.thethingsnetwork.org/forum/t/heltec-wifi-lora-v2-compilation-error-due-to-missing-constant-declaration/39382/4 "2020-08-21T08:28:11Z")

</div>

Yes, there is, not in your own code but [in the library’s folder](https://github.com/mcci-catena/arduino-lmic/blob/master/project_config/lmic_project_config.h). (Which is horrible, but like documented: _The Arduino environment doesn’t give us a better way to do this, unless you change `BOARDS.txt`_.)

See also [https://github.com/mcci-catena/arduino-lmic#configuration](https://github.com/mcci-catena/arduino-lmic#configuration)

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/heltec-wifi-lora-v2-compilation-error-due-to-missing-constant-declaration/39382)._
