Jump to content

uGFX on STM32F746-Discovery + ChibiOS skipping every other line


rvense

Recommended Posts

Hello. Thank you very much for this great project!

I copied the STM32F746 example that comes with ChibiOS (LED blinker) and made the changes to the makefile described on the wiki.

I added some code to main.c that initializes a console and prints some text to it. This works when run from an example that uses raw32 instead of ChibiOS.

With ChibiOS, however, it looks like every other vertical line is skipped. The text is recognisable as text, but not readable. I added a yellow bar to the bottom, but it comes out as alternative yellow and black lines.

I have enabed CONTROL to rotate the display 180 degrees. This worked in raw32. Using Chibi, if I disable them, I get the errors in the attached file about PIXELFORMAT macros not being defined for the STM32 display driver, but in a way that would only show up if CONTROL is not enabled. The output is still garbled in the same way. I think this might be related - and the output looks like it could be data written incorrectly.

gfxconf.h

make.err

Makefile

Edited by rvense
Link to comment
Share on other sites

Thank you so much, that fixed the issue. I can echo text over USB serial now and have it show up on the screen. Very cool.

The Makefile example for the STM32F746 board  that's linked from the site includes uGFX 2.5, and that's what I was using.

Edited by rvense
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...