Open tobozo opened 5 years ago
Thank you for your feedback.
I've used the built-in jpeg decoder M5.Lcd.drawJpg as a workaround, not sure about the performances hit but that produced a more ideal memory footprint (2804 bytes) and got me out of the compilation error.
There shouldn't be any performance issues, since the border is only ever rendered once.
I'll edit this post with the followup, trying to get my hands on some roms to verify I'm using the correct bios version (can you share you md5sums?) :D
32fbbd84168d3482956eb3c5051637f5. The bootrom is optional.
[edit 1] : as expected the rom won't load when the sketch is compiled with the basic Arduino IDE board/partitions settings, adding some debug statements to the code (#include
along with log_e(), log_w() and log_i()) was helpful to find out the reason.
The way I do is by exporting the compiled binary and uploading it manually via esptool or M5Burner.
Hello and thanks for this great project !
Here's some unsollicited feedback from my attempt to get this working from Linux Ubuntu (16.04).
Arduino IDE isn't happy with the lowercase .ino filename, I've renamed espeon.ino to Espeon.ino to stop the IDE from complaining :-)
Before realizing I could install bin2h with apt, I used the
xxd
utility to get the bios in a C format:Also the following commands:
... produced a 153600 bytes gborder.raw file (921652 bytes for the .h file) and the dreadful
DRAM segment data does not fit.
compilation error.I've used the built-in jpeg decoder
M5.Lcd.drawJpg
as a workaround, not sure about the performances hit but that produced a more ideal memory footprint (2804 bytes) and got me out of the compilation error.I'll edit this post with the followup, trying to get my hands on some roms to verify I'm using the correct bios version (can you share you md5sums?) :D
[edit 1] : as expected the rom won't load when the sketch is compiled with the basic Arduino IDE board/partitions settings, adding some debug statements to the code (
#include <esp32-hal-log.h>
along withlog_e()
,log_w()
andlog_i()
) was helpful to find out the reason.Not sure if this is feasible from the UI though, thinking about platformio :thinking: