Commit graph

150 commits

Author SHA1 Message Date
Paul Stoffregen
861f2fd6ec Merge pull request #33 from crteensy/patch-1
Update DMAChannel.h
2014-08-23 03:33:01 -07:00
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.
2014-08-22 15:59:55 +02:00
PaulStoffregen
19ee965759 Add transmitterEnable on Serial2 & Serial3 2014-08-14 03:56:53 -07:00
PaulStoffregen
36fc4f599e Use Serial2's FIFO on Teensy 3.1 2014-08-14 03:38:47 -07:00
PaulStoffregen
064c0b52ee Add volatile to all DMAChannel source address pointers 2014-08-05 10:45:41 -07:00
PaulStoffregen
7f9688e5a3 Use DMA_NUM_CHANNELS for index if allocation fails 2014-08-04 22:19:36 -07:00
PaulStoffregen
8632eda964 Add extra NVIC_ISER registers 2014-07-21 14:02:16 -07:00
PaulStoffregen
c86b9ca30b Add yield() for Teensy 2.0 2014-07-19 03:42:06 -07:00
PaulStoffregen
3b9ae1513b rename writeBufferFree() to availableForWrite() 2014-07-18 12:47:37 -07:00
PaulStoffregen
9c1e41e70e Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
2014-07-03 01:54:00 -07:00
PaulStoffregen
7765518d85 Add IntervalTimer.priority() 2014-07-02 04:57:16 -07:00
PaulStoffregen
71160e91c2 Add Serial.room() 2014-07-02 04:42:00 -07:00
PaulStoffregen
f3677fd16d Add FASTRUN 2014-07-02 04:19:20 -07:00
Paul Stoffregen
4c0c189a49 Merge pull request #26 from duff2013/master
fix for (long) destinationBuffer  TCD->ATTR_DST
2014-07-01 16:39:30 -07:00
duff2013
034393e0ad fix for (long) destinationBuffer TCD->ATTR_DST
Was set for 16 bit size.
2014-07-01 14:03:06 -04:00
duff2013
bc0ae6d62f Merge pull request #7 from PaulStoffregen/master
resync
2014-07-01 10:58:35 -04:00
PaulStoffregen
32c20c97e0 Fix DMAChannel.triggerContinuously() 2014-07-01 05:47:45 -07:00
duff2013
ca5fdc4347 Merge pull request #6 from PaulStoffregen/master
resync
2014-06-30 07:04:30 -04:00
PaulStoffregen
3b5dc896f7 Add attachInterruptVector() 2014-06-29 20:27:37 -07:00
PaulStoffregen
86007ba815 UART registers based on struct 2014-06-29 19:59:36 -07:00
PaulStoffregen
530bfe5f83 backwards compatibility for mk20dx128.h 2014-06-29 18:56:56 -07:00
PaulStoffregen
d35f85a555 define emun typedef for both C & C++ 2014-06-29 18:56:22 -07:00
PaulStoffregen
479bde6866 Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h 2014-06-29 18:16:33 -07:00
duff2013
6534208126 Merge pull request #5 from PaulStoffregen/master
resync
2014-06-29 20:25:41 -04:00
PaulStoffregen
c4579ade85 Add serial port names 2014-06-29 14:13:02 -07:00
PaulStoffregen
603afcc984 Fix off-by-1 error in new Serial#.room() 2014-06-29 04:55:52 -07:00
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
2014-06-29 00:55:51 -07:00
PaulStoffregen
4c047eea2b Add serialEvent (USB) and serialEvent1-3 (serial) 2014-06-29 00:16:36 -07:00
duff2013
8ec86743f9 Merge pull request #4 from PaulStoffregen/master
resync
2014-06-29 00:49:01 -04:00
PaulStoffregen
4ce631887a DMAChannel destination needs volatile 2014-06-28 21:34:26 -07:00
duff2013
27f1750ab3 Merge pull request #3 from PaulStoffregen/master
resync
2014-06-28 18:00:01 -04:00
PaulStoffregen
a9d19478dd DMAChannel stuff (getting close to final) 2014-06-28 06:51:38 -07:00
PaulStoffregen
2e2ce610c3 DMAChannel stuff (work in progess - scatter/gather) 2014-06-28 04:04:12 -07:00
duff2013
52823eb9d1 Merge pull request #2 from PaulStoffregen/master
resync
2014-06-27 20:49:02 -04:00
PaulStoffregen
8c7df73ac0 DMAChannel stuff (even work in progress) 2014-06-27 13:08:48 -07:00
PaulStoffregen
9c8d86bba4 Add missing FTM bit field definitions 2014-06-26 03:53:55 -07:00
duff2013
021742f93b Merge pull request #1 from PaulStoffregen/master
resync
2014-06-25 20:19:45 -04:00
PaulStoffregen
c871fc1069 DMAChannel stuff (still work in progress) 2014-06-25 16:11:52 -07:00
PaulStoffregen
e77cb9bac4 Use parens around more macros in mk20dx128.h 2014-06-24 15:23:41 -07:00
PaulStoffregen
7b040b4be0 Add DMAChannel (work in progress) 2014-06-23 04:40:46 -07:00
PaulStoffregen
971874a505 Use parens around macros in mk20dx128.h 2014-06-23 04:36:31 -07:00
PaulStoffregen
7402581745 Actually use RAM vector table! 2014-06-21 19:58:09 -07:00
PaulStoffregen
e8a02961b0 Use RAM-based interrupt vector table 2014-06-21 19:03:03 -07:00
PaulStoffregen
b98d2d6aaf Add emulation for AVR util/parity.h 2014-06-16 09:00:01 -07:00
Paul Stoffregen
3b4aa6ae56 Merge pull request #25 from xxxajk/master
Allow custom USB enumeration.
2014-06-10 08:19:55 -07:00
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.
2014-06-10 07:57:40 -04:00
PaulStoffregen
917c10a8a4 Add FTM channel bit definitions 2014-06-06 02:09:05 -07:00
PaulStoffregen
2b1f6142ca Add LPTMR definitions 2014-06-05 15:05:39 -07:00
PaulStoffregen
f4723ec322 Fix duplicate definition in German keyboard layout 2014-06-04 04:54:15 -07:00
PaulStoffregen
1911dc7811 Minor comment cleanup 2014-06-02 12:36:58 -07:00