Skip to content

V2.3

Latest

Choose a tag to compare

@vanvught vanvught released this 08 Feb 09:47

Release Notes

Maintenance & Code Quality Improvements

This release focuses on internal cleanups, diagnostics improvements, and maintenance updates across the GD32, HAL, and Pixel DMX codebase.

  • Replaced bare assert(0) usages with clearer, more expressive assertions (assert(false) or assert(false && "")) to improve diagnostics and explicitly mark unreachable code paths.
  • Updated copyright headers across multiple files to include 2026.
  • Performed minor whitespace, formatting, indentation, and include-ordering cleanups.
  • Adjusted NDEBUG handling in Pixel DMX JSON code.
  • Applied small API tidies and refactors (cosmetic only, no behavior changes).
  • Restored or added license headers in a small number of JSON parameter files.
  • General source maintenance in several DMX, display, UDF, global, and Pixel DMX files.

These changes are non-functional and intended purely for readability, consistency, and maintainability.

New Utility Scripts

Several new helper scripts have been added under common/scripts to support development, testing, and device flashing workflows:

  • udp_send.py

    A reusable UDP send/receive module with a command-line interface for quick testing and scripting.
  • gd32/do-tftp.py

    A Python helper to drive TFTP transfers, built on top of udp_send and the system tftp client.
  • gd32/flash.py

    A GD32 ROM bootloader flashing tool with an integrated UART monitor for upload and debugging.

Summary

  • Improved assert diagnostics and unreachable-code clarity
  • License and copyright updates (now through 2026)
  • Formatting, whitespace, and include-order cleanups
  • New Python utilities for UDP, TFTP, and GD32 flashing
  • No functional or protocol-level behavior changes