Build an old firmware version

Hello,
How can I build an older firmware version such as 1.7.0 ?
Following the instruction:

git clone https://github.com/PX4/Firmware.git

Navigate into Firmware directory

cd Firmware

list the releases (tags)

git tag -l

Checkout code for particular tag (e.g. for tag 1.7.4beta)

git checkout -b tags/v1.7.0

make and upload the .px4 file, I should be able to do it. However, QGround control show that the firmware version is still 1.8.0dev.

Thank you in advance,
Daniele

1 Like

I solved the issue by using the following command:

git clone --branch v1.7.0 https://github.com/PX4/Firmware.git