Giter Club home page Giter Club logo

mytest's Introduction

TizenRT

License Build Status

TizenRT is lightweight RTOS-based platform to support low-end IoT devices.
Please find project details at Wiki especially documentations page.

1. Getting the toolchain

For ARM architecture:

Install the OS specific toolchain. Supported OS Type's are "linux" and "mac".
Get the build in binaries and libraries, gcc-arm-none-eabi-6-2017-q1-update-OS Type.tar.bz2
Untar the gcc-arm-none-eabi-6-2017-q1-update-OS Type.tar.bz2 and export the path like

tar xvjf gcc-arm-none-eabi-6-2017-q1-update-[OS Type].tar.bz2
export PATH=<Your Toolchain PATH>:$PATH

Be aware that recommanded toolchain is fully working on 64bits machine.

For Xtensa architecture, esp32 board:

Get the build in binaries and libraries

64-bit Linux:

xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz

32-bit Linux:

xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz

tar xvjf xtensa-esp32-elf-[linux*]-1.22.0-80-g6c4433a-5.2.0.tar.gz
export PATH=<Your Toolchain PATH>:$PATH

2. Getting TizenRT source code

git clone https://github.com/Samsung/TizenRT.git
cd TizenRT
TIZENRT_BASEDIR="$PWD"

Note: To contribute in this community, you need to clone your forked private repository instead.
Github guides this by working-with-forks.

3. How to Build

Configure the build from $TIZENRT_BASEDIR/os/tools directory

cd os
./tools/configure.sh <board>/<configuration_set>

This command retrieves the specific pre-configured file named defconfig and Make.defs according to <board>/<configuration_set>.
You can see collection of all configuration files at $TIZENRT_BASEDIR/build/configs.
To check all pre-defined configurations, type as follows:

./configure.sh --help

After configuring above, configuration can be modified through make menuconfig from $TIZENRT_BASEDIR/os. Howerver, menuconfig isn't ready for Xtensa architecture esp32 board. Please do not use it for esp32 board.

cd ..
make menuconfig

Refer kconfig-frontend installation to use menuconfig.

Export your toolchain:

cd os
source setenv.sh <Your Toolchain PATH>

Or,

export PATH=<Your Toolchain PATH>:$PATH

Finally, initiate build by make from $TIZENRT_BASEDIR/os.

make

4. How to burn images

After compiling, "tinyara.bin" are built in the $TIZENRT_BASEDIR/build/ directory. Burn the image by performing the following commands in $TIZENRT_BASEDIR/os/:

Burn ALL the images:

cd $TIZENRT_BASEDIR/os
make download ALL

Burn the bootloader:

cd $TIZENRT_BASEDIR/os
make download BOOTLOADER

Burn the TizenRT image:

cd $TIZENRT_BASEDIR/os
make download APP

mytest's People

Contributors

xiarihf avatar chinatizenrt avatar glb1013 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.