I have been struggling with trying to restructure my esp32 application to give the following directory structure:
Code: Select all
components/
- drivers/
+ component1/
- component1_type1.cpp
- component1_type1.h
+ common/
- utilities.cpp
- utilities.h
- hal/
+i2c.cpp
+i2c.h
main/
- app.cpp
- app.h
Code: Select all
#
# Custom components makefile.
#
COMPONENT_ADD_INCLUDEDIRS := .
I also updated my esp to the latest v3.1-rc2 and had no effect.
I had a read around on the forums and a few other places, mostly it appeard people either forgot the component.mk file with its contents or they simply forgot to do a project clean/rebuild.
Hope someone can point out one of my silly mistakes.
Ryan.