Skip to content

PureRecovery is an application performing various tasks, including updating MuditaOS

Notifications You must be signed in to change notification settings

mudita/PureRecovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

PureRecovery is an application performing various tasks, including updating MuditaOS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages