mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-27 12:05:34 +00:00
Updated Create a custom splash screen (markdown)
parent
35bd1b0dd1
commit
a519211174
@ -22,14 +22,17 @@ Save it as splash.bmp to a directory such as ~/Pictures
|
|||||||
Open a terminal window
|
Open a terminal window
|
||||||
|
|
||||||
Change directory to where the image was saved (for example ~/Pictures):
|
Change directory to where the image was saved (for example ~/Pictures):
|
||||||
|
|
||||||
`cd ~/Pictures`
|
`cd ~/Pictures`
|
||||||
|
|
||||||
Convert the image to a c++ header file:
|
Convert the image to a c++ header file:
|
||||||
|
|
||||||
`xxd -i splash.bmp bmp_splash.hpp`
|
`xxd -i splash.bmp bmp_splash.hpp`
|
||||||
|
|
||||||
|
|
||||||
Make a backup of the existing splash screen
|
Make a backup of the existing splash screen
|
||||||
Change directory to the path to where you downloaded the Mayhem source eg ~/src/portapack_mayhem
|
Change directory to the path to where you downloaded the Mayhem source eg ~/src/portapack_mayhem
|
||||||
|
|
||||||
`cd ~/src/portapack_mayhem`
|
`cd ~/src/portapack_mayhem`
|
||||||
|
|
||||||
|
|
||||||
@ -37,6 +40,7 @@ Change directory to the path to where you downloaded the Mayhem source eg ~/src/
|
|||||||
|
|
||||||
|
|
||||||
Copy the new splash screen to here
|
Copy the new splash screen to here
|
||||||
|
|
||||||
`cp ~/Pictures/bmp_splash.hpp firmware/application/bitmaps/bmp_splash.hpp`
|
`cp ~/Pictures/bmp_splash.hpp firmware/application/bitmaps/bmp_splash.hpp`
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user