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
пре 7 година
PaulStoffregen
72898fdcd4
Fix bcdUSB, was 1.01, not 1.10
пре 7 година
PaulStoffregen
4c72e401e3
Rework USB Touchscreen handling of pressure & contact ID
пре 7 година
PaulStoffregen
6e50efa1d3
Do not send Contact Count (HID Usage 0x54) with USB Touchscreen
пре 7 година
PaulStoffregen
0d9089d66d
Fix KEY_MEDIA_RANDOM_PLAY, fixes #265
пре 7 година
PaulStoffregen
6dddc6be44
Add (very experimental) FS.h for File & Dir base classes
пре 7 година
Paul Stoffregen
3ad6599786
Merge pull request #263 from neroroxxx/master
Added getSysExArrayLength()
пре 7 година
neroroxxx
e2d51aa095
Added getSysExArrayLength()
пре 7 година
PaulStoffregen
afe894aee8
USB MIDI pitch bend uses signed integers (matching Arduino MIDI lib)
пре 7 година
PaulStoffregen
e54bbdaa74
Fix USB MIDI read of certain sysex messages
пре 7 година
PaulStoffregen
834bb53e4f
Add MIDIUSB.h compatibility for Teensy 2.0
пре 7 година
PaulStoffregen
ca43543418
Fix for include of MIDIUSB.h from Arduino sketch
пре 7 година
PaulStoffregen
f2e702c163
Fix more USB MIDI ambiguous overload issues
пре 7 година
PaulStoffregen
dc614d8123
Rename USB MIDI 3-input sendAfterTouch, solves ambiguous overload
пре 7 година
PaulStoffregen
44866ad83d
Offer USB MIDI in 4 & 16 virtual cable options
пре 7 година
PaulStoffregen
2edef45f51
Add comment with link to custom USB device info
пре 7 година
PaulStoffregen
f6fef86abc
Update Teensy 2.0 with new USB MIDI features
пре 7 година
PaulStoffregen
5280cbb13f
USB MIDI default to add sysex term bytes (same as MIDI lib)
пре 7 година
PaulStoffregen
8c6655f312
USB MIDI support sending sysex with or without termination bytes
пре 7 година
PaulStoffregen
00fd3b7253
Cosmetic cleanup in USB MIDI code
пре 7 година
PaulStoffregen
ac79353950
Fix USB MIDI sendSongPosition, sendSongSelect, sendTimeCodeQuarterFrame
пре 7 година
PaulStoffregen
342daa61c5
Fix USB MIDI song position callback
пре 7 година
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 година
PaulStoffregen
bcc87c0e0d
Add missing MIDI callbacks
пре 7 година
PaulStoffregen
6d49f67650
Fix MIDI MS Interface Header wTotalLength (thanks Lauszus)
пре 7 година
PaulStoffregen
c9d0122505
Support multiple cables on USB MIDI
пре 7 година
PaulStoffregen
0c20722121
Support receiving longer MIDI sysex on Teensy 3.1+
пре 7 година
PaulStoffregen
648342f973
Add missing MIDI send functions, and optional cable number
пре 7 година
PaulStoffregen
ff5f62f798
Add MIDIUSB.h for Arduino compatibility
пре 7 година
PaulStoffregen
93592e54ae
Add link to forum thread about RNGA code & results
пре 7 година
PaulStoffregen
62d8f8db45
Support String input in Stream find functions
пре 7 година
Paul Stoffregen
80170910e6
Merge pull request #223 from Lucky1313/master
Add define guards to allow compiler flags to change product name/serial number
пре 7 година