Skip to main content

riotgen: generator for RIOT application/driver/board code

Project description

riotgen version

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

Installation

Install riotgen using pip:

pip install riotgen

Installing from source

Clone this repository:

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

Install using pip from the source directory:

cd riot-generator
pip install .

Usage

RIOT code generator uses subcommands for generating the code for applications, tests, packages 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>

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

riotgen example
riotgen pkg
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.2.1.tar.gz (9.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for riotgen-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b74e278a3a878f68248fb72b1dcadbaf2b52e4616d803f91adce6c70b9c8ecbb
MD5 4373f341fe5aa41b2531c8a88ac0d84c
BLAKE2b-256 a0f6087cf27dd651e1bfb3208a2b715ba82651ededa8983a62aa78c3adceee4f

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