I’m trying to add an existing file to an STM32 Project, but “Add Existing Item” is not available in the Project. I can add files to the Solution, but not the Project. How do I add files to a STM32 Project?
Thanks for the screenshot. This is the new STM32CubeMX-based project that is split into the STM32Cube-controlled part (under the blue STM32CubeMX icon) and the VisualGDB-controlled part (outside the STM32CubeMX part).
It looks like you are trying to add files to the STM32CubeMX-controlled part that is not editable because it will be overwritten by STM32CubeMX once the project is regenerated.
Please try adding files outside the STM32CubeMX Files node. See this tutorial for a detailed introduction in the new STM32CubeMX-based workflow.