Commit ffce77e1 authored by schneider's avatar schneider Committed by Rahix

fix(sdk): Plug in pre-release with BTLE support

Plug in a new SDK with improved BLE support (more source files
available)

Does not yet actually us BLE.
parent ca3aaa55

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
...@@ -29,10 +29,15 @@ ...@@ -29,10 +29,15 @@
# property whatsoever. Maxim Integrated Products, Inc. retains all # property whatsoever. Maxim Integrated Products, Inc. retains all
# ownership rights. # ownership rights.
# #
# $Id: Makefile 41870 2019-03-26 14:20:03Z nathan.goldstick $ # $Id: Makefile 44505 2019-07-09 20:32:03Z nathan.goldstick $
# #
################################################################################ ################################################################################
# Include project configuration.
ifneq "$(wildcard config.mk)" ""
include config.mk
endif
# This is the name of the build output file # This is the name of the build output file
ifeq "$(PROJECT)" "" ifeq "$(PROJECT)" ""
PROJECT=max32665 PROJECT=max32665
...@@ -55,29 +60,6 @@ endif ...@@ -55,29 +60,6 @@ endif
TARGET_UC:=$(shell echo $(TARGET) | tr a-z A-Z) TARGET_UC:=$(shell echo $(TARGET) | tr a-z A-Z)
TARGET_LC:=$(shell echo $(TARGET) | tr A-Z a-z) TARGET_LC:=$(shell echo $(TARGET) | tr A-Z a-z)
# Beacon App Defines
ifneq "$(BEACON_APP_BEACON_APP_ADV_TYPE)" ""
PROJ_CFLAGS+=-DBEACON_APP_BEACON_APP_ADV_TYPE
endif
ifneq "$(BEACON_APP_MODE)" ""
PROJ_CFLAGS+=-DBEACON_APP_MODE
endif
ifneq "$(BEACON_APP_PEER_ADDR)" ""
PROJ_CFLAGS+=-DBEACON_APP_PEER_ADDR
endif
ifneq "$(BEACON_APP_USE_LEGACY_PDU)" ""
PROJ_CFLAGS+=-DBEACON_APP_USE_LEGACY_PDU
endif
ifneq "$(BEACON_APP_USE_ANON_ADV)" ""
PROJ_CFLAGS+=-DBEACON_APP_USE_ANON_ADV
endif
ifneq "$(BEACON_APP_USE_FRAG_PREF)" ""
PROJ_CFLAGS+=-DBEACON_APP_USE_FRAG_PREF
endif
ifneq "$(BEACON_APP_USE_PER_ADV)" ""
PROJ_CFLAGS+=-DBEACON_APP_USE_PER_ADV
endif
# Last octet address modifier # Last octet address modifier
ifneq "$(BLE_ADDR_LSB)" "" ifneq "$(BLE_ADDR_LSB)" ""
PROJ_CFLAGS+=-DBLE_ADDR_LSB=$(BLE_ADDR_LSB) PROJ_CFLAGS+=-DBLE_ADDR_LSB=$(BLE_ADDR_LSB)
...@@ -90,10 +72,8 @@ endif ...@@ -90,10 +72,8 @@ endif
# This is the path to the CMSIS root directory # This is the path to the CMSIS root directory
ifeq "$(MAXIM_PATH)" "" ifeq "$(MAXIM_PATH)" ""
LIBS_DIR=../../../Libraries LIBS_DIR=../../../Libraries
NDALIBS_DIR=../../../NDALibraries
else else
LIBS_DIR=/$(subst \,/,$(subst :,,$(MAXIM_PATH))/Firmware/$(TARGET_UC)/Libraries) LIBS_DIR=/$(subst \,/,$(subst :,,$(MAXIM_PATH))/Firmware/$(TARGET_UC)/Libraries)
NDALIBS_DIR=/$(subst \,/,$(subst :,,$(MAXIM_PATH))/Firmware/$(TARGET_UC)/NDALibraries)
endif endif
CMSIS_ROOT=$(LIBS_DIR)/CMSIS CMSIS_ROOT=$(LIBS_DIR)/CMSIS
...@@ -101,23 +81,105 @@ CMSIS_ROOT=$(LIBS_DIR)/CMSIS ...@@ -101,23 +81,105 @@ CMSIS_ROOT=$(LIBS_DIR)/CMSIS
SRCS = main.c SRCS = main.c
SRCS += stack_beacon.c SRCS += stack_beacon.c
SRCS += beacon_main.c SRCS += beacon_main.c
# Where to find source files for this test # Where to find source files for this test
VPATH = . VPATH = .
VPATH += fcl/src