Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Tiago Medicci Serrano
Hi Felipe, Please check the occurrences of `CONFIG_PM_ENABLE` on ESP-IDF's Wi-Fi driver of ESP32-C6. Its counterpart in NuttX would be `CONFIG_PM`

Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Tiago Medicci Serrano
Hi Felipe, I don't think they are separate features, please check this documentation: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c6/api-reference/system/sleep_modes.html If I understood correctly, you still need PM for using light sleep with RF. Best regards, Em qua., 13 de nov.

Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Felipe Moura Oliveira
Hi Tiago, I realize I didn’t express myself clearly before. What I meant to say is that I believe it’s possible to put the MCU to sleep without modifying the WiFi power manager settings. Looking at this post: https://github.com /espressif/esp-idf/issues/11550, you’ll notice that putting the MCU to

Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Tiago Medicci Serrano
Hi Felipe, thanks for making it clearer. I don't see any reason why Wi-Fi would interfere with the interruption detection (that issue I solved earlier regarding the interrupt allocator isn't related here). You can check if the interruption is triggered by checking it on GDB. Did you check that? A

Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Alan C. Assis
Hi Tiago, I think the issue could be related to the GPIO RTC: the GPIO pins have different interruption configurations in normal mode and low power mode (called GPIO RTC mode). Maybe it could be the root cause of the issue, but not idea why WiFi is interfering on it (since it works when WiFi is n

Re: What is the right way to add PM to esp32c6

2024-11-13 Thread Felipe Moura Oliveira
Hi Tiago, I believe the issue isn’t related to the CONFIG_PM macro. From what I understand, it’s possible to independently put both the MCU and the WiFi transceiver into low-power mode. For now, I’d like to focus on putting only the MCU to sleep by calling the esp_light_sleep_start() function, si

Porting NuttX to Pine64's new Oz64 SG2000 RISC-V SBC

2024-11-13 Thread Lee, Lup Yuen
Today we have a barebones port of NuttX to Sophgo SG2000 RISC-V SoC. But many drivers are missing: GPIO, WiFi, Ethernet, MIPI CSI / DSI, ... https://lupyuen.github.io/articles/sg2000 Pine64 has offered to sponsor some Oz64 SG2000 SBCs for porting these drivers: https://pine64.org/documentation/Oz6

rcS startup-script

2024-11-13 Thread Simon Filgis
Dear all, I have a board with rcS startup-script and etc/init.d automount. After updating nuttx it does not work any more. https://github.com/apache/nuttx/pull/11498 https://github.com/apache/nuttx/pull/11572 Following the guidance in the PR I was able to have my rsS script again automated. And