crteensy
e0fdda1918
Update DMAChannel.h
Changed DMABaseClass::source() and destination() to use p's address instead of its value in the if-clause. Taking the value could result in unwated read operations from I/O locations, resulting in data loss.
10 years ago
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
10 years ago
PaulStoffregen
36fc4f599e
Use Serial2's FIFO on Teensy 3.1
10 years ago
PaulStoffregen
064c0b52ee
Add volatile to all DMAChannel source address pointers
10 years ago
PaulStoffregen
7f9688e5a3
Use DMA_NUM_CHANNELS for index if allocation fails
10 years ago
PaulStoffregen
8632eda964
Add extra NVIC_ISER registers
10 years ago
PaulStoffregen
3b9ae1513b
rename writeBufferFree() to availableForWrite()
10 years ago
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
10 years ago
PaulStoffregen
7765518d85
Add IntervalTimer.priority()
10 years ago
PaulStoffregen
71160e91c2
Add Serial.room()
10 years ago
PaulStoffregen
f3677fd16d
Add FASTRUN
10 years ago
duff2013
034393e0ad
fix for (long) destinationBuffer TCD->ATTR_DST
Was set for 16 bit size.
10 years ago
PaulStoffregen
32c20c97e0
Fix DMAChannel.triggerContinuously()
10 years ago
PaulStoffregen
3b5dc896f7
Add attachInterruptVector()
10 years ago
PaulStoffregen
86007ba815
UART registers based on struct
10 years ago
PaulStoffregen
530bfe5f83
backwards compatibility for mk20dx128.h
10 years ago
PaulStoffregen
d35f85a555
define emun typedef for both C & C++
10 years ago
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
10 years ago
PaulStoffregen
c4579ade85
Add serial port names
10 years ago
PaulStoffregen
603afcc984
Fix off-by-1 error in new Serial#.room()
10 years ago
PaulStoffregen
d289954223
Add Serial1-3.room()
http://forum.pjrc.com/threads/26064-Large-transfers-over-serial-on-Teensy-3-1
http://forum.arduino.cc/index.php/topic,165574.0.html
10 years ago
PaulStoffregen
4c047eea2b
Add serialEvent (USB) and serialEvent1-3 (serial)
10 years ago
PaulStoffregen
4ce631887a
DMAChannel destination needs volatile
10 years ago
PaulStoffregen
a9d19478dd
DMAChannel stuff (getting close to final)
10 years ago
PaulStoffregen
2e2ce610c3
DMAChannel stuff (work in progess - scatter/gather)
10 years ago
PaulStoffregen
8c7df73ac0
DMAChannel stuff (even work in progress)
10 years ago
PaulStoffregen
9c8d86bba4
Add missing FTM bit field definitions
10 years ago
PaulStoffregen
c871fc1069
DMAChannel stuff (still work in progress)
10 years ago
PaulStoffregen
e77cb9bac4
Use parens around more macros in mk20dx128.h
10 years ago
PaulStoffregen
7b040b4be0
Add DMAChannel (work in progress)
10 years ago
PaulStoffregen
971874a505
Use parens around macros in mk20dx128.h
10 years ago
PaulStoffregen
7402581745
Actually use RAM vector table!
10 years ago
PaulStoffregen
e8a02961b0
Use RAM-based interrupt vector table
10 years ago
PaulStoffregen
b98d2d6aaf
Add emulation for AVR util/parity.h
10 years ago
Andrew J. Kroll
c9d85378d7
Allow custom USB enumeration.
This patch simply checks if NUM_ENDPOINTS is defined, and will bypass the
built-in USB descriptor, device and memory code, and allows a custom setting.
This bug does not affect the IDE unless someone adds the custom option to
the boards.txt file, and provides replacement code in a library or sketch.
It can also be used to turn off USB by providing no replacements, while
allowing speeds >= 20MHz.
10 years ago
PaulStoffregen
917c10a8a4
Add FTM channel bit definitions
10 years ago
PaulStoffregen
2b1f6142ca
Add LPTMR definitions
10 years ago
PaulStoffregen
f4723ec322
Fix duplicate definition in German keyboard layout
10 years ago
PaulStoffregen
1911dc7811
Minor comment cleanup
10 years ago
PaulStoffregen
955b61fd15
Fix unused variable warning with speed > 2 MHz
10 years ago
Patrick Beard
80b8f4ac81
Add usb_midi_class::setHandleSysEx()
Switched order of parameters as suggested by PaulStoffregen.
10 years ago
duff2013
487482612a
SMC_PMPROT visible in all _F_CPU, remove stop mode
10 years ago
duff2013
4d3cf8fff7
fix for delay of 1 micro sec @ 2MHz will be 0
10 years ago
PaulStoffregen
c03d41b2f7
Fix (at least partially) 2 MHz mode
10 years ago
duff2013
f6bee62be8
fixes for 2, 4MHz
10 years ago
PaulStoffregen
4e2926f06a
Reorganize clock startup sequence
10 years ago
PaulStoffregen
e42c5cefed
Support F_CPU < 20 MHz with USB disabled
10 years ago
PaulStoffregen
663e4fddec
Add support for 2, 4, 8, 16MHz (Duff)
10 years ago
PaulStoffregen
af96d7af1e
Add DMA channel priority register definitions
10 years ago
PaulStoffregen
2b07457405
When overclocking the CPU 133%, overclock flash by 40% too
10 years ago