Build xtensa llvm from here https://esp32.com/viewtopic.php?t=9226&p=38466
But add the X86 target like so
cmake ../llvm-xtensa -DLLVM_TARGETS_TO_BUILD="Xtensa;X86" -DCMAKE_BUILD_TYPE=Release -G "Ninja"
Build xtensa llvm from here https://esp32.com/viewtopic.php?t=9226&p=38466
But add the X86 target like so
cmake ../llvm-xtensa -DLLVM_TARGETS_TO_BUILD="Xtensa;X86" -DCMAKE_BUILD_TYPE=Release -G "Ninja"
Import your image or create image with GIMP.
Export as bmp -> advanced options -> 16bit
Then to get the raw bytes run tail -c $bytes image.bmp > image.raw
where $bytes is w * h * 2
of the image. This removes the BMP header.