2022-03-21 07:46 AM
Hello. I'm trying to figure out X-CUBE-USB-PD. As I understand it, this is an extension for CubeMX, but I can't figure out how to install this extension. Downloaded the project from the link https://github.com/STMicroelectronics/x-cube-usb-pd . I was given the task to implement the functionality of the project from the example on the stm32f4 device. Please help me figure it out. For the second week I can't figure it out.
2022-03-21 08:46 AM
The version on github doesn't seem to be an extension to CubeMX. There's no *.ioc file.
Just get all the files and run directly the IDE project files provided under Projects/ ... / EWARM, MDK-ARM or STM32CubeIDE.
2022-03-21 09:44 AM
I have already done as you advised. CubeIDE discovered the EVAL_FUSB307_DRP project. If you do not make any changes, the project is built without problems. However , if you remove any .c or .h file, errors appear in the project. So far, they have no thoughts on how to use this project to implement power delivery on stm32f4.