-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
71 lines (62 loc) · 1.62 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# 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.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[env:teensy31]
platform=teensy
framework=arduino
upload_protocol = jlink
debug_tool = jlink
board=teensy31
board_build.f_cpu=120000000L
#build_flags=
extra_scripts = post:extra_script.py
build_flags=
-UUSB_SERIAL
-DUSB_MIDI_SERIAL
-DSERIAL3_RX_BUFFER_SIZE=2048
!python git_rev_macro.py
-lstdc++
-O1
test_ignore = test_desktop
test_port = /dev/tty.usbmodem42949672951
monitor_port = /dev/tty.usbmodem42949672951
monitor_speed = 115200
; upload_protocol = jlink
#build_flags= -UUSB_SERIAL -DUSB_MIDI
#build_flags = -D__MK20DX256__ -DUSB_SERIAL -DLAYOUT_US_ENGLISH -g -Wall -ffunction-sections -fdata-sections -nostdlib
; [env:teensy31_black_magic]
; platform=teensy
; board=teensy31
; framework = arduino
; board_f_cpu=120000000L
; build_flags= -UUSB_SERIAL -DUSB_MIDI_SERIAL -lstdc++
; debug_tool = blackmagic
; ; targets = debug
; monitor_speed = 115200
; ; build_flags = -O0
; ; build_flags = -Os
; upload_port = /dev/cu.usbmodemC1D9BEE1
; debug_port = /dev/cu.usbmodemC1D9BEE1
; [env:native]
; platform = native
; ; framework = arduino
; test_ignore = test_embedded
; ; lib_deps = ArduinoFake
; build_flags = -std=gnu++11
[platformio]
src_dir=src
platforms_dir = platforms
packages_dir = packages