Skip to content

Commit a58498c

Browse files
Add Apex support to dump metadata
1 parent 732adcb commit a58498c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/cargo_metadata_dump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def save_app_params(device: str, app_build_path: Path, json_path: Path) -> None:
3232
app_flags = int(app_flags, 16)
3333
else:
3434
app_flags = int(app_flags)
35-
if device in ["nanox", "stax", "flex"]:
35+
if device in ["nanox", "stax", "flex", "apex_m", "apex_p"]:
3636
app_flags = app_flags | 0x200
3737
app_flags = "0x{:03x}".format(app_flags)
3838

@@ -67,7 +67,7 @@ def save_app_params(device: str, app_build_path: Path, json_path: Path) -> None:
6767
parser.add_argument("--device",
6868
help="device model",
6969
required=True,
70-
choices=["nanos", "nanox", "nanosp", "stax", "flex"])
70+
choices=["nanos", "nanox", "nanosp", "stax", "flex", "apex_m", "apex_p"])
7171
parser.add_argument("--app_build_path",
7272
help="App build path, e.g. <app-boilerplate/app>",
7373
required=True)

0 commit comments

Comments
 (0)