Skip to content

Add clear versioning scheme for bootloader images #24

@terrillmoore

Description

@terrillmoore

The bootloader image format includes version fields in the McciBootloader_AppInfo_t structure, and mccibootloader_image supports --app-version for setting them. However, there's no consistent versioning scheme applied across targets:

  • STM32H7 (Makefile-stm32h7.mk) sets --app-version 1.0.0
  • STM32L0 (Makefile-stm32l0.mk) doesn't set an explicit app-version
  • The Doxyfile PROJECT_NUMBER is empty
  • The mccibootloader_image tool has its own version (0.4.0) in tools/mccibootloader_image/i/mccibootloader_image_version.h, independently managed

We should establish:

  1. A version numbering convention for the bootloader itself (separate from the tool)
  2. Consistent --app-version usage across all family makefiles
  3. A scheme for keeping Doxyfile PROJECT_NUMBER in sync
  4. Documentation of the versioning policy

The version infrastructure exists in the image format -- this is about making the build system use it consistently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions