# # Broadcom Proprietary and Confidential. Copyright 2016 Broadcom # All Rights Reserved. # # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation; # the contents of this file may not be disclosed to third parties, copied # or duplicated in any form, in whole or in part, without the prior # written permission of Broadcom Corporation. # NAME := Platform_MurataType1LD WLAN_CHIP := 43438 WLAN_CHIP_REVISION := A1 WLAN_CHIP_FAMILY := 4343x HOST_MCU_FAMILY := STM32F4xx HOST_MCU_VARIANT := STM32F412 HOST_MCU_PART_NUMBER := STM32F412RGY6 BT_CHIP := 43438 BT_CHIP_REVISION := A1 BT_CHIP_XTAL_FREQUENCY := 37_4MHz PLATFORM_SUPPORTS_BUTTONS := 1 ifndef BUS BUS := SDIO endif EXTRA_TARGET_MAKEFILES += $(MAKEFILES_PATH)/standard_platform_targets.mk ifdef NOUSE_32KXTAL GLOBAL_DEFINES += SLOW_SDIO_CLOCK STM_LSE_OFF else GLOBAL_DEFINES += SLOW_SDIO_CLOCK MURATA_USE_32K_XTAL endif VALID_BUSES := SDIO # For apps without wifi firmware, NO_WIFI_FIRMWARE := YES and # resources will be in DIRECT_RESOURCE for SDIO bus #ifneq ($(NO_WIFI_FIRMWARE),) ifeq ($(BUS),SDIO) RESOURCES_LOCATION := RESOURCES_IN_DIRECT_RESOURCES endif #endif # WIFI_FIRMWARE and WIFI_FIRMWARE_CLM_BLOB are now included into resources # RESOURCES_LOCATION default to RESOURCES_IN_WICEDFS. But can be optionally config to RESOURCES_IN_DIRECT_RESOURCES # WARNING: Config RESOURCES_LOCATION to RESOURCES_IN_DIRECT_RESOURCES will build firmware and blob to into main application # and may cause internal flash to overflow RESOURCES_LOCATION ?= RESOURCES_IN_WICEDFS ifeq ($(RESOURCES_LOCATION), RESOURCES_IN_DIRECT_RESOURCES) INTERNAL_MEMORY_RESOURCES = $(ALL_RESOURCES) GLOBAL_DEFINES += WWD_DIRECT_RESOURCES endif #GLOBAL_DEFINES += MAC_ADDRESS_SET_BY_HOST # Global includes GLOBAL_INCLUDES := . GLOBAL_INCLUDES += $(SOURCE_ROOT)libraries/inputs/gpio_button # Global defines # HSE_VALUE = STM32 crystal frequency = 26MHz (needed to make UART work correctly) GLOBAL_DEFINES += HSE_VALUE=26000000 GLOBAL_DEFINES += $$(if $$(NO_CRLF_STDIO_REPLACEMENT),,CRLF_STDIO_REPLACEMENT) GLOBAL_DEFINES += WICED_DCT_INCLUDE_BT_CONFIG GLOBAL_DEFINES += BAUDRATE_UPDATE_ONLY_CHANGE_BRR GLOBAL_DEFINES += MURATA_CMD # Components $(NAME)_COMPONENTS += drivers/spi_flash \ inputs/gpio_button # Source files $(NAME)_SOURCES := platform.c # WICED APPS # APP0 and FILESYSTEM_IMAGE are reserved main app and resources file system # FR_APP := resources/sflash/snip_ota_fr-BCM943362WCD6.stripped.elf # DCT_IMAGE := # OTA_APP := # FILESYSTEM_IMAGE := # WIFI_FIRMWARE := # APP0 := # APP1 := # APP2 := # WICED APPS LOOKUP TABLE APPS_LUT_HEADER_LOC := 0x0000 APPS_START_SECTOR := 1 ifneq ($(APP),bootloader) ifneq ($(MAIN_COMPONENT_PROCESSING),1) $(info +-----------------------------------------------------------------------------------------------------+ ) $(info | IMPORTANT NOTES | ) $(info +-----------------------------------------------------------------------------------------------------+ ) $(info | Wi-Fi MAC Address | ) $(info | The target Wi-Fi MAC address is defined in /generated_mac_address.txt | ) $(info | Ensure each target device has a unique address. | ) $(info +-----------------------------------------------------------------------------------------------------+ ) $(info | MCU & Wi-Fi Power Save | ) $(info | It is *critical* that applications using WICED Powersave API functions connect an accurate 32kHz | ) $(info | reference clock to the sleep clock input pin of the WLAN chip. Please read the WICED Powersave | ) $(info | Application Note located in the documentation directory if you plan to use powersave features. | ) $(info +-----------------------------------------------------------------------------------------------------+ ) endif endif