Mongoose OS 2.6.0
New Features
- A lot of STM32-related work. Full OTA support and multiple bugfixes.
- Added WiFi driver for the ISM43XXX module (used on STM32 B-L475E-IOT01)
- mos: Check for board-specific build of bin libs (cesanta/mos-tool@f394063)
- mos: Add "-C dir" flag, make-style (cesanta/mos-tool@a71e03d)
- mos: Support for adding libs in conds (cesanta/mos-tool@3543563)
- Added mgos_net_str_to_ip() (2fc43ca)
- mos: Add --build-image - a way to specify custom Docker build image name (cesanta/mos-tool@e5f7d54)
- When defining config opts, create objs implicitly (09bd0d9)
- mos: Add --lib-extra: A way to inject extra lib(s) into a build (cesanta/mos-tool@1ffb211)
- mos: Prefer shell Git if available, fix cleanness check on Windows (cesanta/mos-tool@bc73437)
- mos: Support HTTP URLs in "put" and "ota" (cesanta/mos-tool@4aee6bb)
- mos: Add "clone" (cesanta/mos-tool@27bf5c0)
- Add mgos_gpio_blink() (cesanta/mjs@46aad4a afa6dc8 mongoose-os-libs/mjs@9a39cbc3faf1263
20e6eb41298995da3810ea3f7) - mos: Auto-detect ST-Link mounts on Linux and Mac (cesanta/mos-tool@bbef53e)
- mos: Implement detectio of ST-Link devices on Windows (cesanta/mos-tool@f97a766)
Bug Fixes and Improvements
- Add MGOS_EVENT_OTA_BEGIN event. Move event definitions to OTA lib. (bcde984 mongoose-os-libs/ota-common@ffb1971)
- ESP32: Return cutom MAC if it's configured (fd2b498)
- mos: Fix a deadlock in mos build (cesanta/mos-tool@102bfdc)
- mos: Fix a minor build bug on Windows (cesanta/mos-tool@82f912d)
- gcp: Close MQTT connection before the token expires (mongoose-os-libs/gcp@9b6cbb9)
- Increase reboot timeout for Config.Save() (mongoose-os-libs/rpc-service-config@b6eacaa)
- Add app to ro_vars (e3504c2)
- esp8266: Turn off WiFi modem sleep (mongoose-os-libs/wifi@752dac6)
- Add Twin alias for JS Shadow (mongoose-os-libs/shadow@e13507d)
- STM32: Change GPIO AF string (PA12:5 -> PA12.5) (4931c88)
- Refactor mg polling (cesanta/mjs@21e6593 0ce1c61 mongoose-os-libs/mongoose@c866ee5)
- mg: Add net_if_null, a no-op net interface (cesanta/mjs@f982c16 85facf2 https://github.com/mongoose-os-libs/mongo
ose/commit/b96600f9f1a04d01a6c56a07e94a4e925b0368e9) - STM32: Make LWIP optional (cesanta/mjs@17f2548 dd44275 mongoose-os-libs/ethernet@89507d
aee37a76a33ab540f23c7528b5d20caa89 mongoose-os-libs/mongoose@a30a811 mongoose-os-libs/wifi@f089e3e) - FIx WiFi (re)connection logic (mongoose-os-libs/wifi@ac56c6c)
- Better docstrings for the C API (8deea45)
- STM32: Optimize FreeRTOS memory settings (29f99b9)
- STM32: Optimize erase during OTA and BL copies (374d6cc mongoose-os-apps/bootloader@c93e88c https://github.com/mo
ngoose-os-libs/bootloader/commit/dd222ee268c1c6c207fbf3c702fc6c29dd2c7420 mongoose-os-libs/core@2af6cb8 mongoose-os-libs/demo-bundle@cd9e4cb
adfc mongoose-os-libs/ota-common@a1dd716 mongoose-os-libs/vfs-common@c066501) - STM32: Rebuild mbedTLS with MBEDTLS_AES_ROM_TABLES (861bd16 mongoose-os-apps/bootloader@57c0647)
- Add a VFS device method to get erase size(s) -
mgos_get_erase_sizes
(mongoose-os-libs/vfs-common@fc66a4e mongoose-os-libs/vfs-dev-encr@8234f363f8a6e7f2e2392b706ee2c
94f7f12e98f mongoose-os-libs/vfs-dev-part@0d983f3 mongoose-os-libs/vfs-dev-ram@aded7d1 https://github.com/mongoose-os-libs/vfs-dev-spi-f
lash/commit/8183eac75a4f3d2cc4c5fff58197476dd7e56b7b mongoose-os-libs/vfs-dev-w25xxx@ea189f5) - Add mgos_gpio_clear_int() (d737504 mongoose-os-libs/vfs-dev-spi-flash@ab5c3e3 https://github.com/mongoose-os-libs
/wifi-ism43xxx/commit/f953271cb86429a78b62e8176ae5badf87d70e30) - ESP32: Update ESP-IDF to espressif/esp-idf@3276a13 (84e30dc mongoose-os-libs/dns-sd@d2c
07c69175fc5b89634961913fd29d0887df0cd mongoose-os-libs/ethernet@6901b4a mongoose-os-libs/ota-common@d528479 https://github.com/mongoose-
os-libs/pppos/commit/c63c1a1a224d5040e85c9c26f40577679a58c1ce mongoose-os-libs/wifi@ca3379c) - Enable I2C on STM32 (bitbang onlt, for now) (mongoose-os-libs/i2c@4829727)
- Make our fork of mbedTLS a (binary only) library (mongoose-os-libs/mbedtls@81b9639)
- Fix broken link (mongoose-os-libs/rpc-common@bae7658)
- Use mbedTLS from mongoose-os-libs/mbedtls (cesanta/mjs@d7bcae8 56d6a55 https://github.com/mongoose-os-libs/mongoo
se/commit/55f8b6f99c5f25e509d09c966bf9edc916d98add) - Remove mbedTLS from build images, update base to Ubuntu 18.04 (935b659)
- mos: Ignore -SPPDev serial ports on Mac OS X (cesanta/mos-tool@d0210d0)
- Add python2-six as a build dep for Arch (cesanta/mos-tool@faeac3e)
- Add the "boards" library and move all board-specific tweaks there (mongoose-os-libs/boards@33193f7)
- Make GPIO state buffer dynamic. Saves a bit of RAM. (6cf690c)
- Fix a bug with MGOS_TIMER_RUN_NOW (used to run the callback two times immediately) (9312f68)
- CC3200: Fix boot loader regression (cesanta/mjs@edaab32 600759f)
- mos: Fix version check during remote builds (cesanta/mos-tool@284405c)
- Make demo-js shadow-controlled (mongoose-os-apps/demo-js@4171c03 mongoose-os-libs/boards@93b2d20)
- Disable higher order EC curves on ESP8266 (mongoose-os-libs/mbedtls@ff6ad88)
- mos: Fix a crash during mgRPC connection wind-down (cesanta/mos-tool@973d2ec)
- Clean-up board LED and button definitions (mongoose-os-apps/demo-c@414b38b mongoose-os-apps/demo-js@f952d5f https://github.com/mongoo
se-os-apps/example-shadow-js/commit/0a80a210aad1fc5aff98571fd0042f0b050cc138 mongoose-os-apps/wifi-scan@c5adac5 mongoose-os-libs/boards@15fc2f1
fddba8b mongoose-os-libs/provision@d0baeea) - ESP32: Fix AP IP set, feed WDT during core dump (28a7a52 mongoose-os-libs/wifi@2b0c08e)