Search found 200 matches

by boarchuz
Thu Mar 26, 2020 6:34 am
Forum: IDEs for ESP-IDF
Topic: No squiggly lines for build errors Vs Code
Replies: 4
Views: 157

Re: No squiggly lines for build errors Vs Code

Alright I've had a look at the Problems thing. The Problems tab and IDF extension build command don't work together at the moment. It looks like we'll have to wait for that: https://github.com/espressif/vscode-esp-idf-extension/issues/25 In the meantime, you can use "Tasks - Run task" -> "Build - Bu...
by boarchuz
Thu Mar 26, 2020 6:24 am
Forum: ESP32 Arduino
Topic: Dual Core RT on ESP32
Replies: 2
Views: 145

Re: Dual Core RT on ESP32

1. Your infinite loops are not making good use of FreeRTOS functionality: while(1) { if (xSemaphoreTake(task0Semaphore, 0) == pdTRUE) { //... } } That's a very busy loop when it doesn't need to be. How about portMAX_DELAY instead of 0? 2. Your loop() is very busy when it doesn't really need to be. G...
by boarchuz
Wed Mar 25, 2020 4:19 pm
Forum: Hardware
Topic: I2C pull-ups for ESP32 devkit + DS3231 module
Replies: 2
Views: 132

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: 157

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: 157

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: 410

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: 438

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: 560

Re: RTC Watchdog Timer

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

Code: Select all

#include "esp_system.h"

esp_restart();

Go to advanced search