Error : RGB565 is not supported for this platform

42 views
asked May 17 in Embedded Wizard Studio by sajaddehghan

Hi.

I want to build a GUI to ON/OFF a LED by stm32f746 discovery but in code generating this error accures:
"ERROR: The requested color format RGB565 is not supported for this platform"

I use below image In GUI:


I installed

★Embedded Wizard Studio Free or Embedded Wizard Studio Pro

★Embedded Wizard STM32 Platform Package

★Embedded Wizard Build Environment for STM32F746 Discovery

I can not fix it.please help me

1 Answer

+1 vote
answered May 18 by Manfred Schweyer
 
Best answer

Hi,

please try first to run the provided examples (e.g. HelloWorld) for your target according the Getting Started with STM32F746 Discovey documentation.

Does this work?

In a second step, you can try to run the example DeviceIntegration which demonstrates the access to the LED.

Does this work?

Now, you can make your own modifications and implement your own GUI. If there is still an error message, please check if there are other (earlier) messages within the Log Window. You can post the entire message here.

Best regards,

Manfred.

commented May 19 by sajaddehghan

Hello  Manfred Schweyer.

thank you so much for your perfect guidance. 

I do both of Examples (HelloWorld & DeviceIntegration) without any error. But when I make my own modification and 
there is error yet. "ERROR: The requested color format RGB565 is not supported for this platform"

what should I do?

Best regards,

Sajad.

commented May 20 by Manfred Schweyer
Hi Sajad,

can you copy the complete error message that you get (e.g. with a screen shot)?

There should be no problem to use RGB565 on STM32F746 Discovery board...

Best regards,

Manfred.
commented May 20 by sajaddehghan

Hi 

Thanks for your attention

Error is as below:

 

commented May 20 by Manfred Schweyer

Hi Sajad,

please check the settings of your Profile within your project - have you selected the PlatformPackage 'STM.STM32.RGB565' (or is it Tara.Win32.RGB565)?

Manfred.

commented May 21 by sajaddehghan
Hi  Manfred

It is confusing. In "DeviceIntegration" project PlatformPackage is "STM.STM32.RGB565" and code is generated without any error. But in my own project with platformpakage:stm.stm32.rgb565, error is accured.
commented May 21 by Manfred Schweyer
Sounds strange...

Can you send me your project?
commented May 21 by sajaddehghan

It is solved.

It was my mistake.I forgot to config "OutputDirectory" in "Profile Configuration" and now it is configured and code is generated without any error.

Mr. Manfred Schweyer you have very responsible personality and  I am so glad to have a such "Master".

Thanks a lot.

Best regards,

Sajad.

Embedded Wizard Website | Privacy Policy | Imprint

...