Mongoose OS 2.8.0 released
We are proud to announce Mongoose OS release 2.8.0.
New features
- Add mgos_gpio_setup_{input,output} (https://github.com/cesanta/mongoose-os/commit/0127e563dfeeaeaf6f036675202c604d4f9f5525 https://github.com/mongoose-os-libs/mjs/commit/b9a5b1b6791ae612ea77c6a1040d0a35eece2ef0)
- Add provisioning state tracking and LED indication (https://github.com/mongoose-os-apps/demo-c/commit/53c40b702dab312d53355f6d17c849cac9be724a https://github.com/mongoose-os-libs/boards/commit/f3407f5af0555385515c1461c51618984fa4537d https://github.com/mongoose-os-libs/provision/commit/a42bcb412082535ccb460d839a6adc11ff4bcf71)
- Add mos ports command (https://github.com/cesanta/mos-tool/commit/e3767756be42f926e6f04a83d377afbb634b8454)
- mos: console: Add mqtt(s):// and udp:// port support (https://github.com/cesanta/mos-tool/commit/ebf8d3f57546cc9023e101fb20c37eda1ca1e31f)
- mos: Support Dash console logging (https://github.com/cesanta/mos-tool/commit/1df218feebf424982a225c8d890187ce3102f7a4)
- mos: Support short app names in mos clone (https://github.com/cesanta/mos-tool/commit/de1567665f52ae4c07cb930df04d2cb2316975c4)
- ethernet: ESP32: Add support for PHY power pin (https://github.com/mongoose-os-libs/ethernet/commit/45bbcfe7d028e2d7e615b21fbae5c230858f0555)
Important changes
- mos: BREAKING Change mgrpc GO implementation to use "params" by default.
--mgrpc-compat-args
flag can be used when talking to older firmware builds. (https://github.com/cesanta/mos-tool/commit/cfe9ab27233a40dbbea466215189ddc7c2f1d91e)
Fixes
- Ensure string ID is properly quoted (https://github.com/mongoose-os-libs/rpc-common/commit/9824c906853fb584d5d53ab002f3e9e62ccaa828)
- rpc-common: Ensure handler pattern fully matches the request (https://github.com/mongoose-os-libs/rpc-common/commit/c9710194bba9f844f94d126f1ffbc608913c9fb8)
- mos: Minor mos ota improvements (https://github.com/cesanta/mos-tool/commit/a183958a05dd89be1dafa9bd8014e4462df12c08)
- mos: Do not set GIT_TERMINAL_PROMPT=0 (https://github.com/cesanta/mos-tool/commit/3464eb1170e06c42e3e29a228f8da040f7619c1b)
- ISM43xxx: Fix poll scheduling (https://github.com/mongoose-os-libs/wifi-ism43xxx/commit/ef4d2684426fd4dc1307308ffee4121703b2ab59)
- STM32: C++ source compilation support (https://github.com/cesanta/mongoose-os/commit/b3fadba2dfdf85f55953c340b1f8964540cf0241)
- CC32xx: Fix C++ global objects init (https://github.com/cesanta/mongoose-os/commit/0ff146d5e26e9f8d22b47acc15e6a027e0c712cb)
- ESP8266: Fix global C++ object construction (https://github.com/cesanta/mongoose-os/commit/d04d18b8f264c892a84335a96885171a3c072611)
- pppos: Update sdkconfig options to fix ESP32 build (https://github.com/mongoose-os-libs/pppos/commit/224c80016e0fd782dc24112093d13e28db357a95)
- Fix mos update on Ubuntu. Now supports switching channels and check if PPA is enabled. (https://github.com/cesanta/mos-tool/commit/38bb54c2a657b88ffc5e53545a3c8f5de067a8bb)
Misc
- Support reading vars from file instead of cmdline (https://github.com/cesanta/mongoose-os/commit/fb0a694aea482d16455c71d03c528ebacdf7b3f8)
- azure: Use QoS 1 for Azure Twin updates (https://github.com/mongoose-os-libs/azure/commit/9762afa290193bc1a22e22a423e15bb819d684c1)
- mos: Pass make vars via MGOS_VARS_FILE (if possible) (https://github.com/cesanta/mos-tool/commit/07d42bc4c19b4f204898c238c7c01cf44ba9402b)
- Copy rpc.acl_file so changes only apply on boot (https://github.com/mongoose-os-libs/rpc-common/commit/ffeda788bd14d75aa03be71962b6d36e8338d7e1)
- mos: Find ST-Link mount for serial port on Linux (https://github.com/cesanta/mos-tool/commit/0408166f177e795032287b4417ad332780d62417)
- mos: watson-iot-setup: Disable rpc.mqtt when setting up for Quickstart (https://github.com/cesanta/mos-tool/commit/a09d5d5814e5dbb716445bc937f76d9308dbd778)
- Move Watson docs (https://github.com/mongoose-os-libs/watson/commit/ee47d4fd2289b2ca82aab22e42987052947759ee)
- Cloud connection status logic cleanup (https://github.com/mongoose-os-apps/demo-js/commit/69f63f7f3536aea34e7de0d9425a6befcf27d1f2 https://github.com/mongoose-os-libs/aws/commit/3f6873c87f73372312519762142cbe9906512997 https://github.com/mongoose-os-libs/azure/commit/ad00e3981be35951c94f2b08e750186d1eb1579b https://github.com/mongoose-os-libs/dash/commit/f42cd0876ffd6dfda5daa77545ee2b58255d58d7 https://github.com/mongoose-os-libs/gcp/commit/755f37d6aee0b480fcaef48a0d1bc4358a8c8f39 https://github.com/mongoose-os-libs/mqtt/commit/eed778bc1c07d58cef9ba43d6f6c579cba9437b6 https://github.com/mongoose-os-libs/watson/commit/d7650ed42dab92842e5c160f8b84e53ce4df1ec9)
- ESP32: Update ESP-IDF to https://github.com/espressif/esp-idf/commit/fb7ba1baa068a2267ef54b7105cf3c8a004fe4eb (https://github.com/cesanta/mongoose-os/commit/3d60232d844d3fe18fbfdd2d82f47b018de87be0 https://github.com/mongoose-os-libs/bt-common/commit/5a347f8c3b45481de0b5dfa4a75aa45651258efb https://github.com/mongoose-os-libs/mbedtls/commit/3a1bd696b88db012ff002f0a8c3d9589f4ff593c)
- mos: Force clean rebuild if manifest changes (including --platform or --build-vars) (https://github.com/cesanta/mos-tool/commit/1a0d25ac09b4b18ce650d8e75f488f201663352d)
- ESP8266: Remove upper limit freq check (https://github.com/mongoose-os-libs/pwm/commit/450197879c508adadd3fc523424d4caa3ef6b416)
- ESP8266: Really keep SW WDT disabled (https://github.com/cesanta/mongoose-os/commit/0445ebc84617fbd97d3d0ffb44b4e883b7db437d)
- Set up simple Travis CI builds for demo-c and demo-js (https://github.com/mongoose-os-apps/demo-c/commit/4694b96c00af16e4ab84298dac91c20cf6ff1666 https://github.com/mongoose-os-apps/demo-js/commit/71ea2aa7d2d237814eb564ff16f819ef16ba3fa1)
- Exit with error if failed to open device connection (https://github.com/cesanta/mos-tool/commit/087fa382b1d606ed0524b854f418caf0716e2d8b)
- Report RAM from demo-js (https://github.com/mongoose-os-apps/demo-js/commit/237ecfde5d05f4e3ffb7b5f212922fecd6215b2e https://github.com/mongoose-os-libs/dash/commit/ddeaca6d207f5513ee288240a01fed101e0d3f23)
- i2c: Add mgos_i2c_reset_bus() to reclaim the bus on init (https://github.com/mongoose-os-libs/i2c/commit/f5ee069d94aa2ae7c627646e5f237f50e8c7001e)
Contact
Question? Please contact us!