cancel
Showing results for 
Search instead for 
Did you mean: 

Compile error for TouchGFX project with No RTOS

WolfpackEE
Associate II

I have a STM32H750B-DK board that I'm trying to build a TouchGFX project on bare metal ( No OS). I've gone through the steps as indicated on this page

https://support.touchgfx.com/docs/development/scenarios/running-without-rtos 

When I compile I get errors in the 

HardwareMJPEGDecoder.cpp

Such as

C:/Projects/artemis-r-and-d/NoOSTest/TouchGFX/target/generated/HardwareMJPEGDecoder.cpp:114:5: error: 'semDecodingDone' was not declared in this scope
114 | semDecodingDone = SEM_CREATE();
| ^~~~~~~~~~~~~~~
C:/Projects/artemis-r-and-d/NoOSTest/TouchGFX/target/generated/HardwareMJPEGDecoder.cpp:114:23: error: 'SEM_CREATE' was not declared in this scope
114 | semDecodingDone = SEM_CREATE();
| ^~~~~~~~~~
C:/Projects/artemis-r-and-d/NoOSTest/TouchGFX/target/generated/HardwareMJPEGDecoder.cpp: In member function 'void HardwareMJPEGDecoder::decodeMJPEGFrame(const uint8_t*, uint32_t, uint8_t*, uint16_t, uint16_t, uint32_t)':
C:/Projects/artemis-r-and-d/NoOSTest/TouchGFX/target/generated/HardwareMJPEGDecoder.cpp:438:26: error: 'semDecodingDone' was not declared in this scope
438 | SEM_WAIT(semDecodingDone);

 

It looks like the #defines for those statements is looking for FreeRTOS. How do I get around this?

 

 

0 REPLIES 0