USBCPD SNK not generating file
- April 27, 2026
- 1 reply
- 59 views
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.
