-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
122 lines (115 loc) · 4.47 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
; 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 =
; rak10702-release-no-display
rak10702-release
; rak10702-debug
; rak19001-debug
[common]
build_flags =
; -DCFG_DEBUG=2
-DSW_VERSION_1=1 ; Firmware version
-DSW_VERSION_2=1 ; Firmware version
-DSW_VERSION_3=0 ; Firmware version
-DLIB_DEBUG=0 ; Disable library debug
-DAPI_DEBUG=0 ; Disable WisBlock-API debug
lib_deps =
beegee-tokyo/SX126x-Arduino
beegee-tokyo/WisBlock-API-V2
sparkfun/SparkFun SHTC3 Humidity and Temperature Sensor Library
ClosedCube/ClosedCube OPT3001
adafruit/Adafruit BME680 Library
electroniccats/CayenneLPP
rakwireless/RAKwireless VEML Light Sensor
sensirion/Sensirion Gas Index Algorithm
sensirion/Sensirion I2C SGP40
sensirion/Sensirion Core
melopero/Melopero RV3028
beegee-tokyo/RAK12019_LTR390_UV_Light
pilotak/LPS35HW
sparkfun/SparkFun SCD30 Arduino Library
adafruit/Adafruit EPD
sparkfun/SparkFun STC3x Arduino Library
beegee-tokyo/RAK12039_PM_Sensor
rakwireless/RAKwireless NCP5623 RGB LED library
mathertel/OneButton
[env:rak10702-debug]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-DNO_BLE_LED=1 ; Do not use blue LED for BLE
-DFORCE_PWR_SRC=1 ; Force external power behaviour 0 = automatic 1 = force external power behaviour, 2 = force battery power behaviour
-DSENSOR_POWER_OFF=1 ; Switch between 1 = sensor power down and 0 = sensor sleep modes
-DHAS_EPD=1 ; 1 = has EPD 0 = no EPD
-DEPD_ROTATION=1 ; 1 = FPC at bottom 3 = FPC at top
-D_CUSTOM_BOARD_=1 ; 1 = RAK19024 ==> no LED and no automatic BLE advertising. 0 = RAK190x1
-DMY_DEBUG=1 ; 1 = enable debug 0 = disable debug
lib_deps =
${common.lib_deps}
extra_scripts =
; pre:rename-debug.py
post:create_uf2.py
[env:rak10702-release]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-DNO_BLE_LED=1 ; Do not use blue LED for BLE
-DMY_DEBUG=0 ; 1 = enable debug 0 = disable debug
-DFORCE_PWR_SRC=1 ; Force external power behaviour 0 = automatic 1 = force external power behaviour, 2 = force battery power behaviour
-DSENSOR_POWER_OFF=1 ; Switch between 1 = sensor power down and 0 = sensor sleep modes
-DHAS_EPD=1 ; 1 = has EPD 0 = no EPD
-DEPD_ROTATION=1 ; 1 = FPC at bottom 3 = FPC at top
-D_CUSTOM_BOARD_=1 ; 1 = RAK19024 ==> no LED and no automatic BLE advertising. 0 = RAK190x1
lib_deps =
${common.lib_deps}
extra_scripts =
pre:rename.py
post:create_uf2.py
[env:rak10702-release-no-display]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-DNO_BLE_LED=1 ; Do not use blue LED for BLE
-DMY_DEBUG=1 ; 1 = enable debug 0 = disable debug
-DFORCE_PWR_SRC=1 ; Force external power behaviour 0 = automatic 1 = force external power behaviour, 2 = force battery power behaviour
-DSENSOR_POWER_OFF=1 ; Switch between 1 = sensor power down and 0 = sensor sleep modes
-DHAS_EPD=0 ; 1 = has EPD 0 = no EPD
-DEPD_ROTATION=1 ; 1 = FPC at bottom 3 = FPC at top
-D_CUSTOM_BOARD_=1 ; 1 = RAK19024 ==> no LED and no automatic BLE advertising. 0 = RAK190x1
lib_deps =
${common.lib_deps}
extra_scripts =
pre:rename.py
post:create_uf2.py
[env:rak19001-debug]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-DNO_BLE_LED=1 ; Do not use blue LED for BLE
-DMY_DEBUG=0 ; 1 = enable debug 0 = disable debug
-DFORCE_PWR_SRC=2 ; Force external power behaviour 0 = automatic 1 = force external power behaviour, 2 = force battery power behaviour
-DSENSOR_POWER_OFF=1 ; Switch between 1 = sensor power down and 0 = sensor sleep modes
-DHAS_EPD=0 ; 1 = has EPD 0 = no EPD
-DEPD_ROTATION=1 ; 1 = FPC at bottom 3 = FPC at top
-D_CUSTOM_BOARD_=0 ; 1 = RAK19024 ==> no LED and no automatic BLE advertising. 0 = RAK190x1
lib_deps =
${common.lib_deps}
extra_scripts =
pre:rename.py
post:create_uf2.py