Search found 4 matches

by MohamedTrabelsi
Thu Jan 25, 2024 9:17 am
Forum: General Discussion
Topic: Using SPI Flash API
Replies: 1
Views: 887

Using SPI Flash API

I want to read / write flash memory of the esp32c6 on specific addresses to store some configuration data so I used the SPI Flash API functions but I got an error Failed to write to flash and Failed to read from flash and the error code is 258 here is the code #include "nvs_flash.h" #include "esp_fl...
by MohamedTrabelsi
Sat Jan 06, 2024 8:54 am
Forum: General Discussion
Topic: Interrupt Service Routine on esp32
Replies: 1
Views: 4415

Interrupt Service Routine on esp32

Hello guys I'm working on a project that activate wifi interface when a button is pressed so I created a project that print a message when the event is triggered the code works fine but when I integrated the same code in the main project the interruption doesn't work #include <stdio.h> #include "fre...
by MohamedTrabelsi
Mon Nov 06, 2023 10:06 am
Forum: ESP-IDF
Topic: custom memory partition on ESP32-c6
Replies: 2
Views: 1391

Re: custom memory partition on ESP32-c6

Thank you for pointing out the partition size discrepancy.
Regarding the suggestion to create just one NVS partition with multiple namespaces, that makes a lot of sense.
Thanks again for your assistance.
by MohamedTrabelsi
Fri Nov 03, 2023 4:31 pm
Forum: ESP-IDF
Topic: custom memory partition on ESP32-c6
Replies: 2
Views: 1391

custom memory partition on ESP32-c6

Hello guys, I'm working on a project that needs to store configuration data on the flash memory so I generated this csv file then I tried to initialize the desired partition using a this function #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "nvs_flash.h" void...