Search found 27 matches

by Basalt
Fri Aug 30, 2024 6:32 pm
Forum: ESP32 Arduino
Topic: ESP32-S3 tasks not working
Replies: 15
Views: 2353

Re: ESP32-S3 tasks not working

There is nothing wrong with library. You probably need to read logs more carefully. FreeRTOS: FreeRTOS Task "flash_task" should not return, Aborting now! You have and did show the log already, it said that flashTask() returned instead of looping forever. And that does correspond to the code you pos...
by Basalt
Fri Aug 30, 2024 11:15 am
Forum: ESP32 Arduino
Topic: ESP32-S3 tasks not working
Replies: 15
Views: 2353

Re: ESP32-S3 tasks not working

Basalt wrote:
Fri Aug 30, 2024 10:13 am
Now you are using vTaskDelay() instead of delay()
I'm doing the same in my code (not sure why anymore ;-))
Probably I did it because of consistency in this environment ("more rtos") but obviously it's exactly the same.
by Basalt
Fri Aug 30, 2024 10:13 am
Forum: ESP32 Arduino
Topic: ESP32-S3 tasks not working
Replies: 15
Views: 2353

Re: ESP32-S3 tasks not working

Now you are using vTaskDelay() instead of delay()
I'm doing the same in my code (not sure why anymore ;-))
by Basalt
Fri Aug 30, 2024 9:48 am
Forum: ESP32 Arduino
Topic: ESP32-S3 tasks not working
Replies: 15
Views: 2353

Re: ESP32-S3 tasks not working

Don't know if it makes any difference, but I would expect the Serial.start() be part of the setup(), like this: void setup() { Serial.begin(115200); delay(100); Serial.println("Hello World"); xTaskCreate(printTask, "print_task", 5000, NULL, 1, NULL); xTaskCreate(flashTask, "flash_task", 5000, NULL, ...
by Basalt
Tue Jun 11, 2024 8:26 pm
Forum: ESP32 Arduino
Topic: Arduino support for ESP32C6
Replies: 10
Views: 2500

Re: Arduino support for ESP32C6

...or can I also skip using PlatformIO, and run ESP-IDF v5.x with Arduino on native VSC ?
Is that possible indeed? What PlatformIO benefits I would loose?
by Basalt
Tue Jun 11, 2024 8:22 pm
Forum: ESP32 Arduino
Topic: Arduino support for ESP32C6
Replies: 10
Views: 2500

Re: Arduino support for ESP32C6

I read this looong thread https://github.com/platformio/platform-espressif32/issues/1225 about the support of Arduino ESP32 v3.0 based on ESP-IDF v5.x and it seems quite doubtful to me if PlatformIO will be supported on the new framework. Indeed I could use Tasmota, but I feel that fore me this woul...
by Basalt
Mon Jun 10, 2024 8:01 pm
Forum: ESP32 Arduino
Topic: Arduino support for ESP32C6
Replies: 10
Views: 2500

Re: Arduino support for ESP32C6

Actually, I was not planning (or aware of) upgrading from 2.0.16 to 3.0.1 :shock: Does that mean that Tasmota is ahead of plain vanilla Arduino, or is it me somehow being behind with my installed (2.0.16) version? AFAIK everything is up-to-date, but I may have overlooked something. Before switching ...
by Basalt
Sun Jun 09, 2024 9:43 pm
Forum: ESP32 Arduino
Topic: Arduino support for ESP32C6
Replies: 10
Views: 2500

Re: Arduino support for ESP32C6

I adjusted platformio.ini as suggested. It takes some time until the Tasmota stuff was downloaded and installed. Then I gave the "Build" command in Platformio. The build fails however, see log below. * Executing task: C:\Users\Erik\.platformio\penv\Scripts\platformio.exe run --environment env_analog...
by Basalt
Sat Jun 08, 2024 8:45 pm
Forum: ESP32 Arduino
Topic: Arduino support for ESP32C6
Replies: 10
Views: 2500

Re: Arduino support for ESP32C6

To be honest I don't know much about this whole CI setup in Platformio, and also have no clue what to do with that Tasmota stuff I downloaded. I gave it a brave try, but no success si far. Some more directions would be appreciated very much.
by Basalt
Sat Jun 08, 2024 9:16 am
Forum: ESP32 Arduino
Topic: Arduino support for ESP32C6
Replies: 10
Views: 2500

Arduino support for ESP32C6

I used to work with the ESP32C3, but now I have these tiny " Seeed Studio XIAO ESP32C6 " boards and want to program in them as well with Platfomio using the Arduino framework. There is no board config availabe, so I copied "esp32-c6-devkitc-1.json", modified some fields, and saved it as "seeed_xiao_...