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.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

riotgen-0.1.1-py3.5.egg (21.6 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for riotgen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 441a72a96c29b516c2e750c813ffcd49e214d24f68ef712988199824eb3c06d7
MD5 1a8bcfe4355d667c451e59514694871b
BLAKE2b-256 352aea1f4969baa06754e039617667c852ad6fcfe83f62d6f09d29bcf6322a28

See more details on using hashes here.

File details

Details for the file riotgen-0.1.1-py3.5.egg.

File metadata

  • Download URL: riotgen-0.1.1-py3.5.egg
  • Upload date:
  • Size: 21.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for riotgen-0.1.1-py3.5.egg
Algorithm Hash digest
SHA256 e872c5ac4b9e8907c8dff76749a14a5d36d590a9dffb064a2417f1a9fb280b8f
MD5 9ccc97331c7002435791c9b221b702fa
BLAKE2b-256 db922d58088cbd6371e2355e9fcf41f0f8aa721ec1d294d41555124863523edb

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