1.6k views
in System Integration by
Good day! Can't figure out how to integrate the GUI with the Device:
1. First we make a project in Embeded, and then add in MDK-ARM and compile there?
2. Or custom ports first, and then Embeded?

Please show an example from beginning to end how to create a simple app for example click on the display button and on Board led lights up. All the material you have read, and forums reviewed, neither of which I can't find.

1 Answer

0 votes
by

Hello,

I'm not sure which target you are using - but almost every Build Environment contains one example called 'DeviceIntegration'. This example demonstrates exactly what you want to achieve: When you touch a button on the screen, the LED on the board is switched on and off. Or the other way: When you press a hardware button on the board, the UI shows a progress bar...

Please have a look into the Embedded Wizard project of the example - there you will find a lot of description.

All the necessary background information is described in the articles 'Integrating with the device' and 'Device Class and Device Driver'.

I hope this helps.

Best regards,

Manfred.

by
Hi!
It's all I watched many times and it is an example 'DeviceIntegration'. I can't figure out how to set the port of the controller. I figured out how to work Embeded, but adjusted periferia I did not understand. This example I reviewed far and wide, I realized that by pressing the fluctuation state of the variable LedStatus and which continue to indicate that this PORTI and PIN1? Where to write code in Embeded or just other editors to GCC or ARM-MDK? Any explanatory information. Everything you pointed out I reviewed.
by
If I understand your comment correctly, you are looking for more hardware related information, e.g. how to access a certain port pin.

The provided example and all the documentation is focused on the integration of the underlying system and how to access hardware drivers or other software stacks.

For all hardware related aspects (GPIOs, port configurations, etc.) please have a look to the examples and documentations provided by the chip / BSP manufacturer.

Best regards,

Manfred.
by
That's exactly what just yet, are interested in communication with the driver. I understand that for integration you need to the generated file Embeded you need to connect to your project files .c and .h. For example if I use the HAl library, how it all should look like? I am doing first project in Embeded Wizard, and then what to do, where you like to create? The surprise was the fact that we can't create a working project for Embeded.
by
The integration with the underlying system should be explained with the mentioned example and the referred documentation.

Please be aware that Embedded Wizard is a GUI development tool, which generates code of your user interface for a dedicated embedded system. It does not replace your C compiler or your development toolchain.

The provided Build Environment and the Getting Started documentation are intended to give you starting point and to get your system up and running. The integration of further hardware components and the configuration of certain drivers is not a task of Embedded Wizard. For this purpose, you will find examples within the BSP - in case of STM32 you will find many examples in the STCube firmware.
by
Thank you! Sorted out some how
by
Thank you for the detailed reply and help! It was useful)))
by
I am having trouble finding the DeviceIntegration example you were referring to. I looked in the RaspberryPi folder I unzipped and on the website.
by

The DeviceIntegration example is provided within the different STM32 or NXP Build Environments.

Unfortunately, this type of example is not available for the RaspberryPi target. This is still on our 'ToDo' list...

Please have a look to RaspberryPi IO question.

Best regards,

Manfred.

by
What did you do to sort it out?
I'm in the same problem here
by
Hi. Can you describe the problem? Is it related to hardware functionality (BSP) or related to the integration?

Maybe it makes sense to open a separate question to discuss your application specific questions...

Best regards,

Manfred

Embedded Wizard Website | Privacy Policy | Imprint

...