Rebase private OTA libs on 2.7

This commit is contained in:
Pim van Pelt
2018-10-28 12:12:24 +01:00
parent 497c62b382
commit 9ee393bc8a
29 changed files with 3836 additions and 521 deletions

34
libs/ota-common/mos.yml Normal file

@ -0,0 +1,34 @@
author: mongoose-os
description: OTA common bits
type: lib
version: 1.0
platforms: [ cc3200, esp32, esp8266, stm32 ]
sources:
- src
- src/${platform}
includes:
- include
- include/${platform}
libs:
- origin: https://github.com/mongoose-os-libs/mongoose
no_implicit_init_deps: true
init_deps:
- mongoose
config_schema:
- ["update", "o", {title: "Firmware updater"}]
- ["update.timeout", "i", 600, {title : "Update will be aborted if it does not finish within this time"}]
- ["update.commit_timeout", "i", {title : "After applying update, wait for commit up to this long"}]
tags:
- c
- core
- ota
- docs:net:OTA
manifest_version: 2018-06-20