Skip to content

Commit 5c2f9c0

Browse files
committed
refactor: core stm32 header files move to SrcWrapper
belong to sources. Signed-off-by: Frederic Pillon <[email protected]>
1 parent 6c0c006 commit 5c2f9c0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+48
-26
lines changed

CI/update/stm32cube.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ def checkConfig():
123123
stm32_def = (
124124
repo_local_path
125125
/ repo_core_name
126-
/ "cores"
127-
/ "arduino"
128-
/ "stm32"
126+
/ "libraries"
127+
/ "SrcWrapper"
129128
/ stm32_def
130129
)
131130
except IOError:

CI/update/stm32wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def checkConfig(arg_core, arg_cmsis):
9797

9898
HALoutSrc_path = SrcWrapper_path / "src" / "HAL"
9999
LLoutSrc_path = SrcWrapper_path / "src" / "LL"
100-
LLoutInc_path = core_path / "cores" / "arduino" / "stm32" / "LL"
100+
LLoutInc_path = SrcWrapper_path / "inc" / "LL"
101101

102102
if arg_cmsis is not None:
103103
CMSIS_path = Path(arg_cmsis).resolve()

License.md

Lines changed: 4 additions & 1 deletion

cmake/set_base_arduino_config.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ target_include_directories(base_config INTERFACE
5555
"${BUILD_CORE_PATH}"
5656
"${BUILD_CORE_PATH}/avr"
5757
"${BUILD_CORE_PATH}/stm32"
58-
"${BUILD_CORE_PATH}/stm32/LL"
5958
"${BUILD_CORE_PATH}/stm32/usb"
6059
"${BUILD_CORE_PATH}/stm32/OpenAMP"
6160
"${BUILD_CORE_PATH}/stm32/usb/hid"
6261
"${BUILD_CORE_PATH}/stm32/usb/cdc"
62+
"${BUILD_LIB_PATH}/SrcWrapper/inc"
63+
"${BUILD_LIB_PATH}/SrcWrapper/inc/LL"
6364
"${BUILD_SYSTEM_PATH}/Middlewares/ST/STM32_USB_Device_Library/Core/Inc"
6465
"${BUILD_SYSTEM_PATH}/Middlewares/ST/STM32_USB_Device_Library/Core/Src"
6566
"${CMSIS5_PATH}/CMSIS/DSP/Include"

0 commit comments

Comments
 (0)