1.5k views
in GUI Development by
Hello,

I have just downloaded Embedded Wizard Studio Free and I would like to make a simple application for stm32f429-disco board.

I created a new project.

How do I select the target platform?

By the way are there any Embedded Wizard example projects for stm32f429-disco?

Thanks for reply

Vaclav

1 Answer

0 votes
by

Hi Vaclav,

I assume that you registered on our website and that you selected the target STM32F429 Discovery.

Please follow the instructions in the article Getting Started with STM32F429 Discovery - there you will find all steps in order to get your first UI application running on the Disco board.

I hope this helps...

Best regards,

Manfred.

by
Hello Manfred, I have registered on your website.

I don't know how to select the target platform to stm32f429-disco.

Vaclav
by

After registration you received an email / website where you can download ALL necessary components for a dedicated target.

The gettings started article will guide you.

Are there still open questions? Let me know.

Best regards,

Manfred.

by
OK, I downloaded all components. When I generate code and try to compile project with IAR Embedded Workbench, I get error Fatal Error[Pe1696]: cannot open source file "C:\sw\tara-buildenv-stm32f429\STM32F429-Discovery\Template\GeneratedCode\Accelerator.c".

The file is not present in the directory.

Vaclav
by
I am trying to compile program Brickgame from examples for stm32f429-discovery.
by
The file Accelerator.c is generated out of the example GraphicsAccelerator. If you want to run now the BrickGame example, I assume that the project is not reloaded in IAR Workbench.

The file Accelerator.c is not part of BrickGame and not needed for that sample.
by
I am still a bit confused about the Embedded wizard. Maybe I opened something different in IAR Embedded Workbench. I googled a bit and found out that I have to set parameter OutputDirectory, but I don't know how.

https://doc.embedded-wizard.de/outputdirectory-attr?v=8.30

Thank you for advice

Vaclav
by
The delivered projects are already prepared so that they will generate the code into /Template/GeneratedCode. There is no need to adapt that by yourself.

You can delete the entire content of /Template/GeneratedCode and try again to generate code out of the example BrickGame.

Does it work?
by
The code generator works, thanks.

Now, how to setup IAR? Does the generator also create project for IAR or do I have to create it manually?

Vaclav
by

Embedded Wizard Studio generates the source code out of the UI project. 

The integration into other software parts or the creation of project files is not the responsibility of Embedded Wizard Studio.

We have prepared a project for IAR that is suitable for all examples and for your first UI projects. Please have a look to chapter Using IAR Embedded Workbench.

by
I have looked into the suggested chapter. There is mentioned that I should set  set EWARM_ew_post_process.cmd as post process at the Inspector view, but I don't know how to set it.

Thanks for advice!
by
I found out how to set up post process.
by
Now I have problem with project in IAR. The compiler says Error[Pe020]: identifier "AHBPrescTable" is undefined C:\STM32\STM32Cube_FW_F4\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c 711

Can you help me? The AHBPrescTable is defined in C:\sw\tara-buildenv-stm32f429\STM32F429-Discovery\TargetSpecific\system_stm32f4xx.c which is a part of project in IAR.
by
Are you talking about your project or do you use the template project for IAR as it is provided within /Template/Project/EWARM ?

I assume that you have your own project and that there are several compiler defines missing. In this case please check the settings within the template project and use the same within your project. Or better: Just use the provided template - as this is also intended to be used for own UI projects.

Some additional hints concerning the IAR project (taken from the ReadMe.txt file for IAR projects):

- The Embedded Wizard Template project is commonly used for all provided Embedded Wizard examples. All Embedded Wizard examples will store the
  generated code within the common \Template\GeneratedCode folder.

- The generated code of an Embedded Wizard example is imported automatically to the IAR Embedded Workbench project using the Project Connection mechanism.

- To establish this automatic project import a post process has to be added to the Profile settings within Embedded Wizard Studio:
  * Open the desired Embedded Wizard example project.
  * Select the profile and set EWARM_ew_post_process.cmd as post process at the Inspector view. You will find the file within the subdirectory \Template\Project\EWARM.

- After the Embedded Wizard code generation the installed post process will generate a ewfiles.ipcf file, that controls the import to the IAR Embedded Workbench project.

- After returning to IAR Embedded Workbench, the latest generated code and the suitable Embedded Wizard Platform Package will be imported to the IAR Embedded Workbench project (depending on the color format and the screen orientation selected in the Embedded Wizard Profile).

- If the color format or the screen orientation was changed, please do a complete rebuild of the IAR Embedded Workbench project.

I hope this makes the process more clear...

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...