Search found 85 matches

by RobMeades
Sat Oct 02, 2021 3:07 pm
Forum: ESP32 Arduino
Topic: Provide sdkconfig with sketch
Replies: 5
Views: 4698

Re: Provide sdkconfig with sketch

Oh no, another wrapper to get us closer to what we had before with Make and CMake :-)! That's an interesting suggestion but unfortunately the reason we're adding support for Arduino is because we have one or more customers that use the Arduino IDE, and I guess wouldn't want to switch to using Platfo...
by RobMeades
Sat Oct 02, 2021 9:01 am
Forum: ESP32 Arduino
Topic: Provide sdkconfig with sketch
Replies: 5
Views: 4698

Re: Provide sdkconfig with sketch

Understood, that's what I was going to do, just seems a bit of a shame to have to do it that way. I was wondering if I could put a copy of sdkconfig.h somewhere inside the application directory which would be picked in preference to the default.
by RobMeades
Fri Oct 01, 2021 2:12 pm
Forum: ESP32 Arduino
Topic: Provide sdkconfig with sketch
Replies: 5
Views: 4698

Provide sdkconfig with sketch

I have a sketch which requires more main task stack, i.e. I want to override CONFIG_ESP_MAIN_TASK_STACK_SIZE to be 8192 rather than 4096. I want to do that for this specific sketch, I do not want to change the global value in the main sdkconfig file. Is there a way to either (a) provide a specific s...
by RobMeades
Thu Sep 30, 2021 1:12 pm
Forum: ESP-IDF
Topic: ESP-IDF native good, ESP-IDF Arduino not so good
Replies: 2
Views: 2365

ESP-IDF native good, ESP-IDF Arduino not so good

Apologies in advance for the vague nature of this question but I'm a bit stuck and any advice is appreciated. We have a large lump of code which runs on ESP-IDF, always head revision, very happily indeed, on ESP32 chips, passing a large and complex test suite consistently. It uses nothing particular...
by RobMeades
Wed Sep 15, 2021 5:25 pm
Forum: ESP32 Arduino
Topic: RESOLVED: ESP-IDF version and sdkconfig
Replies: 3
Views: 2599

Re: ESP-IDF version and sdkconfig

Aha, I see that returns IDF_VER and IDF_VER is in fact passed to the compiler:

-DIDF_VER=\"v4.4-dev-2313-gc69f0ec32\

...and https://github.com/espressif/esp-idf/commit/c69f0ec32 is a valid commit. Sorted!
by RobMeades
Wed Sep 15, 2021 3:55 pm
Forum: ESP32 Arduino
Topic: RESOLVED: ESP-IDF version and sdkconfig
Replies: 3
Views: 2599

Re: ESP-IDF version and sdkconfig

Oh, OK, thanks. I was hoping to get a Github link or some such out of the Arduino IDE since I don't actually have any Arduino code, just C code (I'm trying to supply a bunch of C code as a library that can be used by Arduino users) but I guess I could write some!
by RobMeades
Wed Sep 15, 2021 1:24 pm
Forum: ESP32 Arduino
Topic: RESOLVED: ESP-IDF version and sdkconfig
Replies: 3
Views: 2599

RESOLVED: ESP-IDF version and sdkconfig

I'm sure this question has been asked and answered here but the search box is currently returning server error 500 for me so I'm asking again... Since ESP-IDF is pre-built as a library for Arduino I need to know the version of ESP-IDF source code it was built against and the contents of the SDKCONFI...
by RobMeades
Sun Jul 04, 2021 3:44 pm
Forum: General Discussion
Topic: [CLOSED] ESP32 abort in locks() after updating from release 4.1 to release 4.3 (or master)
Replies: 2
Views: 2007

Re: ESP32 abort in locks() after updating from release 4.1 to release 4.3 (or master)

Hah! Found it, ignore me: our pointer gEdmStream.atHandle looks very sensible at that point, however it had been free'd a few lines earlier! All our fault, nothing for you to be concerned with, and fortunately only in the test code. Will now move happily to master :-).
by RobMeades
Sun Jul 04, 2021 3:26 pm
Forum: General Discussion
Topic: [CLOSED] ESP32 abort in locks() after updating from release 4.1 to release 4.3 (or master)
Replies: 2
Views: 2007

Re: ESP32 abort in locks() after updating from release 4.1 to release 4.3 (or master)

Inserting a trail of printf() s shows that the assert is happening at about the time we actually do lock a mutex but we are not doing so in an interrupt; as I said we don't use interrupts for anything. Also, we only create mutexes with xSemaphoreCreateMutex() which should create a mutex with type qu...
by RobMeades
Sun Jul 04, 2021 2:09 pm
Forum: General Discussion
Topic: [CLOSED] ESP32 abort in locks() after updating from release 4.1 to release 4.3 (or master)
Replies: 2
Views: 2007

[CLOSED] ESP32 abort in locks() after updating from release 4.1 to release 4.3 (or master)

We've recently moved our code forward from release 4.1 to release 4.3, and then to master , and on both release 4.3 and master we are getting a consistent abort() in one of our regression tests as a result of the check on line 138 of newlib locks.c where a recursive mutex is being called inside an i...