Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

mos.yml:config_schema not respected

According to a warning when compiling our project APP_CONF_SCHEMA is deprecated. We should use config_schema instead.
But the settings in config_schema are not respected. This is the mos.yml

version: 1.0
arch: esp32
mongoose_os_version: master
sources:
- src
filesystem:
- fs
extra_files: []
skeleton_version: 2017-05-16
ffi_symbols: []
config_schema: 
- ["wifi.ap.enable", false]
- ["wifi.sta.enable", true]
- ["wifi.sta.ssid", "resultfactory"]
- ["wifi.sta.pass", "****************"]
build_vars:
  MGOS_ENABLE_MQTT: 1
  MGOS_ENABLE_SPI_GPIO: 0

When compiling with APP_CONF_SCHEMA it works. What are we doing wrong?

Comments

Sign In or Register to comment.