diff --git a/CMakeLists.txt b/CMakeLists.txt index b5d7d191..ef2ffebd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,2 +1,8 @@ +# Makefile - STM32Cube SDK +# +# Copyright (c) 2020 Linaro Limited +# +# SPDX-License-Identifier: Apache-2.0 + add_subdirectory_ifdef(CONFIG_HAS_STM32CUBE stm32cube) add_subdirectory_ifdef(CONFIG_HAS_STM32LIB lib) diff --git a/scripts/make_stm32_module.py b/scripts/make_stm32_module.py index 05954e17..7c1b2731 100644 --- a/scripts/make_stm32_module.py +++ b/scripts/make_stm32_module.py @@ -1,5 +1,6 @@ #!/usr/bin/python +# SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2019 STMicroelectronics. # This script will build module, readme and CMakelists.txt files # to use with zephyr_module.py @@ -158,7 +159,7 @@ def makelist(make_serie): make_file.close() os.remove(os.path.join('./stm32cube', make_seriexx, 'CMakeLists.txt')) else: - first_line = '' + first_line = '' print 'Create a new CMakeLists.txt file' diff --git a/scripts/update_stm32_package.py b/scripts/update_stm32_package.py index 974a2ccb..1616782c 100644 --- a/scripts/update_stm32_package.py +++ b/scripts/update_stm32_package.py @@ -1,5 +1,6 @@ #!/usr/bin/python +# SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2019 STMicroelectronics. # This script will update the stm32cube module for Zephyr # from the latest version on https://github.com/STMicroelectronics @@ -283,7 +284,7 @@ if os.system(git_cmd): print "Error when applying patch to zephyr module: see "+os.path.join(module_path, module_log) else: option_force = True - + # 7.3) add files but do not commit os.system('git add * && git reset -- *.patch && git reset -- *.log && git reset -- *.rej') print "README file : --> please check that the Patch list is still valid"