A software development kit for Resea
Project description
# Resea SDK
[](https://travis-ci.org/resea/sdk)
[](http://badge.fury.io/py/reseasdk)
A development tools for Resea.
## Installation
```
# pip3 install reseasdk
```
## Quickstart
### Building an OS
```
$ reseasdk new hello # create a project directory
$ cd hello # move into the created directory
$ edit config.release.yml # edit build config for building
$ reseasdk build # build
```
### Developing a application
```
$ edit package.yml # edit project configuration
$ reseasdk scaffold # generate boilerplate code
$ edit # write code
$ edit config.test.yml # edit build config for testing
$ reseasdk test # build and run tests
```
## Files
### package.yml
It contains information for a package: name, type, required packages,
interface/data type/config definitions, etc.
### config.yml
`config.*.yml` contains build configuration.
- `config.release.yml`: used in `build` command
- `config.test.yml`: used in `test` command
- `config.global.yml`: Default config applied to all packages. This file is used
in special libraries to define build rules.
#### Configration defined by SDK
- `BUILTIN_APPS`: A list of applications to be embeded in an executable.
- `TEST`: A boolean. If it is `yes`, SDK includes test code in an executable.
- `HAL`: HAL library.
- `STARTUP_WITH_THREAD`: If it is `yes`, Resea starts applications in a new
thread separately. If it is `no`, the application except `early_startup`
applications is started by calling `STARTUP()` directly. It is useful for
developing application for Arduino.
## Commands
### Creating new project
- **new**: create a project directory
### Building / Testing
- **build:** build a executable
- **test:** build and test an executable
- **clean:** remove intermediate files such as `*.o`
- **log:** print kernel log omitted in tests
### Unimplemented
- **debug:** test an executable in a debugger
- **analyze:** analyze kernel log
- **sync:** download required packages and update build config
- **search:** search for packages
- **release:** create new version
- **gendocs:** generate web pages from documentation and source code
- **scaffold:** generate boilerplates
- **scancode:** analyze source code
[](https://travis-ci.org/resea/sdk)
[](http://badge.fury.io/py/reseasdk)
A development tools for Resea.
## Installation
```
# pip3 install reseasdk
```
## Quickstart
### Building an OS
```
$ reseasdk new hello # create a project directory
$ cd hello # move into the created directory
$ edit config.release.yml # edit build config for building
$ reseasdk build # build
```
### Developing a application
```
$ edit package.yml # edit project configuration
$ reseasdk scaffold # generate boilerplate code
$ edit # write code
$ edit config.test.yml # edit build config for testing
$ reseasdk test # build and run tests
```
## Files
### package.yml
It contains information for a package: name, type, required packages,
interface/data type/config definitions, etc.
### config.yml
`config.*.yml` contains build configuration.
- `config.release.yml`: used in `build` command
- `config.test.yml`: used in `test` command
- `config.global.yml`: Default config applied to all packages. This file is used
in special libraries to define build rules.
#### Configration defined by SDK
- `BUILTIN_APPS`: A list of applications to be embeded in an executable.
- `TEST`: A boolean. If it is `yes`, SDK includes test code in an executable.
- `HAL`: HAL library.
- `STARTUP_WITH_THREAD`: If it is `yes`, Resea starts applications in a new
thread separately. If it is `no`, the application except `early_startup`
applications is started by calling `STARTUP()` directly. It is useful for
developing application for Arduino.
## Commands
### Creating new project
- **new**: create a project directory
### Building / Testing
- **build:** build a executable
- **test:** build and test an executable
- **clean:** remove intermediate files such as `*.o`
- **log:** print kernel log omitted in tests
### Unimplemented
- **debug:** test an executable in a debugger
- **analyze:** analyze kernel log
- **sync:** download required packages and update build config
- **search:** search for packages
- **release:** create new version
- **gendocs:** generate web pages from documentation and source code
- **scaffold:** generate boilerplates
- **scancode:** analyze source code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ReseaSDK-0.1.0.tar.gz
(10.7 kB
view details)
File details
Details for the file ReseaSDK-0.1.0.tar.gz.
File metadata
- Download URL: ReseaSDK-0.1.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d74e6b929e65dcadb0fc5182aaf2595b888ea81fcc9a6d1b0f0adc9ff8c6bb07
|
|
| MD5 |
600cb4f9498044169a42f8d74e893ccb
|
|
| BLAKE2b-256 |
7e0bb0a08ee49293bd6b0040da98588c7c9799fd6a01f711add20ba1adea54c2
|