view src/cs/drivers/drv_core/drv_core.def @ 192:4f40ae165be4

abb.c & init.c: sync with Magnetite for Luna additions These Luna target-specific additions are conditionalized on CONFIG_TARGET_LUNA, a C preprocessor symbol that will never be defined in Selenite, hence this change has exactly zero impact on FC Selenite. However, they are being pulled in as a sync in order to keep the diff between Magnetite and Selenite to a minimum; keeping this diff to a minimum increases our opportunities for possible evolution of future FC firmwares.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 May 2020 07:03:46 +0000
parents b6a5e36de839
children
line wrap: on
line source

########################################
# LIBRARIES / MODULES definition       #
########################################

# to avoid multiple drv_core.def (import + include)
ifndef DRV_CORE_DEF
   DRV_CORE_DEF = 1


### Basic drivers specific libraries/modules
######################################

ifndef RVTOOL
  TI_LIBS += $(OUT_LIB_DIR)/drivers_flash.lib

  ifeq ($(CHIPSET),12)
    TI_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib
    TI_CONST_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib (.loop)
  endif

  ifeq ($(BOARD),34)
    TI_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib
    TI_LIBS += $(OUT_LIB_DIR)/csmi_int_ram.lib
  endif

  ifeq ($(BOARD),35)
    TI_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib
    TI_LIBS += $(OUT_LIB_DIR)/csmi_int_ram.lib
  endif

  MODULES += $(DRIVERS_CORE_DIR)
endif



########################################
# SPECIAL CONFIGURATIONS               #
########################################

ifeq ($(findstring 1,$(TI_PROFILER) $(TI_NUC_MONITOR)),1)
   TI_LIBS += $(OUT_LIB_DIR)/niq32_int_ram.lib

   TI_BSS_LIBS += $(OUT_LIB_DIR)/niq32_int_ram.lib (.bss)
   TI_CONST_LIBS += $(OUT_LIB_DIR)/niq32_int_ram.lib (.text, .const)
endif


endif