CMake: Fix PSOC6 post build script

Ensure the signing image ids are of type int.
pull/14344/head
Hugues Kamba 2021-02-24 22:30:40 +00:00
parent 8340ea2d2b
commit 131e0fa2bf
1 changed files with 2 additions and 2 deletions

View File

@ -369,10 +369,10 @@ def parse_args():
"--boot-scheme", help="the boot scheme." "--boot-scheme", help="the boot scheme."
) )
sign_subcommand.add_argument( sign_subcommand.add_argument(
"--cm0-img-id", help="the Cortex-M0 image ID." "--cm0-img-id", type=int, help="the Cortex-M0 image ID."
) )
sign_subcommand.add_argument( sign_subcommand.add_argument(
"--cm4-img-id", help="the Cortex-M4 image ID." "--cm4-img-id", type=int, help="the Cortex-M4 image ID."
) )
sign_subcommand.add_argument( sign_subcommand.add_argument(
"--elf", required=True, help="the application ELF file." "--elf", required=True, help="the application ELF file."