Search found 2240 matches
- Wed Mar 27, 2024 3:51 am
- Forum: ESP-IDF
- Topic: Modify a CMakeLists.txt that is managed automatically
- Replies: 1
- Views: 608
Re: Modify a CMakeLists.txt that is managed automatically
Hi, did you read description of this library? ATTENTION! Only basic functionality is currently implemented. Has been tested only on ESP32 using a 2.7" e-ink display (GDEW027W3-T). This will work only as a compoment in the ESP-IDF framework. If you are looking for an arduino-esp32 version check the o...
- Mon Mar 25, 2024 8:35 pm
- Forum: General Discussion
- Topic: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
- Replies: 12
- Views: 1915
Re: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
To Sonar it does matter, as it tells us "Either add a parameter list or the "&" operator to this use of "HELLO_TASK"." If you have a better idea, please share. Only when he pass function with wrong signature: It is still not clear to me how can I avoid this warning. I have tried to declare my task ...
- Mon Mar 25, 2024 8:33 pm
- Forum: General Discussion
- Topic: Instability with 120MHz Flash/SPIRAM on ESP32S3-WROOM-2 N32R8V
- Replies: 4
- Views: 1775
Re: Instability with 120MHz Flash/SPIRAM on ESP32S3-WROOM-2 N32R8V
This may be not the answer to your question, but you seem to be in better position than me. On esp-idf master, maybe other versions too, esp32s3 v0.1 there is not a chance to run app with flash set to OPI 120MHz (F8R8 mode). In F4R8 mode, flash 40MHz and PSRAM 120MHz my psram is not detected properl...
- Mon Mar 25, 2024 7:13 pm
- Forum: ESP-IDF
- Topic: Wifi: Changing Hostname
- Replies: 3
- Views: 464
Re: Wifi: Changing Hostname
To be honest i dont know what is the correct order, because i am using half-automated library for this, but i have some weird observation. It is working on some routers and on the other routers it shows old "espressif" hostname. Im guessing that the 2nd case, when it shows "espressif" hostname is no...
- Mon Mar 25, 2024 6:52 pm
- Forum: General Discussion
- Topic: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
- Replies: 12
- Views: 1915
Re: Make the type of this parameter a pointer-to-const warning when declaring a FreeRTOS task
Those 2 are not the same declarations/definitions and one is not what xTaskCreate expects void HELLO_TASK(void *param); // GOOD vs void HELLO_TASK(const void *param); // WRONG and here is error example error: invalid conversion from 'void (*)(const void*)' to 'TaskFunction_t' {aka 'void (*)(void*)'}...
- Mon Mar 25, 2024 6:31 pm
- Forum: ESP-IDF
- Topic: Calculating the checksum of a UDP packet
- Replies: 3
- Views: 392
Re: Calculating the checksum of a UDP packet
Maybe late and stupid question, but since when you are passing uint16_t* to calculate CRC?
Code: Select all
uint16_t calculate_checksum(uint16_t *buffer, int length)
- Sun Mar 24, 2024 10:55 pm
- Forum: General Discussion
- Topic: arduino to IDF newbie help managing mulitple apps inline
- Replies: 20
- Views: 2363
Re: arduino to IDF newbie help managing mulitple apps inline
Hi, i am using many techniques to keep memory low. For example i am using my own wifi library for 2 reasons: - i can keep control over wifi init settings, which include static and dynamic buffers - it is much easier to me to migrate into esp-idf if needed This is my current wifi setup, which may imp...
- Fri Mar 22, 2024 7:59 pm
- Forum: ESP-IDF
- Topic: Cpp code with errors, same c code without errors
- Replies: 2
- Views: 344
Re: Cpp code with errors, same c code without errors
Sadly espressif is very often ignoring this fact which is making hard to use esp-idf in C++ code.
Very often they are ignoring variables order in structures.
Next time please try to post also error logs, which can help to help you.
Very often they are ignoring variables order in structures.
Next time please try to post also error logs, which can help to help you.
- Fri Mar 22, 2024 5:11 am
- Forum: General Discussion
- Topic: arduino to IDF newbie help managing mulitple apps inline
- Replies: 20
- Views: 2363
Re: arduino to IDF newbie help managing mulitple apps inline
Its 20 tasks, each with own stack of 3kB:
20 x 3kB = 60kB
20 x 3kB = 60kB
- Fri Mar 22, 2024 2:32 am
- Forum: General Discussion
- Topic: arduino to IDF newbie help managing mulitple apps inline
- Replies: 20
- Views: 2363
Re: arduino to IDF newbie help managing mulitple apps inline
Yes, those are bytes. I have each task with stack 3-4kB, sometimes even more. Of course i am assuming that espressif internal tasks have similar stacks. Dont look at the number here, because its stack watermark (how much bytes i can still use on stack): "watermark":{ "BLE_Task":1660, "LED":120, "mqt...