Search found 85 matches
- Thu May 04, 2023 9:19 pm
- Forum: General Discussion
- Topic: "noreturn attribute ignored" warning with ESP-IDF v5.0.1
- Replies: 3
- Views: 1312
"noreturn attribute ignored" warning with ESP-IDF v5.0.1
Hi there. Compiling with ESP-IDF v5.0.1, downloaded just now (we've just updated from v4.3.2), I'm getting some additional warnings from within the ESP-IDF header files themselves about the noreturn attribute being ignored, see below. Is this (a) just a "fact of life" given where version 5 is at the...
- Sat Feb 25, 2023 8:16 am
- Forum: General Discussion
- Topic: I2C timeout and ESP32 S3 version
- Replies: 4
- Views: 2027
Re: I2C timeout and ESP32 S3 version
Does anyone have any ideas on this? Must be someone else out there using I2C on an S3 and needing to set an I2C timeout value? How do you do that? Or maybe you don't and it "just works"? Any clues appreciated.
- Wed Feb 22, 2023 2:45 pm
- Forum: General Discussion
- Topic: I2C timeout and ESP32 S3 version
- Replies: 4
- Views: 2027
I2C timeout and ESP32 S3 version
Hi there: we've been running I2C stuff very happily on ESP32 for a while now. We've just switched to using ESP32S3 and find that the i2c_set_timeout() function is failing. Checking, it seems that for a "normal" ESP32 chip the maximum I2C timeout value is 0xFFFFF x 80 MHz APB clock cycles (so about 1...
- Tue Nov 08, 2022 12:46 pm
- Forum: General Discussion
- Topic: Thank you!
- Replies: 3
- Views: 1369
Re: Thank you!
Glad to give you something to smile about. The contrast was particularly noticeable in this case: I had not looked at your SPI interface before I wrote my own abstraction to add SPI for our supported MCUs and your SPI interface was [IMHO] just the right way to do it, matched mine pretty much exactly...
- Sat Nov 05, 2022 10:56 am
- Forum: General Discussion
- Topic: Thank you!
- Replies: 3
- Views: 1369
Thank you!
Not an issue at all, I just wanted to say that I've spent the last week adding SPI support to all of the platforms we use (Zephyr, NRF5SDK, STM32F4 and ESP-IDF) and, leaving ESP-IDF to last, it was a JOY to get here. Your APIs and your documentation are Just Right: I often tell people "boring" [a co...
- Tue Oct 05, 2021 8:20 pm
- Forum: ESP-IDF
- Topic: ESP-IDF native good, ESP-IDF Arduino not so good
- Replies: 2
- Views: 2368
Re: ESP-IDF native good, ESP-IDF Arduino not so good
FYI I think the issue, in the end, was stack sizes; running with the version and configuration of ESP-IDF that is the library provided with Arduino seems to require about 25% more stack on each of our tasks. Some of those were detected by the stack canary going off but, of course, that's not fool-pr...
- Mon Oct 04, 2021 8:36 pm
- Forum: ESP32 Arduino
- Topic: Provide sdkconfig with sketch
- Replies: 5
- Views: 4698
Re: Provide sdkconfig with sketch
It appears that adopting @ESP_Sprite's solution is the best way forward, this one can be considered resolved.
- Mon Oct 04, 2021 8:29 pm
- Forum: ESP32 Arduino
- Topic: Tick time when ESP-IDF is built under Arduino
- Replies: 3
- Views: 3453
Re: Tick time when ESP-IDF is built under Arduino
That is _excellent_ information @boarchuz, many thanks; (1), (2) and (3) are pretty much as I thought but (4) is rather a blow I must say. When we are running our tests normally I have a feeling we disable FreeRTOS on the baby core, which I guess is not the case with the sdkconfig used to build the ...
- Mon Oct 04, 2021 1:22 pm
- Forum: ESP32 Arduino
- Topic: Tick time when ESP-IDF is built under Arduino
- Replies: 3
- Views: 3453
Re: Tick time when ESP-IDF is built under Arduino
FYI, the test also passes if I make the priority of the tasks at the end of the queues higher than the task that is sending to the queues (rather then being the same priority); it is not clear to me which this should make any difference, FreeRTOS should round-robin should it not [and of course this ...
- Sat Oct 02, 2021 3:16 pm
- Forum: ESP32 Arduino
- Topic: Tick time when ESP-IDF is built under Arduino
- Replies: 3
- Views: 3453
Tick time when ESP-IDF is built under Arduino
As indicated in this topic , we have a lump of code which works fine under ESP-IDF native but is unstable when built under Arduino ESP32. One of the clear differences between the two is the tick time: 10 ms under ESP-IDF native and 1 ms under Arduino ESP32. I have a test which runs around a loop 100...