diff options
author | cybernesto <[email protected]> | 2022-01-12 17:45:22 +0100 |
---|---|---|
committer | cybernesto <[email protected]> | 2022-01-12 17:45:22 +0100 |
commit | 1564f881f466bbb9944e5fac843c3d718b75ca65 (patch) | |
tree | 15fd88733a17b1d884bcdce7d2102ac6800921a1 /Documentation/Logo.md | |
parent | e8fc7cc7f83f8c5861dec8571b65b51e53d910a5 (diff) | |
download | IronOS-1564f881f466bbb9944e5fac843c3d718b75ca65.tar.gz IronOS-1564f881f466bbb9944e5fac843c3d718b75ca65.zip |
Add capability of writing logos in binary format
Extended python script to support writing .bin files directly. This avoids the additional step of using objcopy.
Updated the 001_PINECIL.bin file to match the PNG.
Diffstat (limited to 'Documentation/Logo.md')
-rw-r--r-- | Documentation/Logo.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/Logo.md b/Documentation/Logo.md index b8b0add0..164c28c9 100644 --- a/Documentation/Logo.md +++ b/Documentation/Logo.md @@ -32,9 +32,7 @@ For the Pinecil, we require to flash the logo using dfu-util instead, which will 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`
+ - `python3 img2ts100.py input.png 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.
+ The converter will create a binary file if the .bin extension is used. Use dfu-util to flash it in the right location.
|