Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32CubeIDE project folder structure changed #26

Open
evenlund opened this issue Sep 12, 2020 · 1 comment
Open

STM32CubeIDE project folder structure changed #26

evenlund opened this issue Sep 12, 2020 · 1 comment

Comments

@evenlund
Copy link

The project structure in STM32CubeIDE has changed since this code was released so that the src and inc folders are moved from the project main folder to Core. This folder is already included in "source location" when importing the project.

So far I have failed to compile the project properly in STM32CubeIDE both for Windows and Linux. I am importing from existing ioc file with targeted language C++, which generates a main.c file with the hardware setup, but the code from the main.cpp file is left untouched. Should I rename the main.c to main.cpp and copy-paste the code from the original main.cpp to make it work? Would I also need to convert the project to C++ at some point - I see that this option is available. Could you please rewrite the instructions to make it work for newer versions of STM32CubeIDE and perhaps describe every step of the process?

I find this project really great and am really hoping for it to work.

@yoneken
Copy link
Owner

yoneken commented Sep 29, 2020

Thank you very much for your great advice.
I will check it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants