Browse Source

1. 485 方案 高压包使能控制

develop
HSZ_HeSongZhen 4 weeks ago
parent
commit
0cbf940151
  1. 5
      .cproject
  2. 8
      .settings/language.settings.xml
  3. 84316
      Debug/STM32F429GT6.list
  4. 35
      Debug/User/BSP/LED/exti_key_manager.cyclo
  5. 16
      Debug/User/BSP/LED/high_voltage_pack.cyclo
  6. 1
      Debug/User/BSP/LED/led.cyclo
  7. 13
      Debug/User/BSP/LED/pump_controller.cyclo
  8. 30
      Debug/User/BSP/base/apphardware.cyclo
  9. 13
      Debug/User/BSP/can_control/can_controller.cyclo
  10. 8
      Debug/User/BSP/can_control/can_protocol_parser.cyclo
  11. 63
      Debug/User/BSP/status/elc_motor.cyclo
  12. 34
      Debug/User/BSP/status/elc_motor_helper.cyclo
  13. 1
      Debug/User/BSP/status/motor_manager.cyclo
  14. 24
      Debug/User/BSP/uart_cmd/cmd_process_service_process.cyclo
  15. 8
      Debug/User/BSP/uart_cmd/cmd_receive_service.cyclo
  16. 4
      Debug/User/BSP/uart_cmd/stm32_exhal_uart.cyclo
  17. 9
      Debug/User/BSP/uart_control/modbus_rtu_protocol_factory.cyclo
  18. 14
      Debug/User/app/app_core.cyclo
  19. 12
      Debug/makefile
  20. 1
      Debug/sources.mk
  21. 4
      User/BSP/LED/high_voltage_pack.cpp
  22. 11
      User/BSP/LED/high_voltage_pack.h
  23. 6
      User/BSP/LED/led.c
  24. 39
      User/BSP/base/apphardware.cpp
  25. 13
      User/BSP/base/apphardware.hpp
  26. 2
      User/BSP/status/elc_motor_helper.h
  27. 12
      User/BSP/uart_cmd/cmd_process_service_process.cpp
  28. 2
      User/BSP/uart_cmd/cmd_process_service_process.h
  29. 47
      User/app/app_core.cpp
  30. 108
      cmake-build-debug-mingw-stm32/.cmake/api/v1/reply/index-2025-03-19T17-24-17-0647.json
  31. 2
      cmake-build-debug-mingw-stm32/CMakeFiles/clion-Debug-MinGW-STM32-log.txt
  32. 4
      cmake-build-debug-mingw-stm32/Testing/Temporary/LastTest.log

5
.cproject

@ -25,6 +25,7 @@
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.1973149578" name="Board" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1983105681" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F429ZGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy | ../Middlewares/Third_Party/FreeRTOS/Source/include | ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 | ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include | ../Drivers/CMSIS/Include | ../Core/ThreadSafe || || || USE_HAL_DRIVER | STM32F429xx | STM32_THREAD_SAFE_STRATEGY=4 || || Core/ThreadSafe | Drivers | Core/Startup | Middlewares | Core || || || ${workspace_loc:/${ProjName}/STM32F429ZGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || FreeRTOS_AllowLockFromIRQ || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.244947357" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="180" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.converthex.645838179" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.converthex" value="true" valueType="boolean"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.484214756" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/STM32F429GT6}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1166856054" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.1123429222" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
@ -32,7 +33,7 @@
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols.1623703778" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths.586637076" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths" valueType="includePath"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths.586637076" name="Include paths (-I)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths" valueType="includePath"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1586481717" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.2120402044" name="MCU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
@ -148,7 +149,7 @@
<builder buildPath="${workspace_loc:/STM32F429GT6}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.910951653" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.258416907" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.1527842252" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g0" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths.2002058643" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths" valueType="includePath">
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths.2002058643" name="Include paths (-I)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.includepaths" valueType="includePath">
<listOptionValue builtIn="false" value="../User/app"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1617387049" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>

8
.settings/language.settings.xml

@ -2,10 +2,10 @@
<project>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1234997868" name="Debug">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider-reference id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1512404041332716147" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1406965914883238806" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
@ -13,10 +13,10 @@
</configuration>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.678807789" name="Release">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider-reference id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1512404041332716147" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1406965914883238806" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

84316
Debug/STM32F429GT6.list
File diff suppressed because it is too large
View File

35
Debug/User/BSP/LED/exti_key_manager.cyclo

@ -1,15 +1,20 @@
../User/BSP/LED/exti_key_manager.cpp:27:17:static ExtiKeyManager* ExtiKeyManager::ins() 2
../User/BSP/LED/exti_key_manager.cpp:34:1:ExtiKeyManager::ExtiKeyManager() 1
../User/BSP/LED/exti_key_manager.cpp:41:1:ExtiKeyManager::~ExtiKeyManager() 2
../User/BSP/LED/exti_key_manager.cpp:47:6:static bool ExtiKeyManager::isPinStateTriggered(uint16_t, bool) 4
../User/BSP/LED/exti_key_manager.cpp:58:6:static bool ExtiKeyManager::isPinTriggered(uint16_t) 3
../User/BSP/LED/exti_key_manager.cpp:68:15:static GPIO_TypeDef* ExtiKeyManager::getPortByPin(uint16_t) 3
../User/BSP/LED/exti_key_manager.cpp:77:17:void HAL_GPIO_EXTI_Callback(uint16_t) 2
../User/BSP/LED/exti_key_manager.cpp:86:6:static void ExtiKeyManager::handleInterrupt(uint16_t, GPIO_PinState) 3
../User/BSP/LED/exti_key_manager.cpp:94:6:static void ExtiKeyManager::handleKeyInterrupts(void*) 3
../User/BSP/LED/exti_key_manager.cpp:109:6:void ExtiKeyManager::processKeyEvent(uint16_t, bool) 29
../User/BSP/LED/exti_key_manager.cpp:184:6:void EX_GPIO_Init() 1
../User/BSP/LED/exti_key_manager.cpp:216:17:void EXTI9_5_IRQHandler() 1
../User/BSP/LED/exti_key_manager.cpp:222:17:void EXTI15_10_IRQHandler() 1
../User/BSP/LED/exti_key_manager.cpp:228:21:uint16_t getORIGINPin(uint32_t) 5
../User/BSP/LED/exti_key_manager.cpp:241:10:uint16_t getAxisLimitPin(uint32_t) 5
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:28:7:iflytop::TMC51X0::~TMC51X0() 1
../User/BSP/base/apphardware.hpp:26:7:iflytop::AppHardware::~AppHardware() 1
../User/BSP/base/apphardware.hpp:81:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:80:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/LED/exti_key_manager.cpp:32:17:static ExtiKeyManager* ExtiKeyManager::ins() 2
../User/BSP/LED/exti_key_manager.cpp:39:1:ExtiKeyManager::ExtiKeyManager() 1
../User/BSP/LED/exti_key_manager.cpp:46:1:ExtiKeyManager::~ExtiKeyManager() 2
../User/BSP/LED/exti_key_manager.cpp:52:6:static bool ExtiKeyManager::isPinStateTriggered(uint16_t, bool) 4
../User/BSP/LED/exti_key_manager.cpp:63:6:static bool ExtiKeyManager::isPinTriggered(uint16_t) 3
../User/BSP/LED/exti_key_manager.cpp:73:15:static GPIO_TypeDef* ExtiKeyManager::getPortByPin(uint16_t) 3
../User/BSP/LED/exti_key_manager.cpp:82:17:void HAL_GPIO_EXTI_Callback(uint16_t) 2
../User/BSP/LED/exti_key_manager.cpp:91:6:static void ExtiKeyManager::handleInterrupt(uint16_t, GPIO_PinState) 3
../User/BSP/LED/exti_key_manager.cpp:99:6:static void ExtiKeyManager::handleKeyInterrupts(void*) 6
../User/BSP/LED/exti_key_manager.cpp:125:6:void ExtiKeyManager::processKeyEvent(uint16_t, bool) 41
../User/BSP/LED/exti_key_manager.cpp:242:6:void EX_GPIO_Init() 1
../User/BSP/LED/exti_key_manager.cpp:292:17:void EXTI0_IRQHandler() 1
../User/BSP/LED/exti_key_manager.cpp:296:17:void EXTI9_5_IRQHandler() 1
../User/BSP/LED/exti_key_manager.cpp:302:17:void EXTI15_10_IRQHandler() 1
../User/BSP/LED/exti_key_manager.cpp:309:21:uint16_t getORIGINPin(uint32_t) 5
../User/BSP/LED/exti_key_manager.cpp:322:10:uint16_t getAxisLimitPin(uint32_t) 5

16
Debug/User/BSP/LED/high_voltage_pack.cyclo

@ -1,9 +1,9 @@
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/std_abs.h:56:3:long int std::abs(long int) 1
../User/BSP/LED/high_voltage_pack.cpp:11:1:HighVoltagePack::HighVoltagePack() 1
../User/BSP/LED/high_voltage_pack.cpp:13:6:void HighVoltagePack::init(bool) 1
../User/BSP/LED/high_voltage_pack.cpp:19:6:void HighVoltagePack::turnOnWithVoltage(int32_t) 1
../User/BSP/LED/high_voltage_pack.cpp:27:6:void HighVoltagePack::turnOnPower() 1
../User/BSP/LED/high_voltage_pack.cpp:32:6:void HighVoltagePack::turnOffPower() 1
../User/BSP/LED/high_voltage_pack.cpp:39:6:void HighVoltagePack::setDutyCycle(uint32_t) const 3
../User/BSP/LED/high_voltage_pack.cpp:51:5:int HighVoltagePack::calculateDutyCycle(int) const 4
../User/BSP/LED/high_voltage_pack.cpp:67:6:static void HighVoltagePack::initGPIO() 1
../User/BSP/LED/high_voltage_pack.cpp:13:1:HighVoltagePack::HighVoltagePack() 1
../User/BSP/LED/high_voltage_pack.cpp:15:6:void HighVoltagePack::init(bool) 1
../User/BSP/LED/high_voltage_pack.cpp:21:6:void HighVoltagePack::turnOnWithVoltage(int32_t) 2
../User/BSP/LED/high_voltage_pack.cpp:32:6:void HighVoltagePack::turnOnPower() 1
../User/BSP/LED/high_voltage_pack.cpp:37:6:void HighVoltagePack::turnOffPower() 1
../User/BSP/LED/high_voltage_pack.cpp:45:6:void HighVoltagePack::setDutyCycle(uint32_t) const 6
../User/BSP/LED/high_voltage_pack.cpp:61:5:int HighVoltagePack::calculateDutyCycle(int) const 4
../User/BSP/LED/high_voltage_pack.cpp:77:6:static void HighVoltagePack::initGPIO() 1

1
Debug/User/BSP/LED/led.cyclo

@ -1 +1,2 @@
../User/BSP/LED/led.c:7:6:LED_Init 1
../User/BSP/LED/led.c:57:6:tri_color_light 5

13
Debug/User/BSP/LED/pump_controller.cyclo

@ -3,11 +3,12 @@
../User/BSP/LED/pump_controller.cpp:17:6:void PumpController::init() 1
../User/BSP/LED/pump_controller.cpp:41:6:void PumpController::powerOn() 1
../User/BSP/LED/pump_controller.cpp:47:6:void PumpController::powerOff() 1
../User/BSP/LED/pump_controller.cpp:53:6:void PumpController::setFlowSpeed(double) 8
../User/BSP/LED/pump_controller.cpp:74:6:void PumpController::setDirection(bool) 2
../User/BSP/LED/pump_controller.cpp:82:6:bool PumpController::isNoraml() 1
../User/BSP/LED/pump_controller.cpp:87:6:void PumpController::openPwm() 1
../User/BSP/LED/pump_controller.cpp:91:6:void PumpController::closePwm() 1
../User/BSP/LED/pump_controller.cpp:99:9:int32_t PumpController::calculateFrequency(double) const 1
../User/BSP/LED/pump_controller.cpp:53:6:void PumpController::setFlowSpeed(double) 9
../User/BSP/LED/pump_controller.cpp:76:6:void PumpController::moveWithFlowSpeed(double) 8
../User/BSP/LED/pump_controller.cpp:97:6:void PumpController::setDirection(bool) 2
../User/BSP/LED/pump_controller.cpp:105:6:bool PumpController::isNoraml() 1
../User/BSP/LED/pump_controller.cpp:110:6:void PumpController::openPwm() 1
../User/BSP/LED/pump_controller.cpp:114:6:void PumpController::closePwm() 1
../User/BSP/LED/pump_controller.cpp:122:9:int32_t PumpController::calculateFrequency(double) const 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_algobase.h:254:5:constexpr const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = double] 2
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_algobase.h:230:5:constexpr const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = double] 2

30
Debug/User/BSP/base/apphardware.cyclo

@ -4,18 +4,24 @@
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:25:3:iflytop::TMC51X0Cfg::TMC51X0Cfg() 1
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:28:7:iflytop::TMC51X0::~TMC51X0() 1
../User/BSP/base/apphardware.hpp:26:7:iflytop::AppHardware::~AppHardware() 1
../User/BSP/base/apphardware.hpp:79:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:78:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/base/apphardware.hpp:81:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:80:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/components/tmcdriver/tmc51x0/../tmc/tmc_reg_cache.hpp:28:7:constexpr iflytop::TMCRegCache::TMCRegCache() 1
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:28:7:iflytop::TMC51X0::TMC51X0() 1
../User/BSP/base/apphardware.hpp:17:7:iflytop::ID::ID() 1
../User/BSP/base/apphardware.cpp:15:1:iflytop::AppHardware::AppHardware() 1
../User/BSP/base/apphardware.cpp:19:6:void iflytop::AppHardware::initialize() 8
../User/BSP/base/apphardware.cpp:101:6:bool iflytop::AppHardware::isHardInitOk() 1
../User/BSP/base/apphardware.cpp:103:6:void iflytop::AppHardware::SystemPowerOn() 3
../User/BSP/base/apphardware.cpp:123:6:void iflytop::AppHardware::SystemPowerOff() 3
../User/BSP/base/apphardware.cpp:154:6:void iflytop::AppHardware::setE_Stop(bool) 1
../User/BSP/base/apphardware.cpp:158:6:bool iflytop::AppHardware::isE_Stop() 1
../User/BSP/base/apphardware.cpp:162:6:void iflytop::AppHardware::toggleLaunched() 1
../User/BSP/base/apphardware.cpp:166:6:bool iflytop::AppHardware::isLaunched() 1
../User/BSP/base/apphardware.cpp:170:6:bool iflytop::AppHardware::isStarted() 1
../User/BSP/base/apphardware.cpp:15:1:iflytop::AppHardware::AppHardware() 3
../User/BSP/base/apphardware.cpp:24:6:void iflytop::AppHardware::initialize() 6
../User/BSP/base/apphardware.cpp:123:6:bool iflytop::AppHardware::isHardInitOk() 1
../User/BSP/base/apphardware.cpp:125:6:void iflytop::AppHardware::SystemPowerOn() 3
../User/BSP/base/apphardware.cpp:137:6:void iflytop::AppHardware::SystemPowerOff(bool) 4
../User/BSP/base/apphardware.cpp:167:6:void iflytop::AppHardware::setE_Stop(bool) 1
../User/BSP/base/apphardware.cpp:171:6:bool iflytop::AppHardware::isE_Stop() 1
../User/BSP/base/apphardware.cpp:175:6:void iflytop::AppHardware::toggleLaunched() 1
../User/BSP/base/apphardware.cpp:179:6:bool iflytop::AppHardware::isLaunched() 1
../User/BSP/base/apphardware.cpp:183:6:bool iflytop::AppHardware::isStarted() 1
../User/BSP/base/apphardware.cpp:187:6:void iflytop::AppHardware::setFlowSpeed(uint16_t) 1
../User/BSP/base/apphardware.cpp:192:6:void iflytop::AppHardware::setHumidity(int16_t) 1
../User/BSP/base/apphardware.cpp:197:6:void iflytop::AppHardware::setTemp(int16_t) 1
../User/BSP/base/apphardware.cpp:202:10:uint16_t iflytop::AppHardware::getFlowSpeed() 1
../User/BSP/base/apphardware.cpp:207:9:int16_t iflytop::AppHardware::getHumidity() 1
../User/BSP/base/apphardware.cpp:212:9:int16_t iflytop::AppHardware::getTemp() 1

13
Debug/User/BSP/can_control/can_controller.cyclo

@ -1,5 +1,4 @@
../User/BSP/can_control/can_message.h:13:2:CanMessage::CanMessage() 1
../User/BSP/can_control/can_message.h:25:7:void CanMessage::cloneTo(CanMessage*) const 2
../User/BSP/can_control/can_controller.cpp:20:6:void canMessageProcessingTask(void*) 3
../User/BSP/can_control/can_controller.cpp:43:1:CANSystemResourceManager::CANSystemResourceManager() 6
../User/BSP/can_control/can_controller.cpp:86:1:CANSystemResourceManager::~CANSystemResourceManager() 4
@ -8,9 +7,9 @@
../User/BSP/can_control/can_controller.cpp:148:1:CanController::~CanController() 1
../User/BSP/can_control/can_controller.cpp:152:6:bool CanController::start(CAN_HandleTypeDef*) 7
../User/BSP/can_control/can_controller.cpp:213:6:void CanController::stop() 4
../User/BSP/can_control/can_controller.cpp:225:6:bool CanController::sendMessage(const CanMessage&) 3
../User/BSP/can_control/can_controller.cpp:241:6:static void CanController::canTxTask(void*) 6
../User/BSP/can_control/can_controller.cpp:282:6:static void CanController::canParserTask(void*) 3
../User/BSP/can_control/can_controller.cpp:296:1:void __static_initialization_and_destruction_0(int, int) 5
../User/BSP/can_control/can_controller.cpp:296:1:cpp) 1
../User/BSP/can_control/can_controller.cpp:296:1:cpp) 1
../User/BSP/can_control/can_controller.cpp:225:6:bool CanController::sendMessage(const CanMessage&) 1
../User/BSP/can_control/can_controller.cpp:243:6:static void CanController::canTxTask(void*) 6
../User/BSP/can_control/can_controller.cpp:284:6:static void CanController::canParserTask(void*) 3
../User/BSP/can_control/can_controller.cpp:298:1:void __static_initialization_and_destruction_0(int, int) 5
../User/BSP/can_control/can_controller.cpp:298:1:cpp) 1
../User/BSP/can_control/can_controller.cpp:298:1:cpp) 1

8
Debug/User/BSP/can_control/can_protocol_parser.cyclo

@ -2,14 +2,14 @@
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/std_abs.h:56:3:long int std::abs(long int) 1
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:28:7:iflytop::TMC51X0::~TMC51X0() 1
../User/BSP/base/apphardware.hpp:26:7:iflytop::AppHardware::~AppHardware() 1
../User/BSP/base/apphardware.hpp:79:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:78:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/base/apphardware.hpp:86:12:iflytop::TMC51X0* iflytop::AppHardware::getPump(int32_t) 4
../User/BSP/base/apphardware.hpp:81:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:80:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/base/apphardware.hpp:88:12:iflytop::TMC51X0* iflytop::AppHardware::getPump(int32_t) 4
../User/BSP/can_control/can_protocol_parser.cpp:18:5:int shortArrayToLittleEndianInt(short int*) 1
../User/BSP/can_control/can_protocol_parser.cpp:31:6:void intToShortArray(int32_t, uint16_t*) 1
../User/BSP/can_control/can_protocol_parser.cpp:37:9:int32_t getMotorIndex(uint32_t) 5
../User/BSP/can_control/can_protocol_parser.cpp:50:1:CanProtocolParser::CanProtocolParser() 1
../User/BSP/can_control/can_protocol_parser.cpp:53:6:static void CanProtocolParser::parseMessage(const CanMessage*) 19
../User/BSP/can_control/can_protocol_parser.cpp:53:6:static void CanProtocolParser::parseMessage(const CanMessage*) 1
../User/BSP/can_control/can_protocol_parser.cpp:164:12:static CanMessage CanProtocolParser::handle_write_coil(uint8_t, uint32_t, uint8_t, uint8_t) 41
../User/BSP/can_control/can_protocol_parser.cpp:324:12:static CanMessage CanProtocolParser::handle_write_regsiter(uint8_t, uint32_t, uint8_t, short int) 10
../User/BSP/can_control/can_protocol_parser.cpp:363:12:static CanMessage CanProtocolParser::handle_write_multi_regsiter(uint8_t, uint32_t, uint8_t, short int*, uint8_t) 23

63
Debug/User/BSP/status/elc_motor.cyclo

@ -1,36 +1,35 @@
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/std_abs.h:56:3:long int std::abs(long int) 1
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:28:7:iflytop::TMC51X0::~TMC51X0() 1
../User/BSP/base/apphardware.hpp:26:7:iflytop::AppHardware::~AppHardware() 1
../User/BSP/base/apphardware.hpp:79:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:78:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/base/apphardware.hpp:86:12:iflytop::TMC51X0* iflytop::AppHardware::getPump(int32_t) 4
../User/BSP/base/apphardware.hpp:81:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:80:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/base/apphardware.hpp:88:12:iflytop::TMC51X0* iflytop::AppHardware::getPump(int32_t) 4
../User/BSP/status/elc_motor.cpp:24:6:static void ECLMotor::readTimerCallback(void*) 1
../User/BSP/status/elc_motor.cpp:30:6:void ECLMotor::readMotorPosition() 12
../User/BSP/status/elc_motor.cpp:141:6:void ECLMotor::setReadRate(ReadRate) 5
../User/BSP/status/elc_motor.cpp:162:1:ECLMotor::ECLMotor() 7
../User/BSP/status/elc_motor.cpp:218:1:ECLMotor::~ECLMotor() 3
../User/BSP/status/elc_motor.cpp:231:9:int32_t ECLMotor::getPosition() 1
../User/BSP/status/elc_motor.cpp:239:6:void ECLMotor::setTargetPosition(int32_t) 4
../User/BSP/status/elc_motor.cpp:301:6:void ECLMotor::setShiftPosition(int32_t) 4
../User/BSP/status/elc_motor.cpp:318:6:void ECLMotor::moveToWithSpeed(int32_t, int32_t) 4
../User/BSP/status/elc_motor.cpp:337:6:void ECLMotor::setSpeed(int32_t) 3
../User/BSP/status/elc_motor.cpp:357:9:int32_t ECLMotor::getRTSpeed() 1
../User/BSP/status/elc_motor.cpp:365:6:bool ECLMotor::isMoving() 1
../User/BSP/status/elc_motor.cpp:373:9:int32_t ECLMotor::getEncoderPosition() 1
../User/BSP/status/elc_motor.cpp:381:6:void ECLMotor::setEncoderPosition(int32_t) 1
../User/BSP/status/elc_motor.cpp:388:6:void ECLMotor::setMoving(bool) 1
../User/BSP/status/elc_motor.cpp:394:6:void ECLMotor::setMotorIndex(int32_t) 1
../User/BSP/status/elc_motor.cpp:398:6:bool ECLMotor::isHomed() 1
../User/BSP/status/elc_motor.cpp:402:6:bool ECLMotor::isHoming() 1
../User/BSP/status/elc_motor.cpp:407:6:void ECLMotor::runhomeSuc() 3
../User/BSP/status/elc_motor.cpp:424:6:void ECLMotor::startMoveHome() 12
../User/BSP/status/elc_motor.cpp:454:6:void ECLMotor::setHomeSeqId(uint8_t) 1
../User/BSP/status/elc_motor.cpp:458:6:void ECLMotor::setMoveFinishSeqId(uint8_t) 1
../User/BSP/status/elc_motor.cpp:462:6:static void ECLMotor::homingTask(void*) 28
../User/BSP/status/elc_motor.cpp:586:6:void ECLMotor::moveToHome() 1
../User/BSP/status/elc_motor.cpp:611:6:void ECLMotor::runZeroLimit(bool) 9
../User/BSP/status/elc_motor.cpp:660:6:void ECLMotor::runEndLimit(bool) 2
../User/BSP/status/elc_motor.cpp:668:6:void ECLMotor::runE_Stop() 1
../User/BSP/status/elc_motor.cpp:673:6:void ECLMotor::runPause() 1
../User/BSP/status/elc_motor.cpp:678:6:void ECLMotor::runStop() 2
../User/BSP/status/elc_motor.cpp:693:6:void ECLMotor::ECL_Rotate(int32_t, bool) 7
../User/BSP/status/elc_motor.cpp:30:6:void ECLMotor::readMotorPosition() 8
../User/BSP/status/elc_motor.cpp:87:6:void ECLMotor::startReadTimer() 1
../User/BSP/status/elc_motor.cpp:91:1:ECLMotor::ECLMotor() 7
../User/BSP/status/elc_motor.cpp:144:1:ECLMotor::~ECLMotor() 3
../User/BSP/status/elc_motor.cpp:157:9:int32_t ECLMotor::getPosition() 1
../User/BSP/status/elc_motor.cpp:165:6:void ECLMotor::setTargetPosition(int32_t) 4
../User/BSP/status/elc_motor.cpp:181:6:void ECLMotor::setShiftPosition(int32_t) 4
../User/BSP/status/elc_motor.cpp:197:6:void ECLMotor::moveToWithSpeed(int32_t, int32_t) 4
../User/BSP/status/elc_motor.cpp:215:6:void ECLMotor::setSpeed(int32_t) 3
../User/BSP/status/elc_motor.cpp:230:9:int32_t ECLMotor::getRTSpeed() 1
../User/BSP/status/elc_motor.cpp:238:6:bool ECLMotor::isMoveFinished() 1
../User/BSP/status/elc_motor.cpp:246:9:int32_t ECLMotor::getEncoderPosition() 1
../User/BSP/status/elc_motor.cpp:254:6:void ECLMotor::setEncoderPosition(int32_t) 1
../User/BSP/status/elc_motor.cpp:260:6:void ECLMotor::setMotorIndex(int32_t) 1
../User/BSP/status/elc_motor.cpp:264:6:bool ECLMotor::isHomeInit() 1
../User/BSP/status/elc_motor.cpp:268:6:bool ECLMotor::isHomeSuc() 1
../User/BSP/status/elc_motor.cpp:275:6:void ECLMotor::runhomeSuc() 3
../User/BSP/status/elc_motor.cpp:300:6:void ECLMotor::startMoveHome() 8
../User/BSP/status/elc_motor.cpp:326:6:void ECLMotor::setHomeSeqId(uint8_t) 1
../User/BSP/status/elc_motor.cpp:330:6:void ECLMotor::setMoveFinishSeqId(uint8_t) 1
../User/BSP/status/elc_motor.cpp:334:6:static void ECLMotor::homingTask(void*) 18
../User/BSP/status/elc_motor.cpp:425:6:void ECLMotor::moveToHome() 1
../User/BSP/status/elc_motor.cpp:429:6:void ECLMotor::runZeroLimit(bool) 9
../User/BSP/status/elc_motor.cpp:477:6:void ECLMotor::runEndLimit(bool) 2
../User/BSP/status/elc_motor.cpp:485:6:void ECLMotor::runE_Stop() 1
../User/BSP/status/elc_motor.cpp:494:6:void ECLMotor::runPause() 1
../User/BSP/status/elc_motor.cpp:499:6:void ECLMotor::runStop() 2
../User/BSP/status/elc_motor.cpp:512:6:void ECLMotor::ECL_Rotate(int32_t, bool) 7

34
Debug/User/BSP/status/elc_motor_helper.cyclo

@ -1,17 +1,17 @@
../User/BSP/status/elc_motor_helper.cpp:30:6:static bool ELCMotorHelper::isFlip(int) 2
../User/BSP/status/elc_motor_helper.cpp:37:9:static int32_t ELCMotorHelper::getMMPerSecLimit(int) 5
../User/BSP/status/elc_motor_helper.cpp:50:9:static int32_t ELCMotorHelper::getRPerMinLimit(int) 5
../User/BSP/status/elc_motor_helper.cpp:63:9:static int32_t ELCMotorHelper::getMMPosLimit(int) 5
../User/BSP/status/elc_motor_helper.cpp:76:9:static int32_t ELCMotorHelper::getEncLimit(int) 2
../User/BSP/status/elc_motor_helper.cpp:83:9:static int32_t ELCMotorHelper::getRPerMinLowSpeed(int) 2
../User/BSP/status/elc_motor_helper.cpp:90:9:static int32_t ELCMotorHelper::getRPerMinMiddleSpeed(int) 2
../User/BSP/status/elc_motor_helper.cpp:97:9:static int32_t ELCMotorHelper::getRPerMinHighSpeed(int) 2
../User/BSP/status/elc_motor_helper.cpp:104:9:static int32_t ELCMotorHelper::getLowStepDistance(int) 5
../User/BSP/status/elc_motor_helper.cpp:117:9:static int32_t ELCMotorHelper::getMiddleStepDistance(int) 5
../User/BSP/status/elc_motor_helper.cpp:130:9:static int32_t ELCMotorHelper::getHighStepDistance(int) 5
../User/BSP/status/elc_motor_helper.cpp:143:10:static uint16_t ELCMotorHelper::getOriginPin(int) 5
../User/BSP/status/elc_motor_helper.cpp:156:6:static bool ELCMotorHelper::isAtOrigin(int) 2
../User/BSP/status/elc_motor_helper.cpp:165:9:static int32_t ELCMotorHelper::getForwordMoveStep(int) 5
../User/BSP/status/elc_motor_helper.cpp:178:15:static DistanceLevel ELCMotorHelper::getDistanceLevel(int, int32_t, int32_t) 3
../User/BSP/status/elc_motor_helper.cpp:191:6:static bool ELCMotorHelper::isLockRotor(int, int32_t, int32_t) 2
../User/BSP/status/elc_motor_helper.cpp:200:6:static bool ELCMotorHelper::isValidMotorIndex(int) 3
../User/BSP/status/elc_motor_helper.cpp:42:6:static bool ELCMotorHelper::isFlip(int) 2
../User/BSP/status/elc_motor_helper.cpp:49:9:static int32_t ELCMotorHelper::getMMPerSecLimit(int) 5
../User/BSP/status/elc_motor_helper.cpp:62:9:static int32_t ELCMotorHelper::getRPerMinLimit(int) 5
../User/BSP/status/elc_motor_helper.cpp:75:9:static int32_t ELCMotorHelper::getMMPosLimit(int) 5
../User/BSP/status/elc_motor_helper.cpp:88:9:static int32_t ELCMotorHelper::getEncLimit(int) 2
../User/BSP/status/elc_motor_helper.cpp:95:9:static int32_t ELCMotorHelper::getRPerMinLowSpeed(int) 2
../User/BSP/status/elc_motor_helper.cpp:102:9:static int32_t ELCMotorHelper::getRPerMinMiddleSpeed(int) 2
../User/BSP/status/elc_motor_helper.cpp:109:9:static int32_t ELCMotorHelper::getRPerMinHighSpeed(int) 2
../User/BSP/status/elc_motor_helper.cpp:116:9:static int32_t ELCMotorHelper::getLowStepDistance(int) 5
../User/BSP/status/elc_motor_helper.cpp:129:9:static int32_t ELCMotorHelper::getMiddleStepDistance(int) 5
../User/BSP/status/elc_motor_helper.cpp:142:9:static int32_t ELCMotorHelper::getHighStepDistance(int) 5
../User/BSP/status/elc_motor_helper.cpp:155:10:static uint16_t ELCMotorHelper::getOriginPin(int) 5
../User/BSP/status/elc_motor_helper.cpp:168:6:static bool ELCMotorHelper::isAtOrigin(int) 2
../User/BSP/status/elc_motor_helper.cpp:177:9:static int32_t ELCMotorHelper::getForwordMoveStep(int) 5
../User/BSP/status/elc_motor_helper.cpp:190:15:static DistanceLevel ELCMotorHelper::getDistanceLevel(int, int32_t, int32_t) 3
../User/BSP/status/elc_motor_helper.cpp:203:6:static bool ELCMotorHelper::isLockRotor(int, int32_t, int32_t) 2
../User/BSP/status/elc_motor_helper.cpp:212:6:static bool ELCMotorHelper::isValidMotorIndex(int) 3

1
Debug/User/BSP/status/motor_manager.cyclo

@ -7,4 +7,3 @@
../User/BSP/status/motor_manager.cpp:53:9:uint8_t MotorManager::getMotorMovingStatus(int) 3
../User/BSP/status/motor_manager.cpp:61:9:int32_t MotorManager::getMotorEncoderPosition(int) 3
../User/BSP/status/motor_manager.cpp:69:6:void MotorManager::setMotorEncoderPosition(int, int32_t) 3
../User/BSP/status/motor_manager.cpp:77:6:void MotorManager::setMotorMoving(int, bool) 3

24
Debug/User/BSP/uart_cmd/cmd_process_service_process.cyclo

@ -1,20 +1,27 @@
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/std_abs.h:56:3:long int std::abs(long int) 1
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:28:7:iflytop::TMC51X0::~TMC51X0() 1
../User/BSP/base/apphardware.hpp:26:7:iflytop::AppHardware::~AppHardware() 1
../User/BSP/base/apphardware.hpp:79:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:78:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/uart_cmd/cmd_process_service_process.cpp:47:9:int32_t getMotorIndex(uint16_t) 5
../User/BSP/base/apphardware.hpp:81:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:80:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/BSP/base/apphardware.hpp:88:12:iflytop::TMC51X0* iflytop::AppHardware::getPump(int32_t) 4
../User/BSP/uart_cmd/cmd_process_service_process.cpp:30:9:int32_t getMotorIndex(uint16_t) 5
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:133:14:std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_Vector_impl::~_Vector_impl() 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:312:7:std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:526:7:std::vector<_Tp, _Alloc>::vector() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
../User/BSP/uart_cmd/cmd_process_service_process.cpp:67:6:void CmdProcessService_Process(uint8_t*, size_t) 9
../User/BSP/uart_cmd/cmd_process_service_process.cpp:164:22:std::vector<unsigned char> handle_write_coil(uint16_t, uint16_t, uint16_t, uint16_t) 41
../User/BSP/uart_cmd/cmd_process_service_process.cpp:51:6:void CmdProcessService_Process(uint8_t*, size_t) 25
../User/BSP/uart_cmd/cmd_process_service_process.cpp:155:22:std::vector<unsigned char> handle_write_coil(uint16_t, uint16_t, uint16_t, uint16_t) 41
../User/BSP/uart_cmd/cmd_process_service_process.cpp:325:22:std::vector<unsigned char> handle_write_regsiter(uint16_t, uint16_t, uint16_t, uint16_t) 9
../User/BSP/uart_cmd/cmd_process_service_process.cpp:365:22:std::vector<unsigned char> handle_write_multi_regsiter(uint16_t, uint16_t, uint16_t, uint16_t*, uint16_t) 25
../User/BSP/uart_cmd/cmd_process_service_process.cpp:461:22:std::vector<unsigned char> handle_read_coils(uint16_t, uint16_t, uint16_t, uint16_t) 22
../User/BSP/uart_cmd/cmd_process_service_process.cpp:557:22:std::vector<unsigned char> handle_read_registers(uint16_t, uint16_t, uint16_t, uint16_t) 27
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:137:2:std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/allocator.h:174:7:std::allocator< <template-parameter-1-1> >::~allocator() [with _Tp = unsigned char] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:364:7:std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:728:7:std::vector<_Tp, _Alloc>::~vector() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:761:7:std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:987:7:std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:1083:7:bool std::vector<_Tp, _Alloc>::empty() const [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:1255:7:_Tp* std::vector<_Tp, _Alloc>::data() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:987:7:std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/allocator.h:156:7:std::allocator< <template-parameter-1-1> >::allocator() [with _Tp = unsigned char] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:99:2:std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::_Vector_impl_data() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\arm-none-eabi\include\c++\12.3.1\bits\new_allocator.h:90:7:std::__new_allocator<_Tp>::~__new_allocator() [with _Tp = unsigned char] 1
@ -23,6 +30,9 @@ C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.external
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/alloc_traits.h:847:5:void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [with _ForwardIterator = unsigned char*; _Tp = unsigned char] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/move.h:104:5:constexpr typename std::remove_reference<_Tp>::type&& std::move(_Tp&&) [with _Tp = vector<unsigned char>&] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:1954:7:void std::vector<_Tp, _Alloc>::_M_move_assign(std::vector<_Tp, _Alloc>&&, std::true_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:878:7:std::vector<_Tp, _Alloc>::const_iterator std::vector<_Tp, _Alloc>::begin() const [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:898:7:std::vector<_Tp, _Alloc>::const_iterator std::vector<_Tp, _Alloc>::end() const [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_iterator.h:1221:5:bool __gnu_cxx::operator==(const __normal_iterator<_Iterator, _Container>&, const __normal_iterator<_Iterator, _Container>&) [with _Iterator = const unsigned char*; _Container = std::vector<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:1985:2:_Up* std::vector<_Tp, _Alloc>::_M_data_ptr(_Up*) const [with _Up = unsigned char; _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/allocator.h:159:7:std::allocator< <template-parameter-1-1> >::allocator(const std::allocator< <template-parameter-1-1> >&) [with _Tp = unsigned char] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\arm-none-eabi\include\c++\12.3.1\bits\new_allocator.h:80:7:std::__new_allocator<_Tp>::__new_allocator() [with _Tp = unsigned char] 1
@ -32,6 +42,8 @@ C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.external
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:537:7:std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:122:2:void std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data::_M_swap_data(std::_Vector_base<_Tp, _Alloc>::_Vector_impl_data&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/alloc_traits.h:710:5:constexpr void std::__alloc_on_move(_Alloc&, _Alloc&) [with _Alloc = allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_iterator.h:1072:7:__gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = const unsigned char*; _Container = std::vector<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_iterator.h:1158:7:const _Iterator& __gnu_cxx::__normal_iterator<_Iterator, _Container>::base() const [with _Iterator = const unsigned char*; _Container = std::vector<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\arm-none-eabi\include\c++\12.3.1\bits\new_allocator.h:83:7:std::__new_allocator<_Tp>::__new_allocator(const std::__new_allocator<_Tp>&) [with _Tp = unsigned char] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\arm-none-eabi\include\c++\12.3.1\bits\new_allocator.h:142:7:void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = unsigned char] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\arm-none-eabi\include\c++\12.3.1\bits\stl_construct.h:172:9:static void std::_Destroy_aux<true>::__destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = unsigned char*] 1

8
Debug/User/BSP/uart_cmd/cmd_receive_service.cyclo

@ -1,4 +1,4 @@
../User/BSP/uart_cmd/cmd_receive_service.c:16:13:processCMDUartRxData 1
../User/BSP/uart_cmd/cmd_receive_service.c:40:13:exhal_uart_on_data 3
../User/BSP/uart_cmd/cmd_receive_service.c:49:6:cmdUartLoopTask 2
../User/BSP/uart_cmd/cmd_receive_service.c:64:6:CmdReceiveService_Init 2
../User/BSP/uart_cmd/cmd_receive_service.c:17:13:processCMDUartRxData 1
../User/BSP/uart_cmd/cmd_receive_service.c:21:13:exhal_uart_on_data 2
../User/BSP/uart_cmd/cmd_receive_service.c:30:6:cmdUartLoopTask 2
../User/BSP/uart_cmd/cmd_receive_service.c:45:6:CmdReceiveService_Init 1

4
Debug/User/BSP/uart_cmd/stm32_exhal_uart.cyclo

@ -8,14 +8,14 @@
../User/BSP/uart_cmd/stm32_exhal_uart.c:72:6:HAL_UART_ErrorCallback 1
../User/BSP/uart_cmd/stm32_exhal_uart.c:78:20:processWhenReceiveToIdleDMA 5
../User/BSP/uart_cmd/stm32_exhal_uart.c:89:20:processWhenTransmitBlockDmaPendingFlag 3
../User/BSP/uart_cmd/stm32_exhal_uart.c:97:20:processWhenAutoRead 7
../User/BSP/uart_cmd/stm32_exhal_uart.c:97:20:processWhenAutoRead 6
../User/BSP/uart_cmd/stm32_exhal_uart.c:113:13:onUartEvent 4
../User/BSP/uart_cmd/stm32_exhal_uart.c:135:13:HAL_UARTEx_ReceiveToIdle_DMA_force 2
../User/BSP/uart_cmd/stm32_exhal_uart.c:143:19:EXHAL_UART_BindUart 3
../User/BSP/uart_cmd/stm32_exhal_uart.c:156:19:EXHAL_UART_BindRS485Uart 3
../User/BSP/uart_cmd/stm32_exhal_uart.c:171:19:EXHAL_UART_RegListener 1
../User/BSP/uart_cmd/stm32_exhal_uart.c:177:19:EXHAL_UART_TransmitBlock_DMA 3
../User/BSP/uart_cmd/stm32_exhal_uart.c:194:42:clearUartRxCache 2
../User/BSP/uart_cmd/stm32_exhal_uart.c:194:42:clearUartRxCache 1
../User/BSP/uart_cmd/stm32_exhal_uart.c:206:19:EXHAL_UARTEx_ReceiveToIdle_DMA_Start 1
../User/BSP/uart_cmd/stm32_exhal_uart.c:223:19:EXHAL_UARTEx_ReceiveToIdle_DMA_Wait 4
../User/BSP/uart_cmd/stm32_exhal_uart.c:244:19:EXHAL_UARTEx_ReceiveToIdle_DMA 1

9
Debug/User/BSP/uart_control/modbus_rtu_protocol_factory.cyclo

@ -2,10 +2,11 @@ C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.external
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:312:7:std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:526:7:std::vector<_Tp, _Alloc>::vector() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:7:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createWriteSingleCoilResponse(uint16_t, uint8_t, uint16_t, bool) 2
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:37:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createReadCoilsResponse(uint16_t, uint8_t, uint16_t, uint16_t, const bool*) 6
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:70:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createReadHoldingRegistersResponse(uint16_t, uint8_t, uint16_t, uint16_t, const uint16_t*) 2
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:98:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createWriteSingleRegisterResponse(uint16_t, uint8_t, uint16_t, uint16_t) 1
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:123:10:static uint16_t ModbusRtuProtocolFactory::calculateCRC(const std::vector<unsigned char>&) 4
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:37:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createReadCoilsResponse(uint16_t, uint8_t, uint16_t, uint16_t, const bool*) 3
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:68:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createReadHoldingRegistersResponse(uint16_t, uint8_t, uint16_t, uint16_t, const uint16_t*) 2
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:96:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createWriteSingleRegisterResponse(uint16_t, uint8_t, uint16_t, uint16_t) 1
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:121:22:static std::vector<unsigned char> ModbusRtuProtocolFactory::createWriteMultipleRegistersResponse(uint16_t, uint8_t, uint16_t, uint16_t) 1
../User/BSP/uart_control/modbus_rtu_protocol_factory.cpp:147:10:static uint16_t ModbusRtuProtocolFactory::calculateCRC(const std::vector<unsigned char>&) 4
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:137:2:std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:1293:7:void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 1
C:\ST\STM32CubeIDE_1.17.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130\tools\bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:1276:7:void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] 2

14
Debug/User/app/app_core.cyclo

@ -1,8 +1,10 @@
../User/components/tmcdriver/tmc51x0/tmc51x0.hpp:28:7:iflytop::TMC51X0::~TMC51X0() 1
../User/BSP/base/apphardware.hpp:26:7:iflytop::AppHardware::~AppHardware() 1
../User/BSP/base/apphardware.hpp:79:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:78:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/app/app_core.cpp:32:6:void app_init() 4
../User/app/app_core.cpp:51:6:void app_task() 1
../User/app/app_core.cpp:100:6:void status_upload_timer_init() 6
../User/app/app_core.cpp:119:6:void status_upload_timer_callback(void*) 7
../User/BSP/base/apphardware.hpp:81:24:void __tcf_0() 1
../User/BSP/base/apphardware.hpp:80:23:static iflytop::AppHardware* iflytop::AppHardware::ins() 3
../User/app/app_core.cpp:47:6:void app_init() 8
../User/app/app_core.cpp:87:6:void app_task() 1
../User/app/app_core.cpp:106:6:void status_upload_timer_init() 6
../User/app/app_core.cpp:125:6:void status_upload_timer_callback(void*) 7
../User/app/app_core.cpp:208:6:void print_TMC5130DevStatusReg_t(iflytop::TMC5130DevStatusReg_t) 1
../User/app/app_core.cpp:225:6:void print_TMC5130GState_t(iflytop::TMC5130GState_t) 1

12
Debug/makefile

@ -94,6 +94,9 @@ default.size.stdout \
OBJDUMP_LIST += \
STM32F429GT6.list \
OBJCOPY_HEX += \
STM32F429GT6.hex \
# All Target
all: main-build
@ -117,12 +120,17 @@ STM32F429GT6.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
@echo 'Finished building: $@'
@echo ' '
STM32F429GT6.hex: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objcopy -O ihex $(EXECUTABLES) "STM32F429GT6.hex"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) STM32F429GT6.elf STM32F429GT6.list STM32F429GT6.map default.size.stdout
-$(RM) STM32F429GT6.elf STM32F429GT6.hex STM32F429GT6.list STM32F429GT6.map default.size.stdout
-@echo ' '
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_HEX)
fail-specified-linker-script-missing:
@echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'

1
Debug/sources.mk

@ -25,6 +25,7 @@ S_DEPS :=
CXXM_DEPS :=
C_DEPS :=
CC_DEPS :=
OBJCOPY_HEX :=
SIZE_OUTPUT :=
C++_DEPS :=
SU_FILES :=

4
User/BSP/LED/high_voltage_pack.cpp

@ -21,8 +21,8 @@ void HighVoltagePack::init(const bool isFlip) {
void HighVoltagePack::turnOnWithVoltage(int32_t voltage) {
volatege_ = voltage;
int32_t abs_voltage = std::abs(voltage);
if(abs_voltage > 3000) {
abs_voltage = 3000;
if(abs_voltage > 5000) {
abs_voltage = 5000;
}
this->dutyCycle_ = calculateDutyCycle(abs_voltage);
this->setDutyCycle(dutyCycle_);

11
User/BSP/LED/high_voltage_pack.h

@ -8,12 +8,21 @@
#define GY_POWER_CTR_PIN GPIO_PIN_7
#define GY_USE_TIM4 0 // TIM 4 通道与 其他通道有冲突
// PWM
#if GY_USE_TIM4
#define GY_PWM_PORT GPIOD
#define GY_PWM_PIN GPIO_PIN_14
//
// PWM控制的定时器相关
#define GY_PWM_TIMER_HANDLE TIM4
#define GY_PWM_TIMER_CHANNEL 3
#else
#define GY_PWM_PORT GPIOE
#define GY_PWM_PIN GPIO_PIN_14
// PWM控制的定时器相关宏
#define GY_PWM_TIMER_HANDLE TIM1
#define GY_PWM_TIMER_CHANNEL 4
#endif
//
#define MIN_VOLTAGE 0.0

6
User/BSP/LED/led.c

@ -46,9 +46,9 @@ void LED_Init(void)
// LED_KEY_ON;
LED_KEY_OFF;
// LED
LED_GREEN_ON;
LED_RED_ON;
LED_BLUE_ON;
LED_GREEN_OFF;
LED_GREEN_OFF;
LED_GREEN_OFF;
BEPPER_ALARM_OFF;
//
LIGHT_FLOOD_OFF;

39
User/BSP/base/apphardware.cpp

@ -14,6 +14,11 @@ extern SPI_HandleTypeDef hspi1;
AppHardware::AppHardware()
{
mutex_ = osMutexNew(NULL);
if (mutex_ == NULL) {
// 处理互斥锁创建失败
ZLOGI(TAG, "mutex_ create failed");
}
}
void AppHardware::initialize() {
@ -178,3 +183,37 @@ bool AppHardware::isLaunched() {
bool AppHardware::isStarted() {
return isStarted_;
}
void AppHardware::setFlowSpeed(uint16_t flowSpeed) {
osMutexAcquire(mutex_, osWaitForever);
osMutexRelease(mutex_);
}
void AppHardware::setHumidity(int16_t humidity) {
osMutexAcquire(mutex_, osWaitForever);
osMutexRelease(mutex_);
}
void AppHardware::setTemp(int16_t temp) {
osMutexAcquire(mutex_, osWaitForever);
osMutexRelease(mutex_);
}
uint16_t AppHardware::getFlowSpeed() {
osMutexAcquire(mutex_, osWaitForever);
osMutexRelease(mutex_);
}
int16_t AppHardware::getHumidity() {
osMutexAcquire(mutex_, osWaitForever);
osMutexRelease(mutex_);
}
int16_t AppHardware::getTemp() {
osMutexAcquire(mutex_, osWaitForever);
osMutexRelease(mutex_);
}

13
User/BSP/base/apphardware.hpp

@ -109,11 +109,24 @@ class AppHardware {
bool isStarted();
void setFlowSpeed(uint16_t flowSpeed);
void setHumidity(int16_t humidity);
void setTemp(int16_t temp);
uint16_t getFlowSpeed();
int16_t getHumidity();
int16_t getTemp();
private:
bool isLaunched_ { false };
bool isE_Stop_ { false };
bool isStarted_;
osMutexId_t mutex_; // 锁
uint16_t flowSpeed_; // 流速
int16_t humidity_; // 湿度
int16_t temp_; // 温度
};
} // namespace iflytop

2
User/BSP/status/elc_motor_helper.h

@ -6,7 +6,7 @@
#define ELC_MOTOR_HELPER_H
#include <cstdint>
#define MOTOR_REAL 0
#define MOTOR_REAL 1
/**
*

12
User/BSP/uart_cmd/cmd_process_service_process.cpp

@ -17,11 +17,11 @@
#include "LED/t_rh_iic.h"
#include "uart_control/modbus_rtu_protocol_factory.h"
using namespace iflytop;
#define TAG "UART PARSE"
#define HG_ENABLE 0 // 使能高压包
extern int shortArrayToLittleEndianInt(short input[2]);
extern void intToShortArray(int32_t value, uint16_t data[2]);
@ -270,6 +270,8 @@ std::vector<uint8_t> handle_write_coil(uint16_t cmdId, uint16_t slaveId, uint16_
#endif
break;
}
#if GY_USE_TIM4
#else
case PUMP_DRIVER_ADDRESS: {
if (value) {
// 开启注射泵驱动
@ -282,7 +284,9 @@ std::vector<uint8_t> handle_write_coil(uint16_t cmdId, uint16_t slaveId, uint16_
}
break;
}
#endif
case THREE_VALVE_ADDRESS_VT: {
#if TW_ENABLE
if (value) {
// 三通阀 ON_C
AppHardware::ins()->three_way_valve.setMode(ThreeWayValve::ON_C);
@ -292,13 +296,16 @@ std::vector<uint8_t> handle_write_coil(uint16_t cmdId, uint16_t slaveId, uint16_
AppHardware::ins()->three_way_valve.setMode(ThreeWayValve::OFF_C);
ZLOGI(TAG, "SET THREE VALVE MODE OFF_C");
}
#endif
break;
}
case THREE_VALVE_ADDRESS_POWER: {
// 三通阀 ON_OFF_NC
#if TW_ENABLE
AppHardware::ins()->three_way_valve.setMode(ThreeWayValve::ON_OFF_NC);
ZLOGI(TAG, "SET THREE VALVE MODE ON_OFF_NC");
break;
#endif
}
#endif
default: {
@ -426,6 +433,8 @@ std::vector<uint8_t> handle_write_multi_regsiter(uint16_t cmdId, uint16_t slaveI
}
break;
}
#if GY_USE_TIM4
#else
case PUMP_DRIVER_SPEED_ADDRESS: {
const int32_t i_flow = shortArrayToLittleEndianInt((short*)arr);
const double d_flow = i_flow * 0.01;
@ -440,6 +449,7 @@ std::vector<uint8_t> handle_write_multi_regsiter(uint16_t cmdId, uint16_t slaveI
ZLOGI(TAG, "SET PUMP SPEED ADDRESS %d", i_flow);
break;;
}
#endif
default: {
break;
}

2
User/BSP/uart_cmd/cmd_process_service_process.h

@ -5,6 +5,8 @@
#ifndef CMD_PROCESS_SERVICE_PROCESS_H
#define CMD_PROCESS_SERVICE_PROCESS_H
#define HG_ENABLE 1 // 高压包使能
#define TW_ENABLE 1 // 三通阀使能
#ifdef __cplusplus
extern "C" {

47
User/app/app_core.cpp

@ -14,6 +14,9 @@
#include "uart_cmd/uart_cmd.h"
#include "status/motor_manager.h"
#define TAG "App Core"
#include "LED/high_voltage_pack.h"
#include "uart_cmd/cmd_process_service_process.h"
using namespace iflytop;
// 状态定时器上传时间
@ -44,6 +47,30 @@ void print_TMC5130GState_t(TMC5130GState_t state);
void app_init()
{
ZLOGI(TAG, "======================= boardinfo ====================");
ZLOGI(TAG, "X %d Y %d Z %d",
(int)MOTOR_X_R_PER_MM,
(int)MOTOR_Y_R_PER_MM,
(int)MOTOR_Z_R_PER_MM);
#if GY_USE_TIM4
ZLOGI(TAG, "GY TIM4");
#else
ZLOGI(TAG, "GY TIM1");
#endif
#if HG_ENABLE
ZLOGI(TAG, "HG_ENABLE TRUE");
#else
ZLOGI(TAG, "HG_ENABLE FALSE");
#endif
#if TW_ENABLE
ZLOGI(TAG, "TW_ENABLE TRUE");
#else
ZLOGI(TAG, "TW_ENABLE FALSE");
#endif
ZLOGI(TAG, "======================= ========= ====================");
AppHardware::ins()->initialize();
ExtiKeyManager::ins();
@ -139,22 +166,10 @@ void status_upload_timer_callback(void *argument) {
#endif
}
if(count % sensor_a1_count == 0) {
const uint16_t flowSpeed = readFlowMeterADC();
ReadTemperatureAndHumidity(&SENx);
const int16_t humidity = (int16_t)(SENx.RH * 10);
const int16_t temp = (int16_t)(SENx.T * 10);
{
CanMessage msg = CanProtocolFactory::createUSC_Sensor_A1(0, flowSpeed, humidity, temp);
AppHardware::ins()->can0Controller.sendMessage(msg);
osDelay(2);
}
}
if(++count == 200) {
count = 0;
ZLOGI("【TIMER】", "STATUS UPLAOD NORMAL");
}
#endif
static uint32_t count = 0;
const uint8_t sensor_d1_count = 2; // TICKS * 2
const uint8_t sensor_a1_count = 20; // TICKS * 20
@ -165,6 +180,8 @@ void status_upload_timer_callback(void *argument) {
const int16_t humidity = (int16_t)(SENx.RH * 10);
const int16_t temp = (int16_t)(SENx.T * 10);
static int16_t s_last_humidity = 0;
static int16_t s_last_temp = 0;
// 数据不同的时候上报

108
cmake-build-debug-mingw-stm32/.cmake/api/v1/reply/index-2025-03-19T17-24-17-0647.json

@ -1,108 +0,0 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Unix Makefiles"
},
"paths" :
{
"cmake" : "C:/Program Files/JetBrains/CLion 2024.1.4/bin/cmake/win/x64/bin/cmake.exe",
"cpack" : "C:/Program Files/JetBrains/CLion 2024.1.4/bin/cmake/win/x64/bin/cpack.exe",
"ctest" : "C:/Program Files/JetBrains/CLion 2024.1.4/bin/cmake/win/x64/bin/ctest.exe",
"root" : "C:/Program Files/JetBrains/CLion 2024.1.4/bin/cmake/win/x64/share/cmake-3.28"
},
"version" :
{
"isDirty" : false,
"major" : 3,
"minor" : 28,
"patch" : 1,
"string" : "3.28.1",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-7a7369e617a7acffd924.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 6
}
},
{
"jsonFile" : "cache-v2-efe85fc8af41a431f5af.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-822f679e26fdc1795c85.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "toolchains-v1-a69d3fe50c8e6993692e.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"cache-v2" :
{
"jsonFile" : "cache-v2-efe85fc8af41a431f5af.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
"cmakeFiles-v1" :
{
"jsonFile" : "cmakeFiles-v1-822f679e26fdc1795c85.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-7a7369e617a7acffd924.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 6
}
},
"toolchains-v1" :
{
"jsonFile" : "toolchains-v1-a69d3fe50c8e6993692e.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
}
}

2
cmake-build-debug-mingw-stm32/CMakeFiles/clion-Debug-MinGW-STM32-log.txt

@ -1,5 +1,5 @@
"C:\Program Files\JetBrains\CLion 2024.1.4\bin\cmake\win\x64\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=C:/Soft/arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi/bin/arm-none-eabi-gcc.exe -DCMAKE_CXX_COMPILER=C:/Soft/arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi/bin/arm-none-eabi-g++.exe -G "Unix Makefiles" -S D:\code\stm32\Sub_Spray_STM32 -B D:\code\stm32\Sub_Spray_STM32\cmake-build-debug-mingw-stm32
Build type: Debug
-- Configuring done (0.1s)
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: D:/code/stm32/Sub_Spray_STM32/cmake-build-debug-mingw-stm32

4
cmake-build-debug-mingw-stm32/Testing/Temporary/LastTest.log

@ -1,3 +1,3 @@
Start testing: Feb 27 21:44 中国标准时间
Start testing: Mar 24 20:15 中国标准时间
----------------------------------------------------------
End testing: Feb 27 21:44 中国标准时间
End testing: Mar 24 20:15 中国标准时间
Loading…
Cancel
Save