Skip to content

Instantly share code, notes, and snippets.

@boseji
Created November 12, 2015 14:26
Show Gist options
  • Save boseji/37a83095c4ea44bf2e43 to your computer and use it in GitHub Desktop.
Save boseji/37a83095c4ea44bf2e43 to your computer and use it in GitHub Desktop.
Keil ARM Project Cleaning File to reduce size of project by clearing of the Generated files after Compilation. Also works for nRF51 and STM32 Cube MX generated projects
del /F /Q *.uvguix.* *.lst
del /F /Q JLinkLog.txt
del /F /Q JLinkSettings.ini
rmdir /S /Q RTE
FOR /f "tokens=*" %%a in ('dir *Configur* /A:D /B /S') DO rmdir /S /Q "%%a"
rmdir /S /Q _build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment