BlinkyLED-Basic should be completed; it has an intentionally extremely simple program loop
This commit is contained in:
1
Telem_Debug/Debug1/.gitignore
vendored
Normal file
1
Telem_Debug/Debug1/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/Debug/
|
||||
@@ -0,0 +1,4 @@
|
||||
ccsVersionValidationPolicy=warning
|
||||
compilerVersionValidationPolicy=flexible
|
||||
eclipse.preferences.version=1
|
||||
productVersionsValidationPolicy=flexible
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,13 @@
|
||||
# FIXED
|
||||
|
||||
clock_init.obj: ../clock_init.c
|
||||
clock_init.obj: C:/ti/ccsv6/ccs_base/msp430/include/msp430x54xa.h
|
||||
clock_init.obj: C:/ti/ccsv6/ccs_base/msp430/include/in430.h
|
||||
clock_init.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics.h
|
||||
clock_init.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics_legacy_undefs.h
|
||||
|
||||
../clock_init.c:
|
||||
C:/ti/ccsv6/ccs_base/msp430/include/msp430x54xa.h:
|
||||
C:/ti/ccsv6/ccs_base/msp430/include/in430.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics_legacy_undefs.h:
|
||||
# FIXED
|
||||
|
||||
clock_init.obj: ../clock_init.c
|
||||
clock_init.obj: C:/TI_CCS/ccs/ccs_base/msp430/include/msp430x54xa.h
|
||||
clock_init.obj: C:/TI_CCS/ccs/ccs_base/msp430/include/in430.h
|
||||
clock_init.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics.h
|
||||
clock_init.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics_legacy_undefs.h
|
||||
|
||||
../clock_init.c:
|
||||
C:/TI_CCS/ccs/ccs_base/msp430/include/msp430x54xa.h:
|
||||
C:/TI_CCS/ccs/ccs_base/msp430/include/in430.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics_legacy_undefs.h:
|
||||
|
||||
Binary file not shown.
@@ -1,41 +1,49 @@
|
||||
# FIXED
|
||||
|
||||
main.obj: ../main.c
|
||||
main.obj: C:/ti/ccsv6/ccs_base/msp430/include/msp430.h
|
||||
main.obj: C:/ti/ccsv6/ccs_base/msp430/include/msp430f5438a.h
|
||||
main.obj: C:/ti/ccsv6/ccs_base/msp430/include/in430.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics_legacy_undefs.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdio.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/linkage.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdarg.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdlib.h
|
||||
main.obj: C:/ti/ccsv6/ccs_base/msp430/include/msp430x54xa.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/ctype.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_isfuncdcl.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/string.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/math.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/float.h
|
||||
main.obj: ../main.h
|
||||
main.obj: C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdio.h
|
||||
|
||||
../main.c:
|
||||
C:/ti/ccsv6/ccs_base/msp430/include/msp430.h:
|
||||
C:/ti/ccsv6/ccs_base/msp430/include/msp430f5438a.h:
|
||||
C:/ti/ccsv6/ccs_base/msp430/include/in430.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/intrinsics_legacy_undefs.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdio.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/linkage.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdarg.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdlib.h:
|
||||
C:/ti/ccsv6/ccs_base/msp430/include/msp430x54xa.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/ctype.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_isfuncdcl.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/string.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/math.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/float.h:
|
||||
../main.h:
|
||||
C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/stdio.h:
|
||||
# FIXED
|
||||
|
||||
main.obj: ../main.c
|
||||
main.obj: C:/TI_CCS/ccs/ccs_base/msp430/include/msp430.h
|
||||
main.obj: C:/TI_CCS/ccs/ccs_base/msp430/include/msp430f5438a.h
|
||||
main.obj: C:/TI_CCS/ccs/ccs_base/msp430/include/in430.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics_legacy_undefs.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/stdio.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/_ti_config.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/linkage.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/stdarg.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/sys/_types.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/sys/cdefs.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/machine/_types.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/stdlib.h
|
||||
main.obj: C:/TI_CCS/ccs/ccs_base/msp430/include/msp430x54xa.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/ctype.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/_isfuncdcl.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/string.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/math.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/_defs.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/machine/_limits.h
|
||||
main.obj: C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/float.h
|
||||
main.obj: ../SunseekerTelemetry2021.h
|
||||
|
||||
../main.c:
|
||||
C:/TI_CCS/ccs/ccs_base/msp430/include/msp430.h:
|
||||
C:/TI_CCS/ccs/ccs_base/msp430/include/msp430f5438a.h:
|
||||
C:/TI_CCS/ccs/ccs_base/msp430/include/in430.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/intrinsics_legacy_undefs.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/stdio.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/_ti_config.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/linkage.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/stdarg.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/sys/_types.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/sys/cdefs.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/machine/_types.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/stdlib.h:
|
||||
C:/TI_CCS/ccs/ccs_base/msp430/include/msp430x54xa.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/ctype.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/_isfuncdcl.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/string.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/math.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/_defs.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/machine/_limits.h:
|
||||
C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include/float.h:
|
||||
../SunseekerTelemetry2021.h:
|
||||
|
||||
Binary file not shown.
@@ -1,14 +1,14 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
SHELL = cmd.exe
|
||||
|
||||
CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS
|
||||
|
||||
GEN_OPTS__FLAG :=
|
||||
GEN_CMDS__FLAG :=
|
||||
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
SHELL = cmd.exe
|
||||
|
||||
CG_TOOL_ROOT := C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS
|
||||
|
||||
GEN_OPTS__FLAG :=
|
||||
GEN_CMDS__FLAG :=
|
||||
|
||||
ORDERED_OBJS += \
|
||||
"./clock_init.obj" \
|
||||
"./main.obj" \
|
||||
@@ -16,151 +16,152 @@ ORDERED_OBJS += \
|
||||
$(GEN_CMDS__FLAG) \
|
||||
-llibmath.a \
|
||||
-llibc.a \
|
||||
|
||||
-include ../makefile.init
|
||||
|
||||
RM :=
|
||||
RMDIR := RMDIR /S/Q
|
||||
|
||||
# All of the sources participating in the build are defined here
|
||||
-include sources.mk
|
||||
-include subdir_vars.mk
|
||||
-include subdir_rules.mk
|
||||
-include objects.mk
|
||||
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
ifneq ($(strip $(S_DEPS)),)
|
||||
-include $(S_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
||||
-include $(S_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S62_DEPS)),)
|
||||
-include $(S62_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C64_DEPS)),)
|
||||
-include $(C64_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(ASM_DEPS)),)
|
||||
-include $(ASM_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CC_DEPS)),)
|
||||
-include $(CC_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(SV7A_DEPS)),)
|
||||
-include $(SV7A_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S55_DEPS)),)
|
||||
-include $(S55_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C67_DEPS)),)
|
||||
-include $(C67_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CLA_DEPS)),)
|
||||
-include $(CLA_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C??_DEPS)),)
|
||||
-include $(C??_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CPP_DEPS)),)
|
||||
-include $(CPP_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S??_DEPS)),)
|
||||
-include $(S??_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C_DEPS)),)
|
||||
-include $(C_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C62_DEPS)),)
|
||||
-include $(C62_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CXX_DEPS)),)
|
||||
-include $(CXX_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C++_DEPS)),)
|
||||
-include $(C++_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
||||
-include $(ASM_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(K_DEPS)),)
|
||||
-include $(K_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C43_DEPS)),)
|
||||
-include $(C43_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(INO_DEPS)),)
|
||||
-include $(INO_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S67_DEPS)),)
|
||||
-include $(S67_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(SA_DEPS)),)
|
||||
-include $(SA_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S43_DEPS)),)
|
||||
-include $(S43_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(OPT_DEPS)),)
|
||||
-include $(OPT_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(PDE_DEPS)),)
|
||||
-include $(PDE_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S64_DEPS)),)
|
||||
-include $(S64_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
||||
-include $(C_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C55_DEPS)),)
|
||||
-include $(C55_DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
-include ../makefile.defs
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
|
||||
-include ../makefile.init
|
||||
|
||||
RM := DEL /F
|
||||
RMDIR := RMDIR /S/Q
|
||||
|
||||
# All of the sources participating in the build are defined here
|
||||
-include sources.mk
|
||||
-include subdir_vars.mk
|
||||
-include subdir_rules.mk
|
||||
-include objects.mk
|
||||
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
ifneq ($(strip $(C55_DEPS)),)
|
||||
-include $(C55_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
||||
-include $(C_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S67_DEPS)),)
|
||||
-include $(S67_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S62_DEPS)),)
|
||||
-include $(S62_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S_DEPS)),)
|
||||
-include $(S_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(OPT_DEPS)),)
|
||||
-include $(OPT_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C??_DEPS)),)
|
||||
-include $(C??_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
||||
-include $(ASM_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S??_DEPS)),)
|
||||
-include $(S??_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C64_DEPS)),)
|
||||
-include $(C64_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CXX_DEPS)),)
|
||||
-include $(CXX_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S64_DEPS)),)
|
||||
-include $(S64_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(INO_DEPS)),)
|
||||
-include $(INO_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CLA_DEPS)),)
|
||||
-include $(CLA_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S55_DEPS)),)
|
||||
-include $(S55_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(SV7A_DEPS)),)
|
||||
-include $(SV7A_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C62_DEPS)),)
|
||||
-include $(C62_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C67_DEPS)),)
|
||||
-include $(C67_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(PDE_DEPS)),)
|
||||
-include $(PDE_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(K_DEPS)),)
|
||||
-include $(K_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C_DEPS)),)
|
||||
-include $(C_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CC_DEPS)),)
|
||||
-include $(CC_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C++_DEPS)),)
|
||||
-include $(C++_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(C43_DEPS)),)
|
||||
-include $(C43_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S43_DEPS)),)
|
||||
-include $(S43_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(ASM_DEPS)),)
|
||||
-include $(ASM_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
||||
-include $(S_UPPER_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(CPP_DEPS)),)
|
||||
-include $(CPP_DEPS)
|
||||
endif
|
||||
ifneq ($(strip $(SA_DEPS)),)
|
||||
-include $(SA_DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
-include ../makefile.defs
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
EXE_OUTPUTS += \
|
||||
Debug1.out \
|
||||
|
||||
|
||||
EXE_OUTPUTS__QUOTED += \
|
||||
"Debug1.out" \
|
||||
|
||||
|
||||
BIN_OUTPUTS += \
|
||||
Debug1.hex \
|
||||
|
||||
|
||||
BIN_OUTPUTS__QUOTED += \
|
||||
"Debug1.hex" \
|
||||
|
||||
|
||||
# All Target
|
||||
all: Debug1.out
|
||||
|
||||
# Tool invocations
|
||||
Debug1.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Invoking: MSP430 Linker'
|
||||
"" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug1.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"/msp430/include" -i"/msp430/lib/5xx_6xx_FRxx" -i"/lib" -i"/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug1_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug1.out" $(ORDERED_OBJS)
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
Debug1.hex: $(EXE_OUTPUTS)
|
||||
@echo 'Invoking: MSP430 Hex Utility'
|
||||
"" --memwidth=8 --romwidth=8 -o "Debug1.hex" $(EXE_OUTPUTS__QUOTED)
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
|
||||
-$(RM) "clock_init.d" "main.d"
|
||||
-$(RM) "clock_init.obj" "main.obj"
|
||||
-@echo 'Finished clean'
|
||||
-@echo ' '
|
||||
|
||||
.PHONY: all clean dependents
|
||||
.SECONDARY:
|
||||
|
||||
-include ../makefile.targets
|
||||
|
||||
|
||||
|
||||
# All Target
|
||||
all: Debug1.out
|
||||
|
||||
# Tool invocations
|
||||
Debug1.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
||||
@echo 'Building target: "$@"'
|
||||
@echo 'Invoking: MSP430 Linker'
|
||||
"C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --display_error_number --diag_wrap=off --diag_warning=225 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug1.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/TI_CCS/ccs/ccs_base/msp430/include" -i"C:/TI_CCS/ccs/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/lib" -i"C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="Debug1_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug1.out" $(ORDERED_OBJS)
|
||||
@echo 'Finished building target: "$@"'
|
||||
@echo ' '
|
||||
|
||||
Debug1.hex: $(EXE_OUTPUTS)
|
||||
@echo 'Building files: $(strip $(EXE_OUTPUTS__QUOTED))'
|
||||
@echo 'Invoking: MSP430 Hex Utility'
|
||||
"C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/bin/hex430" --memwidth=8 --romwidth=8 --diag_wrap=off -o "Debug1.hex" $(EXE_OUTPUTS__QUOTED)
|
||||
@echo 'Finished building: $(strip $(EXE_OUTPUTS__QUOTED))'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(BIN_OUTPUTS__QUOTED)$(EXE_OUTPUTS__QUOTED)
|
||||
-$(RM) "clock_init.obj" "main.obj"
|
||||
-$(RM) "clock_init.d" "main.d"
|
||||
-@echo 'Finished clean'
|
||||
-@echo ' '
|
||||
|
||||
.PHONY: all clean dependents
|
||||
.SECONDARY:
|
||||
|
||||
-include ../makefile.targets
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
USER_OBJS :=
|
||||
|
||||
LIBS := -llibmath.a -llibc.a
|
||||
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
USER_OBJS :=
|
||||
|
||||
LIBS := -llibmath.a -llibc.a
|
||||
|
||||
|
||||
@@ -1,115 +1,115 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
O_SRCS :=
|
||||
CPP_SRCS :=
|
||||
K_SRCS :=
|
||||
LD_SRCS :=
|
||||
S67_SRCS :=
|
||||
LDS_SRCS :=
|
||||
CMD_SRCS :=
|
||||
EXE_SRCS :=
|
||||
CXX_SRCS :=
|
||||
CMD_UPPER_SRCS :=
|
||||
ELF_SRCS :=
|
||||
C43_SRCS :=
|
||||
S55_SRCS :=
|
||||
LD_UPPER_SRCS :=
|
||||
C62_SRCS :=
|
||||
S_UPPER_SRCS :=
|
||||
A_SRCS :=
|
||||
SA_SRCS :=
|
||||
C55_SRCS :=
|
||||
LDS_UPPER_SRCS :=
|
||||
C_UPPER_SRCS :=
|
||||
OUT_SRCS :=
|
||||
INO_SRCS :=
|
||||
OBJ_SRCS :=
|
||||
S62_SRCS :=
|
||||
LIB_SRCS :=
|
||||
PDE_SRCS :=
|
||||
SV7A_SRCS :=
|
||||
ASM_SRCS :=
|
||||
ASM_UPPER_SRCS :=
|
||||
C++_SRCS :=
|
||||
CLA_SRCS :=
|
||||
S??_SRCS :=
|
||||
C_SRCS :=
|
||||
C67_SRCS :=
|
||||
S_SRCS :=
|
||||
S43_SRCS :=
|
||||
OPT_SRCS :=
|
||||
C64_SRCS :=
|
||||
CC_SRCS :=
|
||||
C??_SRCS :=
|
||||
S64_SRCS :=
|
||||
OBJS :=
|
||||
BIN_OUTPUTS :=
|
||||
S_DEPS :=
|
||||
S_UPPER_DEPS :=
|
||||
S62_DEPS :=
|
||||
C64_DEPS :=
|
||||
ASM_DEPS :=
|
||||
CC_DEPS :=
|
||||
SV7A_DEPS :=
|
||||
S55_DEPS :=
|
||||
C67_DEPS :=
|
||||
CLA_DEPS :=
|
||||
C??_DEPS :=
|
||||
CPP_DEPS :=
|
||||
S??_DEPS :=
|
||||
C_DEPS :=
|
||||
C62_DEPS :=
|
||||
EXE_OUTPUTS :=
|
||||
CXX_DEPS :=
|
||||
C++_DEPS :=
|
||||
ASM_UPPER_DEPS :=
|
||||
K_DEPS :=
|
||||
C43_DEPS :=
|
||||
INO_DEPS :=
|
||||
S67_DEPS :=
|
||||
SA_DEPS :=
|
||||
S43_DEPS :=
|
||||
OPT_DEPS :=
|
||||
PDE_DEPS :=
|
||||
S64_DEPS :=
|
||||
C_UPPER_DEPS :=
|
||||
C55_DEPS :=
|
||||
CPP_DEPS__QUOTED :=
|
||||
C67_DEPS__QUOTED :=
|
||||
INO_DEPS__QUOTED :=
|
||||
C??_DEPS__QUOTED :=
|
||||
S_UPPER_DEPS__QUOTED :=
|
||||
CLA_DEPS__QUOTED :=
|
||||
ASM_UPPER_DEPS__QUOTED :=
|
||||
C62_DEPS__QUOTED :=
|
||||
CXX_DEPS__QUOTED :=
|
||||
EXE_OUTPUTS__QUOTED :=
|
||||
S67_DEPS__QUOTED :=
|
||||
BIN_OUTPUTS__QUOTED :=
|
||||
C_DEPS__QUOTED :=
|
||||
C_UPPER_DEPS__QUOTED :=
|
||||
OPT_DEPS__QUOTED :=
|
||||
S_DEPS__QUOTED :=
|
||||
K_DEPS__QUOTED :=
|
||||
S??_DEPS__QUOTED :=
|
||||
C64_DEPS__QUOTED :=
|
||||
C++_DEPS__QUOTED :=
|
||||
OBJS__QUOTED :=
|
||||
CC_DEPS__QUOTED :=
|
||||
S43_DEPS__QUOTED :=
|
||||
S55_DEPS__QUOTED :=
|
||||
SA_DEPS__QUOTED :=
|
||||
C55_DEPS__QUOTED :=
|
||||
PDE_DEPS__QUOTED :=
|
||||
C43_DEPS__QUOTED :=
|
||||
S62_DEPS__QUOTED :=
|
||||
ASM_DEPS__QUOTED :=
|
||||
SV7A_DEPS__QUOTED :=
|
||||
S64_DEPS__QUOTED :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
C55_SRCS :=
|
||||
A_SRCS :=
|
||||
ASM_UPPER_SRCS :=
|
||||
EXE_SRCS :=
|
||||
LDS_UPPER_SRCS :=
|
||||
CPP_SRCS :=
|
||||
CMD_SRCS :=
|
||||
O_SRCS :=
|
||||
ELF_SRCS :=
|
||||
C??_SRCS :=
|
||||
C64_SRCS :=
|
||||
C67_SRCS :=
|
||||
SA_SRCS :=
|
||||
S64_SRCS :=
|
||||
OPT_SRCS :=
|
||||
CXX_SRCS :=
|
||||
S67_SRCS :=
|
||||
S??_SRCS :=
|
||||
PDE_SRCS :=
|
||||
SV7A_SRCS :=
|
||||
K_SRCS :=
|
||||
CLA_SRCS :=
|
||||
S55_SRCS :=
|
||||
LD_UPPER_SRCS :=
|
||||
OUT_SRCS :=
|
||||
INO_SRCS :=
|
||||
LIB_SRCS :=
|
||||
ASM_SRCS :=
|
||||
S_UPPER_SRCS :=
|
||||
S43_SRCS :=
|
||||
LD_SRCS :=
|
||||
CMD_UPPER_SRCS :=
|
||||
C_UPPER_SRCS :=
|
||||
C++_SRCS :=
|
||||
C43_SRCS :=
|
||||
OBJ_SRCS :=
|
||||
LDS_SRCS :=
|
||||
S_SRCS :=
|
||||
CC_SRCS :=
|
||||
S62_SRCS :=
|
||||
C62_SRCS :=
|
||||
C_SRCS :=
|
||||
C55_DEPS :=
|
||||
C_UPPER_DEPS :=
|
||||
S67_DEPS :=
|
||||
S62_DEPS :=
|
||||
S_DEPS :=
|
||||
OPT_DEPS :=
|
||||
C??_DEPS :=
|
||||
ASM_UPPER_DEPS :=
|
||||
S??_DEPS :=
|
||||
C64_DEPS :=
|
||||
CXX_DEPS :=
|
||||
S64_DEPS :=
|
||||
INO_DEPS :=
|
||||
CLA_DEPS :=
|
||||
S55_DEPS :=
|
||||
SV7A_DEPS :=
|
||||
EXE_OUTPUTS :=
|
||||
C62_DEPS :=
|
||||
C67_DEPS :=
|
||||
PDE_DEPS :=
|
||||
K_DEPS :=
|
||||
C_DEPS :=
|
||||
CC_DEPS :=
|
||||
BIN_OUTPUTS :=
|
||||
C++_DEPS :=
|
||||
C43_DEPS :=
|
||||
S43_DEPS :=
|
||||
OBJS :=
|
||||
ASM_DEPS :=
|
||||
S_UPPER_DEPS :=
|
||||
CPP_DEPS :=
|
||||
SA_DEPS :=
|
||||
C++_DEPS__QUOTED :=
|
||||
OPT_DEPS__QUOTED :=
|
||||
S_UPPER_DEPS__QUOTED :=
|
||||
SA_DEPS__QUOTED :=
|
||||
C??_DEPS__QUOTED :=
|
||||
S67_DEPS__QUOTED :=
|
||||
C55_DEPS__QUOTED :=
|
||||
CC_DEPS__QUOTED :=
|
||||
ASM_UPPER_DEPS__QUOTED :=
|
||||
SV7A_DEPS__QUOTED :=
|
||||
S??_DEPS__QUOTED :=
|
||||
OBJS__QUOTED :=
|
||||
C67_DEPS__QUOTED :=
|
||||
K_DEPS__QUOTED :=
|
||||
S55_DEPS__QUOTED :=
|
||||
INO_DEPS__QUOTED :=
|
||||
C62_DEPS__QUOTED :=
|
||||
C_DEPS__QUOTED :=
|
||||
C_UPPER_DEPS__QUOTED :=
|
||||
C43_DEPS__QUOTED :=
|
||||
CPP_DEPS__QUOTED :=
|
||||
BIN_OUTPUTS__QUOTED :=
|
||||
C64_DEPS__QUOTED :=
|
||||
CXX_DEPS__QUOTED :=
|
||||
CLA_DEPS__QUOTED :=
|
||||
S_DEPS__QUOTED :=
|
||||
ASM_DEPS__QUOTED :=
|
||||
S43_DEPS__QUOTED :=
|
||||
EXE_OUTPUTS__QUOTED :=
|
||||
S64_DEPS__QUOTED :=
|
||||
S62_DEPS__QUOTED :=
|
||||
PDE_DEPS__QUOTED :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS := \
|
||||
. \
|
||||
|
||||
|
||||
|
||||
@@ -1,20 +1,15 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
clock_init.obj: ../clock_init.c $(GEN_OPTS) | $(GEN_HDRS)
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MSP430 Compiler'
|
||||
"" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="/msp430/include" --include_path="/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="clock_init.d" $(GEN_OPTS__FLAG) "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
main.obj: ../main.c $(GEN_OPTS) | $(GEN_HDRS)
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MSP430 Compiler'
|
||||
"" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="/msp430/include" --include_path="/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
SHELL = cmd.exe
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
%.obj: ../%.c $(GEN_OPTS) | $(GEN_FILES) $(GEN_MISC_FILES)
|
||||
@echo 'Building file: "$<"'
|
||||
@echo 'Invoking: MSP430 Compiler'
|
||||
"C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/TI_CCS/ccs/ccs_base/msp430/include" --include_path="C:/TI_CCS/ccs/tools/compiler/ti-cgt-msp430_20.2.2.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --display_error_number --diag_wrap=off --diag_warning=225 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="$(basename $(<F)).d_raw" $(GEN_OPTS__FLAG) "$<"
|
||||
@echo 'Finished building: "$<"'
|
||||
@echo ' '
|
||||
|
||||
|
||||
|
||||
@@ -1,33 +1,35 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
SHELL = cmd.exe
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
CMD_SRCS += \
|
||||
../lnk_msp430f5438a.cmd
|
||||
|
||||
../lnk_msp430f5438a.cmd
|
||||
|
||||
C_SRCS += \
|
||||
../clock_init.c \
|
||||
../main.c
|
||||
|
||||
OBJS += \
|
||||
./clock_init.obj \
|
||||
./main.obj
|
||||
|
||||
../main.c
|
||||
|
||||
C_DEPS += \
|
||||
./clock_init.d \
|
||||
./main.d
|
||||
|
||||
C_DEPS__QUOTED += \
|
||||
"clock_init.d" \
|
||||
"main.d"
|
||||
|
||||
./main.d
|
||||
|
||||
OBJS += \
|
||||
./clock_init.obj \
|
||||
./main.obj
|
||||
|
||||
OBJS__QUOTED += \
|
||||
"clock_init.obj" \
|
||||
"main.obj"
|
||||
|
||||
"main.obj"
|
||||
|
||||
C_DEPS__QUOTED += \
|
||||
"clock_init.d" \
|
||||
"main.d"
|
||||
|
||||
C_SRCS__QUOTED += \
|
||||
"../clock_init.c" \
|
||||
"../main.c"
|
||||
|
||||
|
||||
"../main.c"
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
|
||||
|
||||
void clock_init(void);
|
||||
void timerB_init(void);
|
||||
void io_init(void);
|
||||
|
||||
static inline void delay(void)
|
||||
{
|
||||
@@ -51,31 +49,6 @@ static inline void delay(void)
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
#ifndef MODEM_BR1
|
||||
#define MODEM_BR1 9600
|
||||
#define MODEM_UCBRS1 0x04 // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
||||
#endif
|
||||
|
||||
#ifndef MODEM_BR2
|
||||
#define MODEM_BR2 115200
|
||||
#define MODEM_UCBRS2 0x0A // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
||||
#endif
|
||||
|
||||
#ifndef USB_BR
|
||||
#define USB_BR 9600
|
||||
#define USB_UCBRS 0x04 // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
||||
#endif
|
||||
|
||||
#ifndef UART_BR
|
||||
#define UART_BR 19200
|
||||
#define UART_UCBRS 0x0D // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
||||
#endif
|
||||
|
||||
#include "RTC.h"
|
||||
#include "CAN.h"
|
||||
#include "RS232.h"
|
||||
|
||||
|
||||
/******************** Pin Definitions *************************/
|
||||
|
||||
// PORT 1
|
||||
@@ -373,3 +346,5 @@ static char *name_lookup[NAME_LOOKUP_ROWS] = {
|
||||
// "MC1TP3", //MC_CAN_BASE1 + MC_TEMP3
|
||||
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
||||
// "MC2TP3", //MC_CAN_BASE2 + MCSUNSEEKERTELEMETRY2021_H_* SUNSEEKERTELEMETRY2021_H_ */
|
||||
|
||||
#endif /* SUNSEEKERTELEMETRY2021_H_ */
|
||||
|
||||
@@ -4,31 +4,21 @@
|
||||
|
||||
#include "SunseekerTelemetry2021.h"
|
||||
|
||||
|
||||
|
||||
// General Variables
|
||||
|
||||
// CAN Communication Variables
|
||||
volatile unsigned char cancomm_flag = FALSE; //used for CAN transmission timing
|
||||
volatile unsigned char send_can = FALSE; //used for CAN transmission timing
|
||||
volatile unsigned char rcv_can = FALSE; //used for CAN transmission timing
|
||||
volatile unsigned char can_full = FALSE; //used for CAN transmission status
|
||||
|
||||
int main(void) {
|
||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
||||
_DINT(); //disables interrupts
|
||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
||||
_DINT(); // Disables interrupts
|
||||
|
||||
clock_init(); //Configure HF and LF clocks
|
||||
clock_init(); // Configure HF and LF clocks
|
||||
delay();
|
||||
|
||||
P8DIR
|
||||
P8DIR = LEDG | LEDR | LEDY0 | LEDY1; // Set all four main LEDs as output
|
||||
P8OUT |= LEDG; // Turn on permanently the green LED
|
||||
|
||||
_EINT(); //enable global interrupts
|
||||
_EINT(); //enable global interrupts
|
||||
|
||||
while(1)
|
||||
{
|
||||
P8OUT ^= BIT3; // Toggle P1.0
|
||||
P8OUT ^= BIT6; // Toggle P1.0
|
||||
P8OUT ^= LEDY0 | LEDY1; // Toggle both yellow LEDs
|
||||
delay();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user