JN518x: FYI: post process including dk6_image_tool.py

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

JN518x: FYI: post process including dk6_image_tool.py

1,028 Views
usaygo
Contributor III

Just FYI,

I tailored [C/C++ Build]>[Settings]>[tab:Build steps]>[Post-build steps] commands, where its syntax is too limited to write simply.

  • put everything into a single /bin/sh script.
  • better Python command check. Also can pass the specific Python command name by adding [Build Variables] of DK6_PY.
  • better error reporting.
  • may work both Win and Others. (only tested on Win platform so far).
  • may work with Python2.7 (normal signing w/o encryption)

if you put two scripts (attached) into {ProjDirPath}/build/scripts, replace post-build Commands by the line below:

sh ../build/scripts/dk6_image.sh "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}" DK6_PY="\"${DK6_PY}\"" DK6_OPTS="\"${ENV_IMAGE_TOOL_OPTS}\""

 

0 Kudos
Reply
1 Reply

989 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Thanks for your contribution!