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

When FATFS middle ware is added in CubeMX, clean rebuild fails. #214

Open
devinw1 opened this issue Oct 14, 2024 · 1 comment
Open

When FATFS middle ware is added in CubeMX, clean rebuild fails. #214

devinw1 opened this issue Oct 14, 2024 · 1 comment

Comments

@devinw1
Copy link

devinw1 commented Oct 14, 2024

I have tested this in a new project with STM32G431RBT6: Make a new project with makefile and generate code. Then go to VSCode and build and clean build work fine.

Then go back to Cube MX and select to add FATFS middleware and regenerate code. So far as I can tell, only some source files and include directories are added to the makefile, but after this, whenever CLEAN REBUILD is selected, it gets a few lines in on the terminal and then returns the error:

make: *** No rule to make target build/debug/Core/Src/stm32g4xx_it.o', needed by build/maketest.elf'. Stop.

@jortbmd
Copy link
Member

jortbmd commented Dec 23, 2024

Hi thanks for opening up an issue for this. This should not happen and it might be an issue with cubeMX but I am not quite sure. Could you maybe share a minimum example of this where it happens so I can track down the issue?

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