Geert Uytterhoeven
be2330ae73
teensy3: usb_dev: Check wIndex when processing CDC requests
When processing CDC_SET_CONTROL_LINE_STATE and CDC_SET_LINE_CODING
requests, wIndex is ignored. Hence if the CDC Status Interface is
enabled, these requests are always processed, even when not destined for
the actual serial status interface.
Fix this by adding a check to ensure that wIndex matches the CDC status
interface.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
4年前
PaulStoffregen
673d309048
Add defs for ethernet register bits
4年前
PaulStoffregen
d4d59c98b7
Don't reference even more non-existant usb string descriptors
4年前
PaulStoffregen
d9fe2d70a4
Don't reference non-existant usb string descriptor
fixes #293, fixes #414
4年前
PaulStoffregen
8a8b9914f9
Add comments for USB MIDI 32 bit format data format
4年前
PaulStoffregen
06492c1d11
Don't define true & false with stdbool.h included
5年前
PaulStoffregen
6d6900c0fe
Include stdbool.h, needed by Temboo library
https://forum.pjrc.com/threads/58667-Temboo-library-error-Unknown-type-name-bool
5年前
PaulStoffregen
fa1f446555
Add link to info about usb_tx_packet_count() function & USB packet latency
5年前
Kurt Eckhardt
d28e889454
T3 - Bug in PINC
Reading wrong register for one bit...
5年前
PaulStoffregen
73ea157600
Add comment with link to PORT_PCR_ISF polling example
5年前
PaulStoffregen
5e3ce5a4ca
Require the vector table on Teensy 3.x, even for programs referencing nothing
5年前
PaulStoffregen
571493c10e
Allow huge serial buffers on Teensy 3.x
5年前
PaulStoffregen
63aba265db
Fix digitalPinHasPWM on T3.6 & analogInputToDigitalPin on T3.5 & T3.6
5年前
Mikolaj
d7a15b0210
Added the ability to parametrize Teensy 3 core USB init delays through compiler defines (TEENSY_INIT_USB_DELAY_BEFORE, TEENSY_INIT_USB_DELAY_AFTER). When defines are not present, default values are used, depending on teensy version.
5年前
PaulStoffregen
019c928ac4
Add empty cache functions, for T4 backwards compatibility
5年前
PaulStoffregen
1b1f95315f
Improve startup behavior on Teensy 3.6 with external slowly rising power
5年前
PaulStoffregen
c4fe5e9303
Fix compiler warning
5年前
Frank
1badfa2ccd
add nullptr check
5年前
Frank
afefd37bc7
Make sure DONE Bit is cleared.
5年前
Frank
1d59fe6df4
Update Stream.cpp
5年前
Frank
be0b44bceb
Update Stream.cpp
5年前
Frank
07df732e2b
Update Stream.cpp
5年前
Frank
8d01550ff3
Update Stream.cpp
5年前
Pete
7a309dfb89
Update AudioStream.cpp
5年前
PaulStoffregen
238b102ac4
Add model identification to linker scripts for all Teensy 3.x boards
6年前
PaulStoffregen
44359dcf6b
Add comments about EEPROM size config
6年前
PaulStoffregen
556b4b4c5d
Fix asm in delayMicroseconds on Teensy LC (Frank B)
fixes #288
6年前
dav1901
20b527d01a
Fix typo
6年前
dav1901
59402d1e7e
Fix typo
6年前
Frank Bösing
b7b51f0a91
Revert "Revert "F_BUS 128MHz for SPIFIFO.h""
This reverts commit 5dade02144
.
6年前
Frank Bösing
5dade02144
Revert "F_BUS 128MHz for SPIFIFO.h"
This reverts commit c2e28e0a27
.
6年前
Frank
c2e28e0a27
F_BUS 128MHz for SPIFIFO.h
6年前
Frank Bösing
7d43e33fbe
cosmetic changes
6年前
Frank Bösing
f6d7053eb5
F_BUS 128MHZ for pins_teensy.c
6年前
Frank Bösing
72d7b11fb6
F_BUS 128MHz analog.c
6年前
Frank Bösing
11bd76352d
FCPU 256MHz
6年前
PaulStoffregen
c425ecbd0a
Fix serial end() when errors are received but final interrupt never runs
6年前
PaulStoffregen
0444986638
Update makefile
6年前
PaulStoffregen
cb6289fd85
Avoid USB bug related with O2 optimize
6年前
PaulStoffregen
92533cb5ce
Remove ancient BYTE define (causes more trouble than it's worth)
6年前
PaulStoffregen
87f6186546
USB MIDI - don't hog transmit buffers
6年前
PaulStoffregen
831d3b40b1
Fix typo
6年前
PaulStoffregen
a95bccf37f
Update sample Makefile for next release number
6年前
PaulStoffregen
e1676586f1
Support generic UDP beginMulticast()
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年前
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年前