JorgeGzm opened a new pull request, #12082:
URL: https://github.com/apache/nuttx/pull/12082

   ## Summary
   Add support to zmodem to linum-stm32h753bi
   
   ## Impact
   Use zmodem with sdcard and nsh via usb
   
   ## Testing
   ```
   Sending files to target::
   
       # Mount the SDCard at /tmp
       nsh> mount -t vfat /dev/mmcsd0 /tmp
   
       # Waiting for a new file.
       nsh> rz
   
       # Transmitting a file to target.
       my_pc$ sz --zmodem nuttx_logo.txt > /dev/ttyACM0 < /dev/ttyACM0
   
       # Check if the file was received
       nsh> ls -l /tmp
       /tmp:
       -rw-rw-rw-        1942 nuttx_logo.txt
   
   Transmiting a file to PC::
   
       # Sending the file nuttx_logo.txt to PC
       nsh> sz -x 1 /tmp/nuttx_logo.txt
       **B00000000000000
   
       # Using zmodem to receive a file from target
       my_pc/temp$ rz > /dev/ttyACM0 < /dev/ttyACM0
       Receiving: nuttx_logo.txt                         
       Bytes received:    1942/   1942   BPS:124544
   
       Transfer complete
       my_pc/temp$ ls -l
       -rw-------  1 nuttx nuttx    1942 abr  6 16:07 nuttx_logo.txt
   
   ```
   


-- 
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