Skip to content

Commit

Permalink
AP_Common: Forced Custom Firmware across all boards
Browse files Browse the repository at this point in the history
Added a new File AP_CarbonixCustom where AP_CUSTOM_FIRMWARE_STRING is added to be used across all board so we don,t need to metion it at all board hwdef or version files.

SW-51
  • Loading branch information
loki077 committed Jan 9, 2024
1 parent 44c374e commit b0c5b9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/AP_Common/AP_CarbonixCustom.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef AP_CUSTOM_FIRMWARE_STRING
#undef AP_CUSTOM_FIRMWARE_STRING
#endif

#define AP_CUSTOM_FIRMWARE_STRING "CarboPilot V5.0.0-beta3"
1 change: 1 addition & 0 deletions libraries/AP_Common/AP_FWVersionDefine.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include <AP_Common/AP_FWVersion.h>
#include <AP_Vehicle/AP_Vehicle_Type.h>
#include <AP_Common/AP_CarbonixCustom.h>

/*
allow vendors to set AP_CUSTOM_FIRMWARE_STRING in hwdef.dat
Expand Down

0 comments on commit b0c5b9a

Please sign in to comment.