Search found 9 matches

by grunnels@gmail.com
Sat Jun 25, 2022 11:14 am
Forum: ESP-IDF
Topic: Timer Stack Size
Replies: 7
Views: 3446

Re: Timer Stack Size

Yes, that looks like the ticket! Thanks.
by grunnels@gmail.com
Sat Jun 25, 2022 1:26 am
Forum: ESP-IDF
Topic: Timer Stack Size
Replies: 7
Views: 3446

Re: Timer Stack Size

I have a timer using xTimerCreate and xTimerStart. It fires every hour (probably once a day eventually). One of the things it does is check for a code update using the esp32fota library. That's what makes it crash. Error is: Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception). Debug e...
by grunnels@gmail.com
Fri Jun 24, 2022 7:57 pm
Forum: ESP-IDF
Topic: Timer Stack Size
Replies: 7
Views: 3446

Re: Timer Stack Size

Looks like I cannot run menuconfig because I'm using PlatformIO with the Arduino framework. Looks like a port to espidf framework would be a lot of work. Complicating it is the fact that I can't find compatible libraries to replace the ones I'm using. Is there a way to run menuconfig (or equivalent)...
by grunnels@gmail.com
Fri Jun 24, 2022 6:58 pm
Forum: ESP-IDF
Topic: Timer Stack Size
Replies: 7
Views: 3446

Re: Timer Stack Size

Thanks for the reply! So, silly question, how/where do I run menuconfig? Does it run on my development computer and update config files there?
by grunnels@gmail.com
Thu Jun 23, 2022 6:45 pm
Forum: General Discussion
Topic: Step by step integration of esp32-s3 with alexa echo dot
Replies: 4
Views: 2955

Re: Step by step integration of esp32-s3 with alexa echo dot

There is a good bit of info here:
https://developer.amazon.com/alexa/console/ask

It doesn't apply to ESP-32 specifically, but you can interface with the service through API calls.
by grunnels@gmail.com
Thu Jun 23, 2022 6:12 pm
Forum: ESP-IDF
Topic: Timer Stack Size
Replies: 7
Views: 3446

Timer Stack Size

How do I set the Timer (not task) stack size? And do all of the timers within a given application have the same stack size? I tried setting up a FreeRTOSconfig.h file in the app directory (same directory as the "src" folder). That didn't seem to do anything. I'm using Visual Studio with PlatformIO.
by grunnels@gmail.com
Wed Mar 23, 2022 12:52 am
Forum: ESP32 Arduino
Topic: ESP32 with I2C OLED dropping commands
Replies: 1
Views: 1055

Re: ESP32 with I2C OLED dropping commands

I noticed that if I slow the I2C bus to 100kHz, everything works fine. Is there something about I2C that is tied to a core and has to have time to shift over to a different core? Not sure why this would be an issue when using both cores, but not an issue when using only one core.
by grunnels@gmail.com
Mon Mar 21, 2022 1:21 pm
Forum: ESP32 Arduino
Topic: Software timer assigned core
Replies: 0
Views: 796

Software timer assigned core

Hello. In the attached code, the timer routine always executes on Core 0. Is that a guarantee? Will it always run on Core 0, or is it just because Core 0 doesn't have anything else running at this time? Also, how would I pin this routine to Core 1? #define PHOTO_PIN 4 int lightLevel = 0; static cons...
by grunnels@gmail.com
Thu Mar 17, 2022 9:15 pm
Forum: ESP32 Arduino
Topic: ESP32 with I2C OLED dropping commands
Replies: 1
Views: 1055

ESP32 with I2C OLED dropping commands

Hello. I have an ESP-WROOM-32 dev kit with an I2C OLED and one button connected to it. I'm trying to control the display from Core 1. I have a software timer setup to turn the display off after a few seconds. It works once, then it will not turn the display off again after the first time. If I put s...