2024-07-11 03:49 AM
Hello forum,
Im trying to create a code for reading from and writing to a USB flash drive using the USB-C connector,
While activating the USBPD, USBX, TCPP, and FileX, the code generated missing some defines and variables like "DPM_Ports", "PWR_Port_PDO_Storage" and USBPD Defines,
they don't appear anywhere in the generated files and I couldn't find an example with them to understand what I did wrong, Has anyone encountered this behavior?
2024-07-11 07:52 AM
Hello @ElectroManiac
Did you follow the step by step wiki ? wiki_link
You will need to add USBX after it. The wiki is done for freertos as example but you can use ThreadX without issues.
You can find the a similar application for the H5 platform here. You can do the same with your board, configuring CubeMX the same way and using the same user code.
Best regards
2024-07-11 08:54 AM
I've made the post after trying the wiki,
I'm not using ThreadX because I want to run everything locally, Is that what causing the issue?