AnsweredAssumed Answered

Build SDA Image

Question asked by Pietro di Castri on Feb 20, 2020
Latest reply on Mar 26, 2020 by Pietro di Castri

Good morning

 

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

OpenSDAv2 

 

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\pre_build_script.py
'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

 

Pietro

Outcomes