Updated usb serial console (markdown)

Bernd Herzog 2024-01-08 20:20:11 +01:00
parent 6bcc22e54e
commit 8eeea06c0b

@ -52,17 +52,24 @@ The terminal exposes the ChibiOS/RT Shell:
* button 8: Rotary Right * button 8: Rotary Right
* ls * ls
* Lists files and directories. * Lists files and directories.
* rm * mkdir
* unlink
* Deletes a file. * Deletes a file.
* open * fopen
* Opens a file for reading and modification. * Opens a file for reading and modification.
* Note: The current position will be set to the end of the file. Use "seek 0" to move to the start of the file. * Note: The current position will be set to the end of the file. Use "seek 0" to move to the start of the file.
* seek * fseek
* Sets the current position inside the currently opened file. * Sets the current position inside the currently opened file.
* close * fclose
* Closes the currently opened file. * Closes the currently opened file.
* read * ftruncate
* removes all content in the file behind the current position.
* ftell
* shows the current position is the file.
* fread
* Reads n bytes from the currently opened file. * Reads n bytes from the currently opened file.
* write * there is a faster binary read option: frb
* fwrite
* Writes bytes from the currently opened file. * Writes bytes from the currently opened file.
* ![291070841-9e4ecef9-89bb-4a47-be0c-710384a84a22](https://github.com/eried/portapack-mayhem/assets/13151053/b7156f62-537a-4a7b-9d76-0c197992a040) * ![291070841-9e4ecef9-89bb-4a47-be0c-710384a84a22](https://github.com/eried/portapack-mayhem/assets/13151053/b7156f62-537a-4a7b-9d76-0c197992a040)
* there is a faster binary write option: frw