-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
103 lines (98 loc) · 3.46 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
; 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 = cubecell_boardv2
[env:cubecell_boardv2]
platform = heltec-cubecell
board = cubecell_board_v2
framework = arduino
upload_port = /dev/cu.usbserial-00*
monitor_speed = 115200
board_build.arduino.lorawan.region = EU868
board_build.arduino.lorawan.class = CLASS_A
board_build.arduino.lorawan.netmode = OTAA
board_build.arduino.lorawan.adr = OFF
board_build.arduino.lorawan.uplinkmode = UNCONFIRMED
board_build.arduino.lorawan.net_reserve = ON
board_build.arduino.lorawan.rgb = DEACTIVE
board_build.arduino.lorawan.debug_level = NONE
board_build.arduino.lorawan.at_support = ON
board_build.arduino.lorawan.deveui = Generate By ChipID
lib_deps =
adafruit/Adafruit BMP280 Library@^2.6.6
adafruit/Adafruit BME680 Library@^2.0.2
[env:cubecell_board]
platform = heltec-cubecell
board = cubecell_board
framework = arduino
upload_port = /dev/cu.usbserial-00*
monitor_speed = 115200
upload_speed = 57600
board_build.arduino.lorawan.region = EU868
board_build.arduino.lorawan.class = CLASS_A
board_build.arduino.lorawan.netmode = OTAA
board_build.arduino.lorawan.adr = OFF
board_build.arduino.lorawan.uplinkmode = UNCONFIRMED
board_build.arduino.lorawan.net_reserve = ON
board_build.arduino.lorawan.rgb = DEACTIVE
board_build.arduino.lorawan.debug_level = NONE
board_build.arduino.lorawan.at_support = ON
board_build.arduino.lorawan.deveui = Generate By ChipID
lib_deps =
adafruit/Adafruit BMP280 Library@^2.6.6
adafruit/Adafruit BME680 Library@^2.0.2
[env:CubeCell_HalfAA]
platform = asrmicro650x
board = cubecell_node
framework = arduino
monitor_speed = 115200
build_flags =
'-D CubeCell_HalfAA=1'
upload_port = /dev/cu.usbserial-00*
board_build.arduino.lorawan.region = EU868
board_build.arduino.lorawan.class = CLASS_A
board_build.arduino.lorawan.netmode = OTAA
board_build.arduino.lorawan.adr = OFF
board_build.arduino.lorawan.uplinkmode = UNCONFIRMED
board_build.arduino.lorawan.net_reserve = ON
board_build.arduino.lorawan.rgb = DEACTIVE
board_build.arduino.lorawan.debug_level = NONE
board_build.arduino.lorawan.at_support = ON
board_build.arduino.lorawan.deveui = Generate By ChipID
lib_deps =
adafruit/Adafruit BMP280 Library@^2.6.6
adafruit/Adafruit BME680 Library@^2.0.2
[env:heltec_wireless_stick_lite]
# platform = https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.git
# board = heltec_wireless_stick_lite
platform = espressif32
board = heltec_wifi_lora_32_V3
framework = arduino
upload_port = /dev/cu.usbserial-00*
monitor_speed = 115200
build_flags =
-D LoRaWAN_DEBUG_LEVEL=0
-D LORAWAN_PREAMBLE_LENGTH=8
-D REGION_EU433
-lheltec_s3
board_build.arduino.lorawan.region = EU868
board_build.arduino.lorawan.class = CLASS_A
board_build.arduino.lorawan.netmode = OTAA
board_build.arduino.lorawan.adr = OFF
board_build.arduino.lorawan.uplinkmode = UNCONFIRMED
board_build.arduino.lorawan.net_reserve = ON
board_build.arduino.lorawan.rgb = DEACTIVE
board_build.arduino.lorawan.debug_level = NONE
board_build.arduino.lorawan.at_support = ON
board_build.arduino.lorawan.deveui = Generate By ChipID
lib_deps =
adafruit/Adafruit BMP280 Library@^2.6.6
adafruit/Adafruit BME680 Library@^2.0.2
heltecautomation/Heltec ESP32 Dev-Boards