Search found 4 matches

by doliveira
Mon Apr 17, 2023 8:17 pm
Forum: ESP-IDF
Topic: Flash Size
Replies: 1
Views: 584

Flash Size

I am working on a project where we have two versions of our hardware. One uses the WROOM-32E-N4 (4MB Flash), and the other uses the WROOM-32E-N16 (16MB flash). I would like at run time to be able to determine which device is installed. I do not want to produce a different build of the application so...
by doliveira
Fri May 27, 2022 3:43 pm
Forum: ESP-IDF
Topic: Unit Test
Replies: 0
Views: 872

Unit Test

I am trying to add unit test to my application. In one of my component directories, I have added a "test" directory, to which I have added some files with the unity test code and the CMakeLists.txt. When I try to build with: "idf.py -T all build" I get back: "Error: No such option: -T" So obviously ...
by doliveira
Thu May 26, 2022 3:17 pm
Forum: ESP-IDF
Topic: CONFIG_GPIO_CTRL_FUNC_IN_IRAM
Replies: 3
Views: 1523

Re: CONFIG_GPIO_CTRL_FUNC_IN_IRAM

Thank you for the reply. When I run "idf.py --version" I get "ESP-IDF v4.4-dirty". I downloaded the Espressif tools about a month ago. Is there a newer version? When I run "idf.py menuconfig" "Component config -> Driver configurations -> GPIO Configuration" the only option is "Support light sleep......
by doliveira
Mon May 23, 2022 6:08 pm
Forum: ESP-IDF
Topic: CONFIG_GPIO_CTRL_FUNC_IN_IRAM
Replies: 3
Views: 1523

CONFIG_GPIO_CTRL_FUNC_IN_IRAM

I am using the function esp_register_freertos_tick_hook_for_cpu() to register a function that gets called on every system timer tick. The function is getting called, but when I attempt to perform a GPIO with the function gpio_set_level() I get: Guru Meditation Error: Core 1 panic'ed (Cache disabled ...