Keil Logo

Get version of toolchain and uVision from command line

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Libor Votoček
Posted
22-Jun-2018 10:21 GMT
Toolset
C51
New! Get version of toolchain and uVision from command line

Hi,
is there any way how to get version of PK51 toolchain and uVision IDE from command line?

We need this for automatic builds. We are building project on server by calling "UV4.exe -r ... -o build.log" But even build log does not constain any useful info.

Thanks in advance.
LV*

Read-Only
Author
Andrew Neil
Posted
22-Jun-2018 10:34 GMT
Toolset
C51
New! RE: Get version of toolchain and uVision from command line

The C51 command with no arguments gives its version; eg,

C:\...\BIN>c51

C51 COMPILER V9.53.0.0 - SN: xxxxx-xxxxxx
COPYRIGHT Copyright (C) 2012 - 2014 ARM Ltd and ARM Germany GmbH. All rights reserved.

C51 FATAL-ERROR -
  ACTION:  PARSING INVOKE-/#PRAGMA-LINE
  LINE:    C:\bin\SiliconLabs\SimplicityStudio\v4\developer\toolchains\keil_8051\9.53\BIN\C51.exe
  ERROR:   NON-NULL ARGUMENT EXPECTED
C51 TERMINATED.

It also appears in the listing file: http://www.keil.com/support/man/docs/c51/c51_cm_lstfile.htm

I guess the other tools would be similar ... ?

Dunno about uVision, but they are supplied as a pack - so the uVision version can probably be deduced from the other versions ... ?

Read-Only
Author
Libor Votoček
Posted
22-Jun-2018 11:30 GMT
Toolset
C51
New! RE: Get version of toolchain and uVision from command line

This could work. Thanks you. Little bit compicated, but we could hande it.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.