stm32 project and vscode? #2858
Unanswered
LoyalServant
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to try migrating to vscode from stm32cubeideusing an stm32h7 microcontroller.
I never was able to migrate it completely so i ended up just regenerating a project from the .ioc into a cmake project and importing that.
I am trying to add tinyusb back into the mix.. but it's not having it.
I don't really know how to alter the stm32cubemx generated cmakelists to include tinyusb.
I tried using the getting started, which says to add all of the files in src - which there is only one - tusb.c
I tried to ASSUME that it imples all of the source files in src AND the subdirectories...
But I end up with it not being able to link, missing things like .... dcd_init() - which are clearly specific to the mcu in use.
I found all of that in src/portable/st/stm32_fsdev but none of that is being compiled in.
At this point I think I have made a huge mess of this.
Does anyone have an example or direction? What should be inlcuded where and how?
I can get all of this to work in stm32cubeide - just not vs code.
Thanks all.
Beta Was this translation helpful? Give feedback.
All reactions