-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
35 lines (30 loc) · 1019 Bytes
/
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
; PlatformIO Project Configuration File
;
; BranchController can be built in release or debug mode.
; Choose one to build in the VS Code GUI by editing [platformio]default_envs.
; Release mode is highly optimized. Debug mode is not.
; Release mode will not write debugging information to the serial port;
; it will be assumed you don't have one.
; Throughout the code, use #ifdef DEBUG or #ifdef RELEASE if you need
; to distinguish.
;
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = debug
[env]
build_flags = -I$PROJECT_DIR/include
platform = teensy
framework = arduino
board = teensy31
[env:debug]
build_type = debug
build_flags = -DDEBUG ${env.build_flags}
[env:release]
build_type = release
build_flags = -DRELEASE ${env.build_flags}