Skip to content
Juan Gonzalez-Gomez edited this page Mar 28, 2024 · 9 revisions

Contents

Usage

apio init [OPTIONS]

Description

Manage apio projects. In addition to the code, an apio project may include a configuration file apio.ini and a Scons script SConstruct.

Options

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 in :ref:cmd_build, :ref:cmd_time and :ref:cmd_upload commands
-p --project-dir Set the target directory for the project
-y --sayyes Automatically answer YES to all the questions

Examples

1. Enable the FTDI drivers on Linux

apio drivers --ftdi-enable

2. Disable the FTDI drivers on Linux

apio drivers --ftdi-disable

3. Enable the Serial drivers on Linux

apio drivers --serial-enable

4. Disable the Serial drivers on Linux

apio drivers --serial-disable


Clone this wiki locally