TFTP
Add initial doc
This commit is contained in:
21
docs/tftp.md
Normal file
21
docs/tftp.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# TFTP
|
||||
This is the documentation of the TFTP task
|
||||
## Initialization
|
||||
The TFTP task is initialized in the main function.
|
||||
```c
|
||||
// Initialize TFTP task
|
||||
tftp_init();
|
||||
```
|
||||
## Usage
|
||||
The TFTP task is used to receive and send files via TFTP.
|
||||
### Receive a file
|
||||
index.txt contains a list of files on the file system.
|
||||
```bash
|
||||
tftp -g -r <filename> <ip>
|
||||
```
|
||||
### Send a file
|
||||
You can only write to the following files:
|
||||
- virtImage.raw
|
||||
```bash
|
||||
tftp -p -l <filename> <ip>
|
||||
```
|
||||
Reference in New Issue
Block a user