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.
9 years ago
PaulStoffregen
c4289ff4c5
Improve tone(), always complete current cycle before change to new frequency
9 years ago
PaulStoffregen
d1a6e77ad9
Begin work on MTP Disk
9 years ago
PaulStoffregen
d5a1b9745b
Add __bss_start__ and __bss_end__, improves compatibility with other software
9 years ago
Paul Stoffregen
c0196ca8da
Merge pull request #87 from FrankBoesing/patch-3
SCAN Control register #define TSI_SCANC_EXTCHRG(n)
9 years ago
PaulStoffregen
aa212b61e0
Defs for MK66FX1M0
9 years ago
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
9 years ago
PaulStoffregen
345b03b31f
Someday Teensy-LC will have audio, but only 22 kHz sample rate
9 years ago
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
9 years ago
PaulStoffregen
7dd78d023a
Reduce flash clock in 168 MHz overclock mode
9 years ago
PaulStoffregen
f2948bd195
Add UART register bit definitions
9 years ago
Paul Stoffregen
9468d51258
Merge pull request #85 from jbliesener/master
Long datarefs for USB flight sim controls
9 years ago
PaulStoffregen
05fa587cc4
Add more register defs
9 years ago
PaulStoffregen
1e49af2dd2
Add register definitions
9 years ago
Jorg Bliesener
fe29d9e740
Bugfixes and comments
9 years ago
Jorg Bliesener
32d841e418
usb_flightsim changes for XPlaneRefs with names >58 chars
9 years ago
Paul Stoffregen
aa0b9563ec
Merge pull request #84 from k-a-r-g/master
Added full support for Midi Time Codes and Real Time messages
9 years ago
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
9 years ago
Laurentiu Nicola
4096258944
Remove functions already defined in the standard library
Since newlib 2.2.0 itoa() and utoa() are declared in stdlib.h and redefining them makes the compiler unhappy
10 years ago
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
9 years ago
Paul Stoffregen
474f2823bd
Merge pull request #81 from jbliesener/master
Fix packet stuffing in usb_flightsim_flush_callback
9 years ago
PaulStoffregen
71ba6b2adb
Speedup print() on Teensy-LC
9 years ago
Jorg Neves Bliesener
f2ed8c5dc3
Fix packet stuffing in usb_flightsim_flush_callback
9 years ago
PaulStoffregen
37e24b0107
define SERIAL_PORT_MONITOR to Serial1 when USB is disabled
9 years ago
PaulStoffregen
0bdac50dcb
Add PDB channel 1 register definitions
https://forum.pjrc.com/threads/25153-PDB0CH1-register-definitions
9 years ago
PaulStoffregen
ca6b6fd9b0
opps, fix delayMicroseconds on Teensy-LC at 24 MHz for realz
9 years ago
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
9 years ago
PaulStoffregen
61b29fa289
Optimize delayMicroseconds() on Teensy-LC
https://forum.pjrc.com/threads/28932-LC-is-10-9-times-slower-than-T3-1
9 years ago
Paul Stoffregen
9288323459
Merge pull request #75 from kbob/LC-TPM-DMA-bit
LC TPM DMA Enable bit
9 years ago
kbob
c1cedab25a
Defined FTM_SC_DMA on KINETIS-L chips.
9 years ago
kbob
3676d1621f
Corrected conversion from words to bytes in transferCount().
9 years ago
PaulStoffregen
2ee5a630c8
Add license headers to AVR emulation header files
9 years ago
PaulStoffregen
66b28afda0
Fix initial delay bug on Teensy-LC
https://forum.pjrc.com/threads/28325-Teensy-LC-and-delay
9 years ago
Paul Stoffregen
77058b2f72
Merge pull request #73 from FrankBoesing/patch-2
strlen is already in string.h
9 years ago
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.
9 years ago
Paul Stoffregen
91ac7e4aab
Merge pull request #72 from FrankBoesing/patch-1
millis()
9 years ago
PaulStoffregen
28a3eb04f0
analogWriteFrequency uses float for frequency
9 years ago
FrankBoesing
3bc1d5f9e8
millis()
systick_millis_count is already volatile, doing it twice is not needed.
9 years ago
PaulStoffregen
b823fc14e3
Fix RawHID on Teensy 2.0
9 years ago
PaulStoffregen
8cd4703817
Use gcc memory barriers in IRQ enable/disable
9 years ago
PaulStoffregen
a8818e0058
Default Systick to priority 32 (don't hog highest priority)
9 years ago
PaulStoffregen
0dcc3a1f5e
Fix NVIC_TRIGGER_IRQ on Teensy-LC
9 years ago
PaulStoffregen
13dd541650
Fix String conversion for unsigned char on Teensy 2.0
9 years ago
PaulStoffregen
8545ba7ffb
Fix USB flightsim on Teensy-LC
9 years ago
PaulStoffregen
3bc1d7c08b
Fix E2END
9 years ago
PaulStoffregen
7a750fe78e
Improve avr eeprom emulation, E2END
9 years ago
PaulStoffregen
9fbebb5145
Add availableForWrite() on Teensy 2.0
9 years ago
PaulStoffregen
c4054203a7
Fix more compiler warnings
9 years ago
PaulStoffregen
809219a11a
Fix compiler warnings
9 years ago
Paul Stoffregen
13d970d416
Merge pull request #63 from crteensy/patch-1
Update kinetis.h
9 years ago