Search found 10 matches

by arex-ebee
Mon Jan 15, 2024 9:03 am
Forum: ESP-IDF
Topic: Undefined reference for external function in pre-built library
Replies: 5
Views: 15614

Re: Undefined reference for external function in pre-built library

Update: I was able to find a solution for this rather generic problem. The root cause was a circular dependency between the prebuilt library and the application code: The library depends on the application to implement "prebuilt_ext_func()" while the application depends on the library to implement "...
by arex-ebee
Mon Jan 08, 2024 11:40 am
Forum: ESP-IDF
Topic: Undefined reference for external function in pre-built library
Replies: 5
Views: 15614

Re: Undefined reference for external function in pre-built library

As my demo only was a modification of the official IDF "import_prebuilt" example I expected this construct being correct. Nevertheless, I tried to extract the 'prebuilt' subproject from the example as you proposed. But the result is exactly the same :(.
by arex-ebee
Mon Jan 08, 2024 6:22 am
Forum: ESP-IDF
Topic: Undefined reference for external function in pre-built library
Replies: 5
Views: 15614

Re: Undefined reference for external function in pre-built library

Hi SparkyNZ,

thanks for your thoughts. I intentionally avoided to mix up the example with C++ files as I'm aware of the name mangling pitfall in that case. To be honest, my real application uses C++. But as the simplified, plain C example revealed it's not caused by that topic.

Cheers
André
by arex-ebee
Fri Jan 05, 2024 3:06 pm
Forum: ESP-IDF
Topic: Undefined reference for external function in pre-built library
Replies: 5
Views: 15614

Undefined reference for external function in pre-built library

I have a curious linker problem with an "extern" declared function in a prebuilt library which I don't really understand. Short background: I got a prebuilt static library (.a) that requires some functions to be defined by the application to result in an executable. Let's call such a function prebui...
by arex-ebee
Mon Oct 17, 2022 5:41 am
Forum: ESP-IDF
Topic: WiFi station breaks internal temperature sensor readout on ESP32-S2
Replies: 4
Views: 5641

Re: WiFi station breaks internal temperature sensor readout on ESP32-S2

Hi arex-ebee! Have you found a workaround for this? I've followed the github issue you posted but it seems it has not been fixed. Thanks Hi AlSantana, you're damn right, the issue actually seems orphaned :( . In my project the SoC temperature is just a small peace of the overall health monitoring a...
by arex-ebee
Mon Mar 07, 2022 10:47 am
Forum: ESP-IDF
Topic: ADC on ESP32-S3 in continouous DMA conversion delivers invalid data
Replies: 5
Views: 6883

Re: ADC on ESP32-S3 in continouous DMA conversion delivers invalid data

Hi XiangH, thanks for your reply. I had this problem too, but I was developing with the latest ARDUINO framework, When you say you "had" this problem does it mean you found a solution? As the Arduino framework is "just" a further abstraction layer it may be worth if you could share your findings. Re...
by arex-ebee
Fri Feb 25, 2022 2:43 pm
Forum: ESP-IDF
Topic: ADC on ESP32-S3 in continouous DMA conversion delivers invalid data
Replies: 5
Views: 6883

ADC on ESP32-S3 in continouous DMA conversion delivers invalid data

Hi folks, Setup: Module: ESP32-S3 WROOM-1 Dev-Board: ESP32-S3-DevKitC-1 v1.6 IDF: master (up to commit 0a64094a60194db3a4bf0ce87ad180999d538c49) Host: Ubuntu 20.04 I'm currently evaluating the ESP32-S3 on WROOM board (ESP32-S3-DevKitC-1 v1.6). My use case requires the ADC to continuously convert sev...
by arex-ebee
Wed Jan 26, 2022 8:35 am
Forum: ESP-IDF
Topic: WiFi station breaks internal temperature sensor readout on ESP32-S2
Replies: 4
Views: 5641

Re: WiFi station breaks internal temperature sensor readout on ESP32-S2

Thanks for pointing this out. I actually found an already present issue targeting this "bug" (https://github.com/espressif/esp-idf/issues/8088). So I'm crossing fingers for having more success there.

Regards
André
by arex-ebee
Thu Jan 13, 2022 7:30 am
Forum: ESP-IDF
Topic: WiFi station breaks internal temperature sensor readout on ESP32-S2
Replies: 4
Views: 5641

WiFi station breaks internal temperature sensor readout on ESP32-S2

Hi, I'm using the internal temperature sensor on ESP32-S2 as part of the overall system health monitoring. After initialization ( temp_sensor_set_config() and temp_sensor_start() ) there is a cyclic call to temp_sensor_read_celsius() . This is not a big deal and works as expected. Additionally I nee...