EmbeddedRelated.com
The 2026 Embedded Online Conference
Embedded Firmware Refactoring, Optimisation and Migration

Embedded Firmware Refactoring, Optimisation and Migration

Smith
Still RelevantAdvanced

Legacy products are often based on older hardware platforms which often become under-powered or run out of memory which constrains further product development. Customers are always looking for new features and improved performance but...


Summary

Smith presents practical strategies for refactoring, optimising, and migrating legacy embedded firmware to modern platforms. Readers will learn how to profile resource constraints, introduce modular abstractions, and choose appropriate migration paths (updated MCU, RTOS, or Embedded Linux) to enable new features and better performance.

Key Takeaways

  • Profile resource usage to identify CPU, memory, and I/O bottlenecks before planning refactoring or migration.
  • Modularize firmware by defining clear HAL and BSP boundaries to simplify driver reuse and platform portability.
  • Choose the right migration path (upgrade MCU, adopt an RTOS, or port to Embedded Linux) based on measured constraints and real-time requirements.
  • Optimize footprint and performance via linker scripts, compiler flags, data-structure tuning, and selective feature pruning.

Who Should Read This

Advanced embedded firmware engineers and technical leads working on legacy microcontroller products who must migrate, optimise, or add features while preserving real-time behaviour.

Still RelevantAdvanced

Topics

Firmware DesignRTOSEmbedded LinuxARM Cortex-M

Related Documents


The 2026 Embedded Online Conference