OLD | NEW |
1 #!/usr/bin/env bash | 1 #!/usr/bin/env bash |
2 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 2 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE.md file. | 4 # BSD-style license that can be found in the LICENSE.md file. |
5 | 5 |
6 # Update the generated source and template files from STMCubeMX. Right | 6 # Update the generated source and template files from STMCubeMX. Right |
7 # not the source file is disco_fletch.tar.gz - a tar of the generated | 7 # not the source file is disco_fletch.tar.gz - a tar of the generated |
8 # project from a Windows machine. | 8 # project from a Windows machine. |
9 | 9 |
10 set -e | 10 set -e |
11 | 11 |
12 tar xf disco_fletch.tar.gz | 12 tar xf disco_fletch.tar.gz |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 # Don't copy the disco_fletch/Drivers/CMSIS/Device/ST/STM32F7xx/Source/ | 56 # Don't copy the disco_fletch/Drivers/CMSIS/Device/ST/STM32F7xx/Source/ |
57 # Templates/system_stm32f7xx.c file, as the one provided by | 57 # Templates/system_stm32f7xx.c file, as the one provided by |
58 # STM32CubeMX is the wrong one. It is the one for the EVAL2 board | 58 # STM32CubeMX is the wrong one. It is the one for the EVAL2 board |
59 # and not the Discovery board. | 59 # and not the Discovery board. |
60 | 60 |
61 cp disco_fletch/disco_fletch.ioc disco_fletch.ioc | 61 cp disco_fletch/disco_fletch.ioc disco_fletch.ioc |
62 dos2unix -q disco_fletch.ioc | 62 dos2unix -q disco_fletch.ioc |
63 | 63 |
64 rm -rf disco_fletch | 64 rm -rf disco_fletch |
OLD | NEW |