From 3d15e35f6cefd72a445f0d2c10adb673f26390d0 Mon Sep 17 00:00:00 2001 From: Horo Date: Tue, 11 Jan 2022 18:17:17 +0100 Subject: [PATCH] Update Logo.md - simplify the objcopy command Not all people will have the knowledge to understand what it means to use any objcopy command. Therefore, the default should be an objcopy, which is easy to obtain on Linux. --- Documentation/Logo.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/Logo.md b/Documentation/Logo.md index b8b0add0..0c3e3d25 100644 --- a/Documentation/Logo.md +++ b/Documentation/Logo.md @@ -33,8 +33,10 @@ To flash the logo, use the following steps: - `python3 img2ts100.py input.png logo.hex` - - `riscv-nuclei-elf-objcopy -I ihex -O binary logo.hex logo.bin` + - `objcopy -I ihex -O binary logo.hex logo.bin` - `dfu-util -d 28e9:0189 -a 0 -D logo.bin -s 0x0801F800` This will use the objcopy tool to convert the hex to a binary file, and then use dfu-util to flash it in the right location. - If you do not have `riscv-nuclei-elf-objcopy` installed, you can generally use any objcopy tool from any toolchain you do have. + If you do not have an `objcopy` command you can install the `binutils` suite using your OSs package manager. + Maybe you also have already installed the riscv-nuclei toolchain, then you can use `riscv-nuclei-elf-objcopy`. + Generally you can use any objcopy tool from any toolchain you do have.