Search found 2238 matches
- Mon Mar 25, 2024 8:33 pm
- Forum: General Discussion
- Topic: Instability with 120MHz Flash/SPIRAM on ESP32S3-WROOM-2 N32R8V
- Replies: 4
- Views: 1308
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: 428
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: 1288
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: 348
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: 2292
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: 323
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: 2292
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: 2292
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...
- Fri Mar 22, 2024 1:03 am
- Forum: General Discussion
- Topic: Trouble with ESP32 BLE Mesh Provisioning and Communication.
- Replies: 3
- Views: 531
Re: Trouble with ESP32 BLE Mesh Provisioning and Communication.
Ok, so, you said you have 2x esp32 as a provisioner, but you didnt explain how you create NetKey and AppKeys on each of them. Because of that, i only tried to explain you that both esp32 have to share exactly the same NetKey and AppKeys, so the provisioned nodes are considered to be in the same mesh...
- Fri Mar 22, 2024 12:53 am
- Forum: ESP-IDF
- Topic: Wifi: Changing Hostname
- Replies: 3
- Views: 428
Re: Wifi: Changing Hostname
Did you try to start wifi before _set_hostname?