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

Add Git info CAN message #235

Open
dyldonahue opened this issue Nov 24, 2024 · 0 comments
Open

Add Git info CAN message #235

dyldonahue opened this issue Nov 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dyldonahue
Copy link
Contributor

Current Features

nothing

Desired Additional Features

Create a new CAN message that utilizes the Git information and broadcast over CAN

The git information invovles 5 different integer values, accesible by MACROS defined in the Makefile :

CFLAGS += -DGIT_MAJOR_VERSION=$(GIT_MAJOR_VERSION)
-DGIT_MINOR_VERSION=$(GIT_MINOR_VERSION)
-DGIT_PATCH_VERSION=$(GIT_PATCH_VERSION)
-DGIT_IS_UPSTREAM_CLEAN=$(GIT_IS_UPSTREAM_CLEAN)
-DGIT_IS_LOCAL_CLEAN=$(GIT_IS_LOCAL_CLEAN)

	 ( the macro u cna access is the word on the left with the "D" removed, ie GIT_MAJOR_VERSION )

the first 3 values are integers (can be 8 bit), and the next 2 are booleans.

Screenshots (as needed)

No response

@dyldonahue dyldonahue added the enhancement New feature or request label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant