Releases: cesanta/mongoose-os
Releases · cesanta/mongoose-os
Mongoose OS 2.11.0
New features
- gcp: Add support for config and commands (mongoose-os-libs/gcp@a67dda4 mongoose-os-libs/mqtt@4ba6a2b)
- RPC over GCP (Google IoT Core) support (cesanta/mos-tool@9f56ad0 mongoose-os-libs/rpc-gcp@94b9cea mongoose-os-libs/demo-bundle@759fb63 mongoose-os-libs/rpc-azure@583eca9 cesanta/mos-tool@633356b)
- mos: Support custom deps, --lib and --module for remote builds (cesanta/mos-tool@5b77c7e)
- Add support for multiple I2C buses and ATCA i2c_bus option (mongoose-os-libs/atca@5ea632f mongoose-os-libs/boards@94082c2 mongoose-os-libs/i2c@41a0271 mongoose-os-libs/rpc-service-i2c@8d09ea4)
- Add mgos_i2c_{get,set}bits_reg_{w,b}() (mongoose-os-libs/i2c@8000ca0)
- vfs-common: Add functions for getting fs size and free space for specific path (cesanta/mongoose-os@b8af92b mongoose-os-libs/vfs-common@39eacd3)
- Run app.js in addition to init.js (mongoose-os-libs/mjs@ce86d41)
- mos: Change behavior of --libs-dir (cesanta/mos-tool@8d3071a)
- Change GPIO int handling to keep count of interrupts (cesanta/mongoose-os@f3ed653)
- Add rpc.uart.dst (mongoose-os-libs/rpc-uart@691c194)
- Add mgos_crontab_get_next_invocation() (mongoose-os-libs/cron@0df7d38 mongoose-os-libs/crontab@60600ea)
Bug fixes
- Fix BLE scan memory leak (mongoose-os-libs/bt-common@a2e31c9)
- mos: Download GH assets (binary libs) into build dir; prefer public URLs (cesanta/mos-tool@42c04f6)
- mos: Implement mos update for Homebrew (cesanta/mos-tool@e67252d)
- wifi: Fix mode changes during runtime (mongoose-os-libs/wifi@dec9349)
- SPIFFS: Optimize behavior GC behavior on almost full FS (mongoose-os-libs/vfs-fs-spiffs@17bc385)
- Enable bitbang I2C on IOT01 board (mongoose-os-libs/boards@c1d9371 mongoose-os-libs/demo-bundle@261931d mongoose-os-libs/i2c@dc709a9)
- Fix nsleep100 on STM32 (cesanta/mjs@d3f7ab6 cesanta/mongoose-os@98a778f)
- Support type references in config schema and add HAVE_FOO macros (cesanta/mongoose-os@fe38184 mongoose-os-libs/wifi@8e6147f)
- ESP32: Empty RX FIFO on UART init (cesanta/mongoose-os@20a20ad)
- mos: Consider repo clean if it's exactly on a particular tag (cesanta/mos-tool@87fe5b3)
- mos: Add --binary-libs-dir to specify location of binary libs (instead of build/objs) (cesanta/mos-tool@8276aa5)
- Make mgos_ota_http_start() public (mongoose-os-libs/ota-common@078f785 mongoose-os-libs/ota-http-client@5f9f566)
- Implement mgos_pppos_send_cmd (mongoose-os-libs/pppos@c49efd3)
- STM32: Clear UART error interrupts on F7 and L4 (cesanta/mongoose-os@0ba469f mongoose-os-libs/mbedtls@a7f7862)
- Make PPPOS work on STM32 (cesanta/mongoose-os@15a148a mongoose-os-libs/pppos@96dcc76)
- pppos: Add pin config options (STM32, ESP32 only) (mongoose-os-libs/pppos@97518f1)
- STM32: Fix use of UART RX timeout (cesanta/mongoose-os@d510c53)
- Add mg_strfree() (cesanta/mjs@3f77ca5 cesanta/mongoose-os@86c4b4d mongoose-os-libs/mongoose@2fc5106)
- mos: Add --no-platform-check (cesanta/mos-tool@7d4f47c)
- pppos: Support setting baud rate and flow control (mongoose-os-libs/pppos@146acd5)
- pppos: Add mgos_ppos_connect() and _disconnect() (mongoose-os-libs/pppos@8a244b8)
- Initial work on Ubuntu port of Mongoose OS (cesanta/mongoose-os@0b8ac8a)
- Add mgos_uptime_micros(), fix sleep issues on CC32x and STM32 (cesanta/mongoose-os@640ebcb mongoose-os-libs/core@59c02b9)
- Make WebSocket error more readable, do not retry on bad code (cesanta/mos-tool@02813b3)
- Do not generate MQTT CLOUD_CONNECTED event for Azure, GCP and Watson (mongoose-os-apps/demo-c@1646bf2 mongoose-os-libs/azure@1476009 mongoose-os-libs/gcp@2f9848e mongoose-os-libs/mqtt@f2814fd mongoose-os-libs/watson@85c95bd)
- mqtt: Add mqtt.require_time, use in Azure and GCP (mongoose-os-libs/azure@a5203e2 mongoose-os-libs/gcp@b574fc4 mongoose-os-libs/mqtt@07384cc)
- mos gcp-iot-setup: Use API instead of shelling out to gcloud (cesanta/mos-tool@babb09a)
- azure, gcp: Only fire CLOUD_CONNECTED events after having subscribed to topics ([mongoose-os-libs/azure@dcc046a](mongoose-os-libs/azure@dcc046a6d85420e41cb3726...
Mongoose OS 2.10.2
Important fixes
- mbedtls: Disable max fragment length due to fragmented handshake issue (mongoose-os-libs/mbedtls@2afc761)
- vfs-fs-spiffs: Do not consider blocks without deleted pages for GC (mongoose-os-libs/vfs-fs-spiffs@248d1e2)
Other changes
- vfs-fs-spiffs: Optimize FS encryption (mongoose-os-libs/vfs-fs-spiffs@d92144e)
- mos: Fix Arch Linux package defs (cesanta/mos-tool@dd1a7b2)
- mos: aws-iot-setup: Add fallback to RSA cipher suite (cesanta/mos-tool@fc80812)
- mos: Create a Homebrew bottle for mos and mos-latest, make installation faster. (cesanta/mos-tool@9edd35b)
- Introduce wifi-setup-web-ui lib (mongoose-os-apps/wifi-setup-web@db86031 mongoose-os-libs/wifi-setup-web-ui@6fef911)
- Expand ?? in bt.dev_name (mongoose-os-libs/bt-common@031c05b)
- Fix scan_rsp reporting (mongoose-os-libs/bt-common@5cb09e0)
- mos: Add license-save-key (cesanta/mos-tool@be9418b)
- Fix Sys.reboot() (mongoose-os-libs/mjs@1cc6963)
- Fix narrowing conversion warnings, integrate cesanta/frozen#47 (cesanta/mjs@02e0eed cesanta/mongoose-os@6d9759e)
Mongoose OS 2.10.0
New features
- wifi: CC3220: Enterprise auth support (cesanta/mjs@be72be0 cesanta/mongoose-os@a7c59d1 mongoose-os-apps/demo-c@cf86628 mongoose-os-libs/boards@1f005bd mongoose-os-libs/mongoose@641a970 mongoose-os-libs/vfs-common@9ac59e5 mongoose-os-libs/wifi@91be660)
API changes
- Refactored BT GATTS API, added mJS bindings (mongoose-os-libs/bt-common@c4f1f32 mongoose-os-libs/bt-service-config@de7840b mongoose-os-libs/bt-service-debug@e7ba798 mongoose-os-libs/bt-service-time@23b5136 mongoose-os-libs/rpc-gatts@43d30d9)
- mJS wrapper for GATTC API (mongoose-os-libs/bt-common@565a159 mongoose-os-libs/bt-service-config@1c74696 mongoose-os-libs/bt-service-debug@b1465e0 mongoose-os-libs/bt-service-time@dfc7a9d mongoose-os-libs/rpc-gatts@95ce01c)
- mos: Add create-fw-bundle command (cesanta/mjs@b148135 cesanta/mongoose-os@b940db6 cesanta/mos-tool@81a0e52)
- mg: Add ability for multipart data handler to provide pushback (mongoose-os-libs/mongoose@5253685)
- Add mbuf_append_and_free() and mbuf_move() (cesanta/mjs@89971bc cesanta/mongoose-os@85c9309 mongoose-os-libs/mongoose@8695560)
- ESP32: Provide ability to set ESP32 ADC width and channel attenuation (mongoose-os-libs/adc@66859b0)
- Refactor BLE scanning API, add mJS interface (mongoose-os-libs/bt-common@ece95b0)
- wifi: Add reason to STA disconnection event (ESP8266 and ESP32 only) (mongoose-os-libs/wifi@e5a1fd4 mongoose-os-libs/wifi-ism43xxx@9c15b9e)
Notable changes
- Update ESP-IDF to 3.2 @ 1c4d9f2 (cesanta/mongoose-os@baddd53)
- OTA refactoring (cesanta/mongoose-os@d16405d mongoose-os-libs/core@b713e39 mongoose-os-libs/ota-common@3755aab mongoose-os-libs/ota-http-client@8ea3c59)
Other stuff
- Squash warnings (cesanta/mongoose-os@e8c4d56 mongoose-os-libs/rpc-common@5a5aba2)
- bt-service-config: Fix printing a NULL string (mongoose-os-libs/bt-service-config@0567a96)
- mos: Add --rpc-uart-no-delay (cesanta/mos-tool@f214e74)
- Add Status and StatusOr classes to util (cesanta/mongoose-os@d7a4628)
- mos: Fix printing output if build fails (cesanta/mos-tool@0c43441)
- mos: Fix writing of ZIP firmware bundles (cesanta/mos-tool@b530c0f)
- Simplify polling logic (cesanta/mongoose-os@e4788c0)
- Adjust BLE response size (mongoose-os-libs/rpc-gatts@665e064)
- Introduce update.extra_http_headers tunable (mongoose-os-libs/ota-http-client@4d6473a)
- mos: Send offset in FS.Put requests (cesanta/mos-tool@ab8a56b)
- mos: Make fsOpAttempts a flag (--fs-op-attempts, default 3) (cesanta/mos-tool@6179fd0)
- Make MG_CTL_MSG_MESSAGE_SIZE overridable (mongoose-os-libs/mongoose@bc683a5)
- FS.Put: use the offset argument, if provided (mongoose-os-libs/rpc-service-fs@d51b368)
- mos: Fall back to fetching assets via public URLs if API returns an error (cesanta/mos-tool@fb4ff28)
- mg: Ensure that user sees all the data before connection is closed (cesanta/mjs@d492fc2 cesanta/mongoose-os@464db89 mongoose-os-libs/mongoose@e59d0b8)
- mjs: Support for nested structs and < 32 bit types in s2o() (cesanta/mjs@c49c7e6 mongoose-os-libs/azure@c8008b6)
- mjs: Add user-specified field value conversion function (MJS_STRUCT_FIELD_TYPE_CUSTOM) (cesanta/mjs@a38b71b)
- Don't build demo-js for 1M and 2M esp8266 - not enoug FS space (cesanta/mos-tool@35c712c)
- Set default LED pin to 13 for ESP32 (mongoose-os-libs/boards@a8289a4)
- Check for NULL in tcp_recved_tcpip() (cesanta/mjs@031e22b cesanta/mongoose-os@b344cb8)
- mos licensing implementation (cesanta/mongoose-os@c314a13 cesanta/mos-tool@36ec968 mongoose-os-apps/demo-c@f7b7511 mongoose-os-libs/http-server@3854855 mongoose-os-libs/rpc-common@a20f1fa)
Mongoose OS 2.8.1
- mos: Fix debug-core-dump with relative paths (cesanta/mos-tool@12ce9f8)
- mos: Fix MQTT RPC invocation (cesanta/mos-tool@940d545 cesanta/mos-tool@0fc1db0)
Mongoose OS 2.8.0
New features
- Add mgos_gpio_setup_{input,output} (0127e56 mongoose-os-libs/mjs@b9a5b1b)
- Add provisioning state tracking and LED indication (mongoose-os-apps/demo-c@53c40b7 mongoose-os-libs/boards@f3407f5 mongoose-os-libs/provision@a42bcb4)
- Add mos ports command (cesanta/mos-tool@e376775)
- mos: console: Add mqtt(s):// and udp:// port support (cesanta/mos-tool@ebf8d3f)
- mos: Support Dash console logging (cesanta/mos-tool@1df218f)
- mos: Support short app names in mos clone (cesanta/mos-tool@de15676)
- ethernet: ESP32: Add support for PHY power pin (mongoose-os-libs/ethernet@45bbcfe)
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. (cesanta/mos-tool@cfe9ab2)
Fixes
- Ensure string ID is properly quoted (mongoose-os-libs/rpc-common@9824c90)
- rpc-common: Ensure handler pattern fully matches the request (mongoose-os-libs/rpc-common@c971019)
- mos: Minor mos ota improvements (cesanta/mos-tool@a183958)
- mos: Do not set GIT_TERMINAL_PROMPT=0 (cesanta/mos-tool@3464eb1)
- ISM43xxx: Fix poll scheduling (mongoose-os-libs/wifi-ism43xxx@ef4d268)
- STM32: C++ source compilation support (b3fadba)
- CC32xx: Fix C++ global objects init (0ff146d)
- ESP8266: Fix global C++ object construction (d04d18b)
- pppos: Update sdkconfig options to fix ESP32 build (mongoose-os-libs/pppos@224c800)
- Fix mos update on Ubuntu. Now supports switching channels and check if PPA is enabled. (cesanta/mos-tool@38bb54c)
Misc
- Support reading vars from file instead of cmdline (fb0a694)
- azure: Use QoS 1 for Azure Twin updates (mongoose-os-libs/azure@9762afa)
- mos: Pass make vars via MGOS_VARS_FILE (if possible) (cesanta/mos-tool@07d42bc)
- Copy rpc.acl_file so changes only apply on boot (mongoose-os-libs/rpc-common@ffeda78)
- mos: Find ST-Link mount for serial port on Linux (cesanta/mos-tool@0408166)
- mos: watson-iot-setup: Disable rpc.mqtt when setting up for Quickstart (cesanta/mos-tool@a09d5d5)
- Move Watson docs (mongoose-os-libs/watson@ee47d4f)
- Cloud connection status logic cleanup (mongoose-os-apps/demo-js@69f63f7 mongoose-os-libs/aws@3f6873c mongoose-os-libs/azure@ad00e39 mongoose-os-libs/dash@f42cd08 mongoose-os-libs/gcp@755f37d mongoose-os-libs/mqtt@eed778b mongoose-os-libs/watson@d7650ed)
- ESP32: Update ESP-IDF to espressif/esp-idf@fb7ba1b (3d60232 mongoose-os-libs/bt-common@5a347f8 mongoose-os-libs/mbedtls@3a1bd69)
- mos: Force clean rebuild if manifest changes (including --platform or --build-vars) (cesanta/mos-tool@1a0d25a)
- ESP8266: Remove upper limit freq check (mongoose-os-libs/pwm@4501978)
- ESP8266: Really keep SW WDT disabled (0445ebc)
- Set up simple Travis CI builds for demo-c and demo-js (mongoose-os-apps/demo-c@4694b96 mongoose-os-apps/demo-js@71ea2aa)
- Exit with error if failed to open device connection (cesanta/mos-tool@087fa38)
- Report RAM from demo-js (mongoose-os-apps/demo-js@237ecfd mongoose-os-libs/dash@ddeaca6)
- i2c: Add mgos_i2c_reset_bus() to reclaim the bus on init (mongoose-os-libs/i2c@f5ee069)
Mongoose OS 2.7.1
This fixup release is mostly about the new UI and STM32 stability improvements
Mos UI changes
- Fix typos in mos UI (cesanta/mos-tool@82577d5)
- Introduce MGOS_EVENT_CLOUD_[DIS]CONNECTED (abf1d15 mongoose-os-libs/mjs@b3c1188 mongoose-os-libs/mqtt@e1919f5)
- mos UI: history, URL opening (cesanta/mos-tool@6387654)
- Add online/offline logic (mongoose-os-apps/demo-js@92b3111)
- Handle esc on safari (cesanta/mos-tool@488f06e)
- Add esp8266-1M and -2M variants (39fcae1 cesanta/mos-tool@bc58e3f mongoose-os-libs/boards@ed5edfe mongoose-os-libs/demo-bundle@3788cda)
- Add ESP32-EVB board definition (mongoose-os-libs/boards@4f57f9e)
- Add EVB to the boards dropdown (cesanta/mos-tool@91d2651)
- Run mos console when idle (cesanta/mos-tool@b8f1cda)
Other changes
- Fix delta traversal (mongoose-os-apps/example-shadow-js@88ad5c2)
- STM32: Fix clearing UART RX OVF and CTS ints (e4181c7)
- mos: Make sure SendChunkDelay applies to all writes (cesanta/mos-tool@845892b)
- STM32: Fix UART RX/TX stats (4112dca)
- mos: Apply --timeout to Sys.GetInfo and try up to 3x (cesanta/mos-tool@30e344b)
- Use statically allocated stack for the main task (e4b2874 mongoose-os-libs/core@4c055c1)
- Dash: remove old cruft, add JS API (mongoose-os-libs/dash@b0f5f34)
- Remove rottern JS (mongoose-os-libs/mjs@20c415c)
- Add free ram and reboot (mongoose-os-apps/demo-js@3165f1b mongoose-os-libs/mjs@b15d4fb)
- Integrate cesanta/frozen#38 - fix "%g" and "%e" in json_printf and json_printf_array (cesanta/mjs@16b279b bfdfb50)
- Add MG_MK_STR_N() and mg_str_starts_with() (cesanta/mjs@8b8739b 9b3cfae mongoose-os-libs/mongoose@6525f34)
- Make AWS shadow lib less noisy (mongoose-os-libs/aws@02af5cf)
- ISM43xxx: Fix parsing of async events (mongoose-os-libs/wifi-ism43xxx@1c84f7d)
- ISM43xxx: Refactor polling (mongoose-os-libs/wifi-ism43xxx@11c7a50)
Mongoose OS 2.7.0
Major changes
- Web UI has been replaced with a simpler one (cesanta/mos-tool@c8b4df7)
Notable changes
- Add LFS support to ESP32 (b87de6b mongoose-os-libs/core@59c87f8 mongoose-os-libs/vfs-common@f55ca25)
- ESP32: Support changing of FS type during OTA (mongoose-os-libs/ota-common@d5bfe96 mongoose-os-libs/vfs-common@40c5b7e)
- Update mbedTLS to 2.13.1 (6861626 mongoose-os-libs/mbedtls@40193ec)
- GCP: Add mgos_gcp_send_event...() helpers (mongoose-os-libs/gcp@8ba0017)
- Close the ota-common lib (mongoose-os-libs/ota-common@cb1fbf4)
- Close the encryption block device (mongoose-os-libs/vfs-dev-encr@ad4f28e)
- Allow overriding double config entries with ints (5e6436f)
- Fix RPC queue behavior on overflow: (mongoose-os-libs/rpc-common@34ed61e)
- rpc: Allow wildcard RPC handlers, e.g. "Foo.*" (mongoose-os-libs/rpc-common@c5e6090)
- rpc: Do not respond to requests that do not have ID (mongoose-os-libs/rpc-common@5efe285)
- ca-bundle: Add D-TRUST root (for *.azure-devices.de) (mongoose-os-libs/ca-bundle@5d19612)
- mg_rpc: Add mg_rpc_remove_channel (mongoose-os-libs/rpc-common@b5db3e2)
Misc changes
- Fix mongoose polling on FreeRTOS. (60220d9)
- Fix provisioning lib settings on IOT01 (mongoose-os-libs/boards@59c8e35 mongoose-os-libs/provision@2855287)
- Reset update timeout timer if progress is made (mongoose-os-libs/ota-common@3567b13)
- Fix provisioning lib settings on IOT01 (mongoose-os-libs/boards@59c8e35 mongoose-os-libs/provision@2855287)
- Reset update timeout timer if progress is made (mongoose-os-libs/ota-common@3567b13)
- rpc-uart: Refactor to take UART config as an argument (mongoose-os-libs/rpc-uart@45037dc)
- Fix provisioning lib settings on IOT01 (mongoose-os-libs/boards@59c8e35 mongoose-os-libs/provision@2855287)
- Reset update timeout timer if progress is made (mongoose-os-libs/ota-common@3567b13)
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:...
Mongoose OS 2.5
- Update littlefs to 1.5
- Reduce the size of the config defaults file
- mos: Fix local builds under Docker Toolbox
- wifi: Fix crash in mgos_wifi_get_connected_ssid when WiFi is disabled
- wifi: Disable WiFi PM on CC32xx
- wifi: Remove deprecated mgos_wifi_add_on_change_cb API
- A couple wifi fixes
- Fix refcounting in mgos_vfs_rename
- spi: Basic QSPI support on STM32
- pwm: Fix struct init in esp32_pwm
- Fix provisioning lib on CC32xx
- wifi: Add wifi events, incl. station connect/disconnect
- STM32: GPIO interrupt support
- Ethernet support on both NUCLEO and DISCO-F746NG
- STM32: Initial support for L4 and B-L475E-IOT01A
- Fix SPI.runTransaction in FD mode
- mg: Add host name verification for OpenSSL
- mg: Don't touch send_mbuf when sending MQTT messages
- mos: Aded support for non-GitHub Git repos
- cron: Add mgos_cron_get_next_invocation()
- frozen: Add minimal, reduced footprint mode
- Accept hex numbers in confX.json
- A bunch of fixes for STM32 flash VFS driver
- Fix open() implementation for LFS
- A bunch of mos build changes related to libs: support subdirs in location specs, only check for prebuilt libs if needed
- STM32: OTA support for L475-IOT01 and DISCO-F746
- ESP32: Knobs for inverting UART Rx and Tx polarity
- Restore ADC functionality on ESP8266
- frozen/pull/27 - fix json_setf
Mongoose OS 2.4
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
- Apps and libs will now by default depend on https://github.com/mongoose-os-libs/core.
- 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