378 views
in Embedded Wizard Studio by
I am using NonOS.

I am trying to add UART communication.

While following along using the deviceintegration example It seemed like I needed to use a Guithread() function.

However, since guithread is only for freertos, is there any other solution?

1 Answer

0 votes
by
 
Best answer
Hello,

please try again the mentioned example "DeviceIntegration" and set the define EW_USE_OPERATING_SYSTEM to 0 (within the makefile). Then the example will operate as bare-metal application.

In this case, the communication with the hardware is not done within a separate thread - now, the function DeviceDriver_ProcessData() is used.

Please have a look to the file DeviceDriver.c and see the inline comments.

I hope this helps.

Best regards,
Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...