brian-lc / spresense

Spresense SDK source code

Home Page:https://developer.sony.com/develop/spresense/docs/home_en.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twitter spresense handle twitter devworld handle

Welcome to SPRESENSE project

Clone this repository and update submodules.

$ git clone --recursive https://github.com/sonydevworld/spresense.git

Submodules

spresense                  - This repository
|-- nuttx                  - NuttX original kernel + SPRESENSE port
|-- sdk
|   `-- apps               - NuttX original application + SPRESENSE port
`-- externals
    `-- nnablart
      `-- nnabla-c-runtime - Neural Network Runtime library

Spresense SDK build instructions

Build instructions are documented at Spresense SDK Getting Started Guide.

Prerequisites

Install the necessary packages and GCC ARM toolchain for cross-compilation.

$ wget https://raw.githubusercontent.com/sonydevworld/spresense/master/install-tools.sh
$ bash install-tools.sh

Build

Go to the folder where you cloned the {SDK_FULL}, and enter the sdk folder name:

$ cd spresense/sdk

Set up the SDK configuration

$ tools/config.py examples/hello

Build the example image:

$ make

A nuttx.spk file appears in the sdk folder when this step has successfully finished. This file is the final result and can be flashed into the your board.

Using docker

A pre-compiled docker container is available with all the pre-requisite that is needed in order to build the Spresense SDK.

In order to start using it simply type:

$ source spresense_env.sh

This script will create an alias spresense which should proceed the regular SDK build scripts and Make commands.

Examples:

SpresenseSDK: $ spresense tools/config.py examples/hello
SpresenseSDK: $ spresense make

About

Spresense SDK source code

https://developer.sony.com/develop/spresense/docs/home_en.html

License:Other


Languages

Language:C 60.2%Language:C++ 31.4%Language:Makefile 3.1%Language:Python 2.9%Language:Shell 1.1%Language:Ruby 0.9%Language:Assembly 0.2%Language:Batchfile 0.1%Language:Dockerfile 0.0%Language:GDB 0.0%Language:Emacs Lisp 0.0%