version.txt file format ?
Posted: Sat Jul 22, 2023 12:59 am
Hi,
I am trying to put a app version information inside "version.txt" file located at $(PROJECT_PATH)/version.txt, like this:
https://docs.espressif.com/projects/esp ... pp-version
I only put a number inside file "version.txt" to test and not work.
How should this file be formatted ?
ie:
v2.1
2.1
Does it need to have any terminator character in this string ?
Do i need to enable something for esp-idf to use this file as the app version source ?
I tested like this:
I am trying to put a app version information inside "version.txt" file located at $(PROJECT_PATH)/version.txt, like this:
https://docs.espressif.com/projects/esp ... pp-version
I only put a number inside file "version.txt" to test and not work.
How should this file be formatted ?
ie:
v2.1
2.1
Does it need to have any terminator character in this string ?
Do i need to enable something for esp-idf to use this file as the app version source ?
I tested like this:
Code: Select all
C:\.espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe c:\esp-idf\components\esptool_py\esptool\esptool.py --chip esp32s3 image_info build/wss_server.bin
esptool.py v4.6.2
File size: 1410016 (bytes)
Image version: 1
Entry point: 40379800
5 segments
Segment 1: len 0x8711c load 0x3c0c0020 file_offs 0x00000018 [DROM]
Segment 2: len 0x05444 load 0x3fc9cb00 file_offs 0x0008713c [BYTE_ACCESSIBLE,MEM_INTERNAL,DRAM]
Segment 3: len 0x03a88 load 0x40378000 file_offs 0x0008c588 [MEM_INTERNAL,IRAM]
Segment 4: len 0xb7400 load 0x42000020 file_offs 0x00090018 [IROM]
Segment 5: len 0x10fac load 0x4037ba88 file_offs 0x00147420 [MEM_INTERNAL,IRAM]
Checksum: e9 (valid)