-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
51 lines (47 loc) · 1.53 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
; 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-mesh
rak4631-mesh-debug
[common]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
-DSW_VERSION_1=0 ; major version increase on API change / not backwards compatible
-DSW_VERSION_2=0 ; 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
lib_deps =
beegee-tokyo/WisBlock-API-V2
[env:rak4631-mesh]
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
build_flags =
${common.build_flags}
-DMY_DEBUG=1 ; 1 = enable debug 0 = disable debug
extra_scripts =
pre:rename-debug.py
post:create_uf2.py
[env:rak4631-mesh-debug]
platform = ${common.platform}
board = ${common.board}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
build_flags =
${common.build_flags}
-DMY_DEBUG=1 ; 1 = enable debug 0 = disable debug
extra_scripts =
; pre:rename.py
post:create_uf2.py