-
Notifications
You must be signed in to change notification settings - Fork 17
TMO_SHELL: DFU: Allow user entered file names #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This allows user entered file names for the pearl gecko boot slots and for the modem and wifi. Signed-off-by: Kim Mansfield <[email protected]>
There were 4 warnings that needed some coercion to remove them Signed-off-by: Kim Mansfield <[email protected]>
Some tweaks to get the user guides better and add slot to the mcu upload. Signed-off-by: Kim Mansfield <[email protected]>
Put in a couple of tweaks to the help messages to inform the user that slot numbers are mandatory. Signed-off-by: Kim Mansfield <[email protected]>
Signed-off-by: Kim Mansfield <[email protected]>
This is to prevent locking up the Pearl Gecko by programming a slot that the Pearl Gecko is running from. There are some checks in this push the prevents ths. Singed-off-by: Kim Mansfield <[email protected]>
Signed-off-by: Kim Mansfield <[email protected]>
loader Signed-off-by: Kim Mansfield <[email protected]>
slot Signed-off-by: Kim Mansfield <[email protected]>
| switch(dfu_tgt) { | ||
| case DFU_GECKO: return "MCU"; | ||
| case DFU_MODEM: return "Modem"; | ||
| default: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would prefer to use DFU_RS9116W here rather than defaulting to it. the default should return "error" or some such
This additional command (tmo dfu slot) will tell the user which slot he is running from or if not using a slot it will tell the user the BOOT_SLOT is undefined. Signed-off-by: Kim Mansfield <[email protected]>
Signed-off-by: Kim Mansfield <[email protected]>
Signed-off-by: Kim Mansfield <[email protected]>
samples/tmo_shell/src/tmo_shell.c
Outdated
| } | ||
| } | ||
| #else | ||
| if (delta_firmware_target != 1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this line should be removed so that it always returns an error when trying to update a slot without bootloader
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is the way it use to work but Kevin had me add that line so that we could program if there is no slot being used.
Signed-off-by: Kim Mansfield <[email protected]>
Signed-off-by: Kim Mansfield <[email protected]>
This allows user entered file names for the pearl gecko boot slots and for the modem and wifi.
Signed-off-by: Kim Mansfield [email protected]