Commit graph

18 commits

Author SHA1 Message Date
Olivier Goffart
ceb030a5f7 stm32h735g: be sure to wait until the the buffer is no longer shown before drawing onto it 2022-07-06 17:06:40 +02:00
Olivier Goffart
4ecc2cd1c0 swrenderer: add a renderer that operate dirrectly on the frame buffer 2022-07-06 17:06:40 +02:00
Olivier Goffart
50bd72c535 stm32h735h: copy assets from flash to ram so we can access them 2022-06-18 20:00:21 +02:00
Olivier Goffart
b62132392d stm32h735g: Use a intermediate line vector in the RAM for rendring
It is much faster than blending on the frame buffer which is in hyperram
2022-06-17 09:30:09 +02:00
Olivier Goffart
711fa66ca3 rp2040 backend: use DMA to send pixels to the screen via SPI 2022-06-17 09:30:09 +02:00
Simon Hausmann
0c97cb0fcc Enable the data cache for stm32h7
This requires us to flash the cache before swapping the frame buffer pointer.

With slide puzzle span drawing with image tiles goes from ~100ms down to ~50ms,
and theme switching between simple and berlin from ~140ms to ~72ms.

This is with the line renderer.
2022-06-15 13:15:19 +02:00
Simon Hausmann
b7b1101adb Bump system clock frequence on stm32h735
Up to 400 Mhz seems to work. Also fixed assert to match the octospi controller for the hyperram (1 instead of 2).
2022-06-14 19:08:42 +02:00
Olivier Goffart
fc65809b9d stm32h735: cleanup after review 2022-04-27 09:00:52 +02:00
Olivier Goffart
c658792c1e stm32h735g: cleanup 2022-04-27 09:00:52 +02:00
Olivier Goffart
5c507ab86c stm32h735g: Touch support 2022-04-27 09:00:52 +02:00
Olivier Goffart
199dc1fb18 upgrade stm32h7xx-hal 2022-04-27 09:00:52 +02:00
Olivier Goffart
e41c15aef9 stm32h735g: Add support for double frame buffer and timing 2022-04-27 09:00:52 +02:00
Olivier Goffart
a81d8b7ba4 stm32h735g: The screen actually show the UI now 2022-04-27 09:00:52 +02:00
Olivier Goffart
4755f57fb2 stm32h735g: The screen now show something 2022-04-27 09:00:52 +02:00
Olivier Goffart
0e0526912d WIP: attempt to get the display working on stm32h735g
(doesn't work, the screen is plain white)
2022-04-27 09:00:52 +02:00
Olivier Goffart
df95ee79ba WIP: setup OCTOSPI2 ram 2022-04-27 09:00:52 +02:00
Olivier Goffart
cc98d53b28 WIP: more work on stm32h735g 2022-04-27 09:00:52 +02:00
Olivier Goffart
703cffd444 WIP: STM32H735G support 2022-04-27 09:00:52 +02:00