File tree Expand file tree Collapse file tree 16 files changed +389
-6
lines changed Expand file tree Collapse file tree 16 files changed +389
-6
lines changed Original file line number Diff line number Diff line change 3
3
4
4
if ("ARM_FM" IN_LIST MBED_TARGET_LABELS )
5
5
add_subdirectory (TARGET_ARM_FM )
6
+ elseif ("Analog_Devices" IN_LIST MBED_TARGET_LABELS )
7
+ add_subdirectory (TARGET_Analog_Devices )
6
8
elseif ("Cypress" IN_LIST MBED_TARGET_LABELS )
7
9
add_subdirectory (TARGET_Cypress )
8
10
elseif ("Freescale" IN_LIST MBED_TARGET_LABELS )
@@ -17,8 +19,12 @@ elseif("NUVOTON" IN_LIST MBED_TARGET_LABELS)
17
19
add_subdirectory (TARGET_NUVOTON )
18
20
elseif ("NXP" IN_LIST MBED_TARGET_LABELS )
19
21
add_subdirectory (TARGET_NXP )
22
+ elseif ("Samsung" IN_LIST MBED_TARGET_LABELS )
23
+ add_subdirectory (TARGET_Samsung )
20
24
elseif ("Silicon_Labs" IN_LIST MBED_TARGET_LABELS )
21
25
add_subdirectory (TARGET_Silicon_Labs )
22
26
elseif ("STM" IN_LIST MBED_TARGET_LABELS )
23
27
add_subdirectory (TARGET_STM )
28
+ elseif ("WICED" IN_LIST MBED_TARGET_LABELS )
29
+ add_subdirectory (TARGET_WICED )
24
30
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 ("ADUCM4X50" IN_LIST MBED_TARGET_LABELS )
5
+ add_subdirectory (TARGET_ADUCM4X50 )
6
+ elseif ("ADUCM302X" IN_LIST MBED_TARGET_LABELS )
7
+ add_subdirectory (TARGET_ADUCM302X )
8
+ endif ()
9
+
10
+ target_include_directories (mbed-core
11
+ INTERFACE
12
+ .
13
+ )
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 ("ADUCM3029" IN_LIST MBED_TARGET_LABELS )
5
+ add_subdirectory (TARGET_ADUCM3029 )
6
+ 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 TOOLCHAIN_ARM_STD/ADuCM3029.sct )
6
+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
7
+ set (LINKER_FILE TOOLCHAIN_GCC_ARM/ADuCM3029.ld )
8
+ endif ()
9
+
10
+ if ("EV_COG_AD3029LZ" IN_LIST MBED_TARGET_LABELS )
11
+ target_include_directories (mbed-core
12
+ INTERFACE
13
+ TARGET_EV_COG_AD3029LZ
14
+ TARGET_EV_COG_AD3029LZ/device
15
+ )
16
+
17
+ target_sources (mbed-core
18
+ INTERFACE
19
+ TARGET_EV_COG_AD3029LZ/device/system_ADuCM3029.c
20
+ TARGET_EV_COG_AD3029LZ/device/startup_ADuCM3029.c
21
+ )
22
+
23
+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
24
+
25
+ target_include_directories (mbed-core
26
+ INTERFACE
27
+ api
28
+ bsp
29
+ bsp/adc
30
+ bsp/beep
31
+ bsp/config
32
+ bsp/crc
33
+ bsp/crypto
34
+ bsp/drivers/adc
35
+ bsp/drivers/beep
36
+ bsp/drivers/crc
37
+ bsp/drivers/crypto
38
+ bsp/drivers/dma
39
+ bsp/drivers/flash
40
+ bsp/drivers/general
41
+ bsp/drivers/gpio
42
+ bsp/drivers/i2c
43
+ bsp/drivers/pwr
44
+ bsp/drivers/rng
45
+ bsp/drivers/rtc
46
+ bsp/drivers/spi
47
+ bsp/drivers/sport
48
+ bsp/drivers/tmr
49
+ bsp/drivers/uart
50
+ bsp/drivers/wdt
51
+ bsp/drivers/xint
52
+ bsp/flash
53
+ bsp/gpio
54
+ bsp/i2c
55
+ bsp/pwr
56
+ bsp/rng
57
+ bsp/rtc
58
+ bsp/rtos_map
59
+ bsp/spi
60
+ bsp/sport
61
+ bsp/sys
62
+ bsp/uart
63
+ bsp/xint
64
+ )
65
+
66
+ target_sources (mbed-core
67
+ INTERFACE
68
+ bsp/crypto/adi_crypto.c
69
+ bsp/wdt/adi_wdt.c
70
+ bsp/crc/adi_crc.c
71
+ bsp/i2c/adi_i2c.c
72
+ bsp/i2c/adi_i2c_data.c
73
+ bsp/sport/adi_sport.c
74
+ bsp/tmr/adi_tmr_data.c
75
+ bsp/tmr/adi_tmr.c
76
+ bsp/flash/adi_flash.c
77
+ bsp/flash/adi_flash_data.c
78
+ bsp/spi/adi_spi_data.c
79
+ bsp/spi/adi_spi.c
80
+ bsp/xint/adi_xint.c
81
+ bsp/adc/adi_adc.c
82
+ bsp/adc/adi_adc_data.c
83
+ bsp/beep/adi_beep.c
84
+ bsp/rtc/adi_rtc_data.c
85
+ bsp/rtc/adi_rtc.c
86
+ bsp/pwr/adi_pwr.c
87
+ bsp/dma/adi_dma.c
88
+ bsp/gpio/adi_gpio.c
89
+ bsp/uart/adi_uart.c
90
+ bsp/rng/adi_rng.c
91
+ api/us_ticker.c
92
+ api/serial_api.c
93
+ api/gpio_dev_mem.c
94
+ api/gpio_api.c
95
+ api/flash_api.c
96
+ api/spi_api.c
97
+ api/i2c_api.c
98
+ api/gpio_irq_api.c
99
+ api/trng_api.c
100
+ api/sleep.c
101
+ api/PeripheralPins.c
102
+ api/analogin_api.c
103
+ api/rtc_api.c
104
+ api/pinmap.c
105
+ )
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-m3
2
2
;******************************************************************************
3
3
; File: ADuCM3029.sct
4
4
; Scatter loading file for Analog Devices ADuCM3029 processor
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 ("ADUCM4050" IN_LIST MBED_TARGET_LABELS )
5
+ add_subdirectory (TARGET_ADUCM4050 )
6
+ 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 "GCC_ARM" )
5
+ set (LINKER_FILE TOOLCHAIN_GCC_ARM/ADuCM4050.ld )
6
+ elseif (${MBED_TOOLCHAIN} STREQUAL "ARM" )
7
+ set (LINKER_FILE TOOLCHAIN_ARM_STD/ADuCM4050.sct )
8
+ endif ()
9
+
10
+ if ("EV_COG_AD4050LZ" IN_LIST MBED_TARGET_LABELS )
11
+ target_include_directories (mbed-core
12
+ INTERFACE
13
+ TARGET_EV_COG_AD4050LZ
14
+ TARGET_EV_COG_AD4050LZ/device
15
+ )
16
+
17
+ target_sources (mbed-core
18
+ INTERFACE
19
+ TARGET_EV_COG_AD4050LZ/device/system_ADuCM4050.c
20
+ TARGET_EV_COG_AD4050LZ/device/startup_ADuCM4050.c
21
+ )
22
+ endif ()
23
+
24
+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
25
+
26
+ target_include_directories (mbed-core
27
+ INTERFACE
28
+ api
29
+ bsp
30
+ bsp/adc
31
+ bsp/beep
32
+ bsp/config
33
+ bsp/crc
34
+ bsp/crypto
35
+ bsp/drivers/adc
36
+ bsp/drivers/beep
37
+ bsp/drivers/crc
38
+ bsp/drivers/crypto
39
+ bsp/drivers/dma
40
+ bsp/drivers/flash
41
+ bsp/drivers/general
42
+ bsp/drivers/gpio
43
+ bsp/drivers/i2c
44
+ bsp/drivers/pwr
45
+ bsp/drivers/rng
46
+ bsp/drivers/rtc
47
+ bsp/drivers/spi
48
+ bsp/drivers/sport
49
+ bsp/drivers/tmr
50
+ bsp/drivers/uart
51
+ bsp/drivers/wdt
52
+ bsp/drivers/xint
53
+ bsp/flash
54
+ bsp/gpio
55
+ bsp/i2c
56
+ bsp/pwr
57
+ bsp/rng
58
+ bsp/rtc
59
+ bsp/rtos_map
60
+ bsp/spi
61
+ bsp/sport
62
+ bsp/sys
63
+ bsp/uart
64
+ bsp/xint
65
+ )
66
+
67
+ target_sources (mbed-core
68
+ INTERFACE
69
+ bsp/crypto/adi_crypto.c
70
+ bsp/wdt/adi_wdt.c
71
+ bsp/crc/adi_crc.c
72
+ bsp/i2c/adi_i2c.c
73
+ bsp/i2c/adi_i2c_data.c
74
+ bsp/sport/adi_sport.c
75
+ bsp/tmr/adi_tmr_data.c
76
+ bsp/tmr/adi_tmr.c
77
+ bsp/flash/adi_flash.c
78
+ bsp/flash/adi_flash_data.c
79
+ bsp/spi/adi_spi_data.c
80
+ bsp/spi/adi_spi.c
81
+ bsp/xint/adi_xint.c
82
+ bsp/adc/adi_adc.c
83
+ bsp/adc/adi_adc_data.c
84
+ bsp/beep/adi_beep.c
85
+ bsp/rtc/adi_rtc_data.c
86
+ bsp/rtc/adi_rtc.c
87
+ bsp/pwr/adi_pwr.c
88
+ bsp/dma/adi_dma.c
89
+ bsp/gpio/adi_gpio.c
90
+ bsp/uart/adi_uart.c
91
+ bsp/rng/adi_rng.c
92
+ api/us_ticker.c
93
+ api/serial_api.c
94
+ api/gpio_dev_mem.c
95
+ api/gpio_api.c
96
+ api/flash_api.c
97
+ api/spi_api.c
98
+ api/i2c_api.c
99
+ api/gpio_irq_api.c
100
+ api/trng_api.c
101
+ api/sleep.c
102
+ api/PeripheralPins.c
103
+ api/analogin_api.c
104
+ api/rtc_api.c
105
+ api/pinmap.c
106
+
107
+ )
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
;******************************************************************************
3
3
; File: ADuCM4050.sct
4
4
; Scatter loading file for Analog Devices ADuCM4050 processor
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
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/sidk_s5js100.sct )
6
+ set (STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_sidk_s5js100.S )
7
+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
8
+ set (LINKER_FILE device/TOOLCHAIN_GCC_ARM/sidk_s5js100.ld )
9
+ set (STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_sidk_s5js100.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
+ modem
19
+ security_subsystem
20
+ security_subsystem/drivers
21
+ )
22
+
23
+ target_sources (mbed-core
24
+ INTERFACE
25
+ gpio_api.c
26
+ gpio_irq_api.c
27
+ i2c_api.c
28
+
29
+ mbed_sdk_init.c
30
+ pinmap.c
31
+ rtc_api.c
32
+ s5js100_dcxo.cpp
33
+ s5js100_pmip.c
34
+ s5js100_pwr.c
35
+ s5js100_watchdog.c
36
+ security_subsystem
37
+ serial_api.c
38
+ serial_dummy_api.c
39
+ serial_pl011_api.c
40
+ serial_usi_api.c
41
+ sleep.c
42
+ spi_api.c
43
+ us_ticker.c
44
+ watchdog_api.c
45
+
46
+ device/s5js100_pwrcal.c
47
+ device/s5js100_systemreset.c
48
+ device/sflash_api.cpp
49
+ device/system_core_s5js100.c
50
+ device/system_core_version.c
51
+ device/system_s5js100.c
52
+
53
+ security_subsystem/api/trng_api.c
54
+
55
+ security_subsystem/drivers/mb_cmd_hash.c
56
+ security_subsystem/drivers/mb_cmd_rng.c
57
+ security_subsystem/drivers/mb_cmd_system.c
58
+ security_subsystem/drivers/sss_driver_rng.c
59
+ security_subsystem/drivers/sss_driver_sha2.c
60
+ security_subsystem/drivers/sss_driver_util.c
61
+
62
+ ${STARTUP_FILE}
63
+ )
You can’t perform that action at this time.
0 commit comments