dlite/mos.yml

58 lines
2.4 KiB
YAML

version: "0.8"
author: Dirk Jahnke
description: dlite - NeoPixel app to control model railroad house lightnings
arch: esp8266
mongoose_os_version: ${mos_version}
sources:
- src
filesystem:
- fs
extra_files: []
ffi_symbols: []
libs:
# common mgos libs
- origin: https://github.com/mongoose-os-libs/http-server
- origin: https://github.com/mongoose-os-libs/i2c
- origin: https://github.com/mongoose-os-libs/ota-http-server
- origin: https://github.com/mongoose-os-libs/rpc-loopback
- origin: https://github.com/mongoose-os-libs/rpc-mqtt
- 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-service-gpio
- origin: https://github.com/mongoose-os-libs/rpc-service-i2c
- origin: https://github.com/mongoose-os-libs/rpc-service-ota
- origin: https://github.com/mongoose-os-libs/rpc-uart
- origin: https://github.com/mongoose-os-libs/spi
- origin: https://github.com/mongoose-os-libs/vfs-dev-spi-flash
# libs necessary for the current app
- origin: https://github.com/mongoose-os-libs/aws
- origin: https://github.com/mongoose-os-libs/mjs
config_schema:
- ["i2c.enable", true]
- ["led", "o", {"title": "LED control settings"}]
- ["led.pin", "i", 2, {title: "Pin for data to WS2812 based LED chain"}]
- ["led.useDefaults", "b", false, {title: "Use default values for colors, led-definitions, animations"}]
- ["led.count", "i", 7, {title: "Number of LEDs connected in the chain"}]
- ["led.tickDuration", "i", 25, {title: "Timebase: Duration of a tick in ms"}]
- ["led.brightness", "i", 20, {title: "Default brightness in % (1-100)"}]
- ["led.colorFile", "s", "colors.cfg", {title: "File name containing color definitions"}]
- ["led.lampsFile", "s", "lamps.cfg", {title: "File name containing lamp definitions"}]
- ["led.animationFile", "s", "animations.cfg", {title: "File name containing animation definitions"}]
- ["led.mode", "s", "schedule", {title: "Mode = animation (use lampsFile + animationFile) | schedule (use scheduleFile)"}]
- ["led.scheduleFile", "s", "demoschedule.cfg", {title: "File name containing schedule definitions"}]
build_vars:
MGOS_ENABLE_ONEWIRE: 1
cflags: []
cxxflags: []
cdefs: {}
tags:
- c
libs_version: ${mos_version}
modules_version: ${mos_version}
conds: []
manifest_version: ""
skeleton_version: 2017-05-18
deps: []
libs_handled: []