From adfebf502fa4ae22d36dc94d9bc4f264c5a4b277 Mon Sep 17 00:00:00 2001 From: coreglitch Date: Tue, 1 Sep 2020 17:00:49 +0600 Subject: [PATCH] add script to restore manual-edited files after cubeMX code generating (#82) --- target_f1/cubemx_restore.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 target_f1/cubemx_restore.sh diff --git a/target_f1/cubemx_restore.sh b/target_f1/cubemx_restore.sh new file mode 100755 index 00000000..805e21ea --- /dev/null +++ b/target_f1/cubemx_restore.sh @@ -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 \ No newline at end of file