Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: platforms/stm/disco_dartino/update.sh

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: platforms/stm/disco_dartino/update.sh
diff --git a/platforms/stm/disco_fletch/update.sh b/platforms/stm/disco_dartino/update.sh
similarity index 73%
rename from platforms/stm/disco_fletch/update.sh
rename to platforms/stm/disco_dartino/update.sh
index 7df6f4a478ad15c2f5f327d2ac0f4f071928750e..9b7cc1664ac704a29ef51b68060fd9944f9d8510 100755
--- a/platforms/stm/disco_fletch/update.sh
+++ b/platforms/stm/disco_dartino/update.sh
@@ -4,14 +4,14 @@
# BSD-style license that can be found in the LICENSE.md file.
# Update the generated source and template files from STMCubeMX. Right
-# not the source file is disco_fletch.tar.gz - a tar of the generated
+# not the source file is disco_dartino.tar.gz - a tar of the generated
# project from a Windows machine.
set -e
-tar xf disco_fletch.tar.gz
+tar xf disco_dartino.tar.gz
-for SRC in disco_fletch/Inc/*
+for SRC in disco_dartino/Inc/*
do
BASENAME=$(basename "$SRC")
if test "$BASENAME" != "FreeRTOSConfig.h"
@@ -24,7 +24,7 @@ do
fi
done
-for SRC in disco_fletch/Src/* $SRC_FILES
+for SRC in disco_dartino/Src/* $SRC_FILES
do
BASENAME=$(basename "$SRC")
if test "$BASENAME" != "freertos.c"
@@ -43,22 +43,22 @@ sed -i 's/static void MX_/void MX_/' generated/Src/main.c
sed -i 's/int main/int _not_using_this_main/' generated/Src/main.c
mv generated/Src/main.c generated/Src/mx_init.c
-SRC="disco_fletch/SW4STM32/disco_fletch Configuration/STM32F746NGHx_FLASH.ld"
+SRC="disco_dartino/SW4STM32/disco_dartino Configuration/STM32F746NGHx_FLASH.ld"
echo "$SRC"
cp "$SRC" generated/SW4STM32/configuration/STM32F746NGHx_FLASH.ld
dos2unix -q generated/SW4STM32/configuration/STM32F746NGHx_FLASH.ld
-SRC="disco_fletch/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s"
+SRC="disco_dartino/Drivers/CMSIS/Device/ST/STM32F7xx/Source/Templates/gcc/startup_stm32f746xx.s"
echo "$SRC"
cp "$SRC" template/startup_stm32f746xx.s
dos2unix -q template/startup_stm32f746xx.s
-# Don't copy the disco_fletch/Drivers/CMSIS/Device/ST/STM32F7xx/Source/
+# Don't copy the disco_dartino/Drivers/CMSIS/Device/ST/STM32F7xx/Source/
# Templates/system_stm32f7xx.c file, as the one provided by
# STM32CubeMX is the wrong one. It is the one for the EVAL2 board
# and not the Discovery board.
-cp disco_fletch/disco_fletch.ioc disco_fletch.ioc
-dos2unix -q disco_fletch.ioc
+cp disco_dartino/disco_dartino.ioc disco_dartino.ioc
+dos2unix -q disco_dartino.ioc
-rm -rf disco_fletch
+rm -rf disco_dartino
« no previous file with comments | « platforms/stm/disco_dartino/template/system_stm32f7xx.c ('k') | platforms/stm/disco_fletch/circular_buffer_test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698