eren-terzioglu opened a new pull request, #18854: URL: https://github.com/apache/nuttx/pull/18854
## 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/xtensa: Update common layer version for esp32[-|-s2|-s3] Update common layer version to sync for Xtensa based Espressif devices * Docs/platforms/esp32c3: Add BLE sleep Add BLE sleep docs for esp32[-c3] * arch/risc-v/espressif: Add BLE sleep Add BLE sleep for esp32[-c3] ## Impact <!-- Please fill the following sections with YES/NO and provide a brief explanation --> Impact on user: Yes, C3 ble mode can be use with power efficency <!-- 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: Related docs added <!-- 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 --> `esp32c3-devkit:ble` config used with these options: ``` CONFIG_ESPRESSIF_AUTO_SLEEP=y CONFIG_PM_UART_WAKEUP=y ``` ### Building <!-- Provide how to build the test for each SoC being tested --> Command to build: ``` make distclean && ./tools/configure.sh esp32c3-devkit:ble && kconfig-tweak -e CONFIG_ESPRESSIF_AUTO_SLEEP && kconfig-tweak -e CONFIG_PM_UART_WAKEUP && make olddefconfig && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0 ``` ### Running <!-- Provide how to run the test for each SoC being tested --> Commands to test ble peripheral. Also power consumption tested with power meter: ``` ifup bnep0 bt bnep0 scan start bt bnep0 scan stop bt bnep0 scan get ``` ### Results <!-- Provide tests' results and runtime logs --> Output: ``` nsh> ifup bnep0 ifup bnep0...OK nsh> bt bnep0 scan start nsh> bt bnep0 scan stop nsh> bt bnep0 scan get Scan result: ... nsh> ``` Power consumptions: | | No Power Save | Power Save | |------|---------------|------------| | IDLE | 45-55 mA | 10 - 30 mA | | TX | 85 mA | 45 - 85 mA | -- 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]
