Skip to content

Project structure with multiple programs #37

@beyon

Description

@beyon

Thank you for this project. I've been using it to generate the base when doing larger teensy projects and then manually editing it for my needs.

When working on larger projects what I've found I need is a shared code base with many programs/main.cpp.

This is roughly the project structure I'm currently using:

/project-name
  /programs
    /some-program
      /.vscode
      /.vsteensy
      /src
      makefile
    /some-other-program
    /tests
      /test-program
      /subsystem-test-program
  /shared
    /libs <- teensy libs
    /src <- project source code shared between programs

This works ok after having set it up for one program and then copying that folder for new programs and applying minor manual edits. I then work with the project folder open in one vscode window and then opening a specific program folder in a new window to build/run that program.

Do you have a good way to use visual teensy to structure projects in this way or is this something you would consider adding that would fit within the scope of the project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions