mirror of
https://github.com/wiiu-env/USBSerialLogger.git
synced 2024-11-25 12:06:56 +01:00
75394f9447
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
source | ||
.clang-format | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md |
USB Serial Logging
Usage
Place the 20_usb_serial_logging.rpx
in the [ENVIRONMENT]/modules/setup
folder and run the EnvironmentLoader.
Requires MochaPayload as a setup module in [ENVIRONMENT]/modules/setup
.
Requires a USB serial cable with FTDI FT232 chipset (e.g. Digitus DA-70156) and TeraTerm, or similar serial terminal program.
Settings:
- Speed: 57600
- Data: 8 bit
- Parity: none
- Stop bits: 1 bit
- Flow control: none
- New-line Receive: CR+LF
- New-line Transmit: CR+LF
The IOP-Shell is not supported.
Building
For building you just need wut installed, then use the make
command.
Building using the Dockerfile
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
# Build docker image (only needed once)
docker build . -t usb_serial_logging-builder
# make
docker run -it --rm -v ${PWD}:/project usb_serial_logging-builder make
# make clean
docker run -it --rm -v ${PWD}:/project usb_serial_logging-builder make clean
Format the code via docker
docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source -i
Credits
Maschell