Libraries for the STM32F746G Discovery screen?

All about boards manufactured by ST
Velero
Posts: 1
Joined: Sat Jan 04, 2020 5:40 pm

Libraries for the STM32F746G Discovery screen?

Post by Velero »

Apart from the official libraries part of STM32Cube, are there libraries compatible with the STM32duino SDK to use with the STM32F746G Discovery screen?

Thank you!
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Libraries for the STM32F746G Discovery screen?

Post by fpiSTM »

Hi @Velero

I've made a test 1 or 2 years ago.
I've rebased it to the 1.8.0.

You can test it using this branch:
https://github.com/fpistm/Arduino_Core_ ... TEST_1.8.0

Discplay and touchscreen are functional.
ta1db
Posts: 1
Joined: Sat Jun 06, 2020 12:54 pm

Re: Libraries for the STM32F746G Discovery screen?

Post by ta1db »

Hi,

Can I use this in a PlatformIo arduino (I guess stm32duino) stm32f746-Discovery (disco_f746ng) project? If yes, how?

If not, can you recommend a suitable TFT/Touch library for stm32f746-disco to use in a pio arduino project.

Thanks in advance.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Libraries for the STM32F746G Discovery screen?

Post by fpiSTM »

Well you will have to add it manually.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Libraries for the STM32F746G Discovery screen?

Post by fpiSTM »

Hi @ta1db and @Velero
I've rebase the branch on top of 1.9.0 release and tested:
https://github.com/fpistm/Arduino_Core_ ... TEST_1.9.0
Patrick
Posts: 22
Joined: Thu Dec 19, 2019 9:50 am
Answers: 2

Re: Libraries for the STM32F746G Discovery screen?

Post by Patrick »

Hello @fpiSTM,
Is it possible to have this part of the upcoming 2.0.0 release?
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Libraries for the STM32F746G Discovery screen?

Post by fpiSTM »

I don't think it is only for example and not enough generic.
Patrick
Posts: 22
Joined: Thu Dec 19, 2019 9:50 am
Answers: 2

Re: Libraries for the STM32F746G Discovery screen?

Post by Patrick »

If not part of core release, is it possible to release just the libraries, LTDC and TS?
It will be interesting to have it managed directly by the IDE, as the others STM32DUINO libraries.
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Libraries for the STM32F746G Discovery screen?

Post by fpiSTM »

Same, I will not do this as it will require support and not enough generic and not enough time for this. You can do it on your own.
Patrick
Posts: 22
Joined: Thu Dec 19, 2019 9:50 am
Answers: 2

Re: Libraries for the STM32F746G Discovery screen?

Post by Patrick »

The libraries are working.
But, if touch doesn't work check the C Runtime Library you are using.
  • With Newlib Standard, it blocks in TwoWire::allocateTxBuffer, realloc gives null result and we go directly in ErrorHandler.
  • With Newlib Nano, everything works well, realloc allocates the buffer.
Don't know why I used Standard for this project. I usually use Nano.
Post Reply

Return to “STM boards (Discovery, Eval, Nucleo, ...)”