File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -193,3 +193,4 @@ Patch List:
193193 - mcux-sdk-middleware-usb: Disable the control endpoint ZLT (Zero Length Transaction) of MCUX hal USB controller drivers
194194 (usb_device_ehci.c and usb_device_lpcip3511.c) in Zephyr environment.
195195 - drivers: dmamux: Fix build error when FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL is defined as 1.
196+ - mcux-sdk-ng: drivers: dma3: Add peripheral to peripheral support.
Original file line number Diff line number Diff line change @@ -955,9 +955,9 @@ void EDMA_PrepareTransferConfig(edma_transfer_config_t *config,
955955 assert (srcAddr != NULL );
956956 assert (destAddr != NULL );
957957 assert ((srcWidth == 1U ) || (srcWidth == 2U ) || (srcWidth == 4U ) || (srcWidth == 8U ) || (srcWidth == 16U ) ||
958- (srcWidth == 32U ));
958+ (srcWidth == 32U ) || srcWidth == 64U );
959959 assert ((destWidth == 1U ) || (destWidth == 2U ) || (destWidth == 4U ) || (destWidth == 8U ) || (destWidth == 16U ) ||
960- (destWidth == 32U ));
960+ (destWidth == 32U ) || ( destWidth == 64U ) );
961961 assert (transferBytes % bytesEachRequest == 0U );
962962 assert (((uint32_t )(uint32_t * )srcAddr % srcWidth ) == 0U );
963963 assert (((uint32_t )(uint32_t * )destAddr % destWidth ) == 0U );
@@ -1080,6 +1080,10 @@ void EDMA_PrepareTransfer(edma_transfer_config_t *config,
10801080 destOffset = (int16_t )destWidth ;
10811081 srcOffset = 0 ;
10821082 break ;
1083+ case kEDMA_PeripheralToPeripheral :
1084+ destOffset = 0 ;
1085+ srcOffset = 0 ;
1086+ break ;
10831087 default :
10841088 /* All the cases have been listed above, the default clause should not be reached. */
10851089 assert (false);
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ typedef enum _edma_transfer_type
143143 kEDMA_MemoryToMemory = 0x0U , /*!< Transfer from memory to memory */
144144 kEDMA_PeripheralToMemory , /*!< Transfer from peripheral to memory */
145145 kEDMA_MemoryToPeripheral , /*!< Transfer from memory to peripheral */
146+ kEDMA_PeripheralToPeripheral , /*!< Transfer from Peripheral to peripheral */
146147} edma_transfer_type_t ;
147148
148149/*! @brief eDMA transfer status, _edma_transfer_status*/
You can’t perform that action at this time.
0 commit comments