Skip to content

Commit e198375

Browse files
committed
soc: wch: Deduplicate common files across ch32v socs
Moves shared files from multiple ch32v SoCs into a new `common/` directory to eliminate duplication. Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
1 parent 21b20de commit e198375

File tree

15 files changed

+10
-180
lines changed

15 files changed

+10
-180
lines changed

soc/wch/ch32v/ch32v00x/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
zephyr_sources(
6-
soc_irq.S
7-
vector.S
6+
../common/soc_irq.S
7+
../common/qingke_v2x/vector.S
88
)
99

1010
zephyr_include_directories(.)

soc/wch/ch32v/ch32v00x/soc_irq.S

Lines changed: 0 additions & 20 deletions
This file was deleted.
File renamed without changes.

soc/wch/ch32v/qingke_v2a/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
zephyr_sources(
6-
soc_irq.S
7-
vector.S
6+
../common/soc_irq.S
7+
../common/qingke_v2x/vector.S
88
)
99

1010
zephyr_include_directories(.)

soc/wch/ch32v/qingke_v2a/vector.S

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

soc/wch/ch32v/qingke_v4b/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
zephyr_sources(
6-
soc_irq.S
7-
vector.S
6+
../common/soc_irq.S
7+
../common/qingke_v4/vector.S
88
)
99

1010
zephyr_include_directories(.)

soc/wch/ch32v/qingke_v4b/soc_irq.S

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

soc/wch/ch32v/qingke_v4b/vector.S

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

0 commit comments

Comments
 (0)