eren-terzioglu opened a new pull request, #16685: URL: https://github.com/apache/nuttx/pull/16685
## Summary <!-- This field should contain a summary of the changes. It will be pre-filled with the commit's message and descriptions. Adjust it accordingly --> * arch/risc-v: Change DMA functions with common layer approach for esp32[-c3|-c6|-h2] Change DMA functions with common layer functions for risc-v based Espressif devices ## Impact <!-- Please fill the following sections with YES/NO and provide a brief explanation --> Change DMA function with common layer functions to enhance portability between devices. Impact on user: No <!-- Does it impact user's applications? How? --> Impact on build: No <!-- Does it impact on building NuttX? How? (please describe the required changes on the build system) --> Impact on hardware: No <!-- Does it impact a specific hardware supported by NuttX? --> Impact on documentation: No <!-- Does it impact the existing documentation? Please provide additional documentation to reflect that --> Impact on security: No <!-- Does it impact NuttX's security? --> Impact on compatibility: No <!-- Does it impact compatibility between previous and current versions? Is this a breaking change? --> ## Testing <!-- Please provide all the testing procedure. Consider that upstream reviewers should be able to reproduce the same testing performed internally --> ### Building <!-- Provide how to build the test for each SoC being tested --> Command used to build: ``` make distclean && ./tools/configure.sh esp32c3-generic:spi && kconfig-tweak -e CONFIG_ESPRESSIF_DMA && kconfig-tweak -e CONFIG_ESPRESSIF_SPI2_DMA && kconfig-tweak --set-val CONFIG_ESPRESSIF_SPI2_DMATHRESHOLD 0 && make olddefconfig && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BAUD=921600 ESPTOOL_BINDIR=../esp-bin ``` Pins connected to the logic analyzer should look like this: | Pin Name | Pin Number | |----------|------------| | CS | 10 | | CLK | 6 | | MOSI | 7 | | MISO | 2 | ### Running <!-- Provide how to run the test for each SoC being tested --> `spi exch -b 2 AB` command used and pins connected to the logic analyzer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org