Search found 237 matches

by boarchuz
Wed Mar 25, 2020 4:19 pm
Forum: Hardware
Topic: I2C pull-ups for ESP32 devkit + DS3231 module
Replies: 2
Views: 537

Re: I2C pull-ups for ESP32 devkit + DS3231 module

Internals are not 10k, they're about 50k.
That still leaves you with <5k, which will be fine. If you have any issues you can always lower the I2C speed.
by boarchuz
Wed Mar 25, 2020 3:52 pm
Forum: IDEs for ESP-IDF
Topic: No squiggly lines for build errors Vs Code
Replies: 4
Views: 3048

Re: No squiggly lines for build errors Vs Code

Oh right, I'm not sure why it says that either. Your config is compatible with the newer 'Default' engine so I'd be using that unless I had a really good reason not to. Ignore what I said about the unix paths (I was just covering all bases but it shouldn't be a problem). Did the last link fix the 'P...
by boarchuz
Wed Mar 25, 2020 1:36 am
Forum: IDEs for ESP-IDF
Topic: No squiggly lines for build errors Vs Code
Replies: 4
Views: 3048

Re: No squiggly lines for build errors Vs Code

Any reason why you're using Tag Parser? Try removing the unix lines in your cpp_properties (the first line in each array). Try Rescan Workspace. Try closing and reopening Code. Try rebuilding Intellisense db. Follow this, try tasks.json fix mentioned or experimental feature at the very end of discus...
by boarchuz
Wed Mar 18, 2020 4:12 am
Forum: IDEs for ESP-IDF
Topic: How to specify include directories
Replies: 1
Views: 3495

Re: How to specify include directories

Resolving Intellisense squiggles won't do anything to configure the compiler. Are you familiar with the build system? (Switch to an earlier version of the doc if you're not on IDF v4) https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html If you're still having issues, sh...
by boarchuz
Wed Mar 18, 2020 4:07 am
Forum: General Discussion
Topic: FreeRtos Task Notifications and queues.
Replies: 2
Views: 1093

Re: FreeRtos Task Notifications and queues.

This is usually because the queue isn't created yet - xQueueCreate().

You might need to share your code if that's not it.
by boarchuz
Fri Mar 13, 2020 12:06 am
Forum: Hardware
Topic: RTC Watchdog Timer
Replies: 3
Views: 2152

Re: RTC Watchdog Timer

If I understand correctly, this is all you're after:

Code: Select all

#include "esp_system.h"

esp_restart();
by boarchuz
Tue Mar 10, 2020 5:30 pm
Forum: ESP32 IDF
Topic: triggering WDT in OTA
Replies: 8
Views: 1401

Re: triggering WDT in OTA

Nope, I actually haven't touched OTA for a long time and I'm still not sure if it's a bug or if we're missing something simple. Out of curiosity, could you try (configMAX_PRIORITIES – 1 )? I've just had a quick look and it seems the image_size parameter isn't really checked in any significant way, s...
by boarchuz
Tue Mar 10, 2020 4:33 pm
Forum: ESP32 IDF
Topic: triggering WDT in OTA
Replies: 8
Views: 1401

Re: triggering WDT in OTA

For the sake of debugging, try increasing it a lot more (eg. to max). Manually erasing might be tricky- I don't think there's a way to instruct the OTA component to skip the erase so it will likely do it again anyway. I might be wrong. Here I broke the erase into chunks with a yield in between to ke...
by boarchuz
Tue Mar 10, 2020 4:03 pm
Forum: ESP32 IDF
Topic: triggering WDT in OTA
Replies: 8
Views: 1401

Re: triggering WDT in OTA

It will be the partition erase. It can take a long time.

Try increasing the priority of the task calling esp_ota_begin.

Go to advanced search