tmedicci opened a new pull request, #16219: URL: https://github.com/apache/nuttx/pull/16219
## Summary * arch/risc-v/espressif: Bump common source version This PR bumps common source version for RISC-V-based Espressif SoCs on NuttX. Specifically, this solves an issue regarding SPI flash frequency selection on ESP32-C6. Although 80MHz is the [default frequency](https://github.com/apache/incubator-nuttx/blob/d7dabc90f6cc2ec721372009d4ceff23c9f6c6f7/arch/risc-v/src/common/espressif/Kconfig#L1464) for the SPI flash, it isn't being set properly, as shown on testing section. ## Impact Impact on user: YES. Applications may run faster if the correct frequency is set. Impact on build: NO. Impact on hardware: YES. It sets the correct frequency for the SPI flash. Impact on documentation: NO. Impact on security: NO. Impact on compatibility: NO. ## Testing This common source update fixes a known issue regarding SPI flash frequency on ESP32-C6. Before and after logs are provided as evidence for it. Build, flash and run the firmware on ESP32-C6 according to the following instructions: ### Building ``` make -j distclean && ./tools/configure.sh esp32c6-devkitc:spiflash && kconfig-tweak -e DEBUG_FEATURES && make olddefconfig && make flash ESPTOOL_PORT=/dev/ttyUSB0 -j$(nproc) ``` ### Running ``` picocom -b 115200 /dev/ttyUSB0 ``` ### Results Compare the boot lgo before and after applying this patch and check the SPI flash frequency: #### Before ``` *** Booting NuttX *** I (47) boot: chip revision: v0.1 I (47) boot.esp32c6: SPI Speed : 40MHz I (47) boot.esp32c6: SPI Mode : DIO I (48) boot.esp32c6: SPI Flash Size : 4MB ``` Note: 80MHz was expected! #### After ``` *** Booting NuttX *** I (47) boot: chip revision: v0.1 I (47) boot.esp32c6: SPI Speed : 80MHz I (47) boot.esp32c6: SPI Mode : DIO I (48) boot.esp32c6: SPI Flash Size : 4MB ``` 80MHz is set as expected. -- 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