PaulStoffregen
e1676586f1
Support generic UDP beginMulticast()
6 years ago
Paul Stoffregen
327cc1b121
Merge pull request #281 from eyolfson/patch-1
Change `getIsrTable` from `inline` to `static inline`
6 years ago
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 years ago
PaulStoffregen
fc79132670
Fix Keyboard.print('#') on UK & Irish keyboard layouts
6 years ago
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 years ago
Jim Thoenen
0126257caa
Only enable C++ set_media API if KEYMEDIA_INTERFACE is defined.
6 years ago
PaulStoffregen
9b5d9f9632
Use same USB PID for flight sim controls
6 years ago
PaulStoffregen
6a30e80658
Add bcdDevice info to help teensy_ports identify models
6 years ago
PaulStoffregen
86f64c1a9f
Fix Teensy 3.5 stack alignment (thanks Frank)
6 years ago
PaulStoffregen
27cdeb1cb9
Teensy LC does not support saturate instruction
6 years ago
Paul Stoffregen
966d74f9a9
Merge pull request #274 from shkshk90/Saturate-Instruction-in-DAC
Saturate instruction in dac
6 years ago
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 years ago
shkshk90
b90f36c8b7
Update analog.c
6 years ago
PaulStoffregen
6d441162e6
Fix FTM_CONF register bitfield defs
6 years ago
PaulStoffregen
5fdbe446bc
Fix DMAChannel transferSize() on Teensy LC
fixes #266
6 years ago
PaulStoffregen
abe5ca8072
Include <Arduino.h> first, for precompile header rebuild all speedup
6 years ago
PaulStoffregen
148efde0f2
Enable use of 256K RAM on Teensy 3.5
6 years ago
PaulStoffregen
c03419bc19
Reduce C++ header overhead
6 years ago
PaulStoffregen
5ae453cc5c
Use only DTR for (bool)Serial, RTS isn't reliable on Windows
6 years ago
PaulStoffregen
5b8d6d44d6
Reduce startup delay slightly
6 years ago
PaulStoffregen
25d2728d7c
Fix FlightSimFloat on Teensy 3.5
https://forum.pjrc.com/threads/49442-Teensy-3-5-FlightSim-Float-problem
6 years ago
PaulStoffregen
72898fdcd4
Fix bcdUSB, was 1.01, not 1.10
6 years ago
PaulStoffregen
4c72e401e3
Rework USB Touchscreen handling of pressure & contact ID
6 years ago
PaulStoffregen
6e50efa1d3
Do not send Contact Count (HID Usage 0x54) with USB Touchscreen
6 years ago
PaulStoffregen
0d9089d66d
Fix KEY_MEDIA_RANDOM_PLAY, fixes #265
6 years ago
PaulStoffregen
6dddc6be44
Add (very experimental) FS.h for File & Dir base classes
6 years ago
Paul Stoffregen
3ad6599786
Merge pull request #263 from neroroxxx/master
Added getSysExArrayLength()
6 years ago
neroroxxx
e2d51aa095
Added getSysExArrayLength()
6 years ago
PaulStoffregen
afe894aee8
USB MIDI pitch bend uses signed integers (matching Arduino MIDI lib)
6 years ago
PaulStoffregen
e54bbdaa74
Fix USB MIDI read of certain sysex messages
6 years ago
PaulStoffregen
834bb53e4f
Add MIDIUSB.h compatibility for Teensy 2.0
6 years ago
PaulStoffregen
ca43543418
Fix for include of MIDIUSB.h from Arduino sketch
6 years ago
PaulStoffregen
f2e702c163
Fix more USB MIDI ambiguous overload issues
6 years ago
PaulStoffregen
dc614d8123
Rename USB MIDI 3-input sendAfterTouch, solves ambiguous overload
6 years ago
PaulStoffregen
44866ad83d
Offer USB MIDI in 4 & 16 virtual cable options
6 years ago
PaulStoffregen
2edef45f51
Add comment with link to custom USB device info
6 years ago
PaulStoffregen
f6fef86abc
Update Teensy 2.0 with new USB MIDI features
6 years ago
PaulStoffregen
5280cbb13f
USB MIDI default to add sysex term bytes (same as MIDI lib)
6 years ago
PaulStoffregen
8c6655f312
USB MIDI support sending sysex with or without termination bytes
6 years ago
PaulStoffregen
00fd3b7253
Cosmetic cleanup in USB MIDI code
6 years ago
PaulStoffregen
ac79353950
Fix USB MIDI sendSongPosition, sendSongSelect, sendTimeCodeQuarterFrame
6 years ago
PaulStoffregen
342daa61c5
Fix USB MIDI song position callback
6 years ago
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...
6 years ago
PaulStoffregen
bcc87c0e0d
Add missing MIDI callbacks
6 years ago
PaulStoffregen
6d49f67650
Fix MIDI MS Interface Header wTotalLength (thanks Lauszus)
6 years ago
PaulStoffregen
c9d0122505
Support multiple cables on USB MIDI
6 years ago
PaulStoffregen
0c20722121
Support receiving longer MIDI sysex on Teensy 3.1+
6 years ago
PaulStoffregen
648342f973
Add missing MIDI send functions, and optional cable number
6 years ago
PaulStoffregen
ff5f62f798
Add MIDIUSB.h for Arduino compatibility
7 years ago
PaulStoffregen
93592e54ae
Add link to forum thread about RNGA code & results
7 years ago