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.
This commit is contained in:
Horo
2022-01-11 18:17:17 +01:00
committed by GitHub
parent e8fc7cc7f8
commit 3d15e35f6c

View File

@@ -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.