add script to restore manual-edited files after cubeMX code generating (#82)

This commit is contained in:
coreglitch 2020-09-01 17:00:49 +06:00 committed by GitHub
parent 5b6ab7faf3
commit adfebf502f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
target_f1/cubemx_restore.sh Executable file
View file

@ -0,0 +1,5 @@
git checkout -- target_f1/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.h
git checkout -- target_f1/Makefile
git checkout -- target_f1/Src/stm32l4xx_it.c
git checkout -- target_f1/Src/usbd_conf.c
git checkout -- target_f1/Src/usbd_desc.c