-
Notifications
You must be signed in to change notification settings - Fork 12
/
platformio.ini
52 lines (48 loc) · 1.14 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
; 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
-DSW_VERSION_2=0
-DSW_VERSION_3=4
-DLIB_DEBUG=0
-DAPI_DEBUG=0
-DNO_BLE_LED=1
lib_deps =
beegee-tokyo/SX126x-Arduino
mikalhart/TinyGPSPlus
sparkfun/SparkFun u-blox GNSS Arduino Library@^2.0.9
sparkfun/SparkFun LIS3DH Arduino Library
beegee-tokyo/WisBlock-API-V2
[env:rak4631-debug]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-DMY_DEBUG=1
lib_deps =
${common.lib_deps}
extra_scripts = create_uf2.py
[env:rak4631-release]
platform = nordicnrf52
board = wiscore_rak4631
framework = arduino
build_flags =
${common.build_flags}
-DMY_DEBUG=0
lib_deps =
${common.lib_deps}
extra_scripts = pre:rename.py
create_uf2.py