Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
################################################################################
# \file bsp.mk
#
# \brief
# Define the KIT-XMC72-EVK-MUR-43439M2 target.
#
################################################################################
# \copyright
# Copyright 2021-2024 Cypress Semiconductor Corporation (an Infineon company) or
# an affiliate of Cypress Semiconductor Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
################################################################################
ifeq ($(WHICHFILE),true)
$(info Processing $(lastword $(MAKEFILE_LIST)))
endif
# Any additional components to apply when using this board.
# Use a default CM0+ image (XMC7x_CM0P_SLEEP). This can be swapped for a
# different pre-built image or removed if custom built project.
BSP_COMPONENTS:=XMC7x_CM0P_SLEEP WIFI_INTERFACE_SDIO
# Any additional defines to apply when using this board.
BSP_DEFINES:=CY_USING_HAL CYBSP_WIFI_WL_REG_ON_GPIO_DRIVE_MODE=CYHAL_GPIO_DRIVE_STRONG CYBSP_WIFI_WL_HOSTWAKE_DRIVE_MODE=CYHAL_GPIO_DRIVE_PULLUP CYBSP_WIFI_WL_HOSTWAKE_INIT_STATE=WHD_TRUE CYBSP_WIFI_HOST_WAKE_IRQ_EVENT=CYHAL_GPIO_IRQ_FALL
# Path to the flash loaders to patch for this board
CY_QSPI_FLM_DIR=$(MTB_TOOLS__TARGET_DIR)/config/FlashLoaders/
# Path to the patched flash loaders for this board
CY_QSPI_FLM_DIR_OUTPUT=$(MTB_TOOLS__TARGET_DIR)/config/GeneratedSource/
ifneq (,$(filter XMC7x_CM0P_SLEEP, $(BSP_COMPONENTS)))
BSP_LINKER_CORE:=linker
else
BSP_LINKER_CORE:=linker_d
endif
ifeq ($(TOOLCHAIN),GCC_ARM)
BSP_LINKER_SCRIPT_EXT:=ld
else ifeq ($(TOOLCHAIN),ARM)
BSP_LINKER_SCRIPT_EXT:=sct
else ifeq ($(TOOLCHAIN),IAR)
BSP_LINKER_SCRIPT_EXT:=icf
endif
MTB_BSP__LINKER_SCRIPT=$(MTB_TOOLS__TARGET_DIR)/COMPONENT_$(MTB_RECIPE__CORE)/TOOLCHAIN_$(TOOLCHAIN)/$(BSP_LINKER_CORE).$(BSP_LINKER_SCRIPT_EXT)
$(info "Using linker $(MTB_BSP__LINKER_SCRIPT)")
################################################################################
# ALL ITEMS BELOW THIS POINT ARE AUTO GENERATED BY THE BSP ASSISTANT TOOL.
# DO NOT MODIFY DIRECTLY. CHANGES SHOULD BE MADE THROUGH THE BSP ASSISTANT.
################################################################################
# Board device selection. MPN_LIST tracks what was selected in the BSP Assistant
# All other variables are derived by BSP Assistant based on the MPN_LIST.
MPN_LIST:=XMC7200D-E272K8384 LBEE5KL1YN
DEVICE:=XMC7200D-E272K8384
ADDITIONAL_DEVICES:=CYW43439KUBG
DEVICE_COMPONENTS:=43439 CAT1 CAT1C CAT1C8M HCI-UART MURATA-1YN
DEVICE_CYW43439KUBG_DIE:=4343A2
DEVICE_CYW43439KUBG_FLASH_KB:=0
DEVICE_CYW43439KUBG_SRAM_KB:=512
DEVICE_LIST:=XMC7200D-E272K8384 CYW43439KUBG
DEVICE_TOOL_IDS:=bsp-assistant bt-configurator device-configurator dfuh-tool library-manager memory-analyzer project-creator qspi-configurator smartio-configurator
DEVICE_XMC7200D-E272K8384_CORES:=CORE_NAME_CM0P_0 CORE_NAME_CM7_0 CORE_NAME_CM7_1
DEVICE_XMC7200D-E272K8384_DIE:=TVIIBH8M
DEVICE_XMC7200D-E272K8384_FLASH_KB:=8384
DEVICE_XMC7200D-E272K8384_SRAM_KB:=1024
RECIPE_DIR:=$(SEARCH_recipe-make-cat1c)