Skip to content

Commit a0960b3

Browse files
authored
Teensyduino 1.51 Compatibility (#16)
* Teensyduino 1.51 Compatibility * Update Travis software versions * Update Teensyduino version in README (1.51)
1 parent 6607222 commit a0960b3

File tree

3 files changed

+28
-30
lines changed

3 files changed

+28
-30
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: C
22
env:
33
global:
4-
- IDE_VERSION=1.8.11
5-
- TEENSY_VERSION=150
4+
- IDE_VERSION=1.8.12
5+
- TEENSY_VERSION=151
66
- IDE_LOCATION=/usr/local/share/arduino
77
- BOARDS_DESTINATION=$IDE_LOCATION/hardware
88

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is meant to be used in conjunction with the [ArduinoXInput library](https:/
66

77
## Installation
88

9-
You must have both [Arduino](https://www.arduino.cc/en/main/software) and [Teensyduino](https://www.pjrc.com/teensy/td_download.html) installed before proceeding. Double-check that your installed Teensyduino version matches the files provided in this repository. This repository is currently using version [**1.50**](https://www.pjrc.com/teensy/td_150). If you don't know your Teensyduino version, compile a blank sketch with a Teensy board selected and the Teensy Loader will open. In the Teensy Loader window select `Help -> About` and it will tell you the version number. If your version does not match you will have to reinstall or update the Teensyduino software.
9+
You must have both [Arduino](https://www.arduino.cc/en/main/software) and [Teensyduino](https://www.pjrc.com/teensy/td_download.html) installed before proceeding. Double-check that your installed Teensyduino version matches the files provided in this repository. This repository is currently using version [**1.51**](https://www.pjrc.com/teensy/td_151). If you don't know your Teensyduino version, compile a blank sketch with a Teensy board selected and the Teensy Loader will open. In the Teensy Loader window select `Help -> About` and it will tell you the version number. If your version does not match you will have to reinstall or update the Teensyduino software.
1010

1111
Navigate to your Arduino installation directory and open up the 'hardware' folder. It is recommended that you make a backup of this folder before proceeding in case something goes wrong or if you want to revert the installation.
1212

teensy/avr/boards.txt

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ menu.opt=Optimize
44
menu.keys=Keyboard Layout
55

66

7-
8-
97
#teensy41.name=Teensy 4.1
10-
#teensy41.upload.maximum_size=2031616
8+
#teensy41.upload.maximum_size=8126464
119
#teensy41.upload.maximum_data_size=524288
1210
##teensy41.upload.maximum_data_size=1048576
1311
#teensy41.upload.tool=teensyloader
@@ -28,7 +26,7 @@ menu.keys=Keyboard Layout
2826
#teensy41.build.flags.dep=-MMD
2927
#teensy41.build.flags.optimize=-Os
3028
#teensy41.build.flags.cpu=-mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16
31-
#teensy41.build.flags.defs=-D__IMXRT1062__ -DTEENSYDUINO=150
29+
#teensy41.build.flags.defs=-D__IMXRT1062__ -DTEENSYDUINO=151
3230
#teensy41.build.flags.cpp=-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing
3331
#teensy41.build.flags.c=
3432
#teensy41.build.flags.S=-x assembler-with-cpp
@@ -79,15 +77,15 @@ menu.keys=Keyboard Layout
7977
#teensy41.menu.usb.rawhid=Raw HID
8078
#teensy41.menu.usb.rawhid.build.usbtype=USB_RAWHID
8179
#teensy41.menu.usb.rawhid.fake_serial=teensy_gateway
82-
##teensy41.menu.usb.flightsim=Flight Sim Controls
83-
##teensy41.menu.usb.flightsim.build.usbtype=USB_FLIGHTSIM
84-
##teensy41.menu.usb.flightsim.fake_serial=teensy_gateway
85-
##teensy41.menu.usb.flightsimjoystick=Flight Sim Controls + Joystick
86-
##teensy41.menu.usb.flightsimjoystick.build.usbtype=USB_FLIGHTSIM_JOYSTICK
87-
##teensy41.menu.usb.flightsimjoystick.fake_serial=teensy_gateway
80+
#teensy41.menu.usb.flightsim=Flight Sim Controls
81+
#teensy41.menu.usb.flightsim.build.usbtype=USB_FLIGHTSIM
82+
#teensy41.menu.usb.flightsim.fake_serial=teensy_gateway
83+
#teensy41.menu.usb.flightsimjoystick=Flight Sim Controls + Joystick
84+
#teensy41.menu.usb.flightsimjoystick.build.usbtype=USB_FLIGHTSIM_JOYSTICK
85+
#teensy41.menu.usb.flightsimjoystick.fake_serial=teensy_gateway
8886
##teensy41.menu.usb.disable=No USB
8987
##teensy41.menu.usb.disable.build.usbtype=USB_DISABLED
90-
#
88+
9189
#teensy41.menu.speed.600=600 MHz
9290
#teensy41.menu.speed.528=528 MHz
9391
#teensy41.menu.speed.450=450 MHz
@@ -110,7 +108,7 @@ menu.keys=Keyboard Layout
110108
#teensy41.menu.speed.396.build.fcpu=396000000
111109
#teensy41.menu.speed.150.build.fcpu=150000000
112110
#teensy41.menu.speed.24.build.fcpu=24000000
113-
#
111+
114112
#teensy41.menu.opt.o2std=Faster
115113
#teensy41.menu.opt.o2std.build.flags.optimize=-O2
116114
#teensy41.menu.opt.o2std.build.flags.ldspecs=
@@ -147,7 +145,7 @@ menu.keys=Keyboard Layout
147145
##teensy41.menu.opt.oslto=Smallest Code with LTO
148146
##teensy41.menu.opt.oslto.build.flags.optimize=-Os -flto -fno-fat-lto-objects --specs=nano.specs
149147
##teensy41.menu.opt.oslto.build.flags.ldspecs=-fuse-linker-plugin
150-
#
148+
151149
#teensy41.menu.keys.en-us=US English
152150
#teensy41.menu.keys.en-us.build.keylayout=US_ENGLISH
153151
#teensy41.menu.keys.fr-ca=Canadian French
@@ -223,7 +221,7 @@ teensy40.build.flags.common=-g -Wall -ffunction-sections -fdata-sections -nostdl
223221
teensy40.build.flags.dep=-MMD
224222
teensy40.build.flags.optimize=-Os
225223
teensy40.build.flags.cpu=-mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16
226-
teensy40.build.flags.defs=-D__IMXRT1062__ -DTEENSYDUINO=150
224+
teensy40.build.flags.defs=-D__IMXRT1062__ -DTEENSYDUINO=151
227225
teensy40.build.flags.cpp=-std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing
228226
teensy40.build.flags.c=
229227
teensy40.build.flags.S=-x assembler-with-cpp
@@ -274,12 +272,12 @@ teensy40.menu.usb.serialmidi16.build.usbtype=USB_MIDI16_SERIAL
274272
teensy40.menu.usb.rawhid=Raw HID
275273
teensy40.menu.usb.rawhid.build.usbtype=USB_RAWHID
276274
teensy40.menu.usb.rawhid.fake_serial=teensy_gateway
277-
#teensy40.menu.usb.flightsim=Flight Sim Controls
278-
#teensy40.menu.usb.flightsim.build.usbtype=USB_FLIGHTSIM
279-
#teensy40.menu.usb.flightsim.fake_serial=teensy_gateway
280-
#teensy40.menu.usb.flightsimjoystick=Flight Sim Controls + Joystick
281-
#teensy40.menu.usb.flightsimjoystick.build.usbtype=USB_FLIGHTSIM_JOYSTICK
282-
#teensy40.menu.usb.flightsimjoystick.fake_serial=teensy_gateway
275+
teensy40.menu.usb.flightsim=Flight Sim Controls
276+
teensy40.menu.usb.flightsim.build.usbtype=USB_FLIGHTSIM
277+
teensy40.menu.usb.flightsim.fake_serial=teensy_gateway
278+
teensy40.menu.usb.flightsimjoystick=Flight Sim Controls + Joystick
279+
teensy40.menu.usb.flightsimjoystick.build.usbtype=USB_FLIGHTSIM_JOYSTICK
280+
teensy40.menu.usb.flightsimjoystick.fake_serial=teensy_gateway
283281
#teensy40.menu.usb.disable=No USB
284282
#teensy40.menu.usb.disable.build.usbtype=USB_DISABLED
285283

@@ -416,7 +414,7 @@ teensy36.build.flags.common=-g -Wall -ffunction-sections -fdata-sections -nostdl
416414
teensy36.build.flags.dep=-MMD
417415
teensy36.build.flags.optimize=-Os
418416
teensy36.build.flags.cpu=-mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
419-
teensy36.build.flags.defs=-D__MK66FX1M0__ -DTEENSYDUINO=150
417+
teensy36.build.flags.defs=-D__MK66FX1M0__ -DTEENSYDUINO=151
420418
teensy36.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti
421419
teensy36.build.flags.c=
422420
teensy36.build.flags.S=-x assembler-with-cpp
@@ -624,7 +622,7 @@ teensy35.build.flags.common=-g -Wall -ffunction-sections -fdata-sections -nostdl
624622
teensy35.build.flags.dep=-MMD
625623
teensy35.build.flags.optimize=-Os
626624
teensy35.build.flags.cpu=-mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant
627-
teensy35.build.flags.defs=-D__MK64FX512__ -DTEENSYDUINO=150
625+
teensy35.build.flags.defs=-D__MK64FX512__ -DTEENSYDUINO=151
628626
teensy35.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti
629627
teensy35.build.flags.c=
630628
teensy35.build.flags.S=-x assembler-with-cpp
@@ -822,7 +820,7 @@ teensy31.build.flags.common=-g -Wall -ffunction-sections -fdata-sections -nostdl
822820
teensy31.build.flags.dep=-MMD
823821
teensy31.build.flags.optimize=-Os
824822
teensy31.build.flags.cpu=-mthumb -mcpu=cortex-m4 -fsingle-precision-constant
825-
teensy31.build.flags.defs=-D__MK20DX256__ -DTEENSYDUINO=150
823+
teensy31.build.flags.defs=-D__MK20DX256__ -DTEENSYDUINO=151
826824
teensy31.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti
827825
teensy31.build.flags.c=
828826
teensy31.build.flags.S=-x assembler-with-cpp
@@ -1031,7 +1029,7 @@ teensy30.build.flags.common=-g -Wall -ffunction-sections -fdata-sections -nostdl
10311029
teensy30.build.flags.dep=-MMD
10321030
teensy30.build.flags.optimize=-Os
10331031
teensy30.build.flags.cpu=-mthumb -mcpu=cortex-m4 -fsingle-precision-constant
1034-
teensy30.build.flags.defs=-D__MK20DX128__ -DTEENSYDUINO=150
1032+
teensy30.build.flags.defs=-D__MK20DX128__ -DTEENSYDUINO=151
10351033
teensy30.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti
10361034
teensy30.build.flags.c=
10371035
teensy30.build.flags.S=-x assembler-with-cpp
@@ -1190,7 +1188,7 @@ teensyLC.build.command.size=arm-none-eabi-size
11901188
teensyLC.build.flags.common=-g -Wall -ffunction-sections -fdata-sections -nostdlib
11911189
teensyLC.build.flags.dep=-MMD
11921190
teensyLC.build.flags.cpu=-mthumb -mcpu=cortex-m0plus -fsingle-precision-constant
1193-
teensyLC.build.flags.defs=-D__MKL26Z64__ -DTEENSYDUINO=150
1191+
teensyLC.build.flags.defs=-D__MKL26Z64__ -DTEENSYDUINO=151
11941192
teensyLC.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++14 -Wno-error=narrowing -fno-rtti
11951193
teensyLC.build.flags.c=
11961194
teensyLC.build.flags.S=-x assembler-with-cpp
@@ -1344,7 +1342,7 @@ teensypp2.build.flags.common=-g -Wall -ffunction-sections -fdata-sections
13441342
teensypp2.build.flags.dep=-MMD
13451343
teensypp2.build.flags.optimize=-Os
13461344
teensypp2.build.flags.cpu=-mmcu=at90usb1286
1347-
teensypp2.build.flags.defs=-DTEENSYDUINO=150 -DARDUINO_ARCH_AVR
1345+
teensypp2.build.flags.defs=-DTEENSYDUINO=151 -DARDUINO_ARCH_AVR
13481346
teensypp2.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++11
13491347
teensypp2.build.flags.c=
13501348
teensypp2.build.flags.S=-x assembler-with-cpp
@@ -1461,7 +1459,7 @@ teensy2.build.flags.common=-g -Wall -ffunction-sections -fdata-sections
14611459
teensy2.build.flags.dep=-MMD
14621460
teensy2.build.flags.optimize=-Os
14631461
teensy2.build.flags.cpu=-mmcu=atmega32u4
1464-
teensy2.build.flags.defs=-DTEENSYDUINO=150 -DARDUINO_ARCH_AVR
1462+
teensy2.build.flags.defs=-DTEENSYDUINO=151 -DARDUINO_ARCH_AVR
14651463
teensy2.build.flags.cpp=-fno-exceptions -fpermissive -felide-constructors -std=gnu++11
14661464
teensy2.build.flags.c=
14671465
teensy2.build.flags.S=-x assembler-with-cpp

0 commit comments

Comments
 (0)