PaulStoffregen
248de33822
Only use memset.S with -Os, C lib is faster with -O
vor 9 Jahren
Paul Stoffregen
1e1b43ca7d
Merge pull request #90 from FrankBoesing/patch-4
use float version of fcvt
vor 9 Jahren
PaulStoffregen
96c8a911f3
All compiling with -std=c++0x on Teensy 3.x
vor 9 Jahren
PaulStoffregen
af8ebb03f0
optimized memset
fixes #109
vor 9 Jahren
Paul Stoffregen
e992f7037c
Merge pull request #83 from GrayShade/remove-string-functions
Remove functions already defined in the standard library
vor 9 Jahren
PaulStoffregen
70a24272aa
Fix DMA_TCD_NBYTES_MLOFFNO_NBYTES
vor 9 Jahren
PaulStoffregen
e2a0a745e6
Fix NUM_ENDPOINTS on RawHID, fixes #108
vor 9 Jahren
Paul Stoffregen
793f58fe39
Merge pull request #107 from duff2013/master
Add SCB_SCR register definitions
vor 9 Jahren
duff2013
abc81a9670
Add SCB_SCR register definitions
vor 9 Jahren
PaulStoffregen
0254d93d95
Teensy-LC doesn't support CTS, so disable its code
vor 9 Jahren
PaulStoffregen
1c1235ed23
dummy pin change defs (for WIFI101 library)
vor 9 Jahren
PaulStoffregen
6e0dd8ab39
Use software-based RTS on Serial2 and Serial3
vor 9 Jahren
PaulStoffregen
d3e10a3c42
Add SerialUSB definition (Teensy 2.0)
vor 9 Jahren
PaulStoffregen
cf01df2494
Add SerialUSB definition
vor 9 Jahren
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).
vor 9 Jahren
PaulStoffregen
59a7b221fa
Fix delay when yield longer than 1ms
vor 9 Jahren
Paul Stoffregen
2765de0801
Merge pull request #100 from expipiplus1/fix-casting
Fix compile error with clang casting long* to int*
vor 9 Jahren
Paul Stoffregen
f9a686b212
Merge pull request #103 from wingunder/master
An attempt to make the teensy3/Makefile completely Arduino independent
vor 9 Jahren
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.
vor 9 Jahren
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.
vor 9 Jahren
Paul Stoffregen
be531bc968
Merge pull request #98 from expipiplus1/smaller-startup-section
Do not put ResetHandler in .startup with clang
vor 9 Jahren
Joe Hermaszewski
1d45148b6b
Fix compile error with clang casting long* to int*
vor 9 Jahren
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.
vor 9 Jahren
Paul Stoffregen
e7888edfa5
Merge pull request #96 from lxphilli/BurstTransferSize
Implement 16-Byte Burst Transfer Size
vor 9 Jahren
lxphilli
d18f73d1b3
Implement 16-Byte Burst Transfer Size
vor 9 Jahren
Paul Stoffregen
7ebeb074f9
Merge pull request #94 from dfries/fixups
Makefile, set MCU at top and remove -nostdlib
vor 9 Jahren
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).
vor 9 Jahren
PaulStoffregen
c006772eeb
Add startup delay - improves Windows & I2C sensor experience
vor 9 Jahren
PaulStoffregen
effd67c4c3
Add custom keywords.txt
vor 9 Jahren
PaulStoffregen
2c726eae11
RTS/CTS support for Serial1 on Teensy LC & 3.x (experimental)
vor 9 Jahren
Paul Stoffregen
c241352f9e
Merge pull request #91 from FrankBoesing/patch-5
The buffer for digits after the decimal-point is on the stack, so i t…
vor 9 Jahren
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
vor 9 Jahren
Frank
45468b4ba4
use float version of fcvt
vor 9 Jahren
PaulStoffregen
7a6898b59d
Add bool operator to HardwareSerial
vor 9 Jahren
Paul Stoffregen
0a94f680eb
Merge pull request #89 from Defragster/master
Fix for dtostrf on floats under zero
vor 9 Jahren
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
vor 9 Jahren
PaulStoffregen
1c3f859d21
Fix duplicate definition in German keyboard layout (Teensy 2.0)
vor 9 Jahren
PaulStoffregen
b9044c4289
Add doughboy's alternate serial1 code (for reference only, not used yet)
vor 9 Jahren
PaulStoffregen
c6e6060c48
whitespace reformat in serial code
vor 9 Jahren
Paul Stoffregen
2e61ee77b2
Merge pull request #88 from universpharmacie/master
Allow low frequencies for analogWriteFrequency
vor 9 Jahren
PaulStoffregen
7e46ee291b
Add 2 channel enable flags for I2S
vor 9 Jahren
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.
vor 9 Jahren
PaulStoffregen
c4289ff4c5
Improve tone(), always complete current cycle before change to new frequency
vor 9 Jahren
PaulStoffregen
d1a6e77ad9
Begin work on MTP Disk
vor 9 Jahren
PaulStoffregen
d5a1b9745b
Add __bss_start__ and __bss_end__, improves compatibility with other software
vor 9 Jahren
Paul Stoffregen
c0196ca8da
Merge pull request #87 from FrankBoesing/patch-3
SCAN Control register #define TSI_SCANC_EXTCHRG(n)
vor 9 Jahren
PaulStoffregen
aa212b61e0
Defs for MK66FX1M0
vor 9 Jahren
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
vor 9 Jahren
PaulStoffregen
345b03b31f
Someday Teensy-LC will have audio, but only 22 kHz sample rate
vor 9 Jahren
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
vor 9 Jahren