eren-terzioglu opened a new pull request, #18741:
URL: https://github.com/apache/nuttx/pull/18741

   ## 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 -->
   
   * boards/risc-v/espressif: Add DFS board support
   
   Add DFS board support for risc-v based Espressif devices
   
   * arch/risc-v/espressif: Add DFS feature
   
   Add DFS feature for riscv based Espressif devices
   
   * arch/risc-vespressif: Fix i2c slave irq callback build error
   
   Fix i2c slave irq callback build error for risc-v based Espressif devices
   
   ## Impact
   <!-- Please fill the following sections with YES/NO and provide a brief 
explanation -->
   
   Impact on user: Yes, user can use dynamic frequency scaling features to 
decrease power consumption
   <!-- 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: Clock frequency can be vary instead of constant with DFS 
feature
   <!-- 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 -->
   
   These configs used with these variables enabled:
   
   ```
   esp32c6-devkitc:pm
   esp32c3-devkit:pm
   esp32h2-devkitc:pm
   esp32p4-function-ev-board:pm
   ```
   
   ```
   CONFIG_ESPRESSIF_DFS
   CONFIG_ESPRESSIF_MIN_CPU_FREQ_40
   ```
   
   ### Building
   <!-- Provide how to build the test for each SoC being tested -->
   
   Here is the command to build:
   
   ```
   make distclean && ./tools/configure.sh esp32c6-devkitc:pm && kconfig-tweak 
-e CONFIG_ESPRESSIF_DFS && kconfig-tweak -e CONFIG_ESPRESSIF_MIN_CPU_FREQ_40 && 
make olddefconfig && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0 
ESPTOOL_BAUD=921600 ESPTOOL_BINDIR=./
   ```
   
   ### Running
   <!-- Provide how to run the test for each SoC being tested -->
   
   Device connected to a USB power meter and tested
   
   ### Results
   <!-- Provide tests' results and runtime logs -->
   
   
   Here are the results
   
   - `esp32c6-devkitm`:
   
   
   |         | picocom connected | picocom disconnected |
   |---------|-------------------|----------------------|
   | DFS on  | 24 mA             | 15.5 mA              |
   | DFS off | 31.85 mA          | 22.5 mA              |
   
   
   - `esp32c3-devkit`:
   
   
   |         | picocom connected | picocom disconnected |
   |---------|-------------------|----------------------|
   | DFS on  | 20.9 mA           | 12.2 mA              |
   | DFS off | 28.5 mA           | 19.9 mA              |
   
   
   Also peripherals tested


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to