I am using:
I want to generate the .elf file using the MCAL in command prompt.
Here's my 'project_parameters.mk' file.
I keep getting this error when using 'make build' command
Thank you in advanced.
Hi @lb28 ,
I encountered the same problem too, and I found a straightforward solution, hope it will work for you.
I used Python script to list all the .o files in the out/ folder, and declare a variable like this
Then, replace $(ODIR)/*.o by $(OUTS)
The attached file is the Python script, run it in /Dio_ToggleLed_S32K144
This works for me, thanks!
Another way is to modify the Makefile directly as shown below:
@$(LD) -Wl,-Map,"$(MAPFILE)" $(LDOPT) -T $(LINKER_DEF) $(ODIR)/*.o -o $(ODIR)/$@
@$(LD) -Wl,-Map,"$(MAPFILE)" $(LDOPT) -T $(LINKER_DEF) $(wildcard out/*.o) -o $(ODIR)/$@
Sorry for late reply. Unfortunately, I couldn't reproduce the issue. Could you try to change from slash (\) to backslash (/) in each of the paths and try again? It worked like that in my site: