Re: [VOTE] Apache NuttX 12.7.0 RC1 release

2024-10-25 Thread Lee, Lup Yuen
+1 for Milk-V Duo S, Ox64, Star64, PinePhone = Milk-V Duo S Compiler + riscv-none-elf-gcc -v Using built-in specs. COLLECT_GCC=riscv-none-elf-gcc COLLECT_LTO_WRAPPER=/Users/luppy/xpack-riscv-none-elf-gcc-13.2.0-2/bin/../libexec/gcc/riscv-none-elf/13.2.0/lto-wrapper Target: riscv-none-elf Confi

[VOTE] Apache NuttX 12.7.0 RC1 release

2024-10-25 Thread Alin Jerpelea
Hello all, Apache NuttX 12.7.0 RC1 has been staged under [1] and it's time to vote on accepting it for release. Voting will be open for 72hr. A minimum of 3 binding +1 votes and more binding +1 than binding -1 are required to pass. The Apache requirements for approving a release can be found here

Re: Power safe file systems for NuttX

2024-10-25 Thread Xiang Xiao
have you enable CONFIG_GPT_PARTITION or CONFIG_MBR_PARTITION and call parse_block_partition: https://github.com/apache/nuttx/blob/master/include/nuttx/fs/partition.h#L81 to register partitions as block devices again, so you can mount the different file systems on these new block devices. Thanks Xi

Re: Power safe file systems for NuttX

2024-10-25 Thread Matteo Golin
I got my hands on a SPI SD card adapter and managed to try out SD/MMC support for it through NuttX on my Pico. FAT file systems worked with no problem, and after a little configuring I managed to get littlefs going as well. Now I'm wondering if NuttX has support for multiple partitions on the sa

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

2024-10-25 Thread Tiago Medicci Serrano
Hi Felipe, The RTC GPIO is a feature of the GPIO/RTC driver, so a substitute for this function should be part of `nuttx/arch/risc-v/src/common/espressif/esp_rtc_gpio.c`. That being said, you can either implement it (and define it as a macro, on HAL) or you can either ignore these functions related

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

2024-10-25 Thread Felipe Moura Oliveira
Hello Tiago, Thank you for your assistance earlier. I would like to discuss further the necessity of the esp_driver_gpio/include/rtc_io.h file, which is only available in the IDF. In sleep_modes.c, there is the following code snippet: esp_err_t esp_sleep_enable_ext1_wakeup_io(uint64_t io_mask, e

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

2024-10-25 Thread Tiago Medicci Serrano
Hi Felipe, `esp_private/pm_impl.h` is from the component `esp_pm` of ESP-IDF, which is a driver directly. Same for `esp_driver_gpio/include/rtc_io.h` (here, a detail: I wasn't able to find this path on IDF, so make sure you are checking under the `release/v5.1` branch, which the HAL was based). Th

Question About CONFIG_ESP32C3_AUTO_SLEEP and NuttX Power Manager Implementations

2024-10-25 Thread Felipe Moura Oliveira
Hello everyone, I hope this message finds you well. During my studies on the Power Manager, while reviewing the esp32c3_idle.c code, I noticed the use of a configuration option: CONFIG_ESP32C3_AUTO_SLEEP. >From my understanding, when this configuration is enabled, it prevents the native NuttX pow