From acf1a11ac6e367a0c00b83441ec89c3233e22579 Mon Sep 17 00:00:00 2001 From: Andy Liu Date: Sat, 19 Aug 2023 20:12:08 +0800 Subject: [PATCH] Set default download partition to user Signed-off-by: Andy Liu --- mm/src/mm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/src/mm.py b/mm/src/mm.py index 8b73203..b4ebf3a 100644 --- a/mm/src/mm.py +++ b/mm/src/mm.py @@ -370,7 +370,7 @@ def main(): download_parser = subparsers.add_parser('download', help = 'Download the target executable to the boards RAM/Flash/SD card') download_parser.add_argument('-t', '--target_location', type = str, choices = ['ram', 'partition', 'sd'], default = 'partition', help = "Download type, default is MadMachine Project") - download_parser.add_argument('-p', '--partition', type = str, default = 'userapp', help = "Target flash partition") + download_parser.add_argument('-p', '--partition', type = str, default = 'user', help = "Target flash partition") download_parser.add_argument('-a', '--address', type = str, default = '0x80000000', help = "Target RAM address") download_parser.add_argument('-f', '--file', type = Path, default = None, help = "Image file path") download_parser.add_argument('-v', '--verbose', action = 'store_true', help = "Increase output verbosity")