comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:b6a5e36de839
1 ########################################
2 # LIBRARIES / MODULES definition #
3 ########################################
4
5 # to avoid multiple drv_core.def (import + include)
6 ifndef DRV_CORE_DEF
7 DRV_CORE_DEF = 1
8
9
10 ### Basic drivers specific libraries/modules
11 ######################################
12
13 ifndef RVTOOL
14 TI_LIBS += $(OUT_LIB_DIR)/drivers_flash.lib
15
16 ifeq ($(CHIPSET),12)
17 TI_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib
18 TI_CONST_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib (.loop)
19 endif
20
21 ifeq ($(BOARD),34)
22 TI_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib
23 TI_LIBS += $(OUT_LIB_DIR)/csmi_int_ram.lib
24 endif
25
26 ifeq ($(BOARD),35)
27 TI_LIBS += $(OUT_LIB_DIR)/drivers_int_ram.lib
28 TI_LIBS += $(OUT_LIB_DIR)/csmi_int_ram.lib
29 endif
30
31 MODULES += $(DRIVERS_CORE_DIR)
32 endif
33
34
35
36 ########################################
37 # SPECIAL CONFIGURATIONS #
38 ########################################
39
40 ifeq ($(findstring 1,$(TI_PROFILER) $(TI_NUC_MONITOR)),1)
41 TI_LIBS += $(OUT_LIB_DIR)/niq32_int_ram.lib
42
43 TI_BSS_LIBS += $(OUT_LIB_DIR)/niq32_int_ram.lib (.bss)
44 TI_CONST_LIBS += $(OUT_LIB_DIR)/niq32_int_ram.lib (.text, .const)
45 endif
46
47
48 endif