Skip to content

FPBInject v1.6.5

Latest

Choose a tag to compare

@FASTSHIFT FASTSHIFT released this 23 Apr 09:11
· 3 commits to main since this release

FPBInject v1.6.0 - v1.6.5 Release Notes

v1.6.5

New Features

  • i18n: Auto-detect browser language on first visit
  • WebServer: Add auto-ban engine and security hardening for auth middleware
  • CLI: Add --since cursor to serial-read for incremental reads
  • WebServer: Add LVGL binary image preview via icu tool

Bug Fixes

  • Tutorial: Remove auto-enter fl mode before hello verify/unpatch steps
  • WebServer: Prevent auto-ban from blocking authenticated remote users
  • WebServer: Mock shutil.which in test_invalid_base64 for CI without icu
  • WebServer: Make file path in editor toolbar selectable for copy

v1.6.4

New Features

  • WebServer: Add refresh button to image preview and text editor tabs
  • WebServer: Add text editor for device files
  • Patch: Use more obvious Hooked log tags
  • Log: Add append mode and timestamp options for serial log recording
  • FL: Add FL_NO_FPB config for CPUs without FPB hardware
  • FL_LOG: Add FL_LOG_BUF_SIZE config

Bug Fixes

  • WebServer: Show cancel button during image preview and text file download
  • Web: Add auto slot mode and FPB_PATCH_COMP_ID macro for NuttX comp alignment
  • FL: Report error when enable fails on single comp, add patch_mode tracking
  • FL: Add icache invalidate after upload/write to prevent stale code execution
  • Net: Fix port check arg order, add detailed GDB conflict messages
  • NuttX: Print error code when fl_exec_cmd fails
  • FL: Use static inline for crc16_str helpers to fix -Wunused-function
  • FL: Add bounds check to cmd_upload to prevent heap overflow
  • Build_test: Reuse build_config for FL_NO_FPB test

Improvements

  • WebServer: Reuse editor-toolbar style for text file save/download buttons
  • Net: Extract port utils to utils/net.py, add GDB port conflict tests
  • Codec: Use ssize_t for fl_base64_decode/encode return type
  • FL: Split fl.c into modular command files
  • FL: Add calc_crc16_str/calc_crc16_base_str helpers
  • FL: Use semantic error codes in all cmd_* handlers
  • FL: Replace int return codes with fl_error_t enum
  • CRC: Extract verify_args_crc to deduplicate CRC checks
  • FL_PORT: Move Arduino demo from func_loader to Project/Application

v1.6.3

New Features

  • CRC: CRC integrity V2 - fix fcrc/fclose ordering, chunked fcrc, add CRC to alloc/fopen/fremove/frename
  • CRC: Add CRC to remaining commands (fseek/fstat/flist/fmkdir/unpatch/enable)

Bug Fixes

  • FL: Add the missing read/write length verification

Tests

  • FL: Use precise error codes in all test assertions

v1.6.2

New Features

  • Transfer: Add image preview and right-click context menu for device file browser
  • Serial: Auto-probe TX fragment size/delay in throughput test

Bug Fixes

  • Auth: Return JSON on API 403 and auto-attach token header for remote access
  • Serial: Reset TX fragment params when throughput test shows no fragmentation needed
  • i18n: Simplify fragment hint to suggest optimizing UART driver
  • i18n: Clarify fragment hint direction as PC → Device
  • i18n: Add fragment detection hint in throughput test dialog
  • Inject: Account for serial overhead in timing stats
  • UI: Auto-format upload speed unit in injection stats
  • Inject: Separate alloc/patch timing from compile time

Tests

  • JS: Add frontend tests for inject cancel, speed format, and version mismatch

v1.6.1

New Features

  • Inject: Add speed/ETA progress and cancel support for injection
  • Info: Warn on major.minor version mismatch between device and host
  • UI: Enrich device info popup with full details and i18n
  • CLI/MCP: Add file-upload, file-remove, file-mkdir, file-rename commands

Bug Fixes

  • UI: Pin cancel button to right side of progress bar
  • i18n: Add translations for inject cancel button and progress text
  • Inject: Cancel button works for auto-inject, show function name in progress
  • UI: Use transparent background for idle slot indicators
  • NuttX: Make build files location-independent

Improvements

  • Inject: Unify progress/speed/ETA/cancel across all inject paths

Tests

  • CLI/MCP: Add mem_read, mem_write, mem_dump test coverage

Full Changelog: a445e99...32d4634