cancel
Showing results for 
Search instead for 
Did you mean: 

ST778x library for small SPI TFTs

Davorin
Senior

Good morning (o;

Has someone came across a ST778x graphics library for controlling those small SPI TFTs?

Seems the libs are only available for Arduino-like boards....

Would also be interesting to know what the footprint of such a lib is if it exists...as my goal is to squeeze it into a F042K6 besides USB device and PID controller...

thanks in advance

richard

3 REPLIES 3
Davorin
Senior

Ah this could be something....

https://github.com/Floyd-Fish/ST7789-STM32

Davorin
Senior

Okay...this definitively won't fit into a F042K6, but it compiles (o;

arm-none-eabi-gcc -o "USBDevice.elf" @"objects.list"  -mcpu=cortex-m0 -T"/home/klingler/STM32CubeIDE/workspace_1.3.0/USBDevice/STM32F042K6TX_FLASH.ld" --specs=nosys.specs -Wl,-Map="USBDevice.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group

/opt/st/stm32cubeide_1.3.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.linux64_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: USBDevice.elf section `.rodata' will not fit in region `FLASH'

/opt/st/stm32cubeide_1.3.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.linux64_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 33056 bytes

collect2: error: ld returned 1 exit status

make: *** [makefile:48: USBDevice.elf] Error 1

"make -j32 all" terminated with exit code 2. Build might be incomplete.

Davorin
Senior

0693W000001pmojQAA.pngGuess this calls for the bigger STM32F070RB device (o;

Deleted some unneeded graphic functions and fonts...but when adding the PID controller: