Skip to content

Commit

Permalink
Set default download partition to user
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Liu <[email protected]>
  • Loading branch information
andy0808 committed Aug 19, 2023
1 parent 23efe30 commit acf1a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/src/mm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit acf1a11

Please sign in to comment.