WeActStudio / ArduinoCore-AT32F4

31 stars 12 forks source link

FLASH and RAM overflow with U8g2 GraphicsTest #50

Open KenjutsuGH opened 4 months ago

KenjutsuGH commented 4 months ago

exit status 1

Compilation error: exit status 1


I then select the **BlackPill F401CC** board and compile again:

Sketch uses 38788 bytes (14%) of program storage space. Maximum is 262144 bytes. Global variables use 2808 bytes (4%) of dynamic memory, leaving 62728 bytes for local variables. Maximum is 65536 bytes.



Why does the code fit on the **BlackPill F401CC** but not the **AT32F403ACGU7 BlackPill**?
XanCraft21 commented 3 months ago

I am having this same issue. As far as i can tell it seems that the software has trouble correctly calculating the memory usage. Even if it did work, with my testing i found that SPI and I2C interfaces don’t even work in the first place, even though there are software drivers.

This is just my personal opinion, i would recommend sticking to the official STM32 chips and avoid all the knockoffs out there.