JN518x: FYI: post process including dk6_image_tool.py

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

JN518x: FYI: post process including dk6_image_tool.py

1,031件の閲覧回数
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 件の賞賛
返信
1 返信

992件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Thanks for your contribution!