File tree Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ elseif("NORDIC" IN_LIST MBED_TARGET_LABELS)
15
15
add_subdirectory (TARGET_NORDIC )
16
16
elseif ("NUVOTON" IN_LIST MBED_TARGET_LABELS )
17
17
add_subdirectory (TARGET_NUVOTON )
18
+ elseif ("Samsung" IN_LIST MBED_TARGET_LABELS )
19
+ add_subdirectory (TARGET_Samsung )
18
20
elseif ("Silicon_Labs" IN_LIST MBED_TARGET_LABELS )
19
21
add_subdirectory (TARGET_Silicon_Labs )
20
22
elseif ("STM" IN_LIST MBED_TARGET_LABELS )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ if ("SIDK_S1SBP6A" IN_LIST MBED_TARGET_LABELS )
5
+ add_subdirectory (TARGET_SIDK_S1SBP6A )
6
+ elseif ("SIDK_S5JS100" IN_LIST MBED_TARGET_LABELS )
7
+ add_subdirectory (TARGET_SIDK_S5JS100 )
8
+ endif ()
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ if (${MBED_TOOLCHAIN} STREQUAL "ARM" )
5
+ set (LINKER_FILE device/TOOLCHAIN_ARM_STD/s1sbp6a.sct )
6
+ set (STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_s1sbp6a.S )
7
+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
8
+ set (LINKER_FILE device/TOOLCHAIN_GCC_ARM/s1sbp6a.ld )
9
+ set (STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_s1sbp6a.S )
10
+ endif ()
11
+
12
+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
13
+
14
+ target_include_directories (mbed-core
15
+ INTERFACE
16
+ .
17
+ device
18
+ )
19
+
20
+ target_sources (mbed-core
21
+ INTERFACE
22
+ PeripheralPins.c
23
+ flash_api.c
24
+ gpio_api.c
25
+ gpio_irq_api.c
26
+ i2c_api.c
27
+ pinmap.c
28
+ rtc_api.c
29
+ serial_api.c
30
+ sleep_api.c
31
+ spi_api.c
32
+ us_ticker.c
33
+ watchdog_api.c
34
+
35
+ device/s1sbp6a_cmu.c
36
+ device/s1sbp6a_gpio.c
37
+ device/s1sbp6a_i2c.c
38
+ device/s1sbp6a_pmu.c
39
+ device/s1sbp6a_rtc.c
40
+ device/s1sbp6a_wdog.c
41
+ device/system_s1sbp6a.c
42
+
43
+ ${STARTUP_FILE}
44
+ )
Original file line number Diff line number Diff line change 1
- #! armcc -E
1
+ #! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m4
2
2
;* Copyright (c) 2006-2019 ARM Limited
3
3
;* All rights reserved.
4
4
;* SPDX-License-Identifier: Apache-2.0
You can’t perform that action at this time.
0 commit comments