zdebanos opened a new pull request, #3918:
URL: https://github.com/apache/nuttx-apps/pull/3918

   ## Summary
   
   This commit rewrites the shv-nxboot-updater update-script to a tui based 
implementation.
   Also a pyshv version is increased to 0.10.1.
   
   The script is fully working and the TUI based implementation is much lighter 
than the
   previous gui one.
   
   ## Impact
   
   More straightforward flashing from the command-line interface.
   
   ## Testing
   
   Two commands were run to confirm the functionality:
   
   ```
   python3 tui.py -o flash -i ./image.img -m test/device -s 
"tcp://test@IP_ADDR?password=test"
   ```
   The script successfully flashes the image.img file (generated by 
`boot/nxboot/tools/nximage.py`)
   to the target device over the SHV broker at IP_ADDR. The script also 
succesfully reseted the device
   for the fw update to be performed.
   
   ```
   python3 tui.py -o confirm  -m test/device -s 
"tcp://test@IP_ADDR?password=test"
   ```
   The script succesfully confirms the firmware after the fw reset.
   
   In both scenarios, the NuttX device was running this program:
   ```
   shv_nxboot_updater -m test/device -i IP_ADDR -p test -t 3755 -u test
   ```
   
   DOCUMENTATION TO BE ADDED.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to