Revert "Experimental: Checks latest version of pyocd"
This reverts commit d7c99b065671533c2a4bb2ab09626c19427d2d1b.
Reason for revert: Version of pyocd is not the problem
Change-Id: I75e37bfb8c19509505a1d9d408871ad8f79d46e5
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index 3a1a61b..d1a3419 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -141,15 +141,29 @@
"bin/tfm_s_signed.bin "
"image_signing/scripts/tfm_ns_signed.bin ;"
"popd"),
- "nxp/lpcxpresso55s69": ("echo 'LPCXpresso55S69 board post process\n';"
- "pip3 install --upgrade pyocd " # this is experimental, remove
- "pyocd erase --mass -t LPC55S69 ; "
+ "nxp/lpcxpresso55s69": ("echo 'LPCXpresso55S69 board post process\n'; "
"if [ -f \"%(ci_build_root_dir)s/spe/bin/bl2.hex\" ]; then "
- "pyocd flash %(ci_build_root_dir)s/spe/bin/bl2.hex -t LPC55S69; "
- "pyocd flash %(ci_build_root_dir)s/nspe/bin/tfm_s_ns_signed.bin --base-address 0x8000 -t LPC55S69 --no-wait; "
+ "srec_cat "
+ "%(ci_build_root_dir)s/spe/bin/"
+ "bl2.bin "
+ "-Binary -offset 0x0 "
+ "-fill 0xFF 0xA000000 0xA020000 "
+ "%(ci_build_root_dir)s/nspe/"
+ "tfm_s_ns_signed.bin "
+ "-Binary -offset 0x8000 "
+ "-fill 0xFF 0xA020000 0xA200000 "
+ "-o %(ci_build_root_dir)s/"
+ "spe/bin/tfm.hex -Intel "
"else "
- "pyocd flash %(ci_build_root_dir)s/spe/bin/tfm_s.hex %(ci_build_root_dir)s/nspe/bin/tfm_ns.hex -t LPC55S69 --no-wait; "
- "fi;"),
+ "srec_cat "
+ "%(ci_build_root_dir)s/nspe/"
+ "tfm_s_ns_signed.bin "
+ "-Binary -offset 0x8000 "
+ "-fill 0xFF 0xA020000 0xA200000 "
+ "-o %(ci_build_root_dir)s/"
+ "spe/bin/tfm.hex -Intel "
+ "fi;"
+ ),
"cypress/psoc64": ("echo 'Sign binaries for Cypress PSoC64 platform';"
"pushd %(codebase_root_dir)s/;"
"sudo /usr/local/bin/cysecuretools "