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