2026-04-27 12:25 AM
Hi
I am trying to setup the NUCLEO-G491RE along with a X-NUCLEO-SNK1M1 to communicate with a USBC PD source.
I have tried to follow the STM32StepByStep - Getting started with USB-Power Delivery Sink.
STM32StepByStep:Getting started with USB-Power Delivery Sink - stm32mcu
After generating the code and trying to build the project I get the following error:
fatal error: gui_os_port.h: No such file or directory
make: *** [Utilities/GUI_INTERFACE/subdir.mk:25: Utilities/GUI_INTERFACE/gui_api.o] Error 1
make: *** Waiting for unfinished jobs....
I am unsure how to make this error go away, because as far as I understand it, the CubeMX code generator should give me all the necessary output files to make this simple sink project functional.
I would like to get the GUI to work, such that I can verify the ability to change the power output of the USBC Source.
I attached the generated files along with the CubeMX file.
Thanks in advance.
2026-04-27 1:12 AM - edited 2026-04-27 5:24 AM
Hello @LINSS
Let me thank you for posting and welcome to the ST Community.
The issue has been escalated to dev team under internal ticket: CDM0062124.
I will let you know as soon as the issue is fixed.
As Workaround, I recommend that you generate the code with STM32Cube FW_G4 V1.6.0.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.