aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/src
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-03-06 12:09:02 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-03-06 12:09:02 +0200
commitfb2d080fbbcea3a91e598b4ea8837a230de6a319 (patch)
tree6b3ce09a252d2ebab8189a92b3326ffbba6dbe4b /Software/Embedded_SW/Embedded/src
parentd734bb5cf08ba2433b74fc86a8858d2437d1a237 (diff)
downloadTango-fb2d080fbbcea3a91e598b4ea8837a230de6a319.tar.gz
Tango-fb2d080fbbcea3a91e598b4ea8837a230de6a319.zip
A new forlder for embedded software in our common structure
Diffstat (limited to 'Software/Embedded_SW/Embedded/src')
-rw-r--r--Software/Embedded_SW/Embedded/src/.exclude1
-rw-r--r--Software/Embedded_SW/Embedded/src/makefile.libs62
-rw-r--r--Software/Embedded_SW/Embedded/src/sysbios/makefile96
-rw-r--r--Software/Embedded_SW/Embedded/src/sysbios/sysbios.aem4fbin0 -> 1751322 bytes
4 files changed, 159 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/src/.exclude b/Software/Embedded_SW/Embedded/src/.exclude
new file mode 100644
index 000000000..8c863310d
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/src/.exclude
@@ -0,0 +1 @@
+This file exists to prevent Eclipse/CDT from adding the C sources contained in this directory (or below) to any enclosing project.
diff --git a/Software/Embedded_SW/Embedded/src/makefile.libs b/Software/Embedded_SW/Embedded/src/makefile.libs
new file mode 100644
index 000000000..ae6999352
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/src/makefile.libs
@@ -0,0 +1,62 @@
+#
+# This file was generated based on the configuration script:
+# C:\tango\Software\Embedded_SW\Embedded\Embedded.cfg
+#
+# This makefile may be included in other makefiles that need to build
+# the libraries containing the compiled source files generated as
+# part of the configuration step.
+
+#
+# ======== GEN_SRC_DIR =========
+# The path to the sources generated during configuration
+#
+# This path must be either absolute or relative to the build directory.
+#
+# The absolute path to the generated source directory (at the time the
+# sources were generated) is:
+# C:\tango\Software\Embedded_SW\Embedded\src
+#
+GEN_SRC_DIR ?= ../src
+
+ifeq (,$(wildcard $(GEN_SRC_DIR)))
+$(error "ERROR: GEN_SRC_DIR must be set to the directory containing the generated sources")
+endif
+
+#
+# ======== .force ========
+# The .force goal is used to force the build of any goal that names it as
+# a prerequisite
+#
+.PHONY: .force
+
+#
+# ======== library macros ========
+#
+sysbios_SRC = $(GEN_SRC_DIR)/sysbios
+sysbios_LIB = $(GEN_SRC_DIR)/sysbios/sysbios.aem4f
+
+#
+# ======== dependencies ========
+#
+all: $(sysbios_LIB)
+clean: .sysbios_clean
+
+
+# ======== convenient build goals ========
+.PHONY: sysbios
+sysbios: $(GEN_SRC_DIR)/sysbios/sysbios.aem4f
+
+# CDT managed make executables depend on $(OBJS)
+OBJS += $(sysbios_LIB)
+
+#
+# ======== rules ========
+#
+$(sysbios_LIB): .force
+ @echo making $@ ...
+ @$(MAKE) -C $(sysbios_SRC)
+
+.sysbios_clean:
+ @echo cleaning $(sysbios_SRC) ...
+ -@$(MAKE) --no-print-directory -C $(sysbios_SRC) clean
+
diff --git a/Software/Embedded_SW/Embedded/src/sysbios/makefile b/Software/Embedded_SW/Embedded/src/sysbios/makefile
new file mode 100644
index 000000000..b8d0ab697
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/src/sysbios/makefile
@@ -0,0 +1,96 @@
+
+XOPTS = -I"C:/ti/xdctools_3_32_00_06_core/packages/" -Dxdc_target_types__=C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/arm/elf/std.h -Dxdc_target_name__=M4F
+
+vpath % C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/
+vpath %.c C:/ti/xdctools_3_32_00_06_core/packages/
+
+CCOPTS = --endian=little -mv7M4 --abi=eabi --float_support=fpv4spd16 -q -ms --opt_for_speed=2 --program_level_compile -o3 -g --optimize_with_debug -Dti_sysbios_knl_Task_minimizeLatency__D=FALSE -Dti_sysbios_knl_Clock_stopCheckNext__D=FALSE -Dti_sysbios_family_arm_m3_Hwi_enableException__D=TRUE -Dti_sysbios_family_arm_m3_Hwi_disablePriority__D=32U -Dti_sysbios_family_arm_m3_Hwi_numSparseInterrupts__D=0U
+
+XDC_ROOT = C:/ti/xdctools_3_32_00_06_core/packages/
+
+BIOS_ROOT = C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/sysbios/
+
+BIOS_DEFS = -Dti_sysbios_BIOS_swiEnabled__D=TRUE -Dti_sysbios_BIOS_taskEnabled__D=TRUE -Dti_sysbios_BIOS_clockEnabled__D=TRUE -Dti_sysbios_BIOS_runtimeCreatesEnabled__D=TRUE -Dti_sysbios_hal_Hwi_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Swi_DISABLE_ALL_HOOKS -Dti_sysbios_BIOS_smpEnabled__D=FALSE -Dti_sysbios_Build_useHwiMacros -Dti_sysbios_knl_Swi_numPriorities__D=16 -Dti_sysbios_knl_Task_deleteTerminatedTasks__D=FALSE -Dti_sysbios_knl_Task_numPriorities__D=16 -Dti_sysbios_knl_Task_checkStackFlag__D=TRUE -Dti_sysbios_knl_Task_initStackFlag__D=TRUE -Dti_sysbios_knl_Task_DISABLE_ALL_HOOKS -Dti_sysbios_knl_Clock_TICK_SOURCE=ti_sysbios_knl_Clock_TickSource_TIMER -Dti_sysbios_knl_Clock_TICK_MODE=ti_sysbios_knl_Clock_TickMode_PERIODIC -Dti_sysbios_hal_Core_delegate_getId=ti_sysbios_hal_CoreNull_getId__E -Dti_sysbios_hal_Core_delegate_interruptCore=ti_sysbios_hal_CoreNull_interruptCore__E -Dti_sysbios_hal_Core_delegate_lock=ti_sysbios_hal_CoreNull_lock__E -Dti_sysbios_hal_Core_delegate_unlock=ti_sysbios_hal_CoreNull_unlock__E -Dti_sysbios_hal_Core_numCores__D=1 -Dti_sysbios_hal_CoreNull_numCores__D=1 -Dti_sysbios_utils_Load_taskEnabled__D=TRUE -Dti_sysbios_utils_Load_swiEnabled__D=FALSE -Dti_sysbios_utils_Load_hwiEnabled__D=FALSE -Dti_sysbios_family_arm_m3_Hwi_dispatcherSwiSupport__D=TRUE -Dti_sysbios_family_arm_m3_Hwi_dispatcherTaskSupport__D=TRUE -Dti_sysbios_family_arm_m3_Hwi_dispatcherAutoNestingSupport__D=TRUE -Dti_sysbios_family_arm_m3_Hwi_dispatcherIrpTrackingSupport__D=TRUE -Dti_sysbios_knl_Semaphore_supportsEvents__D=FALSE -Dti_sysbios_knl_Semaphore_supportsPriority__D=TRUE
+
+BIOS_INC = -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/"
+
+TARGET_INC = -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/"
+
+INCS = $(BIOS_INC) $(TARGET_INC)
+
+CC = C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/bin/armcl -c $(CCOPTS) -I C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/include
+ASM = C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/bin/armcl -c $(CCOPTS) -I C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/include
+AR = C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.2.LTS/bin/armar rq
+
+DEL = C:/ti/xdctools_3_32_00_06_core/packages/../bin/rm -f
+CP = C:/ti/xdctools_3_32_00_06_core/packages/../bin/cp -f
+
+define RM
+ $(if $(wildcard $1),$(DEL) $1,:)
+endef
+
+define ASSEMBLE
+ @echo asmem4f $< ...
+ @$(ASM) $(BIOS_DEFS) $(XOPTS) $(INCS) $<
+endef
+
+all: sysbios.aem4f
+
+m3_Hwi_asm.obj: family/arm/m3/Hwi_asm.sv7M makefile
+ @-$(call RM, $@)
+ $(ASSEMBLE) --output_file=m3_Hwi_asm.obj
+
+m3_Hwi_asm_switch.obj: family/arm/m3/Hwi_asm_switch.sv7M makefile
+ @-$(call RM, $@)
+ $(ASSEMBLE) --output_file=m3_Hwi_asm_switch.obj
+
+m3_IntrinsicsSupport_asm.obj: family/arm/m3/IntrinsicsSupport_asm.sv7M makefile
+ @-$(call RM, $@)
+ $(ASSEMBLE) --output_file=m3_IntrinsicsSupport_asm.obj
+
+m3_TaskSupport_asm.obj: family/arm/m3/TaskSupport_asm.sv7M makefile
+ @-$(call RM, $@)
+ $(ASSEMBLE) --output_file=m3_TaskSupport_asm.obj
+
+
+BIOS.obj: BIOS.c family/arm/m3/Hwi.c family/arm/m3/TaskSupport.c knl/Clock.c knl/Idle.c knl/Intrinsics.c knl/Event.c knl/Mailbox.c knl/Queue.c knl/Semaphore.c knl/Swi.c knl/Swi_andn.c knl/Task.c hal/Hwi.c hal/Hwi_stack.c hal/Hwi_startup.c hal/Seconds.c family/arm/lm4/Seconds.c family/arm/lm4/TimestampProvider.c family/arm/lm4/Timer.c io/DEV.c io/GIO.c io/IOM_stub.c gates/GateHwi.c gates/GateMutex.c xdcruntime/SemThreadSupport.c heaps/HeapMem.c makefile
+ @-$(call RM, $@)
+ @echo clem4f $< ...
+ @$(CC) $(BIOS_DEFS) $(XOPTS) $(INCS) \
+ $(BIOS_ROOT)BIOS.c \
+ $(BIOS_ROOT)family/arm/m3/Hwi.c \
+ $(BIOS_ROOT)family/arm/m3/TaskSupport.c \
+ $(BIOS_ROOT)knl/Clock.c \
+ $(BIOS_ROOT)knl/Idle.c \
+ $(BIOS_ROOT)knl/Intrinsics.c \
+ $(BIOS_ROOT)knl/Event.c \
+ $(BIOS_ROOT)knl/Mailbox.c \
+ $(BIOS_ROOT)knl/Queue.c \
+ $(BIOS_ROOT)knl/Semaphore.c \
+ $(BIOS_ROOT)knl/Swi.c \
+ $(BIOS_ROOT)knl/Swi_andn.c \
+ $(BIOS_ROOT)knl/Task.c \
+ $(BIOS_ROOT)hal/Hwi.c \
+ $(BIOS_ROOT)hal/Hwi_stack.c \
+ $(BIOS_ROOT)hal/Hwi_startup.c \
+ $(BIOS_ROOT)hal/Seconds.c \
+ $(BIOS_ROOT)family/arm/lm4/Seconds.c \
+ $(BIOS_ROOT)family/arm/lm4/TimestampProvider.c \
+ $(BIOS_ROOT)family/arm/lm4/Timer.c \
+ $(BIOS_ROOT)io/DEV.c \
+ $(BIOS_ROOT)io/GIO.c \
+ $(BIOS_ROOT)io/IOM_stub.c \
+ $(BIOS_ROOT)gates/GateHwi.c \
+ $(BIOS_ROOT)gates/GateMutex.c \
+ $(BIOS_ROOT)xdcruntime/SemThreadSupport.c \
+ $(BIOS_ROOT)heaps/HeapMem.c \
+
+sysbios.aem4f: BIOS.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj
+ @-$(call RM, $@)
+ @echo arem4f $^ ...
+ @$(AR) $@ $^
+
+
+clean:
+ @$(DEL) ..\makefile.libs
+ @-$(call RM, *)
diff --git a/Software/Embedded_SW/Embedded/src/sysbios/sysbios.aem4f b/Software/Embedded_SW/Embedded/src/sysbios/sysbios.aem4f
new file mode 100644
index 000000000..aa3e01c82
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/src/sysbios/sysbios.aem4f
Binary files differ