This commit is contained in:
yunhai8432 2026-03-06 21:56:45 +08:00
parent a560fb9cb4
commit 84729977be
48 changed files with 565458 additions and 150307 deletions

436
MDK-ARM/.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,436 @@
{
"configurations": [
{
"name": "referee",
"includePath": [
"d:\\yunha\\git\\RM\\referee\\Core\\Inc",
"d:\\yunha\\git\\RM\\referee\\Drivers\\STM32F4xx_HAL_Driver\\Inc",
"d:\\yunha\\git\\RM\\referee\\Drivers\\STM32F4xx_HAL_Driver\\Inc\\Legacy",
"d:\\yunha\\git\\RM\\referee\\Middlewares\\Third_Party\\FreeRTOS\\Source\\include",
"d:\\yunha\\git\\RM\\referee\\Middlewares\\Third_Party\\FreeRTOS\\Source\\CMSIS_RTOS_V2",
"d:\\yunha\\git\\RM\\referee\\Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\RVDS\\ARM_CM4F",
"d:\\yunha\\git\\RM\\referee\\Drivers\\CMSIS\\Device\\ST\\STM32F4xx\\Include",
"d:\\yunha\\git\\RM\\referee\\Drivers\\CMSIS\\Include",
"d:\\yunha\\git\\RM\\referee\\User",
"d:\\yunha\\git\\RM\\referee\\User\\bsp",
"d:\\yunha\\git\\RM\\referee\\User\\component",
"d:\\yunha\\git\\RM\\referee\\User\\device",
"d:\\yunha\\git\\RM\\referee\\User\\module",
"d:\\yunha\\git\\RM\\referee\\User\\task",
"d:\\yunha\\git\\RM\\referee\\User\\module\\cmd",
"D:\\Keil_v5\\ARM\\ARMCLANG\\include",
"D:\\Keil_v5\\ARM\\ARMCLANG\\include\\arm_linux",
"D:\\Keil_v5\\ARM\\ARMCLANG\\include\\arm_linux_compat",
"D:\\Keil_v5\\ARM\\ARMCLANG\\include\\libcxx",
"d:\\yunha\\git\\RM\\referee\\MDK-ARM",
"d:\\yunha\\git\\RM\\referee\\Core\\Src",
"d:\\yunha\\git\\RM\\referee\\Drivers\\STM32F4xx_HAL_Driver\\Src",
"d:\\yunha\\git\\RM\\referee\\Middlewares\\Third_Party\\FreeRTOS\\Source",
"d:\\yunha\\git\\RM\\referee\\Middlewares\\Third_Party\\FreeRTOS\\Source\\portable\\MemMang"
],
"defines": [
"USE_HAL_DRIVER",
"STM32F407xx",
"__alignof__(x)=",
"__asm(x)=",
"__asm__(x)=",
"__forceinline=",
"__restrict=",
"__volatile__=",
"__inline=",
"__inline__=",
"__declspec(x)=",
"__attribute__(x)=",
"__nonnull__(x)=",
"__unaligned=",
"__promise(x)=",
"__irq=",
"__swi=",
"__weak=",
"__register=",
"__pure=",
"__value_in_regs=",
"__breakpoint(x)=",
"__current_pc()=0U",
"__current_sp()=0U",
"__disable_fiq()=",
"__disable_irq()=",
"__enable_fiq()=",
"__enable_irq()=",
"__force_stores()=",
"__memory_changed()=",
"__schedule_barrier()=",
"__semihost(x,y)=0",
"__vfp_status(x,y)=0",
"__builtin_arm_nop()=",
"__builtin_arm_wfi()=",
"__builtin_arm_wfe()=",
"__builtin_arm_sev()=",
"__builtin_arm_sevl()=",
"__builtin_arm_yield()=",
"__builtin_arm_isb(x)=",
"__builtin_arm_dsb(x)=",
"__builtin_arm_dmb(x)=",
"__builtin_bswap32(x)=0U",
"__builtin_bswap16(x)=0U",
"__builtin_arm_rbit(x)=0U",
"__builtin_clz(x)=0U",
"__builtin_arm_ldrex(x)=0U",
"__builtin_arm_strex(x,y)=0U",
"__builtin_arm_clrex()=",
"__builtin_arm_ssat(x,y)=0U",
"__builtin_arm_usat(x,y)=0U",
"__builtin_arm_ldaex(x)=0U",
"__builtin_arm_stlex(x,y)=0U",
"_ILP32=1",
"_USE_STATIC_INLINE=1",
"__APCS_32__=1",
"__ARMCC_VERSION=6160001",
"__ARMCOMPILER_VERSION=6160001",
"__ARMEL__=1",
"__ARM_32BIT_STATE=1",
"__ARM_ACLE=200",
"__ARM_ARCH=4",
"__ARM_ARCH_4T__=1",
"__ARM_ARCH_ISA_ARM=1",
"__ARM_ARCH_ISA_THUMB=1",
"__ARM_EABI__=1",
"__ARM_FP16_ARGS=1",
"__ARM_FP16_FORMAT_IEEE=1",
"__ARM_NO_IMAGINARY_TYPE=1",
"__ARM_PCS=1",
"__ARM_PROMISE=__builtin_assume",
"__ARM_SIZEOF_MINIMAL_ENUM=4",
"__ARM_SIZEOF_WCHAR_T=4",
"__ARM_TARGET_COPROC=1",
"__ARM_TARGET_COPROC_V4=1",
"__ATOMIC_ACQUIRE=2",
"__ATOMIC_ACQ_REL=4",
"__ATOMIC_CONSUME=1",
"__ATOMIC_RELAXED=0",
"__ATOMIC_RELEASE=3",
"__ATOMIC_SEQ_CST=5",
"__BIGGEST_ALIGNMENT__=8",
"__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__",
"__CHAR16_TYPE__=unsigned short",
"__CHAR32_TYPE__=unsigned int",
"__CHAR_BIT__=8",
"__CHAR_UNSIGNED__=1",
"__CLANG_ATOMIC_BOOL_LOCK_FREE=1",
"__CLANG_ATOMIC_CHAR16_T_LOCK_FREE=1",
"__CLANG_ATOMIC_CHAR32_T_LOCK_FREE=1",
"__CLANG_ATOMIC_CHAR_LOCK_FREE=1",
"__CLANG_ATOMIC_INT_LOCK_FREE=1",
"__CLANG_ATOMIC_LLONG_LOCK_FREE=1",
"__CLANG_ATOMIC_LONG_LOCK_FREE=1",
"__CLANG_ATOMIC_POINTER_LOCK_FREE=1",
"__CLANG_ATOMIC_SHORT_LOCK_FREE=1",
"__CLANG_ATOMIC_WCHAR_T_LOCK_FREE=1",
"__CONSTANT_CFSTRINGS__=1",
"__DBL_DECIMAL_DIG__=17",
"__DBL_DENORM_MIN__=4.9406564584124654e-324",
"__DBL_DIG__=15",
"__DBL_EPSILON__=2.2204460492503131e-16",
"__DBL_HAS_DENORM__=1",
"__DBL_HAS_INFINITY__=1",
"__DBL_HAS_QUIET_NAN__=1",
"__DBL_MANT_DIG__=53",
"__DBL_MAX_10_EXP__=308",
"__DBL_MAX_EXP__=1024",
"__DBL_MAX__=1.7976931348623157e+308",
"__DBL_MIN_10_EXP__=(-307)",
"__DBL_MIN_EXP__=(-1021)",
"__DBL_MIN__=2.2250738585072014e-308",
"__DECIMAL_DIG__=__LDBL_DECIMAL_DIG__",
"__ELF__=1",
"__ESCAPE__=",
"__FINITE_MATH_ONLY__=1",
"__FLT16_DECIMAL_DIG__=5",
"__FLT16_DENORM_MIN__=5.9604644775390625e-8F16",
"__FLT16_DIG__=3",
"__FLT16_EPSILON__=9.765625e-4F16",
"__FLT16_HAS_DENORM__=1",
"__FLT16_HAS_INFINITY__=1",
"__FLT16_HAS_QUIET_NAN__=1",
"__FLT16_MANT_DIG__=11",
"__FLT16_MAX_10_EXP__=4",
"__FLT16_MAX_EXP__=16",
"__FLT16_MAX__=6.5504e+4F16",
"__FLT16_MIN_10_EXP__=(-4)",
"__FLT16_MIN_EXP__=(-13)",
"__FLT16_MIN__=6.103515625e-5F16",
"__FLT_DECIMAL_DIG__=9",
"__FLT_DENORM_MIN__=1.40129846e-45F",
"__FLT_DIG__=6",
"__FLT_EPSILON__=1.19209290e-7F",
"__FLT_EVAL_METHOD__=0",
"__FLT_HAS_DENORM__=1",
"__FLT_HAS_INFINITY__=1",
"__FLT_HAS_QUIET_NAN__=1",
"__FLT_MANT_DIG__=24",
"__FLT_MAX_10_EXP__=38",
"__FLT_MAX_EXP__=128",
"__FLT_MAX__=3.40282347e+38F",
"__FLT_MIN_10_EXP__=(-37)",
"__FLT_MIN_EXP__=(-125)",
"__FLT_MIN__=1.17549435e-38F",
"__FLT_RADIX__=2",
"__GCC_ATOMIC_BOOL_LOCK_FREE=1",
"__GCC_ATOMIC_CHAR16_T_LOCK_FREE=1",
"__GCC_ATOMIC_CHAR32_T_LOCK_FREE=1",
"__GCC_ATOMIC_CHAR_LOCK_FREE=1",
"__GCC_ATOMIC_INT_LOCK_FREE=1",
"__GCC_ATOMIC_LLONG_LOCK_FREE=1",
"__GCC_ATOMIC_LONG_LOCK_FREE=1",
"__GCC_ATOMIC_POINTER_LOCK_FREE=1",
"__GCC_ATOMIC_SHORT_LOCK_FREE=1",
"__GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1",
"__GCC_ATOMIC_WCHAR_T_LOCK_FREE=1",
"__GNUC_MINOR__=2",
"__GNUC_PATCHLEVEL__=1",
"__GNUC_STDC_INLINE__=1",
"__GNUC__=4",
"__GXX_ABI_VERSION=1002",
"__ILP32__=1",
"__INT16_C_SUFFIX__=",
"__INT16_FMTd__=\"hd\"",
"__INT16_FMTi__=\"hi\"",
"__INT16_MAX__=32767",
"__INT16_TYPE__=short",
"__INT32_C_SUFFIX__=",
"__INT32_FMTd__=\"d\"",
"__INT32_FMTi__=\"i\"",
"__INT32_MAX__=2147483647",
"__INT32_TYPE__=int",
"__INT64_C_SUFFIX__=LL",
"__INT64_FMTd__=\"lld\"",
"__INT64_FMTi__=\"lli\"",
"__INT64_MAX__=9223372036854775807LL",
"__INT64_TYPE__=long long int",
"__INT8_C_SUFFIX__=",
"__INT8_FMTd__=\"hhd\"",
"__INT8_FMTi__=\"hhi\"",
"__INT8_MAX__=127",
"__INT8_TYPE__=signed char",
"__INTMAX_C_SUFFIX__=LL",
"__INTMAX_FMTd__=\"lld\"",
"__INTMAX_FMTi__=\"lli\"",
"__INTMAX_MAX__=9223372036854775807LL",
"__INTMAX_TYPE__=long long int",
"__INTMAX_WIDTH__=64",
"__INTPTR_FMTd__=\"d\"",
"__INTPTR_FMTi__=\"i\"",
"__INTPTR_MAX__=2147483647",
"__INTPTR_TYPE__=int",
"__INTPTR_WIDTH__=32",
"__INT_FAST16_FMTd__=\"hd\"",
"__INT_FAST16_FMTi__=\"hi\"",
"__INT_FAST16_MAX__=32767",
"__INT_FAST16_TYPE__=short",
"__INT_FAST32_FMTd__=\"d\"",
"__INT_FAST32_FMTi__=\"i\"",
"__INT_FAST32_MAX__=2147483647",
"__INT_FAST32_TYPE__=int",
"__INT_FAST64_FMTd__=\"lld\"",
"__INT_FAST64_FMTi__=\"lli\"",
"__INT_FAST64_MAX__=9223372036854775807LL",
"__INT_FAST64_TYPE__=long long int",
"__INT_FAST8_FMTd__=\"hhd\"",
"__INT_FAST8_FMTi__=\"hhi\"",
"__INT_FAST8_MAX__=127",
"__INT_FAST8_TYPE__=signed char",
"__INT_LEAST16_FMTd__=\"hd\"",
"__INT_LEAST16_FMTi__=\"hi\"",
"__INT_LEAST16_MAX__=32767",
"__INT_LEAST16_TYPE__=short",
"__INT_LEAST32_FMTd__=\"d\"",
"__INT_LEAST32_FMTi__=\"i\"",
"__INT_LEAST32_MAX__=2147483647",
"__INT_LEAST32_TYPE__=int",
"__INT_LEAST64_FMTd__=\"lld\"",
"__INT_LEAST64_FMTi__=\"lli\"",
"__INT_LEAST64_MAX__=9223372036854775807LL",
"__INT_LEAST64_TYPE__=long long int",
"__INT_LEAST8_FMTd__=\"hhd\"",
"__INT_LEAST8_FMTi__=\"hhi\"",
"__INT_LEAST8_MAX__=127",
"__INT_LEAST8_TYPE__=signed char",
"__INT_MAX__=2147483647",
"__I__=1.0if",
"__LDBL_DECIMAL_DIG__=17",
"__LDBL_DENORM_MIN__=4.9406564584124654e-324L",
"__LDBL_DIG__=15",
"__LDBL_EPSILON__=2.2204460492503131e-16L",
"__LDBL_HAS_DENORM__=1",
"__LDBL_HAS_INFINITY__=1",
"__LDBL_HAS_QUIET_NAN__=1",
"__LDBL_MANT_DIG__=53",
"__LDBL_MAX_10_EXP__=308",
"__LDBL_MAX_EXP__=1024",
"__LDBL_MAX__=1.7976931348623157e+308L",
"__LDBL_MIN_10_EXP__=(-307)",
"__LDBL_MIN_EXP__=(-1021)",
"__LDBL_MIN__=2.2250738585072014e-308L",
"__LITTLE_ENDIAN__=1",
"__LONG_LONG_MAX__=9223372036854775807LL",
"__LONG_MAX__=2147483647L",
"__NO_INLINE__=1",
"__OBJC_BOOL_IS_BOOL=0",
"__OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3",
"__OPENCL_MEMORY_SCOPE_DEVICE=2",
"__OPENCL_MEMORY_SCOPE_SUB_GROUP=4",
"__OPENCL_MEMORY_SCOPE_WORK_GROUP=1",
"__OPENCL_MEMORY_SCOPE_WORK_ITEM=0",
"__ORDER_BIG_ENDIAN__=4321",
"__ORDER_LITTLE_ENDIAN__=1234",
"__ORDER_PDP_ENDIAN__=3412",
"__POINTER_WIDTH__=32",
"__PRAGMA_REDEFINE_EXTNAME=1",
"__PTRDIFF_FMTd__=\"d\"",
"__PTRDIFF_FMTi__=\"i\"",
"__PTRDIFF_MAX__=2147483647",
"__PTRDIFF_TYPE__=int",
"__PTRDIFF_WIDTH__=32",
"__REGISTER_PREFIX__=",
"__SCHAR_MAX__=127",
"__SHRT_MAX__=32767",
"__SIG_ATOMIC_MAX__=2147483647",
"__SIG_ATOMIC_WIDTH__=32",
"__SIZEOF_DOUBLE__=8",
"__SIZEOF_FLOAT__=4",
"__SIZEOF_INT__=4",
"__SIZEOF_LONG_DOUBLE__=8",
"__SIZEOF_LONG_LONG__=8",
"__SIZEOF_LONG__=4",
"__SIZEOF_POINTER__=4",
"__SIZEOF_PTRDIFF_T__=4",
"__SIZEOF_SHORT__=2",
"__SIZEOF_SIZE_T__=4",
"__SIZEOF_WCHAR_T__=4",
"__SIZEOF_WINT_T__=4",
"__SIZE_FMTX__=\"X\"",
"__SIZE_FMTo__=\"o\"",
"__SIZE_FMTu__=\"u\"",
"__SIZE_FMTx__=\"x\"",
"__SIZE_MAX__=4294967295U",
"__SIZE_TYPE__=unsigned int",
"__SIZE_WIDTH__=32",
"__STDC_HOSTED__=1",
"__STDC_UTF_16__=1",
"__STDC_UTF_32__=1",
"__STDC_VERSION__=201710L",
"__STDC__=1",
"__UINT16_C_SUFFIX__=",
"__UINT16_FMTX__=\"hX\"",
"__UINT16_FMTo__=\"ho\"",
"__UINT16_FMTu__=\"hu\"",
"__UINT16_FMTx__=\"hx\"",
"__UINT16_MAX__=65535",
"__UINT16_TYPE__=unsigned short",
"__UINT32_C_SUFFIX__=U",
"__UINT32_FMTX__=\"X\"",
"__UINT32_FMTo__=\"o\"",
"__UINT32_FMTu__=\"u\"",
"__UINT32_FMTx__=\"x\"",
"__UINT32_MAX__=4294967295U",
"__UINT32_TYPE__=unsigned int",
"__UINT64_C_SUFFIX__=ULL",
"__UINT64_FMTX__=\"llX\"",
"__UINT64_FMTo__=\"llo\"",
"__UINT64_FMTu__=\"llu\"",
"__UINT64_FMTx__=\"llx\"",
"__UINT64_MAX__=18446744073709551615ULL",
"__UINT64_TYPE__=long long unsigned int",
"__UINT8_C_SUFFIX__=",
"__UINT8_FMTX__=\"hhX\"",
"__UINT8_FMTo__=\"hho\"",
"__UINT8_FMTu__=\"hhu\"",
"__UINT8_FMTx__=\"hhx\"",
"__UINT8_MAX__=255",
"__UINT8_TYPE__=unsigned char",
"__UINTMAX_C_SUFFIX__=ULL",
"__UINTMAX_FMTX__=\"llX\"",
"__UINTMAX_FMTo__=\"llo\"",
"__UINTMAX_FMTu__=\"llu\"",
"__UINTMAX_FMTx__=\"llx\"",
"__UINTMAX_MAX__=18446744073709551615ULL",
"__UINTMAX_TYPE__=long long unsigned int",
"__UINTMAX_WIDTH__=64",
"__UINTPTR_FMTX__=\"X\"",
"__UINTPTR_FMTo__=\"o\"",
"__UINTPTR_FMTu__=\"u\"",
"__UINTPTR_FMTx__=\"x\"",
"__UINTPTR_MAX__=4294967295U",
"__UINTPTR_TYPE__=unsigned int",
"__UINTPTR_WIDTH__=32",
"__UINT_FAST16_FMTX__=\"hX\"",
"__UINT_FAST16_FMTo__=\"ho\"",
"__UINT_FAST16_FMTu__=\"hu\"",
"__UINT_FAST16_FMTx__=\"hx\"",
"__UINT_FAST16_MAX__=65535",
"__UINT_FAST16_TYPE__=unsigned short",
"__UINT_FAST32_FMTX__=\"X\"",
"__UINT_FAST32_FMTo__=\"o\"",
"__UINT_FAST32_FMTu__=\"u\"",
"__UINT_FAST32_FMTx__=\"x\"",
"__UINT_FAST32_MAX__=4294967295U",
"__UINT_FAST32_TYPE__=unsigned int",
"__UINT_FAST64_FMTX__=\"llX\"",
"__UINT_FAST64_FMTo__=\"llo\"",
"__UINT_FAST64_FMTu__=\"llu\"",
"__UINT_FAST64_FMTx__=\"llx\"",
"__UINT_FAST64_MAX__=18446744073709551615ULL",
"__UINT_FAST64_TYPE__=long long unsigned int",
"__UINT_FAST8_FMTX__=\"hhX\"",
"__UINT_FAST8_FMTo__=\"hho\"",
"__UINT_FAST8_FMTu__=\"hhu\"",
"__UINT_FAST8_FMTx__=\"hhx\"",
"__UINT_FAST8_MAX__=255",
"__UINT_FAST8_TYPE__=unsigned char",
"__UINT_LEAST16_FMTX__=\"hX\"",
"__UINT_LEAST16_FMTo__=\"ho\"",
"__UINT_LEAST16_FMTu__=\"hu\"",
"__UINT_LEAST16_FMTx__=\"hx\"",
"__UINT_LEAST16_MAX__=65535",
"__UINT_LEAST16_TYPE__=unsigned short",
"__UINT_LEAST32_FMTX__=\"X\"",
"__UINT_LEAST32_FMTo__=\"o\"",
"__UINT_LEAST32_FMTu__=\"u\"",
"__UINT_LEAST32_FMTx__=\"x\"",
"__UINT_LEAST32_MAX__=4294967295U",
"__UINT_LEAST32_TYPE__=unsigned int",
"__UINT_LEAST64_FMTX__=\"llX\"",
"__UINT_LEAST64_FMTo__=\"llo\"",
"__UINT_LEAST64_FMTu__=\"llu\"",
"__UINT_LEAST64_FMTx__=\"llx\"",
"__UINT_LEAST64_MAX__=18446744073709551615ULL",
"__UINT_LEAST64_TYPE__=long long unsigned int",
"__UINT_LEAST8_FMTX__=\"hhX\"",
"__UINT_LEAST8_FMTo__=\"hho\"",
"__UINT_LEAST8_FMTu__=\"hhu\"",
"__UINT_LEAST8_FMTx__=\"hhx\"",
"__UINT_LEAST8_MAX__=255",
"__UINT_LEAST8_TYPE__=unsigned char",
"__USER_LABEL_PREFIX__=",
"__VERSION__=\"Clang 13.0.0 (ssh://ds-gerrit/armcompiler/llvm-project 1f5770d6f72ee4eba2159092bbf4cbb819be323a)\"",
"__WCHAR_MAX__=4294967295U",
"__WCHAR_TYPE__=unsigned int",
"__WCHAR_UNSIGNED__=1",
"__WCHAR_WIDTH__=32",
"__WINT_MAX__=2147483647",
"__WINT_TYPE__=int",
"__WINT_WIDTH__=32",
"__arm=1",
"__arm__=1",
"__clang__=1",
"__clang_major__=13",
"__clang_minor__=0",
"__clang_patchlevel__=0",
"__clang_version__=\"13.0.0 (ssh://ds-gerrit/armcompiler/llvm-project 1f5770d6f72ee4eba2159092bbf4cbb819be323a)\"",
"__llvm__=1"
],
"intelliSenseMode": "${default}"
}
],
"version": 4
}

12
MDK-ARM/.vscode/keil-assistant.log vendored Normal file
View File

@ -0,0 +1,12 @@
[info] Log at : 2026/3/5|23:11:50|GMT+0800
[info] Log at : 2026/3/5|23:18:36|GMT+0800
[info] Log at : 2026/3/5|23:19:09|GMT+0800
[info] Log at : 2026/3/5|23:21:16|GMT+0800
[info] Log at : 2026/3/5|23:21:26|GMT+0800
[info] Log at : 2026/3/5|23:23:22|GMT+0800

18
MDK-ARM/.vscode/uv4.log vendored Normal file
View File

@ -0,0 +1,18 @@
*** Using Compiler 'V6.16', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'referee'
Note: source file '..\User\bsp\can.c' - object file renamed from 'referee\can.o' to 'referee\can_1.o'.Note: source file '..\User\bsp\gpio.c' - object file renamed from 'referee\gpio.o' to 'referee\gpio_1.o'.Note: source file '..\User\bsp\spi.c' - object file renamed from 'referee\spi.o' to 'referee\spi_1.o'.Note: source file '..\User\bsp\i2c.c' - object file renamed from 'referee\i2c.o' to 'referee\i2c_1.o'.Note: source file '..\User\task\dr16.c' - object file renamed from 'referee\dr16.o' to 'referee\dr16_1.o'.Note: source file '..\User\task\vofa.c' - object file renamed from 'referee\vofa.o' to 'referee\vofa_1.o'.Note: source file '..\User\task\et16s.c' - object file renamed from 'referee\et16s.o' to 'referee\et16s_1.o'.Note: source file '..\User\task\referee.c' - object file renamed from 'referee\referee.o' to 'referee\referee_1.o'.Note: source file '..\User\task\cmd.c' - object file renamed from 'referee\cmd.o' to 'referee\cmd_1.o'.Note: source file '..\User\module\cmd\cmd.c' - object file renamed from 'referee\cmd.o' to 'referee\cmd_1.o'.compiling cmd_adapter.c...
../User/module/cmd/cmd.c(118): warning: implicit conversion from enumeration type 'CHASSIS_ATTITUDE_MODE_t' to different enumeration type 'Chassis_Mode_t' [-Wenum-conversion]
ctx->output.chassis.cmd.mode = STOP_MODE;
~ ^~~~~~~~~
1 warning generated.
compiling cmd.c...
linking...
referee\referee.axf: Warning: L6304W: Duplicate input file referee\cmd_1.o ignored.
referee\referee.axf: Error: L6218E: Undefined symbol Task_cmd (referred from init.o).
referee\referee.axf: Error: L6218E: Undefined symbol cmd_et16s (referred from cmd_adapter.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 1 warning and 2 error messages.
"referee\referee.axf" - 2 Error(s), 2 Warning(s).
Target not created.
Build Time Elapsed: 00:00:02

1
MDK-ARM/.vscode/uv4.log.lock vendored Normal file
View File

@ -0,0 +1 @@
2026/3/5 23:23:34

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -120,7 +120,6 @@
<SetRegEntry> <SetRegEntry>
<Number>0</Number> <Number>0</Number>
<Key>DLGUARM</Key> <Key>DLGUARM</Key>
<Name>x{?</Name>
</SetRegEntry> </SetRegEntry>
<SetRegEntry> <SetRegEntry>
<Number>0</Number> <Number>0</Number>
@ -165,6 +164,26 @@
<WinNumber>1</WinNumber> <WinNumber>1</WinNumber>
<ItemText>ref,0x0A</ItemText> <ItemText>ref,0x0A</ItemText>
</Ww> </Ww>
<Ww>
<count>2</count>
<WinNumber>1</WinNumber>
<ItemText>ref_cmd</ItemText>
</Ww>
<Ww>
<count>3</count>
<WinNumber>1</WinNumber>
<ItemText>ui,0x0A</ItemText>
</Ww>
<Ww>
<count>4</count>
<WinNumber>1</WinNumber>
<ItemText>ui_cmd</ItemText>
</Ww>
<Ww>
<count>5</count>
<WinNumber>1</WinNumber>
<ItemText>cmd_id</ItemText>
</Ww>
</WatchWindow1> </WatchWindow1>
<Tracepoint> <Tracepoint>
<THDelay>0</THDelay> <THDelay>0</THDelay>
@ -776,7 +795,7 @@
<Group> <Group>
<GroupName>bsp</GroupName> <GroupName>bsp</GroupName>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -1219,8 +1238,8 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\User\task\dr16.c</PathWithFileName> <PathWithFileName>..\User\task\chassis_ctrl.c</PathWithFileName>
<FilenameWithoutPath>dr16.c</FilenameWithoutPath> <FilenameWithoutPath>chassis_ctrl.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
@ -1231,59 +1250,59 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\User\task\vofa.c</PathWithFileName>
<FilenameWithoutPath>vofa.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>80</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\et16s.c</PathWithFileName>
<FilenameWithoutPath>et16s.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>81</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\referee.c</PathWithFileName>
<FilenameWithoutPath>referee.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>82</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\gimbal_ctrl.c</PathWithFileName>
<FilenameWithoutPath>gimbal_ctrl.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>83</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\cmd.c</PathWithFileName> <PathWithFileName>..\User\task\cmd.c</PathWithFileName>
<FilenameWithoutPath>cmd.c</FilenameWithoutPath> <FilenameWithoutPath>cmd.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>80</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\dr16.c</PathWithFileName>
<FilenameWithoutPath>dr16.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>81</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\gimbal_ctrl.c</PathWithFileName>
<FilenameWithoutPath>gimbal_ctrl.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>82</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\et16s.c</PathWithFileName>
<FilenameWithoutPath>et16s.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>9</GroupNumber>
<FileNumber>83</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\User\task\init.c</PathWithFileName>
<FilenameWithoutPath>init.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File> <File>
<GroupNumber>9</GroupNumber> <GroupNumber>9</GroupNumber>
<FileNumber>84</FileNumber> <FileNumber>84</FileNumber>
@ -1291,8 +1310,8 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\User\task\shoot_ctrl.c</PathWithFileName> <PathWithFileName>..\User\task\referee.c</PathWithFileName>
<FilenameWithoutPath>shoot_ctrl.c</FilenameWithoutPath> <FilenameWithoutPath>referee.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
@ -1303,8 +1322,8 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\User\task\chassis_ctrl.c</PathWithFileName> <PathWithFileName>..\User\task\shoot_ctrl.c</PathWithFileName>
<FilenameWithoutPath>chassis_ctrl.c</FilenameWithoutPath> <FilenameWithoutPath>shoot_ctrl.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
@ -1327,8 +1346,8 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\User\task\init.c</PathWithFileName> <PathWithFileName>..\User\task\vofa.c</PathWithFileName>
<FilenameWithoutPath>init.c</FilenameWithoutPath> <FilenameWithoutPath>vofa.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>

View File

@ -963,54 +963,54 @@
<FilePath>..\User\task\atti_esti.c</FilePath> <FilePath>..\User\task\atti_esti.c</FilePath>
</File> </File>
<File> <File>
<FileName>dr16.c</FileName> <FileName>chassis_ctrl.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\User\task\dr16.c</FilePath> <FilePath>..\User\task\chassis_ctrl.c</FilePath>
</File>
<File>
<FileName>vofa.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\vofa.c</FilePath>
</File>
<File>
<FileName>et16s.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\et16s.c</FilePath>
</File>
<File>
<FileName>referee.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\referee.c</FilePath>
</File>
<File>
<FileName>gimbal_ctrl.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\gimbal_ctrl.c</FilePath>
</File> </File>
<File> <File>
<FileName>cmd.c</FileName> <FileName>cmd.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\User\task\cmd.c</FilePath> <FilePath>..\User\task\cmd.c</FilePath>
</File> </File>
<File>
<FileName>dr16.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\dr16.c</FilePath>
</File>
<File>
<FileName>gimbal_ctrl.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\gimbal_ctrl.c</FilePath>
</File>
<File>
<FileName>et16s.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\et16s.c</FilePath>
</File>
<File>
<FileName>init.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\init.c</FilePath>
</File>
<File>
<FileName>referee.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\referee.c</FilePath>
</File>
<File> <File>
<FileName>shoot_ctrl.c</FileName> <FileName>shoot_ctrl.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\User\task\shoot_ctrl.c</FilePath> <FilePath>..\User\task\shoot_ctrl.c</FilePath>
</File> </File>
<File>
<FileName>chassis_ctrl.c</FileName>
<FileType>1</FileType>
<FilePath>..\User\task\chassis_ctrl.c</FilePath>
</File>
<File> <File>
<FileName>user_task.c</FileName> <FileName>user_task.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\User\task\user_task.c</FilePath> <FilePath>..\User\task\user_task.c</FilePath>
</File> </File>
<File> <File>
<FileName>init.c</FileName> <FileName>vofa.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\User\task\init.c</FilePath> <FilePath>..\User\task\vofa.c</FilePath>
</File> </File>
</Files> </Files>
</Group> </Group>

View File

@ -1,8 +1,65 @@
referee/cmd.o: ..\User\component\cmd.c ..\User\component\cmd.h \ referee/cmd.o: ..\User\task\cmd.c ..\User\task\user_task.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
..\User\component\ahrs.h ..\User\component\user_math.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\string.h ..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h \
..\Core\Inc\FreeRTOSConfig.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\projdefs.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\portable.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\deprecated_definitions.h \
..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
..\User\device\ET16s.h ..\User\device\device.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h ..\User\device\dr16.h \
..\User\component\user_math.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h ..\User\device\device.h \
..\User\module\config.h ..\User\module\gimbal.h \
..\User\component\ahrs.h ..\User\component\user_math.h \
..\User\component\filter.h ..\User\component\pid.h \
..\User\component\filter.h ..\User\device\motor.h \
..\User\device\motor_dm.h ..\User\bsp\can.h ..\Core\Inc\can.h \
..\Core\Inc\main.h ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
..\Core\Inc\stm32f4xx_hal_conf.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
..\Drivers\CMSIS\Include\core_cm4.h \
..\Drivers\CMSIS\Include\cmsis_version.h \
..\Drivers\CMSIS\Include\cmsis_compiler.h \
..\Drivers\CMSIS\Include\cmsis_armclang.h \
..\Drivers\CMSIS\Include\mpu_armv7.h \
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \
..\User\bsp\bsp.h ..\User\bsp\mm.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\device\motor_rm.h ..\User\device\motor.h \
..\User\module\shoot.h ..\Core\Inc\main.h ..\User\module\chassis.h \
..\User\module\struct_typedef.h ..\User\device\bmi088.h \
..\User\module\shoot.h ..\User\module\cmd\cmd.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_behavior.h \
..\User\module\gimbal.h

Binary file not shown.

View File

@ -2,8 +2,8 @@ referee/cmd_1.o: ..\User\module\cmd\cmd.c ..\User\module\cmd\cmd.h \
..\User\module\cmd\cmd_types.h \ ..\User\module\cmd\cmd_types.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
..\User\module\cmd\cmd_adapter.h ..\User\device\ET16s.h \ ..\User\module\cmd\cmd_adapter.h ..\User\module\cmd\cmd_types.h \
..\User\device\device.h \ ..\User\device\ET16s.h ..\User\device\device.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \ ..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \

Binary file not shown.

View File

@ -2,12 +2,14 @@ referee/cmd_behavior.o: ..\User\module\cmd\cmd_behavior.c \
..\User\module\cmd\cmd_behavior.h ..\User\module\cmd\cmd_types.h \ ..\User\module\cmd\cmd_behavior.h ..\User\module\cmd\cmd_types.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_adapter.h \ ..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_types.h \
..\User\device\ET16s.h ..\User\device\device.h \ ..\User\module\cmd\cmd_adapter.h ..\User\device\ET16s.h \
..\User\device\device.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
..\User\module\chassis.h ..\User\module\struct_typedef.h \ ..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \
..\User\component\filter.h ..\User\component\user_math.h \ ..\User\module\struct_typedef.h ..\User\component\filter.h \
..\User\component\user_math.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h ..\User\component\pid.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h ..\User\component\pid.h \
..\User\component\filter.h ..\User\component\ahrs.h \ ..\User\component\filter.h ..\User\component\ahrs.h \

Binary file not shown.

View File

@ -2,8 +2,8 @@ referee/cmd_example.o: ..\User\module\cmd\cmd_example.c \
..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_types.h \ ..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_types.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
..\User\module\cmd\cmd_adapter.h ..\User\device\ET16s.h \ ..\User\module\cmd\cmd_adapter.h ..\User\module\cmd\cmd_types.h \
..\User\device\device.h \ ..\User\device\ET16s.h ..\User\device\device.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \ ..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \

View File

@ -57,9 +57,10 @@ referee/config.o: ..\User\module\config.c ..\User\component\user_math.h \
..\User\device\motor_rm.h ..\User\device\motor.h \ ..\User\device\motor_rm.h ..\User\device\motor.h \
..\User\module\shoot.h ..\Core\Inc\main.h ..\User\module\chassis.h \ ..\User\module\shoot.h ..\Core\Inc\main.h ..\User\module\chassis.h \
..\User\module\struct_typedef.h ..\User\device\bmi088.h \ ..\User\module\struct_typedef.h ..\User\device\bmi088.h \
..\User\component\user_math.h ..\User\module\cmd\cmd.h \ ..\User\component\user_math.h ..\User\module\shoot.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \ ..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_types.h \
..\User\module\cmd\cmd_adapter.h ..\User\module\cmd\cmd_types.h \
..\User\device\ET16s.h \ ..\User\device\ET16s.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\gimbal.h \ ..\User\module\cmd\cmd_behavior.h ..\User\module\gimbal.h \
..\User\module\shoot.h ..\User\module\chassis.h ..\User\module\chassis.h

Binary file not shown.

View File

@ -62,9 +62,10 @@ referee/init.o: ..\User\task\init.c ..\User\task\user_task.h \
..\User\device\device.h ..\User\device\et16s.h \ ..\User\device\device.h ..\User\device\et16s.h \
..\User\device\referee.h ..\User\component\ui.h \ ..\User\device\referee.h ..\User\component\ui.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\string.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\string.h \
..\User\component\user_math.h ..\User\device\device.h \ ..\User\component\user_math.h ..\User\module\shoot.h \
..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_types.h \ ..\User\device\device.h ..\User\module\cmd\cmd.h \
..\User\module\cmd\cmd_adapter.h ..\User\device\ET16s.h \ ..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \
..\User\module\cmd\cmd_types.h ..\User\device\ET16s.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\config.h \ ..\User\module\cmd\cmd_behavior.h ..\User\module\config.h \
..\User\module\gimbal.h ..\User\module\shoot.h \ ..\User\module\gimbal.h ..\User\module\shoot.h \
..\User\module\cmd\cmd.h ..\User\module\cmd\cmd.h

Binary file not shown.

BIN
MDK-ARM/referee/referee.axf Normal file

Binary file not shown.

View File

@ -22,7 +22,7 @@ Dialog DLL: TCM.DLL V1.48.0.0
<h2>Project:</h2> <h2>Project:</h2>
D:\yunha\git\RM\referee\MDK-ARM\referee.uvprojx D:\yunha\git\RM\referee\MDK-ARM\referee.uvprojx
Project File Date: 03/05/2026 Project File Date: 03/06/2026
<h2>Output:</h2> <h2>Output:</h2>
*** Using Compiler 'V6.16', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin' *** Using Compiler 'V6.16', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin'
@ -32,19 +32,11 @@ Note: source file '..\User\bsp\gpio.c' - object file renamed from 'referee\gpio.
Note: source file '..\User\bsp\spi.c' - object file renamed from 'referee\spi.o' to 'referee\spi_1.o'. Note: source file '..\User\bsp\spi.c' - object file renamed from 'referee\spi.o' to 'referee\spi_1.o'.
Note: source file '..\User\bsp\i2c.c' - object file renamed from 'referee\i2c.o' to 'referee\i2c_1.o'. Note: source file '..\User\bsp\i2c.c' - object file renamed from 'referee\i2c.o' to 'referee\i2c_1.o'.
Note: source file '..\User\task\dr16.c' - object file renamed from 'referee\dr16.o' to 'referee\dr16_1.o'. Note: source file '..\User\task\dr16.c' - object file renamed from 'referee\dr16.o' to 'referee\dr16_1.o'.
Note: source file '..\User\task\vofa.c' - object file renamed from 'referee\vofa.o' to 'referee\vofa_1.o'.
Note: source file '..\User\task\et16s.c' - object file renamed from 'referee\et16s.o' to 'referee\et16s_1.o'. Note: source file '..\User\task\et16s.c' - object file renamed from 'referee\et16s.o' to 'referee\et16s_1.o'.
Note: source file '..\User\task\referee.c' - object file renamed from 'referee\referee.o' to 'referee\referee_1.o'. Note: source file '..\User\task\referee.c' - object file renamed from 'referee\referee.o' to 'referee\referee_1.o'.
Note: source file '..\User\task\cmd.c' - object file renamed from 'referee\cmd.o' to 'referee\cmd_1.o'. Note: source file '..\User\task\vofa.c' - object file renamed from 'referee\vofa.o' to 'referee\vofa_1.o'.
Note: source file '..\User\module\cmd\cmd.c' - object file renamed from 'referee\cmd.o' to 'referee\cmd_1.o'. Note: source file '..\User\module\cmd\cmd.c' - object file renamed from 'referee\cmd.o' to 'referee\cmd_1.o'.
linking... "referee\referee.axf" - 0 Error(s), 0 Warning(s).
referee\referee.axf: Warning: L6304W: Duplicate input file referee\cmd_1.o ignored.
referee\referee.axf: Error: L6218E: Undefined symbol Task_cmd (referred from init.o).
referee\referee.axf: Error: L6218E: Undefined symbol cmd_et16s (referred from cmd_adapter.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 1 warning and 2 error messages.
"referee\referee.axf" - 2 Error(s), 1 Warning(s).
<h2>Software Packages used:</h2> <h2>Software Packages used:</h2>
@ -68,8 +60,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE:5.4.0 * Component: ARM::CMSIS:CORE:5.4.0
Include file: CMSIS\Core\Include\tz_context.h Include file: CMSIS\Core\Include\tz_context.h
Target not created. Build Time Elapsed: 00:00:03
Build Time Elapsed: 00:00:02
</pre> </pre>
</body> </body>
</html> </html>

View File

@ -43,16 +43,10 @@ referee/referee.o: ..\User\device\referee.c ..\User\device\device.h \
..\User\component\user_math.h ..\User\device\referee.h \ ..\User\component\user_math.h ..\User\device\referee.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\component\ui.h ..\User\component\user_math.h \ ..\User\component\ui.h ..\User\component\user_math.h \
..\User\device\device.h ..\User\module\cmd\cmd.h \ ..\User\module\shoot.h ..\Core\Inc\main.h ..\User\component\pid.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \ ..\User\component\filter.h ..\User\device\motor_rm.h \
..\User\device\ET16s.h ..\User\device\device.h \ ..\User\device\motor.h ..\User\device\device.h ..\User\device\motor.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \ ..\User\bsp\can.h ..\Core\Inc\can.h ..\User\bsp\mm.h \
..\User\module\struct_typedef.h ..\User\component\filter.h \
..\User\component\pid.h ..\User\component\filter.h \
..\User\component\ahrs.h ..\User\device\bmi088.h \
..\User\device\motor_rm.h ..\User\device\motor.h \
..\User\device\motor.h ..\User\bsp\can.h ..\Core\Inc\can.h \
..\User\bsp\mm.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\include\FreeRTOS.h \
..\Core\Inc\FreeRTOSConfig.h \ ..\Core\Inc\FreeRTOSConfig.h \
@ -64,7 +58,12 @@ referee/referee.o: ..\User\device\referee.c ..\User\device\device.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\device\device.h ..\User\module\cmd\cmd.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \
..\User\module\cmd\cmd_types.h ..\User\device\ET16s.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \
..\User\module\struct_typedef.h ..\User\component\filter.h \
..\User\component\ahrs.h ..\User\device\bmi088.h \
..\User\module\gimbal.h ..\User\device\motor_dm.h \ ..\User\module\gimbal.h ..\User\device\motor_dm.h \
..\User\module\shoot.h ..\Core\Inc\main.h ..\User\module\config.h \ ..\User\module\shoot.h ..\User\module\config.h ..\User\module\gimbal.h \
..\User\module\gimbal.h ..\User\module\shoot.h \ ..\User\module\shoot.h ..\User\module\cmd\cmd.h
..\User\module\cmd\cmd.h

File diff suppressed because it is too large Load Diff

View File

@ -76,16 +76,16 @@
"referee\referee.o" "referee\referee.o"
"referee\ai.o" "referee\ai.o"
"referee\atti_esti.o" "referee\atti_esti.o"
"referee\dr16_1.o"
"referee\vofa_1.o"
"referee\et16s_1.o"
"referee\referee_1.o"
"referee\gimbal_ctrl.o"
"referee\cmd_1.o"
"referee\shoot_ctrl.o"
"referee\chassis_ctrl.o" "referee\chassis_ctrl.o"
"referee\user_task.o" "referee\cmd.o"
"referee\dr16_1.o"
"referee\gimbal_ctrl.o"
"referee\et16s_1.o"
"referee\init.o" "referee\init.o"
"referee\referee_1.o"
"referee\shoot_ctrl.o"
"referee\user_task.o"
"referee\vofa_1.o"
"referee\config.o" "referee\config.o"
"referee\chassis.o" "referee\chassis.o"
"referee\gimbal.o" "referee\gimbal.o"

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -17,16 +17,7 @@ referee/referee_1.o: ..\User\task\referee.c ..\User\task\user_task.h \
..\User\component\user_math.h \ ..\User\component\user_math.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \ D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
..\User\component\user_math.h ..\User\device\device.h \ ..\User\component\user_math.h ..\User\module\shoot.h \
..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_types.h \
..\User\module\cmd\cmd_adapter.h ..\User\device\ET16s.h \
..\User\device\device.h ..\User\module\cmd\cmd_behavior.h \
..\User\module\chassis.h ..\User\module\struct_typedef.h \
..\User\component\filter.h ..\User\component\user_math.h \
..\User\component\pid.h ..\User\component\filter.h \
..\User\component\ahrs.h ..\User\device\bmi088.h \
..\User\device\motor_rm.h ..\User\device\motor.h \
..\User\device\motor.h ..\User\bsp\can.h ..\Core\Inc\can.h \
..\Core\Inc\main.h ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \ ..\Core\Inc\main.h ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
..\Core\Inc\stm32f4xx_hal_conf.h \ ..\Core\Inc\stm32f4xx_hal_conf.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \ ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
@ -59,10 +50,19 @@ referee/referee_1.o: ..\User\task\referee.c ..\User\task\user_task.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \ ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \ ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \ ..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \
..\User\component\pid.h ..\User\component\filter.h \
..\User\component\user_math.h ..\User\device\motor_rm.h \
..\User\device\motor.h ..\User\device\device.h ..\User\device\motor.h \
..\User\bsp\can.h ..\Core\Inc\can.h ..\Core\Inc\main.h \
..\User\bsp\bsp.h ..\User\bsp\mm.h \ ..\User\bsp\bsp.h ..\User\bsp\mm.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\device\device.h ..\User\module\cmd\cmd.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \
..\User\module\cmd\cmd_types.h ..\User\device\ET16s.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \
..\User\module\struct_typedef.h ..\User\component\filter.h \
..\User\component\ahrs.h ..\User\device\bmi088.h \
..\User\module\gimbal.h ..\User\device\motor_dm.h \ ..\User\module\gimbal.h ..\User\device\motor_dm.h \
..\User\module\shoot.h ..\Core\Inc\main.h ..\User\module\config.h \ ..\User\module\shoot.h ..\User\module\config.h ..\User\module\gimbal.h \
..\User\module\gimbal.h ..\User\module\shoot.h \ ..\User\module\shoot.h ..\User\module\cmd\cmd.h
..\User\module\cmd\cmd.h

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -54,12 +54,16 @@ referee/shoot.o: ..\User\module\shoot.c \
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\bsp\time.h ..\User\component\filter.h \ ..\User\bsp\time.h ..\User\device\referee.h \
..\User\component\user_math.h ..\User\module\cmd\cmd.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \
..\User\device\ET16s.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\component\ui.h ..\User\component\user_math.h \
..\User\component\user_math.h ..\User\module\shoot.h \
..\User\device\device.h ..\User\module\cmd\cmd.h \
..\User\module\cmd\cmd_types.h ..\User\module\cmd\cmd_adapter.h \
..\User\module\cmd\cmd_types.h ..\User\device\ET16s.h \
..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \ ..\User\module\cmd\cmd_behavior.h ..\User\module\chassis.h \
..\User\module\struct_typedef.h ..\User\component\ahrs.h \ ..\User\module\struct_typedef.h ..\User\component\filter.h \
..\User\device\bmi088.h ..\User\module\gimbal.h \ ..\User\component\ahrs.h ..\User\device\bmi088.h \
..\User\device\motor_dm.h ..\User\module\shoot.h ..\User\module\gimbal.h ..\User\device\motor_dm.h \
..\User\module\config.h ..\User\module\gimbal.h ..\User\module\shoot.h \
..\User\module\cmd\cmd.h

Binary file not shown.

View File

@ -10,4 +10,60 @@ referee/shoot_ctrl.o: ..\User\task\shoot_ctrl.c ..\User\task\user_task.h \
..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\portable\RVDS\ARM_CM4F\portmacro.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\include\mpu_wrappers.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \ ..\Middlewares\Third_Party\FreeRTOS\Source\include\task.h \
..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h ..\Middlewares\Third_Party\FreeRTOS\Source\include\list.h \
..\User\module\config.h ..\User\module\gimbal.h \
..\User\component\ahrs.h ..\User\component\user_math.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\float.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\math.h \
D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdbool.h \
..\User\component\filter.h ..\User\component\pid.h \
..\User\component\filter.h ..\User\device\motor.h \
..\User\device\device.h ..\User\device\motor_dm.h ..\User\bsp\can.h \
..\Core\Inc\can.h ..\Core\Inc\main.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h \
..\Core\Inc\stm32f4xx_hal_conf.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h \
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h \
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h \
..\Drivers\CMSIS\Include\core_cm4.h \
..\Drivers\CMSIS\Include\cmsis_version.h \
..\Drivers\CMSIS\Include\cmsis_compiler.h \
..\Drivers\CMSIS\Include\cmsis_armclang.h \
..\Drivers\CMSIS\Include\mpu_armv7.h \
..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h \
..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h \
..\User\bsp\bsp.h ..\User\bsp\mm.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os.h \
..\Middlewares\Third_Party\FreeRTOS\Source\CMSIS_RTOS_V2\cmsis_os2.h \
..\User\device\motor_rm.h ..\User\device\motor.h \
..\User\module\shoot.h ..\Core\Inc\main.h ..\User\module\chassis.h \
..\User\module\struct_typedef.h ..\User\device\bmi088.h \
..\User\component\user_math.h ..\User\module\shoot.h \
..\User\module\cmd\cmd.h ..\User\module\cmd\cmd_types.h \
..\User\module\cmd\cmd_adapter.h ..\User\module\cmd\cmd_types.h \
..\User\device\ET16s.h ..\User\module\cmd\cmd_behavior.h \
..\User\module\gimbal.h ..\User\device\referee.h \
..\User\component\ui.h D:\Keil_v5\ARM\ARMCLANG\Bin\..\include\string.h \
..\User\component\user_math.h ..\User\module\shoot.h \
..\User\device\device.h ..\User\module\cmd\cmd.h \
..\User\module\config.h

Binary file not shown.

Binary file not shown.

View File

@ -102,8 +102,9 @@ int8_t Referee_Restart(void) {
int8_t Referee_StartReceiving(Referee_t *ref) { int8_t Referee_StartReceiving(Referee_t *ref) {
(void)ref; (void)ref;
if (HAL_UART_Receive_DMA(BSP_UART_GetHandle(BSP_UART_REF), rxbuf,
REF_LEN_RX_BUFF) == HAL_OK) if ( BSP_UART_Receive(BSP_UART_REF, rxbuf, REF_LEN_RX_BUFF,true)
== BSP_OK)
return DEVICE_OK; return DEVICE_OK;
return DEVICE_ERR; return DEVICE_ERR;
} }
@ -309,8 +310,7 @@ error:
} }
int8_t Referee_StartSend(uint8_t *data, uint32_t len) { int8_t Referee_StartSend(uint8_t *data, uint32_t len) {
if (HAL_UART_Transmit_DMA(BSP_UART_GetHandle(BSP_UART_REF), data, if (BSP_UART_Transmit(BSP_UART_REF,data, (size_t)len, true) == BSP_OK) {
(size_t)len) == HAL_OK) {
return DEVICE_OK; return DEVICE_OK;
} else } else
return DEVICE_ERR; return DEVICE_ERR;
@ -650,10 +650,10 @@ uint8_t Referee_UIRefresh(Referee_UI_t *ui) {
ui->screen->height * 0.2 + cos(ui->chassis_ui.angle) * 46); ui->screen->height * 0.2 + cos(ui->chassis_ui.angle) * 46);
float start_pos_h = 0.0f; float start_pos_h = 0.0f;
switch (ui->chassis_ui.mode) { switch (ui->chassis_ui.mode) {
case CHASSIS_MODE_FOLLOW_GIMBAL: case STOP:
start_pos_h = 0.68f; start_pos_h = 0.68f;
break; break;
case CHASSIS_MODE_FOLLOW_GIMBAL_35: case CHASSIS_MODE_FOLLOW_GIMBAL:
start_pos_h = 0.66f; start_pos_h = 0.66f;
break; break;
case CHASSIS_MODE_ROTOR: case CHASSIS_MODE_ROTOR:
@ -674,8 +674,8 @@ uint8_t Referee_UIRefresh(Referee_UI_t *ui) {
} }
case 1: case 1:
fsm++; fsm++;
UI_DelLayer(Referee_GetDelAdd(ui), UI_DEL_OPERATION_DEL, // UI_DelLayer(Referee_GetDelAdd(ui), UI_DEL_OPERATION_DEL,
UI_GRAPIC_LAYER_CAP); // UI_GRAPIC_LAYER_CAP);
// switch (ui->cap_ui.status) { // switch (ui->cap_ui.status) {
// case CAN_CAP_STATUS_OFFLINE: // case CAN_CAP_STATUS_OFFLINE:
// UI_DrawArc(Referee_GetGrapicAdd(ui), "9", UI_GRAPIC_OPERATION_ADD, // UI_DrawArc(Referee_GetGrapicAdd(ui), "9", UI_GRAPIC_OPERATION_ADD,
@ -747,13 +747,13 @@ uint8_t Referee_UIRefresh(Referee_UI_t *ui) {
ui->screen->height * start_pos_h + REF_UI_BOX_BOT_OFFSET); ui->screen->height * start_pos_h + REF_UI_BOX_BOT_OFFSET);
switch (ui->shoot_ui.mode) { switch (ui->shoot_ui.mode) {
case SHOOT_MODE_SINGLE: case SHOOT_MODE_SAFE:
start_pos_h = 0.68f; start_pos_h = 0.68f;
break; break;
case SHOOT_MODE_BURST: case SHOOT_MODE_SINGLE:
start_pos_h = 0.66f; start_pos_h = 0.66f;
break; break;
case SHOOT_MODE_CONTINUE: case SHOOT_MODE_BURST:
start_pos_h = 0.64f; start_pos_h = 0.64f;
default: default:
break; break;

View File

@ -14,9 +14,12 @@ extern "C" {
#include "component\ui.h" #include "component\ui.h"
#include "component\user_math.h" #include "component\user_math.h"
//#include "device\can.h" //#include "device\can.h"
#include "module\shoot.h"
#include "device\device.h" #include "device\device.h"
#include "module\cmd\cmd.h" #include "module\cmd\cmd.h"
#include "module\config.h" #include "module\config.h"
/* Exported constants ------------------------------------------------------- */ /* Exported constants ------------------------------------------------------- */
/* Exported macro ----------------------------------------------------------- */ /* Exported macro ----------------------------------------------------------- */
#define REF_SWITCH_STATUS(ref, stat) ((ref).ref_status = (stat)) #define REF_SWITCH_STATUS(ref, stat) ((ref).ref_status = (stat))

View File

@ -4,9 +4,9 @@
*/ */
#pragma once #pragma once
#include "cmd_types.h" #include "module/cmd/cmd_types.h"
#include "cmd_adapter.h" #include "module/cmd/cmd_adapter.h"
#include "cmd_behavior.h" #include "module/cmd/cmd_behavior.h"
/* 引入输出模块的命令类型 */ /* 引入输出模块的命令类型 */
#include "module/chassis.h" #include "module/chassis.h"
@ -42,7 +42,7 @@ typedef struct {
/* 配置结构 */ /* 配置结构 */
/* ========================================================================== */ /* ========================================================================== */
/* AI行为状态 */ /* AI行为状态 */
typedef enum { typedef enum {
AI_STATUS_STOP, /* 停止状态 */ AI_STATUS_STOP, /* 停止状态 */
AI_STATUS_AUTOAIM, /* 自瞄状态 */ AI_STATUS_AUTOAIM, /* 自瞄状态 */
@ -59,7 +59,6 @@ typedef enum {
UI_HIT_SWITCH_STOP /* 打符状态关闭 */ UI_HIT_SWITCH_STOP /* 打符状态关闭 */
} CMD_UI_t; } CMD_UI_t;
/* 灵敏度配置 */ /* 灵敏度配置 */
typedef struct { typedef struct {
float mouse_sens; /* 鼠标灵敏度 */ float mouse_sens; /* 鼠标灵敏度 */
@ -67,7 +66,8 @@ typedef struct {
float move_fast_mult; /* 快速移动倍率 */ float move_fast_mult; /* 快速移动倍率 */
float move_slow_mult; /* 慢速移动倍率 */ float move_slow_mult; /* 慢速移动倍率 */
} CMD_Sensitivity_t; } CMD_Sensitivity_t;
/* 分辨率配置 */
/* 分辨率配置 */
typedef struct { typedef struct {
uint16_t width; uint16_t width;
uint16_t height; uint16_t height;

View File

@ -3,7 +3,7 @@
* *
* 使CMD模块 * 使CMD模块
*/ */
#include "module/cmd/cmd.h" #include "cmd.h"
/* ========================================================================== */ /* ========================================================================== */
/* config示例 */ /* config示例 */

View File

@ -328,8 +328,8 @@ Config_RobotParam_t robot_config = {
CMD_SRC_REF, CMD_SRC_REF,
}, },
.screen={ .screen={
.width=10, .width=1920,
.height=10, .height=1080,
}, },

View File

@ -15,6 +15,7 @@ extern "C" {
#include "gimbal.h" #include "gimbal.h"
#include "shoot.h" #include "shoot.h"
#include "module/chassis.h" #include "module/chassis.h"
#include "module/shoot.h"
#include "module/cmd/cmd.h" #include "module/cmd/cmd.h"
typedef struct { typedef struct {
Gimbal_Params_t gimbal_param; Gimbal_Params_t gimbal_param;

View File

@ -33,9 +33,10 @@ void Task(void *argument) {
/* Includes ----------------------------------------------------------------- */ /* Includes ----------------------------------------------------------------- */
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
#include "shoot.h" #include "module/shoot.h"
#include "bsp/mm.h" #include "bsp/mm.h"
#include "bsp/time.h" #include "bsp/time.h"
#include "device/referee.h"
#include "component/filter.h" #include "component/filter.h"
#include "component/user_math.h" #include "component/user_math.h"
#include "module/cmd/cmd.h" #include "module/cmd/cmd.h"
@ -651,7 +652,16 @@ int8_t Shoot_Control(Shoot_t *s, Shoot_CMD_t *cmd)
/**
* @brief UI数据
*
* @param s
* @param ui UI结构体
*/
void Shoot_DumpUI(Shoot_t *s, Referee_ShootUI_t *ui) {
ui->mode = s->mode;
ui->fire = s->running_state;
}

View File

@ -12,6 +12,7 @@ extern "C" {
#include "main.h" #include "main.h"
#include "component/pid.h" #include "component/pid.h"
#include "device/motor_rm.h" #include "device/motor_rm.h"
/* Exported constants ------------------------------------------------------- */ /* Exported constants ------------------------------------------------------- */
#define MAX_FRIC_NUM 6 #define MAX_FRIC_NUM 6
#define MAX_NUM_MULTILEVEL 2 /* 多级发射级数 */ #define MAX_NUM_MULTILEVEL 2 /* 多级发射级数 */
@ -233,7 +234,7 @@ int8_t Shoot_UpdateFeedback(Shoot_t *s);
*/ */
int8_t Shoot_Control(Shoot_t *s, Shoot_CMD_t *cmd); int8_t Shoot_Control(Shoot_t *s, Shoot_CMD_t *cmd);
//void Shoot_DumpUI(Shoot_t *s, Referee_ShootUI_t *ui);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -22,6 +22,11 @@
/* Private variables -------------------------------------------------------- */ /* Private variables -------------------------------------------------------- */
/* USER STRUCT BEGIN */ /* USER STRUCT BEGIN */
//CMD_RC_t rc;
//CMD_Host_t host;
//CMD_t cmd;
CMD_UI_t ui_cmd;
#define CMD_RCTypeTable_Index 2 #define CMD_RCTypeTable_Index 2
#if CMD_RCTypeTable_Index == 0 #if CMD_RCTypeTable_Index == 0
@ -77,13 +82,9 @@ void Task_cmd(void *argument) {
osMessageQueuePut(task_runtime.msgq.shoot.cmd, cmd_for_shoot, 0, 0); osMessageQueuePut(task_runtime.msgq.shoot.cmd, cmd_for_shoot, 0, 0);
osMessageQueueReset(task_runtime.msgq.chassis.cmd); osMessageQueueReset(task_runtime.msgq.chassis.cmd);
osMessageQueuePut(task_runtime.msgq.chassis.cmd, cmd_for_chassis, 0, 0); osMessageQueuePut(task_runtime.msgq.chassis.cmd, cmd_for_chassis, 0, 0);
ui_cmd=UI_AUTO_AIM_START;
osMessageQueuePut(task_runtime.msgq.referee.ui,&(ui_cmd), 0, 0);
/* 存在裁判系统发送命令时,将相应的画图命令放入消息队列中 */
// while (cmd.referee.counter > 0) {
// osMessageQueuePut(task_runtime.msgq.cmd.referee,
// &(cmd.referee.cmd[--cmd.referee.counter]), 0, 0);
// cmd.referee.cmd[cmd.referee.counter] = CMD_UI_NOTHING;
// }
/* USER CODE END */ /* USER CODE END */
osDelayUntil(tick); /* 运行结束,等待下一次唤醒 */ osDelayUntil(tick); /* 运行结束,等待下一次唤醒 */

View File

@ -62,6 +62,7 @@ void Task_Init(void *argument) {
task_runtime.msgq.referee.cap= osMessageQueueNew(2u, sizeof(Referee_ForCap_t), NULL); task_runtime.msgq.referee.cap= osMessageQueueNew(2u, sizeof(Referee_ForCap_t), NULL);
task_runtime.msgq.referee.cap= osMessageQueueNew(2u, sizeof(Referee_ForChassis_t), NULL); task_runtime.msgq.referee.cap= osMessageQueueNew(2u, sizeof(Referee_ForChassis_t), NULL);
task_runtime.msgq.referee.shoot= osMessageQueueNew(2u, sizeof(Referee_ForShoot_t), NULL); task_runtime.msgq.referee.shoot= osMessageQueueNew(2u, sizeof(Referee_ForShoot_t), NULL);
task_runtime.msgq.referee.ui= osMessageQueueNew(2u, sizeof(CMD_UI_t), NULL);
/* UI */ /* UI */
task_runtime.msgq.ui.chassis =osMessageQueueNew(2u, sizeof(Referee_ChassisUI_t), NULL); task_runtime.msgq.ui.chassis =osMessageQueueNew(2u, sizeof(Referee_ChassisUI_t), NULL);
task_runtime.msgq.ui.cap =osMessageQueueNew(2u, sizeof(Referee_CapUI_t), NULL); task_runtime.msgq.ui.cap =osMessageQueueNew(2u, sizeof(Referee_CapUI_t), NULL);
@ -69,8 +70,6 @@ void Task_Init(void *argument) {
task_runtime.msgq.ui.shoot =osMessageQueueNew(2u, sizeof(Referee_ShootUI_t), NULL); task_runtime.msgq.ui.shoot =osMessageQueueNew(2u, sizeof(Referee_ShootUI_t), NULL);
task_runtime.msgq.ui.cmd = osMessageQueueNew(2u, sizeof(bool), NULL); task_runtime.msgq.ui.cmd = osMessageQueueNew(2u, sizeof(bool), NULL);
/* */ /* */
task_runtime.msgq.cmd.referee =osMessageQueueNew(6u, sizeof(CMD_UI_t), NULL);
/* USER MESSAGE END */ /* USER MESSAGE END */
osKernelUnlock(); // 解锁内核 osKernelUnlock(); // 解锁内核

View File

@ -14,7 +14,6 @@
/* Private macro ------------------------------------------------------------ */ /* Private macro ------------------------------------------------------------ */
/* Private variables -------------------------------------------------------- */ /* Private variables -------------------------------------------------------- */
/* USER STRUCT BEGIN */ /* USER STRUCT BEGIN */
//#ifdef DEBUG
Referee_t ref; Referee_t ref;
Referee_UI_t ui; Referee_UI_t ui;
CMD_UI_t ref_cmd; CMD_UI_t ref_cmd;
@ -22,15 +21,7 @@ Referee_ForCap_t for_cap;
Referee_ForAI_t for_ai; Referee_ForAI_t for_ai;
Referee_ForChassis_t for_chassis; Referee_ForChassis_t for_chassis;
Referee_ForShoot_t for_shoot; Referee_ForShoot_t for_shoot;
//#else uint8_t send_data[6]={1,2,3,4};
//static Referee_t ref;
//static Referee_UI_t ui;
//static CMD_UI_t ref_cmd;
//static Referee_ForCap_t for_cap;
//static Referee_ForAI_t for_ai;
//static Referee_ForChassis_t for_chassis;
//static Referee_ForShoot_t for_shoot;
//#endif
/* USER STRUCT END */ /* USER STRUCT END */
/* Private function --------------------------------------------------------- */ /* Private function --------------------------------------------------------- */
@ -88,11 +79,12 @@ void Task_referee(void *argument) {
osMessageQueueGet(task_runtime.msgq.ui.cmd, &(ui.cmd_pc), NULL, 0); osMessageQueueGet(task_runtime.msgq.ui.cmd, &(ui.cmd_pc), NULL, 0);
Referee_UIRefresh(&ui); Referee_UIRefresh(&ui);
while (osMessageQueueGet(task_runtime.msgq.cmd.referee, &ref_cmd, NULL, while (osMessageQueueGet(task_runtime.msgq.referee.ui, &ref_cmd, NULL,
0) == osOK) { 0) == osOK) {
Referee_PraseCmd(&ui, ref_cmd); Referee_PraseCmd(&ui, ref_cmd);
// Referee_StartSend(send_data, sizeof(send_data));
} }
Referee_PackUI(&ui, &ref);
} }
/* USER CODE END */ /* USER CODE END */

View File

@ -6,7 +6,8 @@
/* Includes ----------------------------------------------------------------- */ /* Includes ----------------------------------------------------------------- */
#include "task/user_task.h" #include "task/user_task.h"
/* USER INCLUDE BEGIN */ /* USER INCLUDE BEGIN */
#include "module/config.h"
#include "device/referee.h"
/* USER INCLUDE END */ /* USER INCLUDE END */
/* Private typedef ---------------------------------------------------------- */ /* Private typedef ---------------------------------------------------------- */
@ -14,13 +15,12 @@
/* Private macro ------------------------------------------------------------ */ /* Private macro ------------------------------------------------------------ */
/* Private variables -------------------------------------------------------- */ /* Private variables -------------------------------------------------------- */
/* USER STRUCT BEGIN */ /* USER STRUCT BEGIN */
Shoot_t shoot;
Shoot_CMD_t shoot_cmd;
Referee_ShootUI_t shoot_ui;
/* USER STRUCT END */ /* USER STRUCT END */
/* Private function --------------------------------------------------------- */ /* Private function --------------------------------------------------------- */
/* USER PRIVATE CODE BEGIN */
/* USER PRIVATE CODE END */
/* Exported functions ------------------------------------------------------- */ /* Exported functions ------------------------------------------------------- */
void Task_shoot_ctrl(void *argument) { void Task_shoot_ctrl(void *argument) {
(void)argument; /* 未使用argument消除警告 */ (void)argument; /* 未使用argument消除警告 */
@ -33,12 +33,22 @@ void Task_shoot_ctrl(void *argument) {
uint32_t tick = osKernelGetTickCount(); /* 控制任务运行频率的计时 */ uint32_t tick = osKernelGetTickCount(); /* 控制任务运行频率的计时 */
/* USER CODE INIT BEGIN */ /* USER CODE INIT BEGIN */
Shoot_Init(&shoot,&Config_GetRobotParam()->shoot_param,SHOOT_CTRL_FREQ);
Shoot_SetMode(&shoot,SHOOT_MODE_SINGLE);
/* USER CODE INIT END */ /* USER CODE INIT END */
while (1) { while (1) {
tick += delay_tick; /* 计算下一个唤醒时刻 */ tick += delay_tick; /* 计算下一个唤醒时刻 */
/* USER CODE BEGIN */ /* USER CODE BEGIN */
osMessageQueueGet(task_runtime.msgq.shoot.cmd, &shoot_cmd, NULL, 0);
// shoot_cmd.mode=true;
// shoot.target_variable.target_rpm=4000;
shoot.mode=SHOOT_MODE_SINGLE;
Shoot_UpdateFeedback(&shoot);
Shoot_Control(&shoot,&shoot_cmd);
Shoot_DumpUI(&shoot, &shoot_ui);
osMessageQueueReset(task_runtime.msgq.ui.shoot);
osMessageQueuePut(task_runtime.msgq.ui.shoot, &shoot_ui, 0, 0);
/* USER CODE END */ /* USER CODE END */
osDelayUntil(tick); /* 运行结束,等待下一次唤醒 */ osDelayUntil(tick); /* 运行结束,等待下一次唤醒 */

View File

@ -86,6 +86,7 @@ typedef struct {
osMessageQueueId_t chassis; osMessageQueueId_t chassis;
osMessageQueueId_t ai; osMessageQueueId_t ai;
osMessageQueueId_t shoot; osMessageQueueId_t shoot;
osMessageQueueId_t ui;
}referee; }referee;
struct { struct {
osMessageQueueId_t chassis; osMessageQueueId_t chassis;
@ -94,17 +95,10 @@ typedef struct {
osMessageQueueId_t cap; osMessageQueueId_t cap;
osMessageQueueId_t cmd; osMessageQueueId_t cmd;
}ui; }ui;
struct {
osMessageQueueId_t referee;
/* 控制指令 */ }cmd;
struct {
struct {
osMessageQueueId_t host;
osMessageQueueId_t rc;
} raw;
osMessageQueueId_t ai;
osMessageQueueId_t referee;
} cmd;
} msgq; } msgq;
/* USER MESSAGE END */ /* USER MESSAGE END */