Search found 8 matches

by nogema
Fri Nov 03, 2023 1:23 pm
Forum: ESP-IDF
Topic: Add unit test
Replies: 4
Views: 1552

Re: Add unit test

I have finally solved my problem. The problem was the sdkconfig file of the sub folder test was different from the sdkconfig file of the project. To summerise, explicitly declare the library components used in CMakelist.txt with the word REQUIRES and use the same sdkconfig file in the main project a...
by nogema
Tue Oct 31, 2023 4:53 pm
Forum: ESP-IDF
Topic: Add unit test
Replies: 4
Views: 1552

Re: Add unit test

I also tried to use the Eclipse IDE because until now I was using the VS Code IDE.
In Eclipse, I succeeded to compile the project but I cannot compile the test sub project. Eclipse only defines a "Local" target and even when I try to add a "New Launch Target...", it is not saved.
by nogema
Mon Oct 30, 2023 11:24 am
Forum: ESP-IDF
Topic: Add unit test
Replies: 4
Views: 1552

Re: Add unit test

Thank you for your tip. Now I can compile my project but I still get errors when I try to compile the test project such as : fatal error: esp_bt.h: No such file or directory 25 | #include "esp_bt.h" Here my CMakeList.txt file in the same folder as the file that triggers the above error : idf_compone...
by nogema
Mon Oct 23, 2023 1:00 pm
Forum: ESP-IDF
Topic: Add unit test
Replies: 4
Views: 1552

Add unit test

Hello, I am trying to add unit tests to my project. I followed the file tree of the unit test example (https://github.com/espressif/esp-idf/tree/00d58a92dc5ba2527137369e39d0bfd97968b8a9/examples/system/unit_test) and change the CMakeLists.txt files as a result. However when I compile my code I get a...
by nogema
Wed Oct 18, 2023 3:00 pm
Forum: ESP-IDF
Topic: W6100 and ESP32(C3) with ESP-IDF
Replies: 4
Views: 3850

Re: W6100 and ESP32(C3) with ESP-IDF

Hello,

I hope these files help you.
by nogema
Fri Jul 21, 2023 3:55 pm
Forum: ESP-IDF
Topic: W6100 and ESP32(C3) with ESP-IDF
Replies: 4
Views: 3850

Re: W6100 and ESP32(C3) with ESP-IDF

Thank you very much ! After fixing a few bugs and updating the code to ESP-IDF V5.0, this works
by nogema
Tue Jul 18, 2023 4:04 pm
Forum: ESP-IDF
Topic: W6100 and ESP32(C3) with ESP-IDF
Replies: 4
Views: 3850

W6100 and ESP32(C3) with ESP-IDF

Hello, After succeeding to send HTTPS request over WiFi, I am trying to do it over Ethernet. For this I am using the basic ethernet example from ESP-IDF. The problem is the only chip driver available for Wiznet is the W5500 but I am using the W6100. I searched if anyone has already written such a dr...
by nogema
Tue Jun 27, 2023 3:37 pm
Forum: ESP-IDF
Topic: External flash for ESP32-C3-MINI-1
Replies: 0
Views: 1512

External flash for ESP32-C3-MINI-1

Hello, I would like to add an external flash to increase the amount of data that I can treat with the RAM. I am using a custom board with the ESP32-C3-MINI-1 chip and a SST25VF080B SPI flash. I tried to run the ext flash fats example of ESP-IDF but it fails : I succed to add the external partition a...