PaulStoffregen
cf01df2494
Add SerialUSB definition
il y a 9 ans
PaulStoffregen
1225f43fd0
Report Serial bool operator true only after 25 ms
Sometimes the PC or Mac drivers are not actually ready to begin receiving data immediately after they cause DTR or RTS to assert. This delay allows the PC to become ready before we tell sketches the Serial device is true (ready).
il y a 9 ans
PaulStoffregen
59a7b221fa
Fix delay when yield longer than 1ms
il y a 9 ans
Pieter du Preez
0d26e6a30e
Made the teensy3/Makefile completely Arduino independent.
Those that specify a NO_ARDUINO environment variable before using
the teensy3/Makefile, will be completely Arduino independent. Note
however that if ARDUINOPATH is set, the NO_ARDUINO behaviour will
be overridden. With NO_ARDUINO set and ARDUINOPATH unset, the
cross-compiler tool path (COMPILERPATH) will be set to /usr/bin.
Setting the COMPILERPATH environment variable before using the
teensy3/Makefile, will override the default.
il y a 9 ans
Pieter du Preez
060b1a7d1d
Normalize the use of abspath in the teensy3/Makefile.
Some path-variables in the teens3/Makefile passes though abspath
every time before they get used. Do this only once, when they get
set. This makes things more readable and less error-prone.
il y a 9 ans
Joe Hermaszewski
1d45148b6b
Fix compile error with clang casting long* to int*
il y a 9 ans
Joe Hermaszewski
cd59946847
Do not put ResetHandler in .startup with clang
Clang seems to generate slightly larger code with Os than gcc, and
ResetHandler doesn't fit into the .startup section.
il y a 9 ans
lxphilli
d18f73d1b3
Implement 16-Byte Burst Transfer Size
il y a 9 ans
David Fries
a8c06f2d4c
Makefile, set MCU at top and remove -nostdlib
Define MCU in one place at the top of the file. Also allow it to be
overridden by the command line to compile for a different MCU without
changing the Makefile.
Reduce confusion, remove -nostdlib as it isn't obvious that it is
only being passed when compiling (which isn't linking so doesn't use
it), and isn't being passed to the linker (where it would fail if it
was, because routines from the library are used).
il y a 9 ans
PaulStoffregen
c006772eeb
Add startup delay - improves Windows & I2C sensor experience
il y a 9 ans
PaulStoffregen
2c726eae11
RTS/CTS support for Serial1 on Teensy LC & 3.x (experimental)
il y a 9 ans
Frank
9074be84f0
The buffer for digits after the decimal-point is on the stack, so i think it's not a problem to make it slightly bigger.
https://forum.pjrc.com/threads/31233-float-and-double?p=86860&viewfull=1#post86860
il y a 9 ans
PaulStoffregen
7a6898b59d
Add bool operator to HardwareSerial
il y a 9 ans
Defragster
9d0e0143bd
Fix for dtostrf on floats under zero
Per forum
https://forum.pjrc.com/threads/1227-Teensy3-alternative-for-dtostrf()?p=86671&viewfull=1#post86671
il y a 9 ans
PaulStoffregen
b9044c4289
Add doughboy's alternate serial1 code (for reference only, not used yet)
il y a 9 ans
PaulStoffregen
c6e6060c48
whitespace reformat in serial code
il y a 9 ans
PaulStoffregen
7e46ee291b
Add 2 channel enable flags for I2S
il y a 9 ans
Thierry Frenkel
0e397cc970
Allow low frequencies for analogWriteFrequency
In case the desired frequency is too low to be obtained with F_TIMER
because prescale and mod were at their limits, switch automatically to
the alternative clock source (31250Hz) before determining prescale and
mod with the same algorithm as before.
il y a 9 ans
PaulStoffregen
c4289ff4c5
Improve tone(), always complete current cycle before change to new frequency
il y a 9 ans
PaulStoffregen
d1a6e77ad9
Begin work on MTP Disk
il y a 9 ans
PaulStoffregen
d5a1b9745b
Add __bss_start__ and __bss_end__, improves compatibility with other software
il y a 9 ans
PaulStoffregen
aa212b61e0
Defs for MK66FX1M0
il y a 9 ans
Frank
628addbd49
See Reference Manual Page 1350
50.6.2 SCAN Control register
Bug found by Chronologist, https://forum.pjrc.com/threads/29624-Using-TSI-for-capacitance-measurement
il y a 9 ans
PaulStoffregen
345b03b31f
Someday Teensy-LC will have audio, but only 22 kHz sample rate
il y a 9 ans
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
il y a 9 ans
PaulStoffregen
7dd78d023a
Reduce flash clock in 168 MHz overclock mode
il y a 9 ans
PaulStoffregen
f2948bd195
Add UART register bit definitions
il y a 9 ans
PaulStoffregen
05fa587cc4
Add more register defs
il y a 9 ans
PaulStoffregen
1e49af2dd2
Add register definitions
il y a 9 ans
Jorg Bliesener
fe29d9e740
Bugfixes and comments
il y a 9 ans
Jorg Bliesener
32d841e418
usb_flightsim changes for XPlaneRefs with names >58 chars
il y a 9 ans
Karg
09f8b04899
Added full support for Midi Time Codes and Real Time messages
can now receive and send Midi Time Codes
and send Real Time messages
il y a 9 ans
PaulStoffregen
4cf71a44c8
Use mlu's further optimization of divmod10
https://forum.pjrc.com/threads/28932-LC-is-10-9-times-slower-than-T3-1?p=76072&viewfull=1#post76072
il y a 9 ans
PaulStoffregen
71ba6b2adb
Speedup print() on Teensy-LC
il y a 9 ans
Jorg Neves Bliesener
f2ed8c5dc3
Fix packet stuffing in usb_flightsim_flush_callback
il y a 9 ans
PaulStoffregen
37e24b0107
define SERIAL_PORT_MONITOR to Serial1 when USB is disabled
il y a 9 ans
PaulStoffregen
0bdac50dcb
Add PDB channel 1 register definitions
https://forum.pjrc.com/threads/25153-PDB0CH1-register-definitions
il y a 9 ans
PaulStoffregen
ca6b6fd9b0
opps, fix delayMicroseconds on Teensy-LC at 24 MHz for realz
il y a 9 ans
PaulStoffregen
00d45085e6
fix delayMicroseconds on Teensy-LC at 24 MHz
https://forum.pjrc.com/threads/28932-LC-is-10-9-times-slower-than-T3-1?p=75775&viewfull=1#post75775
il y a 9 ans
PaulStoffregen
61b29fa289
Optimize delayMicroseconds() on Teensy-LC
https://forum.pjrc.com/threads/28932-LC-is-10-9-times-slower-than-T3-1
il y a 9 ans
kbob
c1cedab25a
Defined FTM_SC_DMA on KINETIS-L chips.
il y a 9 ans
kbob
3676d1621f
Corrected conversion from words to bytes in transferCount().
il y a 9 ans
PaulStoffregen
2ee5a630c8
Add license headers to AVR emulation header files
il y a 9 ans
PaulStoffregen
66b28afda0
Fix initial delay bug on Teensy-LC
https://forum.pjrc.com/threads/28325-Teensy-LC-and-delay
il y a 9 ans
FrankBoesing
7d3da62a48
strlen is already in string.h
or, alternativly one could write size_t strlen(const char *s) {return __builtin_strlen(s);} to use the gcc-builtin function.
I think, both are faster than the bytewise search.
il y a 9 ans
PaulStoffregen
28a3eb04f0
analogWriteFrequency uses float for frequency
il y a 9 ans
FrankBoesing
3bc1d5f9e8
millis()
systick_millis_count is already volatile, doing it twice is not needed.
il y a 9 ans
PaulStoffregen
8cd4703817
Use gcc memory barriers in IRQ enable/disable
il y a 9 ans
PaulStoffregen
a8818e0058
Default Systick to priority 32 (don't hog highest priority)
il y a 9 ans
PaulStoffregen
0dcc3a1f5e
Fix NVIC_TRIGGER_IRQ on Teensy-LC
il y a 9 ans