Skip to content

Commit

Permalink
wildcard is used now in .bat file
Browse files Browse the repository at this point in the history
  • Loading branch information
FT9R committed Mar 28, 2024
1 parent a5e01ca commit 5cf7d60
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions UpdateArduinoDir.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
del ".\Examples\ArduinoNano\w25qxx.*"
del ".\Examples\ArduinoNano\w25qxx_Demo.*"

xcopy ".\w25qxx\w25qxx.h" ".\Examples\ArduinoNano"
xcopy ".\w25qxx\w25qxx.c" ".\Examples\ArduinoNano"
xcopy ".\w25qxx\w25qxx_Demo.h" ".\Examples\ArduinoNano"
xcopy ".\w25qxx\w25qxx_Demo.c" ".\Examples\ArduinoNano"
xcopy ".\w25qxx\w25qxx.*" ".\Examples\ArduinoNano"
xcopy ".\w25qxx\w25qxx_Demo.*" ".\Examples\ArduinoNano"

rename ".\Examples\ArduinoNano\w25qxx.c" "w25qxx.cpp"
rename ".\Examples\ArduinoNano\w25qxx_Demo.c" "w25qxx_Demo.cpp"
rename ".\Examples\ArduinoNano\*.c" "*.cpp"

0 comments on commit 5cf7d60

Please sign in to comment.