PaulStoffregen
2dbb722e44
Dummy avr/wdt.h defs for Teensy LC & 3.x
8 vuotta sitten
PaulStoffregen
a6b614bd1f
Add prog_int64_t & prog_uint64_t
8 vuotta sitten
PaulStoffregen
d87c9814b9
Disable correct SPI pins on SPI.end
https://forum.pjrc.com/threads/32834-SPI-disable-not-working-correctly-with-setMOSI-setMISO-setSCK
8 vuotta sitten
PaulStoffregen
f53d326cf6
E2END actually is eeprom size, fixes #120
8 vuotta sitten
PaulStoffregen
8dbe007acc
Fix incorrect baud rate on Serial2 when used with format option
8 vuotta sitten
PaulStoffregen
3a6e99ca1c
Update EEPROM settings
8 vuotta sitten
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
8 vuotta sitten
PaulStoffregen
aaebae7728
Fix error in IntervalTimer with float input
https://forum.pjrc.com/threads/33072-IntervalTimer-h-bug
8 vuotta sitten
Xenoamor
85aac131a4
Update usb_mouse.c
Add MOUSE_BACK, MOUSE_FORWARD
9 vuotta sitten
Xenoamor
ddd8a6d76d
Update usb_mouse.c
9 vuotta sitten
Xenoamor
adb0042ca2
Update usb_mouse.h
Add MOUSE_BACK, MOUSE_FORWARD
9 vuotta sitten
duff2013
e16a2e99eb
Update CMP register definitions
9 vuotta sitten
PaulStoffregen
326cf24dec
Allow IntervalTimer to be used with SPI.usingInterrupt()
https://forum.pjrc.com/threads/32999-using-IntervalTimer-with-SPI-usingInterrupt%28%29
9 vuotta sitten
Xenoamor
1d197b5b7f
Update pins_teensy.c
Add INPUT_PULLDOWN and OUTPUT_OPENDRAIN options for pinMode()
9 vuotta sitten
Xenoamor
ab0c1a6a86
Update core_pins.h
9 vuotta sitten
PaulStoffregen
3ebbafe0ab
Only 16 DMA channels are supported, even if more in hardware
9 vuotta sitten
duff2013
ba2057383c
Get enabled NVIC ISR's
9 vuotta sitten
PaulStoffregen
c364608480
Even more defs
9 vuotta sitten
PaulStoffregen
e0dd146824
More defs
9 vuotta sitten
PaulStoffregen
d54debdb91
Add more register defs & PLL config
9 vuotta sitten
PaulStoffregen
248de33822
Only use memset.S with -Os, C lib is faster with -O
9 vuotta sitten
PaulStoffregen
96c8a911f3
All compiling with -std=c++0x on Teensy 3.x
9 vuotta sitten
PaulStoffregen
af8ebb03f0
optimized memset
fixes #109
9 vuotta sitten
PaulStoffregen
70a24272aa
Fix DMA_TCD_NBYTES_MLOFFNO_NBYTES
9 vuotta sitten
PaulStoffregen
e2a0a745e6
Fix NUM_ENDPOINTS on RawHID, fixes #108
9 vuotta sitten
duff2013
abc81a9670
Add SCB_SCR register definitions
9 vuotta sitten
PaulStoffregen
0254d93d95
Teensy-LC doesn't support CTS, so disable its code
9 vuotta sitten
PaulStoffregen
1c1235ed23
dummy pin change defs (for WIFI101 library)
9 vuotta sitten
PaulStoffregen
6e0dd8ab39
Use software-based RTS on Serial2 and Serial3
9 vuotta sitten
PaulStoffregen
cf01df2494
Add SerialUSB definition
9 vuotta sitten
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).
9 vuotta sitten
PaulStoffregen
59a7b221fa
Fix delay when yield longer than 1ms
9 vuotta sitten
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.
9 vuotta sitten
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.
9 vuotta sitten
Joe Hermaszewski
1d45148b6b
Fix compile error with clang casting long* to int*
9 vuotta sitten
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.
9 vuotta sitten
lxphilli
d18f73d1b3
Implement 16-Byte Burst Transfer Size
9 vuotta sitten
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).
9 vuotta sitten
PaulStoffregen
c006772eeb
Add startup delay - improves Windows & I2C sensor experience
9 vuotta sitten
PaulStoffregen
2c726eae11
RTS/CTS support for Serial1 on Teensy LC & 3.x (experimental)
9 vuotta sitten
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
9 vuotta sitten
Frank
45468b4ba4
use float version of fcvt
9 vuotta sitten
PaulStoffregen
7a6898b59d
Add bool operator to HardwareSerial
9 vuotta sitten
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
9 vuotta sitten
PaulStoffregen
b9044c4289
Add doughboy's alternate serial1 code (for reference only, not used yet)
9 vuotta sitten
PaulStoffregen
c6e6060c48
whitespace reformat in serial code
9 vuotta sitten
PaulStoffregen
7e46ee291b
Add 2 channel enable flags for I2S
9 vuotta sitten
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 vuotta sitten
PaulStoffregen
c4289ff4c5
Improve tone(), always complete current cycle before change to new frequency
9 vuotta sitten
PaulStoffregen
d1a6e77ad9
Begin work on MTP Disk
9 vuotta sitten