File tree Expand file tree Collapse file tree 12 files changed +222
-6
lines changed
connectivity/drivers/emac/TARGET_RENESAS_EMAC/TARGET_RZ_A2XX Expand file tree Collapse file tree 12 files changed +222
-6
lines changed Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44target_include_directories(mbed-emac
5- PUBLIC
5+ INTERFACE
66 .
77 r_ether_rza2
88 r_ether_rza2/src/phy
99 r_ether_rza2/src/targets/TARGET_GR_MANGO
10- PRIVATE
1110 r_ether_rza2/src
1211)
1312
1413target_sources(mbed-emac
15- PRIVATE
14+ INTERFACE
1615 rza2_emac.cpp
1716 r_ether_rza2/src/r_ether_rza2.c
1817 r_ether_rza2/src/phy/phy.c
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ elseif("NUVOTON" IN_LIST MBED_TARGET_LABELS)
1919 add_subdirectory (TARGET_NUVOTON)
2020elseif ("NXP" IN_LIST MBED_TARGET_LABELS)
2121 add_subdirectory (TARGET_NXP)
22+ elseif ("RENESAS" IN_LIST MBED_TARGET_LABELS)
23+ add_subdirectory (TARGET_RENESAS)
2224elseif ("Samsung" IN_LIST MBED_TARGET_LABELS)
2325 add_subdirectory (TARGET_Samsung)
2426elseif ("Silicon_Labs" 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 ("RZ_A1XX" IN_LIST MBED_TARGET_LABELS)
5+ add_subdirectory (TARGET_RZ_A1XX)
6+ elseif ("RZ_A2XX" IN_LIST MBED_TARGET_LABELS)
7+ add_subdirectory (TARGET_RZ_A2XX)
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 ("GR_LYCHEE" IN_LIST MBED_TARGET_LABELS)
5+ add_subdirectory (TARGET_GR_LYCHEE)
6+ elseif ("RZ_A1H" IN_LIST MBED_TARGET_LABELS)
7+ add_subdirectory (TARGET_RZ_A1H)
8+ endif ()
9+
10+ target_include_directories (mbed-core
11+ INTERFACE
12+ .
13+ common
14+ )
15+
16+ target_sources (mbed-core
17+ INTERFACE
18+ analogin_api.c
19+ can_api.c
20+ flash_api.c
21+ gpio_api.c
22+ gpio_irq_api.c
23+ i2c_api.c
24+ lp_ticker.c
25+ mtu2.c
26+ pinmap.c
27+ port_api.c
28+ pwmout_api.c
29+ rtc_api.c
30+ serial_api.c
31+ sleep.c
32+ spi_api.c
33+ trng_api.c
34+ us_ticker.c
35+
36+ common/rza_io_regrw.c
37+ )
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/MBRZA1LU.sct)
6+ set (STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_RZ_A1LU.S)
7+ set (WEAK_HANDLER_FILE device/TOOLCHAIN_ARM_STD/weak_handler.S)
8+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
9+ set (LINKER_FILE device/TOOLCHAIN_GCC_ARM/RZA1LU.ld)
10+ set (STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_RZ1ALU.S)
11+ set (WEAK_HANDLER_FILE device/TOOLCHAIN_GCC_ARM/weak_handler.S)
12+ endif ()
13+
14+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
15+
16+
17+ target_include_directories (mbed-core
18+ INTERFACE
19+ .
20+ device
21+ device/inc
22+ device/inc/iobitmasks
23+ device/inc/iodefines
24+ )
25+
26+ target_sources (mbed-core
27+ INTERFACE
28+ trng_api_esp32.cpp
29+ PeripheralPins.c
30+
31+ device/RZ_A1_Init.c
32+ device/cmsis_nvic.c
33+ device/mbed_sf_boot.c
34+ device/mmu_RZ_A1LU.c
35+ device/nvic_wrapper.c
36+ device/os_tick_ostm.c
37+ device/system_RZ_A1LU.c
38+
39+ ${STARTUP_FILE}
40+ ${WEAK_HANDLER_FILE}
41+ )
42+
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-a9
22;**************************************************
33; Copyright (c) 2017 ARM Ltd. All rights reserved.
44;**************************************************
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/MBRZA1H.sct)
6+ set (STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_RZ_A1H.S)
7+ set (WEAK_HANDLER_FILE device/TOOLCHAIN_ARM_STD/weak_handler.S)
8+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
9+ set (LINKER_FILE device/TOOLCHAIN_GCC_ARM/RZA1H.ld)
10+ set (STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_RZ1AH.S)
11+ set (WEAK_HANDLER_FILE device/TOOLCHAIN_GCC_ARM/weak_handler.S)
12+ endif ()
13+
14+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
15+
16+
17+ target_include_directories (mbed-core
18+ INTERFACE
19+ .
20+ device
21+ device/inc
22+ device/inc/iobitmasks
23+ device/inc/iodefines
24+ )
25+
26+ target_sources (mbed-core
27+ INTERFACE
28+ PeripheralPins.c
29+
30+ device/RZ_A1_Init.c
31+ device/cmsis_nvic.c
32+ device/mbed_sf_boot.c
33+ device/mmu_RZ_A1H.c
34+ device/nvic_wrapper.c
35+ device/os_tick_ostm.c
36+ device/system_RZ_A1H.c
37+
38+ ${STARTUP_FILE}
39+ ${WEAK_HANDLER_FILE}
40+ )
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-a9
22;**************************************************
33; Copyright (c) 2017 ARM Ltd. All rights reserved.
44;**************************************************
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 ("GR_MANGO" IN_LIST MBED_TARGET_LABELS)
5+ add_subdirectory (TARGET_GR_MANGO)
6+ endif ()
7+
8+ target_include_directories (mbed-core
9+ INTERFACE
10+ .
11+ common
12+ common/r_cache/inc
13+ common/r_octabus/inc
14+ r_can/inc
15+ )
16+
17+ target_sources (mbed-core
18+ INTERFACE
19+ analogin_api.c
20+ can_api.c
21+ flash_api.c
22+ gpio_api.c
23+ gpio_irq_api.c
24+ i2c_api.c
25+ pinmap.c
26+ port_api.c
27+ pwmout_api.c
28+ rtc_api.c
29+ serial_api.c
30+ sleep.c
31+ spi_api.c
32+ us_ticker.c
33+
34+ common/r_cache/src/lld/r_cache_lld_rza2m.c
35+ common/r_octabus/src/lld/r_octabus_lld_rza2m_api.c
36+ common/r_octabus/src/lld/r_octabus_memclk_setup.c
37+ common/rza_io_regrw.c
38+
39+ r_can/src/r_can_rz.c
40+ )
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/MBRZA1H.sct)
6+ set (STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_RZ_A2M.S)
7+ set (WEAK_HANDLER_FILE device/TOOLCHAIN_ARM_STD/weak_handler.S)
8+ elseif (${MBED_TOOLCHAIN} STREQUAL "GCC_ARM" )
9+ set (LINKER_FILE device/TOOLCHAIN_GCC_ARM/RZA2M.ld)
10+ set (STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_RZA2M.S)
11+ set (WEAK_HANDLER_FILE device/TOOLCHAIN_GCC_ARM/weak_handler.S)
12+ endif ()
13+
14+ set_property (GLOBAL PROPERTY MBED_TARGET_LINKER_FILE ${CMAKE_CURRENT_SOURCE_DIR} /${LINKER_FILE} )
15+
16+
17+ target_include_directories (mbed-core
18+ INTERFACE
19+ .
20+ device
21+ device/inc
22+ device/inc/iodefine
23+ device/inc/iodefine/iobitmasks
24+ device/inc/iodefine/iodefines
25+ )
26+
27+ target_sources (mbed-core
28+ INTERFACE
29+ PeripheralPins.c
30+
31+ device/RZ_A2_Init.c
32+ device/cmsis_nvic.c
33+ device/mbed_sf_boot.c
34+ device/mmu_RZ_A2M.c
35+ device/nvic_wrapper.c
36+ device/octaram_init.c
37+ device/os_tick_ostm.c
38+ device/system_RZ_A2M.c
39+
40+ ${STARTUP_FILE}
41+ ${WEAK_HANDLER_FILE}
42+ )
You can’t perform that action at this time.
0 commit comments