Batch Build Using IAR Tools

I am trying to batch build a project using IAR tools. The processor is CC2530 and it works great in the IDE. I completed the documentation for the batch build (Project / Batch Build) and created a .cspy file, which is supposed to be my batch file, but in the comments in this file it indicates that I need a debug file (.ubrof) to do this. I can not find the .ubrof file, and I searched the entire structure of the project directory. In addition, I want my batch build to create a production version without debugging information.

Where can I get the .ubrof file? How to make a serial assembly using IAR tools?

+3
source share
4 answers

My understanding of your question is that you want to create a firmware image using the command line from a batch file. I use the IAR tools for the MSP430 and AVR32 processor families, and the command line used to invoke the IAR assembly process from the command line is

iarbuild "Project_File.ewp" -make BUILD_NAME -log info

where BUILD_NAME is the build configuration ("Debug" or "Release" are the two default options). The syntax of the iarbuild command is provided in the Embedded workbench manual.

UBROF - , , . UBROF s- , .

+10

.cspy C-Spy; .

.ubrof - , IAR, ( ).

IAR (iarbuild.exe) C-Spy (cspybat.exe)

+1

// iar . , (make, cmake, scons ..) - . , .

, () , iar: , . DRY.

+1

IAR IDE "Batch Builds", workspace.eww. "Batch Builds", , IDE.

, , , , Ian , IAR. , , .

Ian .

, IDE Project Management and Building Guide . 71. 69. ARM.

iarbuild project.ewp [-clean | -build | -make] [-log errors | warnings | info | all]

iarbuild "Project_File.ewp" -clean BUILD_NAME
iarbuild "Project_File.ewp" -make BUILD_NAME -log info

// repeat for other configurations / projects
0
source

Source: https://habr.com/ru/post/1744832/


All Articles