Build SDA Image

Showing results for 
Search instead for 
Did you mean: 

Build SDA Image

Senior Contributor I

Good morning

I am trying to build the binary image for SDAV2 following the link


I downloaded the Python v2.7 and the uVision V5.29

Also from github the CMSIS-DAP-master

I follow the suggestion of installing the legacy pack, since I get the documented errors.

The python is on the path.

I get the following

Build started: Project: k20dx128_bootloader
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'k20dx128_bootloader'
Before Build - User command #1: python ..\..\..\tools\
'git' is not recognized as an internal or external command,
operable program or batch file.
#> Pre-build script start
#> No git version file to remove
#> Getting git SHA
#> ERROR: Failed to get git SHA, do you have git.exe in your PATH environment variable?
compiling version.c...
..\..\Common\inc\mbed_htm.h(19): error: #5: cannot open source input file "version_git.h": No such file or directory
#include "version_git.h"
..\..\Common\src\version.c: 0 warnings, 1 error
".\Obj\k20dx128_bootloader.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01

A help is welcome


Labels (1)
2 Replies

Senior Contributor I


Thank You..

I am trying to proceed...


0 Kudos

NXP TechSupport
NXP TechSupport

Hi Pietro,


Are you downloading ZIP folder? Please check the following note in the guide you are following.

The code is found in the MBED git repository, so it can be downloaded using a git clone command:

“git clone


Note that there is a Download Zip option, but you will run into a issue when trying to compile that version, so you must download it via git instead.

Maybe that is the issue you are facing on your side. If not, please provide detailed description of the steps you are following.


Best regards,


- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.