-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
49 lines (46 loc) · 1.52 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
; 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
;
; Documentation for built-in variables:
; https://docs.platformio.org/en/latest/projectconf/section_env_build.html#built-in-variables
[env:due]
platform = atmelsam
board = due
framework = arduino
build_type = debug
build_src_filter = +<*> -<variant/*> +<variant/due.cpp>
board_build.ldscript = res/due/ez-clang.ld
extra_scripts = res/due/relink.py
build_unflags = -std=gnu++11
build_flags = -std=gnu++14
; -DTEST_RECOVERY_SETUPMAGIC_TRUNCATE
[env:adafruit_metro_m0]
platform = atmelsam
board = adafruit_metro_m0
framework = arduino
build_type = debug
build_src_filter = +<*> -<variant/*> +<variant/metro.cpp>
board_build.ldscript = res/adafruit_metro_m0/ez-clang.ld
extra_scripts = res/adafruit_metro_m0/relink.py
build_unflags = -std=gnu++11
build_flags = -std=gnu++14 -DUSBCON
; -DTEST_RECOVERY_SETUPMAGIC_TRUNCATE
[env:teensylc]
platform = teensy
board = teensylc
framework = arduino
build_type = debug
build_src_filter = +<*> -<variant/*> +<variant/teensy.cpp>
board_build.ldscript = res/teensylc/ez-clang.ld
extra_scripts = res/teensylc/relink.py
build_unflags = -std=gnu++11
build_flags = -std=gnu++14 -DUSB_SERIAL
upload_protocol = teensy-cli
; -DTEST_RECOVERY_SETUPMAGIC_TRUNCATE