Closed mirivlad closed 1 year ago
I'm also having that compile error with this defines. Commenting USE_SD_CARD and uncommenting USE_INT_FLASH compiles and runs without problems. //#define USE_INT_FLASH 1
Any solution from the masters (thanks!) of this project?
I have excluded all whats contains WIFI from project, and its builds normally.
Next that i can fix - video system. its working normally at 400*300 pixels vga, but display games at top-left corner
I'm also having compile errors when using USE_SD_CARD option:
../xtensa-esp32-elf/bin/ld.exe: .pio\build\pico32\firmware.elf section `.iram0.text' will not fit in region `iram0_0_seg'
../xtensa-esp32-elf/bin/ld.exe: IRAM0 segment data does not fit.
../xtensa-esp32-elf/bin/ld.exe: region`iram0_0_seg' overflowed by 1004 bytes
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\pico32\firmware.elf] Error 1
Hello, seems like the IRAM section is a very limited resource and we were using too much. I have removed the IRAM_ATTR qualifier from many functions which were not time critical (just removing the one from Config class did the trick for me, but I removed a lot more just in case).
Hello. I checked new version and get error from gcc. This error reproduce when i build with option #define USE_SD_CARD 1 and don't reproduce if i use #define USE_INT_FLASH 1 in hardconfig.h Build log:
Build from VSCode with installing PlatformIO. Reproducing on Linux and Windows.