Skip to main content

riotgen: generator for RIOT application/driver/board code

Project description

RIOT generator is a command line interface helper that initiates RIOT source files for applications, boards support and test applications.

Installation

Clone this repository:

git clone git://github.com/aabadie/riot-generator.git

Install riotgen using pip:

cd riot-generator
pip install .

The package is not yet available on PyPI.

Usage

RIOT code generator uses subcommands for generating the code for applications, tests and board support.

The application subcommand requires a <path> argument to set the directory where the application code will be generated:

riotgen application <output directory>

Then this command starts a command line wizard with questions about the new application: target board, RIOT base directory, author name, etc.

Once complete, the new application can be built using:

make -C <output directory>

test and board subcommands can just be called without parameters, the code is generated directly in the RIOT base directory:

riotgen board
riotgen test

Use --config option to pass a configuration file with predefined parameters to riotgen. Samples are provided in the source code:

riotgen board --config path/to/config/file.cfg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

riotgen-0.1.2.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file riotgen-0.1.2.tar.gz.

File metadata

  • Download URL: riotgen-0.1.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for riotgen-0.1.2.tar.gz
Algorithm Hash digest
SHA256 263bb6b636c9be19ce2a1e441dcb04e3b7a9d8f18357384d9afd3de0f5a8ee73
MD5 5461b66a5f12938a9934b702fbfbe120
BLAKE2b-256 8737b5ac55422be189d1e63dfa2d261f8f5830f4b28a92ba4ec57dcaea9680c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page