Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single Location Custom Firmware Print Method #93

Merged
merged 4 commits into from
Jan 9, 2024

Conversation

loki077
Copy link
Contributor

@loki077 loki077 commented Jan 9, 2024

This has been tested with SITL, Cube and CarbonixF405 board

This is been handled now in AP_CarbonixCustom.h

SW-51
In this commit, a preprocessor directive has been added to the AP_FWVersionDefine.h file. This directive checks if the CARBOPILOT macro is defined. If it is, the AP_CUSTOM_FIRMWARE_STRING macro is defined as mentiones. This allows for custom firmware versioning when building the CarboPilot project.

Going forward we will modify the Custom Firmware name at only one location.

And to use it need to compile the code with the #define eg below:
./waf configure --board CarbonixCubeOrange --define=CARBOPILOT=1

SW-51
@loki077 loki077 force-pushed the feature/SW-51-common-custom-firmware-version branch from b0c5b9a to 0e51f86 Compare January 9, 2024 05:02
@loki077 loki077 merged commit f3e0fed into CxPilot Jan 9, 2024
62 checks passed
@robertlong13 robertlong13 deleted the feature/SW-51-common-custom-firmware-version branch June 17, 2024 07:06
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