CMSIS-Build: cbuild_uv.sh: Build MDK project

| CMSIS-Build Version 0.9.0 (beta) Tools, software frameworks, and work flows for productivity with CMSIS based projects

- Main Page
- Usage and Description

All Pages
cbuild_uv.sh: Build MDK project

The `cp_install` "cbuild_uv.sh" script calls uVision and exports all targets for a Keil MDK project in the CMSIS project format (*.cprj files). The script then invokes the cbuild.sh script for each exported project target. It is called from the Bash command line with the following syntax:

cbuild_uv.sh <project-file>.uvprojx

Where:

`cbuild_uv.sh` is the name of the script.

<`project-file>` is the filename of a uVision project.

Note
  The environment variable `$MDK_ROOT` must refer to the base directory of the Keil MDK installation.
  Some MDK features are not converted as not all build features of µVision are available in command line build process. For example:
  - User commands pre and post build
  - `fcarm` code generator
  - Linker script generation. Instead the linker script generated by MDK is used by cmsis build.

# Usage Example

    $ cbuild_uv.sh FTP_Server.uvprojx
    (cbuild_uv.sh): Build MDK Project 0.9.0 (C) 2020 ARM
    uVision has created CPRJ files for the following targets:
    FTP_Server.Debug.cprj
    FTP_Server.Release.cprj
     --------------------------------------------------------------------
     calling cbuild.sh for FTP_Server.Debug.cprj
     --------------------------------------------------------------------
     ...
     --------------------------------------------------------------------
     calling cbuild.sh for FTP_Server.Release.cprj
     --------------------------------------------------------------------
     ...
    builds completed for:
    FTP_Server.Debug.cprj
    FTP_Server.Release.cprj
    total: 2 failed: 0