Open zapta opened 1 month ago
This can be an extension of the new 'apio create' command, and the startup project can be an adaption of the existing 'template' examples.
$ apio examples --list | grep -i template
Alhambra-II/Template | Project template for the Alhambra-II board
EDU-CIAA-FPGA/Template | Project template for the EDU-CIAA-FPGA board
go-board/template | Project template for the Nandland go-board
icestick/template | Project template for the icestick board
icezum/Marcha-Imperial | Project template for the icezum board
icezum/template | Project template for the icezum board
icoboard/template | Project template for the icoboard board
kefir/template | Project template for the Kéfir I board
TinyFPGA-B2/template | Project template for the TinyFPGA-B2 board
TinyFPGA-BX/template | Project template for the TinyFPGA-BX board
Platformio has the command
pio project create
that creates a complete and buildable skeletalhello world
project. https://docs.platformio.org/en/latest/core/userguide/project/cmd_init.html .Apio on the other hand has the command
apio create
that creates just anapio.ini
file and theapio examples
command that creates a non skeletal project and requires the user to manually select the example.This feature request is for a command that accepts creates a full skeletal project for a given board. For example
or
Implementation wise, the new project can be added to the
apio_examples
repo as examples with the reserved namenew_projects
and for boards that don't have anew_project
example, their definition can includenew_project = <example-name>
to indicate the example to use.