Skip to content

Fix ChibiOS version display to show correct product version#178

Merged
bvernoux merged 1 commit intohydrabus:masterfrom
seuros:fix-chibios-version-display
Aug 21, 2025
Merged

Fix ChibiOS version display to show correct product version#178
bvernoux merged 1 commit intohydrabus:masterfrom
seuros:fix-chibios-version-display

Conversation

@seuros
Copy link
Copy Markdown
Contributor

@seuros seuros commented Jul 24, 2025

Summary

Fixes the incorrect ChibiOS version display in the show system command.

Problem

The command was showing only the RT kernel version (5.1.0) instead of the actual ChibiOS product version (18.2.2).

Solution

  • Added include for chversion.h to access the CH_VERSION macro
  • Updated the display format to show both versions
  • Output changed from ChibiOS 5.1.0 to ChibiOS 18.2.2 (RT 5.1.0)

Testing

Tested on HydraBus v1 hardware - confirmed the version now displays correctly.

Before:

Kernel:       ChibiOS 5.1.0

After:

Kernel:       ChibiOS 18.2.2 (RT 5.1.0)

This gives users complete version information about both the ChibiOS product and the RT kernel version.

The 'show system' command was displaying only the RT kernel version (5.1.0)
instead of the actual ChibiOS product version (18.2.2).

This commit:
- Adds include for chversion.h to access CH_VERSION macro
- Updates display to show both ChibiOS product version and RT kernel version
- Changes output from 'ChibiOS 5.1.0' to 'ChibiOS 18.2.2 (RT 5.1.0)'

This provides users with complete version information about both the
ChibiOS product and the specific RT kernel version being used.
@bvernoux bvernoux merged commit 68b9f67 into hydrabus:master Aug 21, 2025
1 check passed
@bvernoux
Copy link
Copy Markdown
Member

Thanks for your contribution

@seuros seuros deleted the fix-chibios-version-display branch August 21, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants