Search found 4 matches

by Mephisto75
Fri Sep 16, 2022 10:08 am
Forum: ESP-MDF
Topic: ESP-MESH + ESP-NOW
Replies: 2
Views: 35236

Re: ESP-MESH + ESP-NOW

Hi everyone, although this is a rather old post I would like to reference this for my question. Is there any example on how to do this? If not could you please pin point some details on how to do that. I am at the beginning on trying to dig into this topic. I would try to go with the wifi being stat...
by Mephisto75
Tue Aug 23, 2022 7:58 am
Forum: ESP-IDF
Topic: Problems with writing CMakeLists.txt for a project
Replies: 4
Views: 4288

Re: Problems with writing CMakeLists.txt for a project

Just for the record!

Adding these two lines to CMakeLists.txt (main) worked for me!!

Code: Select all

set(COMPONENT_SRCS "main.c" "../components/FileServer.c")
set(COMPONENT_ADD_INCLUDEDIRS "" "../components/")

register_component()
Everything else is as described in the previous post.
by Mephisto75
Thu Aug 18, 2022 8:10 am
Forum: ESP-IDF
Topic: Problems with writing CMakeLists.txt for a project
Replies: 4
Views: 4288

Re: Problems with writing CMakeLists.txt for a project

Thank you for the review! Following your suggestions I am ending up with following project structure: .vscode build components CMakeLists.txt (components) include FileServer.h Includes.h FileServer CMakeLists.txt (FileServer) FileServer.c SPIFFsImage CMakeLists.txt (SPIFFsImage) favicon.png IndexHTM...
by Mephisto75
Wed Aug 17, 2022 3:10 pm
Forum: ESP-IDF
Topic: Problems with writing CMakeLists.txt for a project
Replies: 4
Views: 4288

Problems with writing CMakeLists.txt for a project

Hey folks, I am new to the esp world! trying to setup a project I come across a problem, that can't solve and I'm freaking out. I have the following project structure: https://drive.google.com/file/d/1tEnf1ck6WK7m0c4dxgz9vWw-yi_MhdcE/view?usp=sharing main.c contains following code: #include "Include...