-
Notifications
You must be signed in to change notification settings - Fork 140
Apio init
Juan Gonzalez-Gomez edited this page Mar 28, 2024
·
9 revisions
apio init [OPTIONS]
Manage apio projects. In addition to the code, an apio project may include a configuration file apio.ini and a Scons script SConstruct.
Flag | Long Flag | Description |
---|---|---|
-s |
--scons |
Create a default SConstruct file. This file can be modified and it will be used instead of the default script |
-b |
--board |
Create a configuration file with the selected board. This will be the default board used by the commands build , upload and others |
-t |
--top-module |
Set the top_module in the init file |
-p |
--project-dir |
Set the target directory for the project |
-y |
--sayyes |
Automatically answer YES to all the questions |
apio init --board alhambra-ii
The default name for the top module is main
This is the content of the apio.ini
file created:
[env]
board = alhambra-ii
top-module = main
apio init -b iCEBreaker --top-module leds
This is the content of the apio.ini
file created:
[env]
board = iCEBreaker
top-module = leds
apio init --scons
This commands is used by developers for testing new SConstruct files, or by the users who wants to edit/modify the default SConstruct file
- Project structure
- Project configuration file (apio.ini)
- apio
- Project Commands:
- Setup commands:
- Utility Commands:
- Downloading the Blinky example
- The apio-examples package: Adding examples
-
Apio packages
- Tools-oss-cad-suite
- Apio examples
- Tools-drivers (Windows)
- Gtkwave (Windows)