Search found 296 matches
- Thu May 12, 2022 1:40 pm
- Forum: ESP-IDF
- Topic: strong vApplicationStackOverflowHook
- Replies: 19
- Views: 15099
Re: strong vApplicationStackOverflowHook
No. You specifically need a *dummy function* (or symbol) to declare as undefined. It works like this. - C compiler compiles all the objects - Linker tries to recursively resolve all symbols (=functions and variable names that are used between functions). It starts with the assumption that there are...
- Tue May 10, 2022 5:40 pm
- Forum: ESP-IDF
- Topic: strong vApplicationStackOverflowHook
- Replies: 19
- Views: 15099
Re: strong vApplicationStackOverflowHook
See the docs for that. Oh, I tried "target_link_libraries" but still failing... I can't understand why :( Let me explain better my project. My project is created using IDF 4.0 and use various custom modules created by me. Module for network, another module for NVS, RTC, webpage and etc. [firmware_n...
- Mon May 09, 2022 5:16 pm
- Forum: ESP-IDF
- Topic: strong vApplicationStackOverflowHook
- Replies: 19
- Views: 15099
Re: strong vApplicationStackOverflowHook
No, my question is how to add this flag to my custom component using CMake and not .mk. I tried to put this flag in .mk of main folder but when execute, CPU still calling the weak function.ESP_Sprite wrote: ↑Fri May 06, 2022 1:27 amDoes the dummy function plus -u [dummy-functionname] trick not work?
- Thu May 05, 2022 6:17 pm
- Forum: ESP-IDF
- Topic: strong vApplicationStackOverflowHook
- Replies: 19
- Views: 15099
Re: strong vApplicationStackOverflowHook
Gotcha, then you have that issue. An option to fix this is to declare a symbol in this file, for instance by creating a dummy function: void ld_include_stackoverflowhandler_file_dummy_function() { //dummy } and then in the component.mk file declaring this dummy function as an unresolved symbol: COM...
- Wed Feb 02, 2022 1:44 am
- Forum: General Discussion
- Topic: FreeRTOS Queue in __NOINIT
- Replies: 3
- Views: 4163
Re: FreeRTOS Queue in __NOINIT
Not sure if that's possible... if I recall my FreeRTOS internals correctly, queues have things like pointers to other FreeRTOS structures inside. Even if you find a way to simply blindly restore the memory used, those pointers may not be valid after you've restarted your program. Thanks Sprite! Im ...
- Tue Feb 01, 2022 12:15 am
- Forum: General Discussion
- Topic: FreeRTOS Queue in __NOINIT
- Replies: 3
- Views: 4163
Re: FreeRTOS Queue in __NOINIT
Any one can help me? I need queue inside rtc_ram (NOINIT) to create temp buffers
- Fri Nov 12, 2021 12:17 am
- Forum: General Discussion
- Topic: FreeRTOS Queue in __NOINIT
- Replies: 3
- Views: 4163
FreeRTOS Queue in __NOINIT
Hello Guys! How can I use FreeRTOS Queue inside __NOINIT section? Im building ring buffer with Queue and want to keep values after software restart, but how to tell to 'xQueueCreate()' to not "reinit" or not "fill with zeros"? Just put __NOINIT_ATTR QueueHandle_t queue; not work (maybe because queue...
- Tue Jun 01, 2021 11:36 am
- Forum: General Discussion
- Topic: MQTT output buffer limit
- Replies: 1
- Views: 1998
Re: MQTT output buffer limit
anyone?
- Sat May 29, 2021 10:15 pm
- Forum: General Discussion
- Topic: MQTT output buffer limit
- Replies: 1
- Views: 1998
MQTT output buffer limit
Hello! Where can I change the max number of packets queued by mqtt lib? When network is OFF, esp32 keep sending data (qos 2) and when network comes back active, esp32 send only the last 3 packets, why? I changed .buffer_size and .out_buffer_size of esp_mqtt_client_config_t but still not working. IDF...
- Wed Apr 21, 2021 6:03 pm
- Forum: General Discussion
- Topic: ESP32-S2 ULP RISC-V
- Replies: 2
- Views: 2721
Re: ESP32-S2 ULP RISC-V
How can I do this? Where I can change to compile C++?ESP_Minatel wrote: ↑Tue Mar 16, 2021 7:54 pmHi,
In theory you can, but I'm not sure if it's the best thing to do. If you do so, maybe you can have issues in terms of RAM usage (RTC memory space).