forked from chrisys/mini-lora-weatherstation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
44 lines (39 loc) · 1.24 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
40
41
42
43
44
; 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]
default_envs = default
; default_envs = cayennelpp
[env]
platform = asrmicro650x
board = cubecell_board
framework = arduino
monitor_speed = 115200
; Don't know if these are needed
board_build.arduino.lorawan.region = EU868
board_build.arduino.lorawan.class = CLASS_A
board_build.arduino.lorawan.netmode = OTAA
board_build.arduino.lorawan.adr = ON
board_build.arduino.lorawan.debug_level = FREQ_AND_DIO
board_build.arduino.lorawan.at_support = ON
board_build.arduino.lorawan.net_reserve = OFF
board_build.arduino.lorawan.rgb = OFF ;ACTIVE
board_build.arduino.lorawan.uplinkmode = UNCONFIRMED
[env:default]
build_flags = -D SERIAL_SPEED=${monitor_speed}
lib_deps =
Adafruit Unified Sensor
Adafruit BME280 Library
[env:cayennelpp]
build_flags = -D SERIAL_SPEED=${monitor_speed} -D CAYENNE_LPP
lib_deps =
Adafruit Unified Sensor
Adafruit BME280 Library
ArduinoJson
CayenneLPP