-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean.bat
More file actions
59 lines (53 loc) · 1.61 KB
/
Copy pathclean.bat
File metadata and controls
59 lines (53 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@echo off
REM ==============================================================================
REM FILE: clean.bat
REM
REM DESCRIPTION:
REM Clean script for RP2350.
REM
REM BRIEF:
REM Removes all build artifacts including object files, ELF, binary, and UF2.
REM
REM AUTHOR: Kevin Thomas
REM CREATION DATE: November 27, 2025
REM UPDATE DATE: November 27, 2025
REM ==============================================================================
echo Cleaning build artifacts...
REM ==============================================================================
REM Delete Object Files
REM ==============================================================================
if exist *.o (
del /Q *.o
echo Deleted object files
) else (
echo No object files found
)
REM ==============================================================================
REM Delete ELF Files
REM ==============================================================================
if exist *.elf (
del /Q *.elf
echo Deleted ELF files
) else (
echo No ELF files found
)
REM ==============================================================================
REM Delete Binary Files
REM ==============================================================================
if exist *.bin (
del /Q *.bin
echo Deleted binary files
) else (
echo No binary files found
)
REM ==============================================================================
REM Delete UF2 Files
REM ==============================================================================
if exist *.uf2 (
del /Q *.uf2
echo Deleted UF2 files
) else (
echo No UF2 files found
)
echo.
echo Clean complete!