Giter Site home page Giter Site logo

purerecovery's Introduction

PureRecovery

Description

PureRecovery is an auxiliary application which is responsible for various tasks including performing update process, backup, etc. PureRecovery is mainly a backend providing a low-level API for LUA engine. This way, all the business logic can be written and easily tested using the higher-level language.

How to build

Updater app

The application can be configured for RT1051 using a standard CMake file or the provided configure.sh script.

Standard CMake
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DPRODUCT=<product> -DTARGET=rt1051 ..

where product can be BellHybrid or PurePhone
configure.sh
./configure.sh <product> <target> <build_type> [other cmake options]

Example for Pure:

./configure.sh pure rt1051 Debug

To check available options use:

./configure.sh --help

after running the script, build-[product]-[target]-[build_type] directory will be created.

Building

Main application
cd <build_dir>
ninja 

Then updater catalog will have PureRecovery.bin ready to be run on the hardware.

Hardware tests application

The recovery has a set of a unit tests designed to be run on the hardware. To build it, use:

cd <build_dir>
ninja on-target-tests

tests catalog will contain PureRecovery-test.bin ready to be run on the hardware.

Generating documentation
cd <build_dir>
ninja docs

Will create docs folder in the <build_dir> containing LUA API documentation in form of a webpage.

purerecovery's People

Contributors

lucckb avatar pholat avatar mjan-dev avatar lefucjusz avatar alekrudnik avatar sp2fet avatar marziel avatar dawidwojtas-mudita 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.