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