Using KDS 2.0.0 with TWR-KL25Z48M
Imported the "helloworld" project (using PEX, since apparently KSDK support isn't ready yet?)
Had to do a bunch of prodding to shake out all the IAR settings and get them to GCC instead, but one that's been bugging me is that the "clean" option doesn't work - I get the following error:
make clean
del ./Sources/Events.o ./Sources/ProcessorExpert.o ./Project_Settings/Startup_Code/startup.o ./Generated_Code/Blue_LED.o ./Generated_Code/Cpu.o ./Generated_Code/CsIO1.o ./Generated_Code/Green_LED.o ./Generated_Code/IO1.o ./Generated_Code/PE_LDD.o ./Generated_Code/Red_LED.o ./Generated_Code/Vectors.o ./Sources/Events.d ./Sources/ProcessorExpert.d ./Project_Settings/Startup_Code/startup.d ./Generated_Code/Blue_LED.d ./Generated_Code/Cpu.d ./Generated_Code/CsIO1.d ./Generated_Code/Green_LED.d ./Generated_Code/IO1.d ./Generated_Code/PE_LDD.d ./Generated_Code/Red_LED.d ./Generated_Code/Vectors.d helloworld.srec helloworld
Parameter format not correct - "Sources".
make: [clean] Error 1 (ignored)
I notice that PEX (or whatever is responsible for generating the makefile) is adding the alias
rm := del
at the beginning, I can't figure out how to change that. But I'm guessing that "del" doesn't like the ./directory/filename.o format and would prefer the ".\directory\filename" instead.
Any ideas? It's not a show-stopper since incremental builds still work well enough but it's kind of silly to not have "clean" work.
Hi Phil,
It looks like your toolchain and settings are not properly set up. On my machine it does a 'rm -rf' properly.
You should see that 'rm' as well if you create a new project with the wizard and File > New > Kinetis Design Studio project.
Probably something went wrong when you imported that project.
As there are many CDT and build tools related settings, it might be the easiest way for you to create a new new project with the wizard, and then have your source files over.
I hope this helps,
Erich
Erich,
I created a new project from scratch, and it does include the proper "rm -rf" command, so it works when I do a clean.
Thanks!