Skip to content

Mongoose OS 2.4

Compare
Choose a tag to compare
@rojer rojer released this 25 Jul 16:08
· 563 commits to master since this release

New features:

  • Major improvements to STM32 port: OTA support, boot loader and filesystem on external storage.
  • pwm: Add functions to control an RGB LED
  • azure: Add mgos_azure_is_connected
  • azure: A utility to retrieve Device-to-Cloud messages
  • mos: Add no_implicit_init_deps
  • mos support for LFS (littlefs) https://github.com/ARMmbed/littlefs
  • Core refactoring: break out VFS and OTA into libs
  • mos: Add mos ota - a way to push OTA update via RPC. As usual, any suitable RPC channel can be used - UART, WS, MQTT, etc. Argument is the fw filename. Requires OTA.Commit within 5 minutes by default.
  • Winbond W25XXX SPI NAND flash driver
  • vfs-dev-part: A VFS device that is a part of another VFS device
  • Add VFS device registration by name
  • fstab: Storage device and filesystem init table
  • vfs-dev-encr: A VFS device that encrypts reads and writes
  • Add skeleton for the provision library
  • mqtt: Add backup server support. See https://github.com/mongoose-os-libs/mqtt#reconnect-behavior-and-backup-server

Bug fixes and minor changes:

  • Reboot on successful OTA.End
  • mg_lwip: Fix race during clean conenction teardown
  • Update ESP32 SDK to espressif/esp-idf@9a55b42
    bt/esp32: Adverising can coexist with scan now
    mg_file_upload_handler: Support multiple files
  • Add missing CC3220 sub-header to mongoose.h
  • mos: Do not mount non-existent paths
  • mos: Make --no-libs-update apply to mongoose-os as well
  • mg: Fix pipelining issue with multipart upload
  • mg: Fix a bug in mg_mgr_init_opt with opts.num_ifaces
  • Increase early WDT timeout to 30 seconds
  • STM32 FS refactoring
  • Refactor VFS device interface to return error code
  • Integrate #429
  • Add mg_strstrip: trims whitespace at the ends of s
  • mgos_sys_config_parse_sub: parse part of config
  • SPI: Allow specifying SPI settings in device config
  • vfs-dev-ram: Allow using existing memory as backing store
  • Make frozen tolerate 0x.. numbers
  • mos: Increase timeout on large digest calculations
  • Fix build with CS_ENABLE_STDIO=0
  • vfs-fs-spiffs: Remove the "force" flag
  • Add mgos_gpio_str; support for STM32 DISCO-F746NG
  • vfs-dev-spi-flash: Send Block Protection Unlock for Micorchip chips
  • Fix CD handling on Mac
  • Fix shadow reporting
  • Add VFS device locking, Dev.* RPC methods.
  • ESP32: Add default system event handler
  • mos: Use --baud-rate and --hw-flow-control for RPC
  • Add long press reset logic