Project Generator (idea)

Hi Bee, welcome to the forum!

I recently added a helper.py file that can be used to create new projects within the DaisyExamples hierarchy.

It doesn’t have the configuration that projucer offers, and does not support native VisualStudio or XCode yet, but it does provide project files for:

  • Make/Command Line builds
  • VS Code + Cortex Debug extension
  • Visual Studio + VisualGDB extension

This makes creating new projects that can be debugged fairly simple (compared to a lot of text replacement, or set up that would be required otherwise).

To copy an existing example as a starting point you can do:

./helper.py copy seed/MyNewProject --source seed/Knob

or to create a new project from scratch:

./helper.py create seed/MyNewProject --board seed

At some point we may add a GUI, and additional features to the code-generation, but this is a good starting point if you weren’t aware of it, and all you need is to have python (3) installed for it to work.

Building on Raspberry Pi should be pretty similar since the toolchain is not tied to any particular architecture or OS.

Hope that helps!

3 Likes