Jon Eyolfson
41705a8324
Change `getIsrTable` from `inline` to `static inline`
Newer versions of GCC (8.1.0 in my case) default to `-std=gnu11` (I believe), which expects `inline` to have an external definition. The `Makefile` (I ran it with `NO_ARDUINO` set) doesn't specify any C_FLAGS. Therefore gcc uses the new default value, instead of the old C99 standard. In this case you'll get a linker error for `getIsrTable` not being defined. This change allows the code to successfully compile with new versions of gcc. This change works with the old default std of gcc. For much older versions of gcc it might be better to explicitly set the `std` in `CFLAGS` within the `Makefile`.
6 jaren geleden
PaulStoffregen
fc79132670
Fix Keyboard.print('#') on UK & Irish keyboard layouts
6 jaren geleden
Paul Stoffregen
010ab34a0c
Merge pull request #279 from CurrentResident/usb_kb_setmedia_cpp
Only enable C++ set_media API if KEYMEDIA_INTERFACE is defined.
6 jaren geleden
Jim Thoenen
0126257caa
Only enable C++ set_media API if KEYMEDIA_INTERFACE is defined.
6 jaren geleden
PaulStoffregen
9b5d9f9632
Use same USB PID for flight sim controls
6 jaren geleden
PaulStoffregen
6a30e80658
Add bcdDevice info to help teensy_ports identify models
6 jaren geleden
PaulStoffregen
86f64c1a9f
Fix Teensy 3.5 stack alignment (thanks Frank)
6 jaren geleden
PaulStoffregen
27cdeb1cb9
Teensy LC does not support saturate instruction
6 jaren geleden
Paul Stoffregen
966d74f9a9
Merge pull request #274 from shkshk90/Saturate-Instruction-in-DAC
Saturate instruction in dac
6 jaren geleden
shkshk90
edc3f0c12b
Add saturate instruction
Use ARM's unsigned saturate instruction to limit the value, to be written to DAC, to 11 bits (range 0 to 4095).
6 jaren geleden
shkshk90
b90f36c8b7
Update analog.c
6 jaren geleden
PaulStoffregen
6d441162e6
Fix FTM_CONF register bitfield defs
6 jaren geleden
PaulStoffregen
5fdbe446bc
Fix DMAChannel transferSize() on Teensy LC
fixes #266
6 jaren geleden
PaulStoffregen
abe5ca8072
Include <Arduino.h> first, for precompile header rebuild all speedup
6 jaren geleden
PaulStoffregen
148efde0f2
Enable use of 256K RAM on Teensy 3.5
6 jaren geleden
PaulStoffregen
c03419bc19
Reduce C++ header overhead
6 jaren geleden
PaulStoffregen
5ae453cc5c
Use only DTR for (bool)Serial, RTS isn't reliable on Windows
6 jaren geleden
PaulStoffregen
5b8d6d44d6
Reduce startup delay slightly
6 jaren geleden
PaulStoffregen
25d2728d7c
Fix FlightSimFloat on Teensy 3.5
https://forum.pjrc.com/threads/49442-Teensy-3-5-FlightSim-Float-problem
7 jaren geleden
PaulStoffregen
72898fdcd4
Fix bcdUSB, was 1.01, not 1.10
7 jaren geleden
PaulStoffregen
4c72e401e3
Rework USB Touchscreen handling of pressure & contact ID
7 jaren geleden
PaulStoffregen
6e50efa1d3
Do not send Contact Count (HID Usage 0x54) with USB Touchscreen
7 jaren geleden
PaulStoffregen
0d9089d66d
Fix KEY_MEDIA_RANDOM_PLAY, fixes #265
7 jaren geleden
PaulStoffregen
6dddc6be44
Add (very experimental) FS.h for File & Dir base classes
7 jaren geleden
Paul Stoffregen
3ad6599786
Merge pull request #263 from neroroxxx/master
Added getSysExArrayLength()
7 jaren geleden
neroroxxx
e2d51aa095
Added getSysExArrayLength()
7 jaren geleden
PaulStoffregen
afe894aee8
USB MIDI pitch bend uses signed integers (matching Arduino MIDI lib)
7 jaren geleden
PaulStoffregen
e54bbdaa74
Fix USB MIDI read of certain sysex messages
7 jaren geleden
PaulStoffregen
834bb53e4f
Add MIDIUSB.h compatibility for Teensy 2.0
7 jaren geleden
PaulStoffregen
ca43543418
Fix for include of MIDIUSB.h from Arduino sketch
7 jaren geleden
PaulStoffregen
f2e702c163
Fix more USB MIDI ambiguous overload issues
7 jaren geleden
PaulStoffregen
dc614d8123
Rename USB MIDI 3-input sendAfterTouch, solves ambiguous overload
7 jaren geleden
PaulStoffregen
44866ad83d
Offer USB MIDI in 4 & 16 virtual cable options
7 jaren geleden
PaulStoffregen
2edef45f51
Add comment with link to custom USB device info
7 jaren geleden
PaulStoffregen
f6fef86abc
Update Teensy 2.0 with new USB MIDI features
7 jaren geleden
PaulStoffregen
5280cbb13f
USB MIDI default to add sysex term bytes (same as MIDI lib)
7 jaren geleden
PaulStoffregen
8c6655f312
USB MIDI support sending sysex with or without termination bytes
7 jaren geleden
PaulStoffregen
00fd3b7253
Cosmetic cleanup in USB MIDI code
7 jaren geleden
PaulStoffregen
ac79353950
Fix USB MIDI sendSongPosition, sendSongSelect, sendTimeCodeQuarterFrame
7 jaren geleden
PaulStoffregen
342daa61c5
Fix USB MIDI song position callback
7 jaren geleden
PaulStoffregen
08512c20f3
Change usbMIDI.getType() to match MIDI 4.3.1 and MIDI protocol codes
Sorry, this is a backwards incompatible change. :( Painful but needed long-term...
7 jaren geleden
PaulStoffregen
bcc87c0e0d
Add missing MIDI callbacks
7 jaren geleden
PaulStoffregen
6d49f67650
Fix MIDI MS Interface Header wTotalLength (thanks Lauszus)
7 jaren geleden
PaulStoffregen
c9d0122505
Support multiple cables on USB MIDI
7 jaren geleden
PaulStoffregen
0c20722121
Support receiving longer MIDI sysex on Teensy 3.1+
7 jaren geleden
PaulStoffregen
648342f973
Add missing MIDI send functions, and optional cable number
7 jaren geleden
PaulStoffregen
ff5f62f798
Add MIDIUSB.h for Arduino compatibility
7 jaren geleden
PaulStoffregen
93592e54ae
Add link to forum thread about RNGA code & results
7 jaren geleden
PaulStoffregen
62d8f8db45
Support String input in Stream find functions
7 jaren geleden
Paul Stoffregen
80170910e6
Merge pull request #223 from Lucky1313/master
Add define guards to allow compiler flags to change product name/serial number
7 jaren geleden