Page 1 of 1
How to assign automatically & dynamically the heap in esp32 at runtime?
Posted: Tue Jul 26, 2022 5:31 am
by dayal_nigam
Hey All,
I am new to ESP-IDF .Please explain me how can i dynamically assign stack in esp32 so that it will automatically take stack at runtime
i find some of the malloc and realloc functions in ESP-IDF but i was not able to understand it clearly .
Re: How to assign automatically & dynamically the heap in esp32 at runtime?
Posted: Tue Jul 26, 2022 7:22 am
by ESP_Sprite
There is no way to dynamically resize stack. You need to assign an amount that is large enough when you start the task.
(Also, you posted your question as the response in another topic; I split it into its own topic for you.)
why we use parameter_options in modbus in esp-idf
Posted: Sat Jul 30, 2022 8:21 am
by dayal_nigam
I didn't clearly understand why we are using this mb_parameter_opt_t can anyone please explain me this!!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
param_opts
Parameter Options
Limits, options of characteristic used during processing of alarm in user application (optional)
union mb_parameter_opt_t
#include <esp_modbus_master.h>
Modbus parameter options for description table.
Public Members
int opt1
Parameter option1
int opt2
Parameter option2
int opt3
Parameter option3
struct mb_parameter_opt_t::[anonymous] [anonymous]
int min
Parameter minimum value
int max
Parameter maximum value
int step
Step of parameter change tracking
struct mb_parameter_opt_t::[anonymous] [anonymous]
why we use nvs in wifi application?
Posted: Wed Aug 17, 2022 11:58 am
by dayal_nigam
Can anyone explain why we use an NVS in wifi applications?
Re: How to assign automatically & dynamically the heap in esp32 at runtime?
Posted: Thu Aug 18, 2022 1:30 am
by ESP_Sprite
Can you not post questions that have nothing to do with eachother in the same topic? It all but guarantees you won't get an answer, as the people who can answer the later questions won't click on your topic.
Re: How to assign automatically & dynamically the heap in esp32 at runtime?
Posted: Thu Aug 18, 2022 4:58 am
by dayal_nigam
I don't know how to post new topics i didn't get the option for post new topics can you please help me
Re: How to assign automatically & dynamically the heap in esp32 at runtime?
Posted: Fri Aug 19, 2022 12:42 pm
by ESP_Sprite
...seriously?
- here.png (227.67 KiB) Viewed 1957 times