FreeCalypso > hg > fc-selenite
diff src/cs/drivers/drv_core/drv_core.def @ 0:b6a5e36de839
src/cs: initial import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 04:39:26 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cs/drivers/drv_core/drv_core.def Sun Jul 15 04:39:26 2018 +0000 @@ -0,0 +1,48 @@ +######################################## +# 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 \ No newline at end of file