Skip to content

Commit 131e0fa

Browse files
committed
CMake: Fix PSOC6 post build script
Ensure the signing image ids are of type int.
1 parent 8340ea2 commit 131e0fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_Cypress/scripts/PSOC6.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,10 @@ def parse_args():
369369
"--boot-scheme", help="the boot scheme."
370370
)
371371
sign_subcommand.add_argument(
372-
"--cm0-img-id", help="the Cortex-M0 image ID."
372+
"--cm0-img-id", type=int, help="the Cortex-M0 image ID."
373373
)
374374
sign_subcommand.add_argument(
375-
"--cm4-img-id", help="the Cortex-M4 image ID."
375+
"--cm4-img-id", type=int, help="the Cortex-M4 image ID."
376376
)
377377
sign_subcommand.add_argument(
378378
"--elf", required=True, help="the application ELF file."

0 commit comments

Comments
 (0)