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:
193
193
- mcux-sdk-middleware-usb: Disable the control endpoint ZLT (Zero Length Transaction) of MCUX hal USB controller drivers
194
194
(usb_device_ehci.c and usb_device_lpcip3511.c) in Zephyr environment.
195
195
- 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,
955
955
assert (srcAddr != NULL );
956
956
assert (destAddr != NULL );
957
957
assert ((srcWidth == 1U ) || (srcWidth == 2U ) || (srcWidth == 4U ) || (srcWidth == 8U ) || (srcWidth == 16U ) ||
958
- (srcWidth == 32U ));
958
+ (srcWidth == 32U ) || srcWidth == 64U );
959
959
assert ((destWidth == 1U ) || (destWidth == 2U ) || (destWidth == 4U ) || (destWidth == 8U ) || (destWidth == 16U ) ||
960
- (destWidth == 32U ));
960
+ (destWidth == 32U ) || ( destWidth == 64U ) );
961
961
assert (transferBytes % bytesEachRequest == 0U );
962
962
assert (((uint32_t )(uint32_t * )srcAddr % srcWidth ) == 0U );
963
963
assert (((uint32_t )(uint32_t * )destAddr % destWidth ) == 0U );
@@ -1080,6 +1080,10 @@ void EDMA_PrepareTransfer(edma_transfer_config_t *config,
1080
1080
destOffset = (int16_t )destWidth ;
1081
1081
srcOffset = 0 ;
1082
1082
break ;
1083
+ case kEDMA_PeripheralToPeripheral :
1084
+ destOffset = 0 ;
1085
+ srcOffset = 0 ;
1086
+ break ;
1083
1087
default :
1084
1088
/* All the cases have been listed above, the default clause should not be reached. */
1085
1089
assert (false);
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ typedef enum _edma_transfer_type
143
143
kEDMA_MemoryToMemory = 0x0U , /*!< Transfer from memory to memory */
144
144
kEDMA_PeripheralToMemory , /*!< Transfer from peripheral to memory */
145
145
kEDMA_MemoryToPeripheral , /*!< Transfer from memory to peripheral */
146
+ kEDMA_PeripheralToPeripheral , /*!< Transfer from Peripheral to peripheral */
146
147
} edma_transfer_type_t ;
147
148
148
149
/*! @brief eDMA transfer status, _edma_transfer_status*/
You can’t perform that action at this time.
0 commit comments