Multiple post build steps change in KSDK 3.2?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multiple post build steps change in KSDK 3.2?

390 Views
michaelhuslig
Contributor IV

In version 3.0.0 this command worked fine as a postbuild step:

 

arm-none-eabi-objcopy -O srec "myprog.elf"  "myprog.srec"

& C:\Users\hp\Documents\"Visual Studio 2013"\Projects\encode\Debug\encode "myprog.srec" "myprog.hex"

 

But when I converted it to 3.2 I had to add an & AND move the quotes in the directory in order to get it to work without an unterminated quote syntax error message:

 

arm-none-eabi-objcopy -O srec "myprog.elf"  "myprog.srec"

&& C:"\Users\hp\Documents\Visual Studio 2013\Projects\encode\Debug\encode" "myprog.srec" "myprog.hex"

Labels (1)
0 Kudos
2 Replies

245 Views
michaelhuslig
Contributor IV

I just updated to the latest compiler.  I only need one & now, but I still need the quotation marks moved:

arm-none-eabi-objcopy -O srec "myprog.elf"  "myprog.srec"

& C:"\Users\hp\Documents\Visual Studio 2013\Projects\encode\Debug\encode" "myprog.srec" "myprog.hex"

(all on one line of course)

0 Kudos

245 Views
BlackNight
NXP Employee
NXP Employee

Hi Michael,

To me, it should be

"C:\Users\hp\Documents\Visual Studio 2013\Projects\encode\Debug\encode" "myprog.srec" "myprog.hex"

The 3.x and 3.2.0 are using the same compiler/build tools. But the way how the make and the tools are called has been changed to the solution described in https://mcuoneclipse.com/2015/03/29/solving-the-8192-character-command-line-limit-on-windows/ . Maybe this is causing your problems?

Erich

0 Kudos