945 views
in Embedded Wizard Studio by

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
by
 
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.

by

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.

by
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.
by

Hi 

Thanks for your attention

Error is as below:

 

by

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.

by
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.
by
Sounds strange...

Can you send me your project?
by

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.

by
Can you please tell the OutputDirectory configuration
by

The attribute OutputDirectory should refer to the \Application\GeneratedCode directory within your Build Environment. By using the provided template, it will be very easy to build the UI project for your target.

by
I have same error for MXRT1050 can you please tell me how to rectify this issue please
by
Hello,

please open a new question and describe what you have done so far, what toolchain you are using, what version you have and what error you get. In this thread we have discussed about STM32F746...

Thank you and best regards,

Manfred.
by

Manfred Schweyer Thank you very much for your inputs. It works

Embedded Wizard Website | Privacy Policy | Imprint

...