Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template for a more complex project #16

Open
mgagic opened this issue Jul 4, 2022 · 0 comments
Open

Template for a more complex project #16

mgagic opened this issue Jul 4, 2022 · 0 comments

Comments

@mgagic
Copy link

mgagic commented Jul 4, 2022

The available documentation and the examples seriously lack any real-world use case examples when it comes to complex directory structures. Would it be possible to add a template that consists of a main component, plus one (or more) additional components located in components/ dir?

Example structure that could show different arrangements
esp-idf/
project/

  • CMakeLists.txt
  • Makefile
  • main/
    • CMakeLists.txt
    • component.mk
    • main_file.c
    • main_file.h
  • components/
    • component1/
    • CMakeLists.txt
    • component.mk
    • src/
      • comp1_src1.c
      • comp1_src2.c
    • inc/
      • comp1_src1.h
      • comp1_src2.h
    • Kconfig
  • component2/
    • CMakeLists.txt
    • component.mk
    • comp2_src.c
    • comp2_src.h
    • module1/
      • module1_scr1.c
      • module1_scr1.h
    • module2/
      • module2_scr1.c
      • module2_scr1.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant