forked from hogthrob/thingset-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
50 lines (41 loc) · 1.16 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
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
[platformio]
default_envs = native-std
[env:native-std]
platform = native
build_flags =
-D THINGSET_MAIN_DUMMY
# include src directory (otherwise unit-tests will only include lib directory)
test_build_project_src = true
[env:device-std]
framework = mbed
#board = nucleo_f072rb
board = nucleo_l073rz
platform = ststm32
#test_transport = custom
#test_port = /dev/ttyACM0
upload_protocol = stlink
# include src directory (otherwise unit-tests will only include lib directory)
test_build_project_src = true
[env:device-newlib-nano]
framework = mbed
#board = nucleo_f072rb
board = nucleo_l073rz
platform = ststm32
#test_transport = custom
#test_port = /dev/ttyACM0
upload_protocol = stlink
build_flags =
-std=gnu++11
-fsingle-precision-constant
build_unflags = -std=gnu++98
extra_scripts = linker_flags_newlib-nano.py
# include src directory (otherwise unit-tests will only include lib directory)
test_build_project_src = true