Search found 10 matches

by brianpdx
Wed Jul 10, 2024 4:58 am
Forum: ESP-IDF
Topic: ESP-IDF 5.2.1 crash in wifi_log()
Replies: 0
Views: 617

ESP-IDF 5.2.1 crash in wifi_log()

Occasionally when I pause the system for long periods of time while debugging I'll get a spurious panic abort. The function that crashes is (*s_log_print_func)() in esp_log_writev() in log.c and the calling code seems to be the function wifi_log() in the library libnet80211.a. The tag is "wifi" and ...
by brianpdx
Wed Jul 10, 2024 2:36 am
Forum: IDEs for ESP-IDF
Topic: ESP-IDF 1.8.0 Debugging won't start
Replies: 3
Views: 3489

ESP-IDF 1.8.0 Debugging won't start

Hello, I'm using VSCode 1.91.0 with ESP-IDF 1.8.0 on MacOS Sonoma 14.5. I've created a new project using blink template and I'm targeting a WROVER-KIT development board. I'm using all the default settings that ESP-IDF created in settings.json and launch.json and the default debugging target is "Ecli...
by brianpdx
Sun Dec 11, 2022 9:56 pm
Forum: ESP-IDF
Topic: CMakeLists.txt - How to add component by absolute path in PRIV_REQUIRES?
Replies: 0
Views: 1557

CMakeLists.txt - How to add component by absolute path in PRIV_REQUIRES?

I have a project with a structure like: - my_project/ - CMakeLists.txt - components/ - foo/ - CMakeLists.txt - foo.c I want the foo subcomponent to require (via PRIV_REQUIRES) a component via absolute path, i.e. I don't want to add the path to foo's required component at the project level via EXTRA_...
by brianpdx
Wed Nov 30, 2022 2:00 am
Forum: ESP-IDF
Topic: Please define "ROM code" ...
Replies: 3
Views: 1683

Re: Please define "ROM code" ...

Ok, thank you. From the page you linked:
ROM functions as not treated as public APIs
So does this mean I can call public API functions (e.g. esp_*) from a FreeRTOS task with a stack that is in external memory?
by brianpdx
Sat Nov 26, 2022 4:37 am
Forum: ESP-IDF
Topic: Please define "ROM code" ...
Replies: 3
Views: 1683

Please define "ROM code" ...

The ESP-IDF docs for CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY state:
If you have a task that needs a large amount of stack and does not call on ROM code in any way (no direct calls, but also no Bluetooth/WiFi) ...
What does it mean that the task can "not call on ROM code in any way?"
by brianpdx
Tue Jul 05, 2022 4:09 am
Forum: ESP-IDF
Topic: Does gpio_set_level() before gpio_set_direction() work?
Replies: 3
Views: 3538

Re: Does gpio_set_level() before gpio_set_direction() work?

Thank you for your reply. I had a look through the source code and it's still not clear to me whether gpio_set_level() is guaranteed to set the output state prior to gpio_set_direction(). Mainly this could be due to my unfamiliarity with the ESP-IDF source code, but it looks like the actual configur...
by brianpdx
Mon Jul 04, 2022 7:40 pm
Forum: ESP-IDF
Topic: Does gpio_set_level() before gpio_set_direction() work?
Replies: 3
Views: 3538

Does gpio_set_level() before gpio_set_direction() work?

I'd like to ensure that when I configure a GPIO as an output it has a known initial state. Will gpio_set_level() configure a GPIO properly before it has been set as an output, for example: gpio_num_t gpio = /* some valid GPIO pin # */; gpio_set_level(gpio, 0); gpio_set_direction(gpio, GPIO_MODE_OUTP...
by brianpdx
Sat Jun 18, 2022 2:41 am
Forum: Hardware
Topic: Please share ESP32-WROVER-KIT 4.1 BOM
Replies: 3
Views: 2051

Re: Please share ESP32-WROVER-KIT 4.1 BOM

Thank you for your reply. For me it's not about picking the exact same components. I created a design based on the published WROVER-KIT-4.1 schematic and got something wrong. I had hoped to see what choices the board designer made by looking at the datasheets of the parts you chose and try to compar...
by brianpdx
Wed Jun 08, 2022 12:32 am
Forum: Hardware
Topic: Please share ESP32-WROVER-KIT 4.1 BOM
Replies: 3
Views: 2051

Please share ESP32-WROVER-KIT 4.1 BOM

This has been asked before with no reply, but would Espressif please share the BOM for the ESP32-WROVER-KIT 4.1?

It would be very helpful to see what hardware you choose for the reference implementation.

Thank you!

https://www.esp32.com/viewtopic.php?f=12&t=9135
by brianpdx
Fri Jan 29, 2021 6:26 am
Forum: ESP-IDF
Topic: ESP32-PICO-KIT SPIFFS problems?
Replies: 1
Views: 2000

ESP32-PICO-KIT SPIFFS problems?

Hello, I've created a 192KB SPIFFS partition on an ESP32-PICO-KIT. After formatting, esp_spiffs_info() says the filesystem size is 173,441 bytes. I then create 74 roughly 2KB files and the filesystem shows the used space as 154,365 bytes, or 89% full. At this point attempting to create more files fa...