This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to compile/build Keil ARM-MDK5 projects using Windows command line for CI?

Hi, I have several ARM Cortex-M based boards such as Arduino DUE, Nordic's PCA10040 (nRF52-DK), STM32F4 discovery, and STM32L4 discovery.

I use Keil uVision 5 (ARM-MDK, version 5.23.0) on my 64-bit Windows 7 and 10 desktops.

To be more specific;

Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 4 (build 422)
Assembler: Armasm.exe V5.06 update 4 (build 422)
Linker/Locator: ArmLink.exe V5.06 update 4 (build 422)
Library Manager: ArmAr.exe V5.06 update 4 (build 422)
Hex Converter: FromElf.exe V5.06 update 4 (build 422)
CPU DLL: SARMCMS.DLL V5.23
Dialog DLL: DCM.DLL V1.15.0.0
Target DLL: Segger\JL20M3.dll V2.99.23.0
Dialog DLL: TCM.DLL V1.27.0.0

I'm planning to use CI (Continuous Integration) programs; I will choose Jenkins or Atlassian Bamboo.

The server which will host the CI program is using the 64-bit Windows OS and Keil uVision 5 is also installed on the server computer.

So, both the server computer and my working computer have the above tools installed.

Back to my question,

I want to compile and build Keil projects via command line (CMD or PowerShell commands).

By learning this, I can configure the CI program to build Keil projects.

What should I type to compile/build Keil projects at the command line?

Are there documents about parameters of Armcc / Armasm / ArmLink, etc?

-Best Regards