Initial import of NFC GNSS SDK project
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# name of your application
|
||||
APPLICATION = preboot
|
||||
|
||||
# If no BOARD is found in the environment, use this default:
|
||||
BOARD ?= crane
|
||||
|
||||
# If no AROM_VERSION is found in the environment, use this default:
|
||||
AROM_VERSION ?= 20200730
|
||||
|
||||
# This has to be the absolute path to the RIOT base directory:
|
||||
RIOTBASE ?= $(realpath $(CURDIR)/../../)
|
||||
|
||||
BOARD_WHITELIST += crane cranew-mcu
|
||||
|
||||
# Include all submodules depending on
|
||||
#DIRS +=
|
||||
USEMODULE += bl2_arg
|
||||
USEMODULE += libarom
|
||||
ifeq (,$(filter x86-arom-native,$(BOARD)))
|
||||
USEMODULE += psram
|
||||
endif
|
||||
USEMODULE += property
|
||||
USEMODULE += log
|
||||
|
||||
# Except for ram verson for compatibility: Watch1 CR5 and Lapwing.
|
||||
# After the arom.bin are updated to the releasepack, this exclusion can be
|
||||
# removed.
|
||||
ifeq ($(findstring $(AROM_VERSION), 20220808, 20240430),)
|
||||
USEMODULE += vsnprintf_syscall
|
||||
endif
|
||||
|
||||
ifeq ($(AROM_VERSION),20221111)
|
||||
# CraneGT Z1
|
||||
USEMODULE += ddr
|
||||
endif
|
||||
|
||||
CFLAGS += -Wno-int-conversion
|
||||
CFLAGS += -DAROM_VERSION=$(AROM_VERSION)
|
||||
|
||||
# Change this to 0 show compiler invocation lines by default:
|
||||
QUIET ?= 1
|
||||
|
||||
LINKER_SOURCE_SCRIPT := $(APPLICATION).lds
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
Reference in New Issue
Block a user