-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
59 lines (54 loc) · 1.78 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
; 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-release
rak4631-debug
[common]
build_flags =
; -D CFG_DEBUG=2
-D SW_VERSION_1=0 ; major version increase on API change / not backwards compatible
-D SW_VERSION_2=0 ; minor version increase on API change / backward compatible
-D SW_VERSION_3=1 ; patch version increase on bugfix, no affect on API
-D LIB_DEBUG=0 ; 0 Disable LoRaWAN debug output
-D API_DEBUG=0 ; 0 Disable WisBlock API debug output
-D NO_BLE_LED=1 ; Don't use blue LED for BLE
-D USE_ESIM=0 ; 0 = use external SIM, 1 = use Blues ESIM
-D IS_V2=1 ; 0 = V1 card, 1 = V2 card
-D USE_GNSS=1 ; 0 No GNSS location, 1 = activate GNSS location
lib_deps =
beegee-tokyo/SX126x-Arduino
beegee-tokyo/WisBlock-API-V2
adafruit/Adafruit BME680 Library
blues/Blues Wireless Notecard
[env:rak4631-debug]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-D MY_DEBUG=1 ; 0 Disable application debug output
lib_deps =
${common.lib_deps}
extra_scripts =
pre:rename_dbg.py
post:create_uf2.py
[env:rak4631-release]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-D MY_DEBUG=0 ; 0 Disable application debug output
lib_deps =
${common.lib_deps}
extra_scripts =
pre:rename.py
post:create_uf2.py