-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
30 lines (27 loc) · 802 Bytes
/
Copy pathplatformio.ini
File metadata and controls
30 lines (27 loc) · 802 Bytes
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
;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:nrf52840]
platform = nordicnrf52
board = sparkfun_pro_nrf52840_mini
framework = arduino
build_flags = -D EMBEDDED -std=c++11 -Wall -Iinclude/
lib_deps =
SPI
Adafruit GFX Library
lib_extra_dirs =
lib_nrf52/
[env:native]
platform = native
build_flags = !echo "$(sdl2-config --libs)" -D NATIVE -std=c++11 -D ARDUINO=123 -Wall -Iinclude/
lib_compat_mode = off
lib_extra_dirs =
lib_native