forked from JackGruber/Arduino-Pro-Mini-LoRa-Sensor-Node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
39 lines (34 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
38
39
;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
; USBASP Upload command
; io run -t program --upload-port usb
[env:pro8MHzatmega328]
platform = atmelavr
board = pro8MHzatmega328
framework = arduino
monitor_speed = 115200
;upload_protocol = usbasp
extra_scripts =
pre:tools/platformio_versioning.py
upload_flags =
-Pusb
-e ; Erase chip bevor upload
lib_deps =
mcci-catena/MCCI LoRaWAN LMIC library @ ^4.0.0
https://github.com/markruys/arduino-DHT
build_flags =
-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 LORADEV=KELLER