MODSERIAL with support for KL25Z + RTOS (beta, putc + puts currently)
Fork of MODSERIAL by
Revision 11:a93a62eeeb9d, committed 2010-11-24
- Comitter:
- AjK
- Date:
- Wed Nov 24 00:33:40 2010 +0000
- Parent:
- 10:725fe81aa9ff
- Child:
- 12:8c7394e2ae7f
- Commit message:
- 1.11
Changed in this revision
--- a/ChangeLog.c Wed Nov 24 00:23:55 2010 +0000 +++ b/ChangeLog.c Wed Nov 24 00:33:40 2010 +0000 @@ -1,5 +1,9 @@ /* $Id:$ +1.11 - 23/11/2010 + + * Fixed a minor issue with 1.10 missed an alteration of name change. + 1.10 - 23/11/2010 * Reanme the DMA callback from attach_dma_complete() to attach_dmaSendComplete()
--- a/MODSERIAL.h Wed Nov 24 00:23:55 2010 +0000 +++ b/MODSERIAL.h Wed Nov 24 00:33:40 2010 +0000 @@ -865,7 +865,7 @@ if (dma->irqType() == MODDMA::TcIrq) dma->clearTcIrq(); if (dma->irqType() == MODDMA::ErrIrq) dma->clearErrIrq(); dmaSendChannel = -1; - _isrDmaComplete.call(); + _isrDmaSendComplete.call(); } #endif // MODDMA_H
--- a/example_dma.cpp Wed Nov 24 00:23:55 2010 +0000 +++ b/example_dma.cpp Wed Nov 24 00:33:40 2010 +0000 @@ -85,7 +85,7 @@ led1 = 0; // Send the buffer s using DMA channel 7 - pc.attach_dma_complete( &dmaComplete ); + pc.attach_dmaSendComplete( &dmaComplete ); pc.dmaSend( s1, sizeof(s1), MODDMA::Channel_7 ); for (int loop = 0; loop < 512; loop++) {