diff options
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/olimex-lpc1766stk/README.txt | 22 | ||||
-rw-r--r-- | nuttx/configs/olimex-lpc1766stk/zmodem/defconfig | 2 |
2 files changed, 21 insertions, 3 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt index 39c7a25d6..7f2c74d29 100644 --- a/nuttx/configs/olimex-lpc1766stk/README.txt +++ b/nuttx/configs/olimex-lpc1766stk/README.txt @@ -1082,10 +1082,28 @@ Where <subdir> is one of the following: CONFIG_UART1_PARITY=0 CONFIG_UART1_2STOP=0 - 2. Support is included for the NuttX sz and rz commands. + 2. Support is included for the NuttX sz and rz commands. In order to + use these commands, you will need to mount the SD card so that you + will have a file system to transfer files in and out of: + + nsh> mount -t vfat /dev/mmcds0 /mnt/sdcard + + NOTE: You must use the mountpoint /mnt/sdcard because that is the + Zmodem sandbox specified in the configuration. + + CONFIG_SYSTEM_ZMODEM_MOUNTPOINT="/mnt/sdcard" + + Hmmm.. I probably should set up an NSH script to just mount /dev/mmcsd0 + at /mnt/sdcard each time the board boots. This program has been verified against the rzsz programs running on a - Linux PC. To send a file to the PC, first start rz on the Linux host: + Linux PC. To send a file to the PC, first make sure that the serial + port is configured to work with the board: + + $ sudo stty -F /dev/ttyS0 57600 + $ sudo stty -F /dev/ttyS0 + + start rz on the Linux host: $ sudo rz </dev/ttyS0 >/dev/ttyS0 diff --git a/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig b/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig index 1cb27f6a5..ad5635367 100644 --- a/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig +++ b/nuttx/configs/olimex-lpc1766stk/zmodem/defconfig @@ -796,7 +796,7 @@ CONFIG_SYSTEM_ZMODEM=y CONFIG_SYSTEM_ZMODEM_RCVBUFSIZE=512 CONFIG_SYSTEM_ZMODEM_PKTBUFSIZE=512 CONFIG_SYSTEM_ZMODEM_SNDBUFSIZE=512 -CONFIG_SYSTEM_ZMODEM_MOUNTPOINT="/tmp" +CONFIG_SYSTEM_ZMODEM_MOUNTPOINT="/mnt/sdcard" CONFIG_SYSTEM_ZMODEM_SENDSAMPLE=y CONFIG_SYSTEM_ZMODEM_SENDATTN=y CONFIG_SYSTEM_ZMODEM_ALWAYSSINT=y |