-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
37 lines (33 loc) · 1.03 KB
/
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
34
35
36
37
;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
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_protocol = esptool
lib_deps =
https://github.com/lewapek/sds-dust-sensors-arduino-library
mcci-catena/MCCI LoRaWAN LMIC library @ ^4.0.0
Adafruit BME280 Library
adafruit/Adafruit VEML6075 Library
adafruit/Adafruit TSL2591 Library
build_flags =
-D hal_init=LMICHAL_init
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D CFG_eu868=1
-D CFG_sx1276_radio=1
-D LMIC_PRINTF_TO=Serial
-D LMIC_DEBUG_LEVEL=0
-D DISABLE_PING=1
-D DISABLE_BEACONS=1
-D ARDUINO_SAMD_VARIANT_COMPLIANCE=1
extra_scripts =
pre:tools/platformio_versioning.py