-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
22 lines (21 loc) · 927 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
; 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
[env:teensylc]
platform = teensy
board = teensylc
framework = arduino
;build_flags = -D USB_MIDI -I src/boards/teensy-65 -D TEENSY
;build_flags = -D USB_KEYBOARDONLY -I src/boards/teensy-65
;USB_SERIAL_HID
build_flags = -D USB_EVERYTHING
-D TEENSY ;this is our flag, triggeres conditional defines in code for Arduino/Teensy
-I src/boards/teensy-65
;ok some stuff that just _won't_ compile for arduino code
src_filter = +<*> -<usb_descriptors.c> -<wire/I2CWireHandler.cpp> -<wire/TinyUSBWireHandler.cpp> -<boards> +<boards/teensy-65>