Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (53 sloc) 1.65 KB
author: mongoose-os
description: A JS-enabled demo Mongoose OS firmware
# arch: PLATFORM
version: 1.0
manifest_version: 2017-05-18
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
config_schema:
- ["mqtt.server", "iot.eclipse.org:1883"]
- ["i2c.enable", true]
- ["app", "o", { title: "App custom settings"}]
- ["app.dht", "i", 12, { title: "DHT pin"}]
- ["pins", "o", {title: "Pins layout"}]
- ["pins.led", "i", -1, {title: "LED GPIO pin"}]
- ["pins.button", "i", -1, {title: "Button GPIO pin"}]
conds:
- when: mos.platform == "esp32"
apply:
config_schema:
- ["pins.led", 21]
- ["pins.button", 0]
- when: mos.platform == "esp8266"
apply:
config_schema:
- ["pins.led", 2]
- ["pins.button", 0]
- when: mos.platform == "cc3200"
apply:
config_schema:
- ["pins.led", 64]
- ["pins.button", 15]
- when: mos.platform == "cc3220"
apply:
config_schema:
- ["pins.led", 64]
- ["pins.button", 15]
tags:
- js
filesystem:
- fs
libs:
- origin: https://github.com/mongoose-os-libs/ca-bundle
- origin: https://github.com/mongoose-os-libs/rpc-service-config
- origin: https://github.com/mongoose-os-libs/rpc-service-fs
- origin: https://github.com/mongoose-os-libs/rpc-uart
- origin: https://github.com/mongoose-os-libs/wifi
- origin: https://github.com/mongoose-os-libs/mqtt
- origin: https://github.com/mongoose-os-libs/i2c
# libs for the current app
- origin: https://github.com/mongoose-os-libs/gcp
- origin: https://github.com/mongoose-os-libs/mjs
- origin: https://github.com/mongoose-os-libs/dht