Mongoose OS 2.13.0
New Features
Focus of this release is initial support for Redpine Signals RS14100.
It's a very versatile chip with a lot functionality. For now we have the following:
- UART
- GPIO input/output (no interrupts)
- Filesystem
- OTA
- I2C (bitbang)
- WiFi station
WiFi AP, BT, Zigbee are TODO. As always, users can utilize SDK for missing bits of functionality.
NB: Currently Docker image is private due to SDK being available under NDA.
- mos: Add atca-gen-cert - command to generate ATCA key and cert in one go ([cesanta/mos-tool@d896418]
(cesanta/mos-tool@d896418)) - mos: Add --cdef VAR=value (cesanta/mos-tool@ea01910)
SDK and external libraries updates
- Update mbedTLS to 2.16.0 (mongoose-os-libs/mbedtls@ab85f0a mongoose-os-libs/mongoose@74cfaf3)
- ESP32: Update ESP-IDF to latest 3.2 release branch (espressif/esp-idf@a7dc804) (cesanta/mongoose-os@9dba3f4)
- Make FreeRTOS a library, upgrade to 10.2.0 (mongoose-os-libs/freertos@52cc0ea cesanta/mjs@0824477 cesanta/mongoose-os@9899846 mongoose-os-apps/empty@e44f822 mongoose-os-libs/boards@94fd4c6 mongoose-os-libs/core@645eb9c mongoose-os-libs/ethernet@abd28d3 mongoose-os-libs/i2c@b2d2a21 mongoose-os-libs/vfs-dev-part@94426df)
- Make LwIP a library; import latest version (2.1.2) (mongoose-os-libs/lwip@58adbaf cesanta/mongoose-os@0661416 mongoose-os-libs/core@178525f mongoose-os-libs/ethernet@a4ae820 mongoose-os-libs/freertos@81c0544 mongoose-os-libs/mongoose@6ff6d8c mongoose-os-libs/pppos@c0c3b90)
Notable Changes
- mos: ESP: Use higher default flashing speed (cesanta/mos-tool@c547713)
- bt-common: Implemented mgos_bt_gattc_write and finished mgos_bt_gattc_subscribe (author: @zdila) (mongoose-os-libs/bt-common@79c0780)
- Add STLM75 temperature sensor driver library (mongoose-os-libs/stlm75@515e6a3)
- mos: ESP32: Add support for the 3/4 key encoding scheme (cesanta/mjs@8a02301 cesanta/mongoose-os@0a3d7bf cesanta/mos-tool@29e71a0)
- mos: Expand placeholders in --esp32-encryption-key-file (cesanta/mos-tool@b9fb28b)
- mos: Make it possible to specify --libs-dir multiple times (cesanta/mos-tool@addc012)
- mos: debug-core-dump: If core file is not given find latest core-* in cwd (cesanta/mos-tool@d596241)
Other changes and Bug Fixes
- ESP32: Pass MGOS_DEBUG_UART from makefiel to component (cesanta/mongoose-os@4611caf)
- mjs: Add Timer.RUN_NOW (mongoose-os-libs/mjs@03b44d7)
- pppos: Refactor external commands facility (mongoose-os-libs/pppos@44a7941)
- Fix syntax in docstrings (cesanta/mongoose-os@b150718)
- Fix docs link (mongoose-os-libs/aws@f30c05f mongoose-os-libs/gcp@0cbd89c mongoose-os-libs/mongoose@ccb555e mongoose-os-libs/ota-common@890549e mongoose-os-libs/rpc-common@3d40428 mongoose-os-libs/rpc-service-config@38b99d4 mongoose-os-libs/rpc-service-fs@5f252c2 mongoose-os-libs/rpc-service-gattc@79770b9 mongoose-os-libs/rpc-service-gpio@97711ba mongoose-os-libs/rpc-service-i2c@0ae1956 mongoose-os-libs/rpc-service-ota@a167cdc)
- Fix serve_core.py (cesanta/mongoose-os@666cff9)
- mos: debug-core-dump support for RS14100; also run gdb when invoked w/o CD (cesanta/mos-tool@6faa935)
- Fix handling of esp_ble_gattc_open() failure (h/t @zdila) (mongoose-os-libs/bt-common@95ec5c0)
- dash: Add client cert and key params; make param names consistent (mongoose-os-libs/dash@259a349 mongoose-os-libs/rpc-ws@e8e507f)
- mos: Add a way to specify which binary lib variant to use (cesanta/mos-tool@167b738)
- STM32: Support compile time override of UART pins (cesanta/mongoose-os@0c1f3de)
- STM32L4: Support for 4-32MHz XTAL values (cesanta/mongoose-os@107a4e5)
- STM32L4: Add stm32_gpio_set_sleep_pull() (cesanta/mongoose-os@7c8dd87)
- RS14100: UART RX support (cesanta/mongoose-os@f159e2a)
- RS14100: Use SDK instead of DFP for build image (cesanta/mongoose-os@d467e45)
- Amend links in mos tool UI (cesanta/mos-tool@96f5d0e)
- Core dump analysis improvements (cesanta/mjs@d5101bb cesanta/mongoose-os@1d1c119 cesanta/mos-tool@a886784 mongoose-os-libs/freertos@054cc35)
- Let user set components dir (cesanta/mongoose-os@76cfd6c)
- mg_net_if_lwip: Fix invoking callbacks on tcpip thread (cesanta/mjs@fd0bf16 cesanta/mongoose-os@36b5f3d)
- mos: Do not create fw.elf at the end of build (cesanta/mos-tool@356e1e3)
- Fix locking in lwip net_if (cesanta/mjs@94640db cesanta/mongoose-os@42530d0)
- ESP32: Print app binary size during build, check against slot size (cesanta/mongoose-os@9ca1f8c)
- Update bootloader binaries to 1.5.0 (cesanta/mongoose-os@d165a78)