.. _changelog_ide_v4_2_0: v4.2.0 ====== v4.2.0 introduces a new **OpenMV Viewer** mode and a **Debug Protocol Settings** dialog for tuning IDE-to-camera polling, refreshes all bundled board firmware to v4.5.6, and fixes several editor, terminal, and dialog issues. This release stays on the Qt Creator 10.0.1 base, so there are no breaking changes to existing projects. .. contents:: On this page :backlinks: none :local: :depth: 1 Highlights ---------- - **OpenMV Viewer mode** can be launched with the new ``-viewer_mode`` command-line option to show only the frame buffer and serial output. - **Debug Protocol Settings** dialog, opened from the FPS status-bar button, lets you tune IDE-to-camera polling rates and use a combined ``get_state`` polling mode. - **Bundled firmware** refreshed to v4.5.6 across all boards, adding **PAG7920** sensor support and updated CYW4343 WiFi/Bluetooth firmware. - **Open-AMP examples** added for Arduino Giga and Portenta H7 to demonstrate dual-core communication. - Fixed undo/redo and edit history being lost when connecting or disconnecting the camera. New features ------------ - Added a new ``-viewer_mode`` command-line option that launches the application as a stripped-down **OpenMV Viewer**. File ``New``/``Open``/``Save``/``Save As``/``Close``/``Print`` and recent files, the ``Edit`` menu, the ``Run``/``Stop`` actions, the dataset editor, several tool toggles, and the central code-editor pane are all hidden so only the frame buffer and serial output are shown (`27ba14cc5 `__). - Added a **Debug Protocol Settings** dialog, opened by clicking the FPS status-bar button, that lets you tune IDE-to-camera polling rates and use a new combined ``get_state`` polling mode. The frame-size-dump, get-script-running, and get-tx-buffer poll spacings are now tuned from the dialog's Split Polling settings, leaving a single matching command-line override (``-override_per_command_wait``) for the per-command wait (`d0ee9d22a `__, `fabb8c4fe `__). - Added a new **Open-AMP** example category (``examples/11-Open-AMP``, including ``vuart.py``) available for Arduino Giga and Portenta H7 to demonstrate dual-core communication (`03808a403 `__). Other changes and improvements ------------------------------ - The bootloader board-type selection list now shows human-readable board names while still mapping back to the internal firmware identifier (`52763b52e `__). - The firmware-path chooser in the bootloader dialog now remembers and pre-fills the last firmware file used (`cc7a9806e `__) and provides path history completion (`284784bc2 `__). - After a firmware update the post-update dialog now instructs you to disconnect, remove the SBL-to-3.3V jumper wire, and reconnect the camera (`1bf5c15ad `__). - The ``Examples`` menu no longer always collapses single-child folders into their parent; this now only happens when example filtering is enabled (`014849db1 `__). - Editor display and typing preferences (folding markers, auto-fold first comment, file line-ending display, tab-never-indents, single-line comments) are now forced to OpenMV defaults and no longer overridden by stored settings (`570b7028b `__). - Added a force-shutdown safeguard that finishes IDE shutdown after 10 seconds and terminates a stuck serial thread as a last resort so the IDE can always exit (`58a2dfedb `__). Bug fixes --------- - Fixed undo/redo and edit history being lost when connecting or disconnecting the camera by factoring sensor-specific script fixups into a single ``fixScriptForSensor()`` helper instead of editing buffer contents in place (`50b0403f1 `__). - Fixed video file conversion to MJPEG by matching encoders rather than decoders in the output-format list and forcing the AVI container for ``.mjpeg``/``.mjpg`` outputs (`35fb91935 `__). - Fixed framebuffer drawer panels showing the wrong initial visibility by restoring the vertical splitter state before the horizontal splitter state on startup (`f0d930f02 `__). - Fixed the LED-states and More-Examples popups overlapping other modal dialogs by deferring them until no modal widget is active (`e007defeb `__). - Filtered ``KeyboardInterrupt`` and ``Exception: IDE interrupt`` lines out of the serial terminal output so stopping a script no longer prints a spurious traceback or exception (`c4a2dcab8 `__, `b1c459d83 `__). - Updated the error-traceback filter regex so MicroPython 1.23 tracebacks are parsed correctly, excluding ``KeyboardInterrupt`` and nested ``File`` lines from being treated as the error line (`6df9ecb78 `__). - Prevented the IDE from trying to open a non-existent source file when jumping to an exception's location by checking that the file exists on the device path first (`4e8e98c2e `__). Platform and tool support ------------------------- - **Qt Creator base:** 10.0.1. - **Bundled board firmware** refreshed to v4.5.6 across OpenMV2/3/4/4P/PT, RT1060, Giga, Portenta H7, Nicla Vision, Nano RP2040, and Arduino Nano 33 BLE Sense, with updated bootloaders and UVC firmware (`03808a403 `__). - Added support for the **PAG7920** image sensor (`03808a403 `__). - Updated bundled **CYW4343** WiFi firmware to 7.45.98.102 and added CYW4343 Bluetooth firmware, programming it to flash for the Arduino Giga, Portenta H7, and Nicla Vision (which carry an onboard CYW4343 WiFi/Bluetooth module) (`03808a403 `__). Breaking changes ---------------- None. v4.2.0 stays on the Qt Creator 10.0.1 base and introduces no changes that affect existing projects or workflows.