-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
33 lines (29 loc) · 948 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
include_dir = include
libdeps_dir = dependencies
[env:heltec_wifi_lora_32_V2]
platform = espressif32
board = heltec_wifi_lora_32_V2
framework = arduino
lib_deps =
mcci-catena/MCCI LoRaWAN LMIC library
adafruit/DHT sensor library @ 1.4.4
heltecautomation/Heltec ESP32 Dev-Boards @ 1.1.2
build_flags =
-D DISABLE_PING
-D DISABLE_BEACONS
-D USE_ORIGINAL_AES
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D CFG_au915=1
-D CFG_sx1276_radio=1
-D hal_init=LMICHAL_init
-D LMIC_LORAWAN_SPEC_VERSION=LMIC_LORAWAN_SPEC_VERSION_1_0_2