Search found 11 matches

by su-Koch
Sat Jul 01, 2023 7:42 pm
Forum: ESP-IDF
Topic: How to call a function outside httpd_ws.c file in esp-idf
Replies: 9
Views: 7470

Re: How to call a function outside httpd_ws.c file in esp-idf

was so helpfull. had the exact same issue. Checking the example now to get it working.
by su-Koch
Wed May 19, 2021 8:00 pm
Forum: ESP-IDF
Topic: CMakeList for component folder
Replies: 0
Views: 1562

CMakeList for component folder

Hei Guys, for now I was working with a single Project. The Structure of the Project was following project -CMakeLists.txt -main --CMakeLists.txt --main.cpp --main.h -components --(lot of subfolders for cpp and h files for components) What do I have to Change in the CMakeLists if I want to put the co...
by su-Koch
Tue Dec 01, 2020 7:50 pm
Forum: ESP-IDF
Topic: #include "esp_spiffs.h" file not found
Replies: 3
Views: 6256

Re: #include "esp_spiffs.h" file not found

Hei Guys, as I was able to solve this after reading your comments I wanted to line out the solution: In the Following you can see the CMakeLists.txt of the component I'm developing: idf_component_register(SRCS "MKSPIFFS.cpp" INCLUDE_DIRS "." REQUIRES "MKException" "spiffs") Adding the "spiffs" after...
by su-Koch
Tue Dec 01, 2020 2:16 pm
Forum: ESP-IDF
Topic: #include "esp_spiffs.h" file not found
Replies: 3
Views: 6256

#include "esp_spiffs.h" file not found

Hei Guys, on compiling my project in vscode with esp-idf extension v 4.1 I get No such file or directory error. But the file is there. My CPP Config is: { "configurations": [ { "name": "Win32", "cStandard": "c11", "cppStandard": "c++17", "includePath": [ "${config:idf.espIdfPathWin}/components/**", ...
by su-Koch
Tue Sep 15, 2020 2:25 pm
Forum: IDEs for ESP-IDF
Topic: VSCODE ESP-IDF Plugin Debug Problem
Replies: 5
Views: 7642

Re: VSCODE ESP-IDF Plugin Debug Problem

Debugging works now but the behaviour is strange.

The Debugger Stopps execution on lines where no breakpoints are and doesn't stop on breakpoints.
What the debugger does and what i was expecting is to stop on the beginning of main.

Any Suggestions to solve this issu?

Manuel
by su-Koch
Tue Sep 15, 2020 1:55 pm
Forum: IDEs for ESP-IDF
Topic: VSCODE ESP-IDF Plugin Debug Problem
Replies: 5
Views: 7642

Re: VSCODE ESP-IDF Plugin Debug Problem

This is so awesome. Switching to 0.9.0.2. helped.
As a note: I wasn't able to solve that via powershell but solved it in the command line running the python commands

Thank you very much.
Manuel
by su-Koch
Mon Sep 14, 2020 8:06 pm
Forum: IDEs for ESP-IDF
Topic: VSCODE ESP-IDF Plugin Debug Problem
Replies: 5
Views: 7642

VSCODE ESP-IDF Plugin Debug Problem

hei Guys, I'm facing some issues with the Debugger of the VisualStudioCode ESP-IDF Estension. I installed my Debugger Shield and the according Driver. OpenOCD Server can be started using the user interface. Hitting F5 (to launch the default esp-idf debugger configuration) I receive the following err...
by su-Koch
Fri Apr 03, 2020 11:48 am
Forum: ESP-IDF
Topic: undefined reference
Replies: 3
Views: 6861

Re: undefined reference

What I did now:

Changed
CMakeLists.txt of I2CKeypad:
idf_component_register(SRCS "I2CKeypad.cpp" INCLUDE_DIRS "." "../I2CPeripheral")

to
idf_component_register(SRCS "I2CKeypad.cpp" INCLUDE_DIRS "." REQUIRES I2CPeripheral)

but the error is still there.
by su-Koch
Mon Mar 30, 2020 8:24 pm
Forum: ESP-IDF
Topic: undefined reference
Replies: 3
Views: 6861

undefined reference

Hei Guys, I'm a beginner in cmake as I'm working with Visual Studio normally. I'm trying to set up a project with two components, one inherits from the other. The Structure of the Tree is attached. The issue is that I get an error "undefined reference" for the Component I want to inherit from. CMake...