1# Copyright (c) 2021-2023 HPMicro 2# SPDX-License-Identifier: BSD-3-Clause 3 4set(ENV{CONFIG_PANEL_RGB_TM070RDH13} 1) 5sdk_compile_definitions_ifdef(BUILD_FOR_SECONDARY_CORE BOARD_RUNNING_CORE=HPM_CORE1) 6 7sdk_inc(.) 8sdk_src(pinmux.c) 9sdk_src(board.c) 10 11if(APP_USE_ENET_PORT_COUNT EQUAL 2) 12 set(ENV{CONFIG_ENET_PHY_DP83867} 1) 13 set(ENV{CONFIG_ENET_PHY_DP83848} 1) 14elseif(APP_USE_ENET_PORT_COUNT EQUAL 1) 15 if(APP_USE_ENET_ITF_RGMII) 16 set(ENV{CONFIG_ENET_PHY_DP83867} 1) 17 elseif(APP_USE_ENET_ITF_RMII) 18 set(ENV{CONFIG_ENET_PHY_DP83848} 1) 19 elseif(APP_USE_ENET_PHY_DP83867) 20 set(ENV{CONFIG_ENET_PHY_DP83867} 1) 21 elseif(APP_USE_ENET_PHY_DP83848) 22 set(ENV{CONFIG_ENET_PHY_DP83848} 1) 23 else() 24 set(ENV{CONFIG_ENET_PHY_DP83867} 1) 25 endif() 26endif() 27