-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
64 lines (60 loc) · 1.88 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
; 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 =
; rak4631-debug
rak4631-release
[common]
build_flags =
-DSW_VERSION_1=1 ; major version increase on API change / not backwards compatible
-DSW_VERSION_2=1 ; minor version increase on API change / backward compatible
-DSW_VERSION_3=1 ; patch version increase on bugfix, no affect on API
-DLIB_DEBUG=0 ; 0 Disable LoRaWAN debug output
-DAPI_DEBUG=0 ; 0 Disable WisBlock API debug output
-DBASE_BOARD=0 ; 1 = RAK19003 0 = other base boards
lib_deps =
beegee-tokyo/SX126x-Arduino
beegee-tokyo/WisBlock-API-V2
sparkfun/SparkFun SHTC3 Humidity and Temperature Sensor Library
electroniccats/CayenneLPP
beegee-tokyo/RAK12027-D7S
melopero/Melopero RV3028
[env:rak4631-release]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
monitor_speed = 115200
build_flags =
; -DCFG_DEBUG=1
${common.build_flags}
-DNO_BLE_LED=1
-DMY_DEBUG=0 ; 0 Disable application debug output
-DRAK12027_SLOT=2 ; 0 = Slot A, 1 = Slot B, 2 = Slot C, 3 = Slot D, 4 = Slot E, 5 = Slot F
lib_deps =
${common.lib_deps}
extra_scripts =
pre:rename.py
post:create_uf2.py
[env:rak4631-debug]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
; upload_port = COM7
monitor_speed = 115200
build_flags =
; -DCFG_DEBUG=1
${common.build_flags}
-DNO_BLE_LED=1
-DMY_DEBUG=1 ; 0 Disable application debug output
-DRAK12027_SLOT=2 ; 0 = Slot A, 1 = Slot B, 2 = Slot C, 3 = Slot D, 4 = Slot E, 5 = Slot F
lib_deps =
${common.lib_deps}
extra_scripts =
post:create_uf2.py