Search found 47 matches
- Wed Mar 13, 2024 7:28 am
- Forum: ESP-IDF
- Topic: ESP32-C6 linking failed
- Replies: 2
- Views: 257
Re: ESP32-C6 linking failed
One more question: which IDF version - specifically, which commit - are you using?
- Tue Mar 12, 2024 7:40 am
- Forum: ESP-IDF
- Topic: ESP32-C6 linking failed
- Replies: 2
- Views: 257
Re: ESP32-C6 linking failed
Hi!
To debug these type of linker issues, it would be easiest for us if you can provide a minimal reproducing example. Would that be possible?
To debug these type of linker issues, it would be easiest for us if you can provide a minimal reproducing example. Would that be possible?
- Thu Jan 25, 2024 7:55 am
- Forum: ESP-IDF
- Topic: Best library/API to use for custom nonvolatile database
- Replies: 4
- Views: 714
Re: Best library/API to use for custom nonvolatile database
If you want to have low-level access to the flash, it's probably best to use the ESP-Partition (https://docs.espressif.com/projects/esp ... ition.html) API. But then you really need to take care of proper wear leveling yourself.
- Wed Oct 25, 2023 2:44 am
- Forum: ESP-IDF
- Topic: Runnable component template
- Replies: 2
- Views: 950
Re: Runnable component template
For testing and example applications, you could simply add a project inside your component. This is done for many IDF components which have a "test_apps" directory containing test apps. Similarly, you can add examples like this. You need to make sure to correctly use the enclosing component then, e....
- Mon Oct 23, 2023 6:41 am
- Forum: ESP-IDF
- Topic: Using idf.cmake in a custom CMake project with multiple executables
- Replies: 7
- Views: 4828
Re: Using idf.cmake in a custom CMake project with multiple executables
Hello, we're sorry you had a tough time with the IDF build system. It shouldn't be difficult for users to use it. I have a few questions, maybe just to better understand the issue here: IDF projects usually build one executable. An IDF project basically bundles configurations, sources and other thin...
- Thu Oct 19, 2023 4:01 am
- Forum: ESP-IDF
- Topic: Setting up firmware for production
- Replies: 3
- Views: 3469
Re: Setting up firmware for production
Hi, I found this guide which focuses on WiFi testing, but also mentions some of the flashing tools: https://www.espressif.com/sites/default/files/documentation/production_testing_guide_en.pdf Regarding the "device key", there is some information how to write it into NVS here: https://docs.espressif....
- Wed Oct 18, 2023 10:30 am
- Forum: ESP-IDF
- Topic: Largest contiguous RAM for HEAP
- Replies: 16
- Views: 5055
Re: Largest contiguous RAM for HEAP
If you really don't want allocations to happen in a certain area, have you tried "reserving" it by doing the allocation before the other (smaller) allocations? If you need that space temporarily, you can still try to assign memory from the "reserved" space temporarily, effectively implementing your ...
- Sat Oct 07, 2023 3:45 am
- Forum: ESP-IDF
- Topic: ESP32 issue when updating ESP-iDF to version 4.4.5 and higher
- Replies: 2
- Views: 1163
Re: ESP32 issue when updating ESP-iDF to version 4.4.5 and higher
Hello, what might be the issue here is a C++ object declared static which is doing some initialization in its constructor before the necessary components are initialized. Is there something like this in the code? Do you have a complete reproducing example? This would help us a lot with debugging. Ki...
- Mon Feb 13, 2023 1:45 am
- Forum: ESP-IDF
- Topic: ESP-IDF v5.0 and v5.-master - undefined reference to base classes
- Replies: 5
- Views: 2882
Re: ESP-IDF v5.0 and v5.-master - undefined reference to base classes
This is probably because the functions in your abstract classes were not pure virtual, i.e., with the =0 in the end. Hence, the linker will still look for a vtable for that class. But because the function is never implemented for the base class, a vtable is never generated for it. Hence the error me...
- Fri Feb 10, 2023 11:35 am
- Forum: ESP-IDF
- Topic: ESP-IDF v5.0 and v5.-master - undefined reference to base classes
- Replies: 5
- Views: 2882
Re: ESP-IDF v5.0 and v5.-master - undefined reference to base classes
What happens if you make all virtual functions in `MenuItemsOnLanguage` pure virtual? I.e., , etc.
Do you still see the following error then?
Code: Select all
virtual string main_menu() = 0
Do you still see the following error then?
Code: Select all
undefined reference to `_ZTV19MenuItemsOnLanguage'