I can't recall, sorry.
What does the static allocation for the various libraries look like on the 2 SOCs?
Is there an obvious extra library or jump in library size?
Search found 107 matches
- Sun Mar 17, 2024 11:09 pm
- Forum: ESP-IDF
- Topic: Reducing RAM usage
- Replies: 6
- Views: 5048
- Sat Aug 05, 2023 2:55 am
- Forum: ESP-IDF
- Topic: Why doesn't uart_read_bytes() return immediately when data is available?
- Replies: 3
- Views: 1477
Re: Why doesn't uart_read_bytes() return immediately when data is available?
Thanks for the confirm.
I had already switched to using the Events and that is working fine. But the API and doco makes it's use non obvious. I would have saved a lot of time. with just a bit of clarity in the doco.
I had already switched to using the Events and that is working fine. But the API and doco makes it's use non obvious. I would have saved a lot of time. with just a bit of clarity in the doco.
- Fri Aug 04, 2023 2:39 am
- Forum: ESP-IDF
- Topic: Why doesn't uart_read_bytes() return immediately when data is available?
- Replies: 3
- Views: 1477
Re: Why doesn't uart_read_bytes() return immediately when data is available?
Am I correct in thinking that the length param specifies the number of bytes that MUST be read before the function returns (if it doesn't time out)?
I had been reading it as the length of the buffer that could be filled.
I had been reading it as the length of the buffer that could be filled.
- Fri Aug 04, 2023 2:19 am
- Forum: ESP-IDF
- Topic: Why doesn't uart_read_bytes() return immediately when data is available?
- Replies: 3
- Views: 1477
Why doesn't uart_read_bytes() return immediately when data is available?
The docs for uart_read_bytes() imply that if data is available it will return immediately, otherwise it will wait for ticks_to_wait. But this is not the behaviour I am seeing on ESPIDF v4.4. Instead it always waits for (at least) ticks_to_wait before returning. And if more data is added to the buffe...
CRC funcs
\rom\crc.h lists a number of CRC funcs and provides the polys used for them. What are the other CRC initialisation values used for each of the funcs? Ie width init refin refout xorout It would make it useful when trying to match CRCs calculated on other systems. Also it mentions that "we had added a...
- Fri Jul 21, 2023 5:39 am
- Forum: ESP-IDF
- Topic: xQueueReceive is timing out early
- Replies: 2
- Views: 1018
Re: xQueueReceive is timing out early
OK, looks like this is being caused by CONFIG_FREERTOS_HZ defaulting to 100 (Hz) which means that a request to wait for 497ms will be rounded down to 49 ticks (490ms) and we will wake up 7ms too early.
Changing CONFIG_FREERTOS_HZ to 1000 fixed the issue.
Changing CONFIG_FREERTOS_HZ to 1000 fixed the issue.
- Fri Jul 21, 2023 5:07 am
- Forum: ESP-IDF
- Topic: xQueueReceive is timing out early
- Replies: 2
- Views: 1018
xQueueReceive is timing out early
I have a task that is either grabbing events from a queue or timing out after 500ms. But I am finding that when `xQueueReceive` times out is it sometimes timing out before the 500ms have expired. I can add code to work around that, but I would like to know why that is occurring as according to the d...
- Fri Mar 24, 2023 1:04 pm
- Forum: ESP-IDF
- Topic: How to flash everything except the SPIFFs partition
- Replies: 3
- Views: 1790
Re: How to flash everything except the SPIFFs partition
Huh thanks.
I was sure that when I tried that previously it still wrote the SPIFFs partition.
I was sure that when I tried that previously it still wrote the SPIFFs partition.
- Fri Mar 24, 2023 7:03 am
- Forum: ESP-IDF
- Topic: How to flash everything except the SPIFFs partition
- Replies: 3
- Views: 1790
Re: How to flash everything except the SPIFFs partition
Anyone?
Or is this the wrong part of the forum for this question?
Or is this the wrong part of the forum for this question?
- Thu Mar 23, 2023 7:49 am
- Forum: ESP-IDF
- Topic: How to flash everything except the SPIFFs partition
- Replies: 3
- Views: 1790
How to flash everything except the SPIFFs partition
I'm using CMake with ESPIDF 4.4.4 I have a large SPIFFs partition (4MB) which take a long time to flash each time I make a change to the app. But the SPIFFS partition itself hardly ever changes. Is there a simple way to flash the app binary, partition table (which includes an entry for the SPIFFS pa...