Search found 283 matches

by boarchuz
Wed Apr 01, 2020 8:00 pm
Forum: ESP-IDF
Topic: #2083 fix not merged in 4.x? [IDFGH-3018]
Replies: 3
Views: 1191

Re: #2083 fix not merged in 4.x?

A more recent one here to keep your eye on too: https://github.com/espressif/esp-idf/issues/4916
by boarchuz
Sun Mar 29, 2020 3:23 pm
Forum: General Discussion
Topic: ULP, pack two 16-bit measurements in one 32-bit register (r0,r1,r2,r3)
Replies: 2
Views: 979

Re: ULP, pack two 16-bit measurements in one 32-bit register (r0,r1,r2,r3)

R0-R3 are 16 bit registers.

ULP can only access the lower 16 bits of each 32-bit word in RTC slow memory so that's not possible.
by boarchuz
Sun Mar 29, 2020 7:46 am
Forum: ESP32 Arduino
Topic: Dual Core RT on ESP32
Replies: 5
Views: 2114

Re: Dual Core RT on ESP32

1. Let FreeRTOS handle task switching for you, don't try to fight against it. If that seems to make things worse, the problem is almost certainly somewhere else. 2. Your loop() doesn't need to be busy, but it is. It's checking if that semaphore is immediately ready over and over and over without yie...
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: 3706

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: 5
Views: 2114

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

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

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

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...

Go to advanced search