6 years, 4 months ago.

Question about CMSIS-DAP

Hello, I download the whole project source codes at: https://github.com/NordicSemiconductor/CMSIS-DAP/tree/V0216, then I use the KEIL to open the bootloader project(CMSIS-DAP-master\bootloader\mdk\ATSAM3U2C),when I compile the project,I found this message: ..\..\Common\inc\mbed_htm.h(19): error: #5: cannot open source input file "version_git.h": No such file or directory. I research this version_git.h file on google,but I can't find it.Could you offer it? By the way,how can I download this bootloader to the MCU(ATSAM3U2C)?By JLINK? Any good suggestion? Thank you!

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers …

1 Answer

6 years, 4 months ago.

version_git.h would be something which gets auto-generated prior to a build. It originates from the execution of https://github.com/NordicSemiconductor/CMSIS-DAP/blob/V0216/tools/pre_build_script.py

You'd need to have git installed on your system for the script to run usefully. Study the build toolchain (under tools) to get an idea of what might be happening. Otherwise, I'm sure someone else from the team will answer this for you.