ESP app versions question
Posted: Wed Apr 03, 2019 6:40 pm
Hi,
When ESP32 start I have this in log:
Where from this value
What does mean dirty? Should it be "clean" anyhow?
Shouldnt my version be "1" as noted at this doc?:
https://docs.espressif.com/projects/esp ... pp-version
I've located "6626cee-dirty" string at Project_folder/build/app_update/esp_app_desc.i , looks like its already had been set from some outside
When ESP32 start I have this in log:
Code: Select all
I (558) boot: Loaded app from partition at offset 0x10000
I (559) boot: Disabling RNG early entropy source...
I (559) cpu_start: Pro cpu up.
I (563) cpu_start: Application information:
I (567) cpu_start: Project name: My_project
I (572) cpu_start: App version: 6626cee-dirty
I (578) cpu_start: Compile time: 20:21:35
I (583) cpu_start: Compile date: Apr 3 2019
I (588) cpu_start: ESP-IDF: v3.3-beta1-274-g44b97b7fe
comes out?6626cee
What does mean dirty? Should it be "clean" anyhow?
Shouldnt my version be "1" as noted at this doc?:
https://docs.espressif.com/projects/esp ... pp-version
I dont have version.txt file inside project folder and my Makefile doesnt contain any PROJECT_VER includes:If PROJECT_VER variable is not set in project Makefile/CMakeLists.txt then it will be retrieved from either $(PROJECT_PATH)/version.txt file (if present) else using git command git describe. If neither is available then PROJECT_VER will be set to “1”.
Code: Select all
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#
PROJECT_NAME := My_project
EXTRA_CFLAGS += --save-temps
# Add new components (source folders)
# Must be before include $(IDF_PATH)/make/project.mk
# $(PROJECT_PATH)/xxx didn't work -> use $(abspath xxx) instead
EXTRA_COMPONENT_DIRS := $(abspath driver) $(abspath custom_library) $(abspath examples)
include $(IDF_PATH)/make/project.mk