Skip to content

Commit 76b7468

Browse files
committed
ci skip clang/iar build for stm32n6
add stm32-tcpp0203 driver as dependency for h7rs and n6
1 parent edec37c commit 76b7468

File tree

28 files changed

+25
-6672
lines changed

28 files changed

+25
-6672
lines changed

.github/workflows/ci_set_matrix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"stm32f7": ["arm-gcc", "arm-clang", "arm-iar"],
4242
"stm32g0 stm32g4 stm32h5": ["arm-gcc", "arm-clang", "arm-iar"],
4343
"stm32h7 stm32h7rs": ["arm-gcc", "arm-clang", "arm-iar"],
44-
"stm32l0 stm32l4 stm32n6": ["arm-gcc", "arm-clang", "arm-iar"],
44+
"stm32l0 stm32l4": ["arm-gcc", "arm-clang", "arm-iar"],
45+
"stm32n6": ["arm-gcc"],
4546
"stm32u5 stm32wb": ["arm-gcc", "arm-clang", "arm-iar"],
4647
"xmc4000": ["arm-gcc"],
4748
"-bespressif_s2_devkitc": ["esp-idf"],

hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.cmake

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,14 @@ set(LD_FILE_Clang ${LD_FILE_GNU})
66
set(LD_FILE_IAR ${CMAKE_CURRENT_LIST_DIR}/stm32h7s3xx_flash.icf)
77

88
function(update_board TARGET)
9-
109
target_compile_definitions(${TARGET} PUBLIC
1110
STM32H7S3xx
12-
SEGGER_RTT_SECTION="noncacheable_buffer"
13-
BUFFER_SIZE_UP=0x3000
1411
)
15-
1612
target_sources(${TARGET} PUBLIC
17-
# BSP
18-
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/tcpp0203/tcpp0203.c
19-
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/tcpp0203/tcpp0203_reg.c
13+
${ST_TCPP0203}/tcpp0203.c
14+
${ST_TCPP0203}/tcpp0203_reg.c
2015
)
2116
target_include_directories(${TARGET} PUBLIC
22-
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/tcpp0203
17+
${ST_TCPP0203}
2318
)
2419
endfunction()

hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.mk

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ LD_FILE_GCC = $(BOARD_PATH)/stm32h7s3xx_flash.ld
1212
LD_FILE_IAR = $(BOARD_PATH)/stm32h7s3xx_flash.icf
1313

1414
SRC_C += \
15-
$(BOARD_PATH)/tcpp0203/tcpp0203.c \
16-
$(BOARD_PATH)/tcpp0203/tcpp0203_reg.c \
15+
$(ST_TCPP0203)/tcpp0203.c \
16+
$(ST_TCPP0203)/tcpp0203_reg.c \
1717

1818
INC += \
19-
$(TOP)/$(BOARD_PATH)/tcpp0203 \
20-
21-
CFLAGS += \
22-
-DSEGGER_RTT_SECTION=\"noncacheable_buffer\" \
23-
-DBUFFER_SIZE_UP=0x3000 \
19+
$(TOP)/$(ST_TCPP0203) \

hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/tcpp0203/LICENSE.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/tcpp0203/Release_Notes.html

Lines changed: 0 additions & 205 deletions
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)