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

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*

Parents
  • 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 ... ?

Reply
  • 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 ... ?

Children