Skip to content

Template for a more complex project #16

@mgagic

Description

@mgagic

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions