Commit 83d096dc authored by Andreas Werner's avatar Andreas Werner
Browse files

add FreeRTOS Version Number to version

parent facca5c4
......@@ -19,6 +19,8 @@ $(obj)/version.c: FORCE
if git diff-index --name-only HEAD | grep -qv "^scripts/package" > /dev/null; then \
version="$$version-dirty"; \
fi; \
version="$$version\";"; \
cd $$dir; \
echo $$version > $@;
version="$$version FreeRTOS Version: \" tskKERNEL_VERSION_NUMBER;"; \
echo '#include <FreeRTOS.h>' > $@; \
echo '#include <task.h>' >> $@; \
echo $$version >> $@;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment