-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
39 lines (35 loc) · 1.09 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
;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]
#packages_dir = packages/
[env:watch]
platform = nordicnrf52
;platform = https://github.com/orrmany/platform-nordicnrf52.git#master
board = nrf52_watch
;board = raytac_mdbt50q_rx
framework = arduino
build_flags = -D EMBEDDED -std=c++11 -Wall -Iinclude/ -Ilib_nrf/ -D INCLUDE_xTaskGetHandle=1
#platform_packages =
# platformio/framework-arduinoadafruitnrf52 @ https://github.com/jeffc/Adafruit_nRF52_Arduino
lib_deps =
Adafruit GFX Library
SPI
Adafruit BusIO
lib_extra_dirs =
lib_nrf
lib_ldf_mode=deep
lib_archive=no
[env:linux]
platform = native
build_flags = !echo "$(sdl2-config --libs)" -D NATIVE -std=c++11 -D ARDUINO=123 -Wall -Iinclude/ -g
lib_compat_mode = off
lib_extra_dirs =
lib_linux
lib_ldf_mode=deep+