seperated into transformer / experimental
KiBot PCB Generation / generate (push) Successful in 5m40s
KiBot PCB Generation / deploy (push) Successful in 28s

This commit is contained in:
janik
2025-12-16 17:16:26 +07:00
parent 5e21ee1571
commit e9775f2ce7
210 changed files with 51374 additions and 47711 deletions
+18 -18
View File
@@ -24,7 +24,7 @@
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.569851536" name="Floating-point ABI" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.493855913" 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.1904983327" 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 || STM32G474CBTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32G4xx_HAL_Driver/Inc | ../Drivers/STM32G4xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32G4xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32G474xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32G474CBTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1640224048" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="170" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1640224048" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="170" valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1281027497" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/C64PSU}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.735311501" 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.2006906671" name="MCU/MPU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
@@ -97,28 +97,28 @@
<configuration artifactExtension="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1348968572" name="Release" parent="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release">
<folderInfo id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1348968572." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.353202695" name="MCU ARM GCC" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.247084598" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32G474CBTx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.1792927124" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid.1582475621" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.636128663" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.1043717698" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.740239677" 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.382897756" 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 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32G474CBTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32G4xx_HAL_Driver/Inc | ../Drivers/STM32G4xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32G4xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32G474xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32G474CBTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1137781942" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="170" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.247084598" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32G474CBTx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.1792927124" name="CPU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid.1582475621" name="Core" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.636128663" name="Floating-point unit" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.1043717698" name="Floating-point ABI" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.740239677" 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.382897756" 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 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32G474CBTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32G4xx_HAL_Driver/Inc | ../Drivers/STM32G4xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32G4xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32G474xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32G474CBTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1137781942" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="170" valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1467828888" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/C64PSU}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1030449639" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<builder buildPath="${workspace_loc:/C64PSU}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1030449639" 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.819839422" name="MCU/MPU 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.1416770793" 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 id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.1416770793" 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"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1009335607" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1435282348" name="MCU/MPU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.2052750479" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.271396770" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.value.os" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.872682043" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.2052750479" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.271396770" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.value.os" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.872682043" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32G474xx"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.81271307" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.81271307" name="Include paths (-I)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="../Core/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32G4xx_HAL_Driver/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32G4xx_HAL_Driver/Inc/Legacy"/>
@@ -128,11 +128,11 @@
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.159999454" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.23676458" name="MCU/MPU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.1762026445" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.1557761898" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.value.os" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.1762026445" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.1557761898" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.value.os" valueType="enumerated"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.583093127" name="MCU/MPU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.740573275" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32G474CBTX_FLASH.ld}" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.740573275" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32G474CBTX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.1525614507" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>C64PSU</name>
<name>C64PSU_TRANSFORMER</name>
<comment></comment>
<projects>
</projects>
+2 -2
View File
@@ -5,7 +5,7 @@
<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="1564881755989101936" 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="1404171258386938688" 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>
@@ -16,7 +16,7 @@
<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="1564881755989101936" 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="1404171258386938688" 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>
+11 -1
View File
@@ -9,7 +9,7 @@
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_permission" value=""/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_pwd_file" value=""/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_live_expr" value="true"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_swv" value="false"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_swv" value="true"/>
<intAttribute key="com.st.stm32cube.ide.mcu.debug.launch.formatVersion" value="2"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.incremental_flashing" value="false"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.ip_address_local" value="localhost"/>
@@ -23,6 +23,7 @@
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.unaligned" value="false"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.haltonexception" value="true"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swd_mode" value="true"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_config_enabled" value="true"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_port" value="61235"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_trace_hclk" value="170000000"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.useRemoteTarget" value="true"/>
@@ -44,6 +45,15 @@
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.watchdog_config" value="none"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkenable_rtos" value="false"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkrestart_configurations" value="{&quot;fVersion&quot;:1,&quot;fItems&quot;:[{&quot;fDisplayName&quot;:&quot;Reset&quot;,&quot;fIsSuppressible&quot;:false,&quot;fResetAttribute&quot;:&quot;Software system reset&quot;,&quot;fResetStrategies&quot;:[{&quot;fDisplayName&quot;:&quot;Software system reset&quot;,&quot;fLaunchAttribute&quot;:&quot;system_reset&quot;,&quot;fGdbCommands&quot;:[&quot;monitor reset\r\n&quot;],&quot;fCmdOptions&quot;:[&quot;-g&quot;]},{&quot;fDisplayName&quot;:&quot;Hardware reset&quot;,&quot;fLaunchAttribute&quot;:&quot;hardware_reset&quot;,&quot;fGdbCommands&quot;:[&quot;monitor reset hardware\r\n&quot;],&quot;fCmdOptions&quot;:[&quot;-g&quot;]},{&quot;fDisplayName&quot;:&quot;Core reset&quot;,&quot;fLaunchAttribute&quot;:&quot;core_reset&quot;,&quot;fGdbCommands&quot;:[&quot;monitor reset core\r\n&quot;],&quot;fCmdOptions&quot;:[&quot;-g&quot;]},{&quot;fDisplayName&quot;:&quot;None&quot;,&quot;fLaunchAttribute&quot;:&quot;no_reset&quot;,&quot;fGdbCommands&quot;:[],&quot;fCmdOptions&quot;:[&quot;-g&quot;]}],&quot;fGdbCommandGroup&quot;:{&quot;name&quot;:&quot;Additional commands&quot;,&quot;commands&quot;:[]},&quot;fStartApplication&quot;:true}]}"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.datatrace_0" value="Enabled=true:Address=t_current:Access=Read/Write:Size=Word:Function=Data Value"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.datatrace_1" value="Enabled=false:Address=t_voltage:Access=Read/Write:Size=Word:Function=Data Value"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.datatrace_2" value="Enabled=false:Address=0x0:Access=Read/Write:Size=Word:Function=Data Value"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.datatrace_3" value="Enabled=false:Address=0x0:Access=Read/Write:Size=Word:Function=Data Value"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.itmports" value="0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.itmports_priv" value="0:0:0:0"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.pc_sample" value="0:16384"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.timestamps" value="1:1"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.swv.trace_events" value="Cpi=0:Exc=0:Sleep=0:Lsu=0:Fold=0:Exetrc=0"/>
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.enableRtosProxy" value="false"/>
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyCustomProperties" value=""/>
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriver" value="threadx"/>
+88 -52
View File
@@ -1,31 +1,36 @@
#MicroXplorer Configuration settings - do not modify
ADC3.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_5
ADC3.ClockPrescaler=ADC_CLOCK_ASYNC_DIV32
ADC3.CommonPathInternal=null|null|null|null
ADC3.ContinuousConvMode=ENABLE
ADC3.DMAContinuousRequests=ENABLE
ADC3.IPParameters=Rank-0\#ChannelRegularConversion,master,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,ContinuousConvMode,DMAContinuousRequests,Overrun,CommonPathInternal
ADC3.IPParameters=Rank-0\#ChannelRegularConversion,master,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,ContinuousConvMode,DMAContinuousRequests,Overrun,ClockPrescaler,CommonPathInternal
ADC3.NbrOfConversionFlag=1
ADC3.OffsetNumber-0\#ChannelRegularConversion=ADC_OFFSET_NONE
ADC3.Overrun=ADC_OVR_DATA_OVERWRITTEN
ADC3.Rank-0\#ChannelRegularConversion=1
ADC3.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_247CYCLES_5
ADC3.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_640CYCLES_5
ADC3.master=1
ADC4.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_4
ADC4.ClockPrescaler=ADC_CLOCK_ASYNC_DIV32
ADC4.CommonPathInternal=null|null|null|null
ADC4.ContinuousConvMode=ENABLE
ADC4.DMAContinuousRequests=ENABLE
ADC4.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,ContinuousConvMode,DMAContinuousRequests,Overrun,CommonPathInternal
ADC4.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,OffsetNumber-0\#ChannelRegularConversion,NbrOfConversionFlag,ContinuousConvMode,DMAContinuousRequests,Overrun,ClockPrescaler,CommonPathInternal
ADC4.NbrOfConversionFlag=1
ADC4.OffsetNumber-0\#ChannelRegularConversion=ADC_OFFSET_NONE
ADC4.Overrun=ADC_OVR_DATA_OVERWRITTEN
ADC4.Rank-0\#ChannelRegularConversion=1
ADC4.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_247CYCLES_5
ADC4.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_640CYCLES_5
CAD.formats=
CAD.pinconfig=
CAD.provider=
COMP5.IPParameters=TriggerMode
COMP5.BlankingSrce=COMP_BLANKINGSRC_TIM3_OC3_COMP5
COMP5.IPParameters=TriggerMode,BlankingSrce
COMP5.TriggerMode=COMP_TRIGGERMODE_IT_RISING
COMP7.IPParameters=TriggerMode
COMP7.BlankingSrce=COMP_BLANKINGSRC_TIM3_OC3_COMP7
COMP7.Hysteresis=COMP_HYSTERESIS_HIGH
COMP7.IPParameters=TriggerMode,Hysteresis,BlankingSrce
COMP7.TriggerMode=COMP_TRIGGERMODE_IT_RISING
DAC1.DAC_Channel-DAC_OUT2_Int=DAC_CHANNEL_2
DAC1.IPParameters=DAC_Channel-DAC_OUT2_Int
@@ -73,11 +78,14 @@ HRTIM1.CompareUnit1-Output_TB1TB2=HRTIM_COMPAREUNIT_1
HRTIM1.CompareUnit2-Output_TA1TA2=__NULL
HRTIM1.CompareValue1-Output_TA1TA2=0x0
HRTIM1.CompareValue1-Output_TB1TB2=0x0
HRTIM1.DeadTimeInsertion-Output_TB1TB2=HRTIM_TIMDEADTIMEINSERTION_DISABLED
HRTIM1.DeadTimeInsertion-Output_TA1TA2=HRTIM_TIMDEADTIMEINSERTION_ENABLED
HRTIM1.DeadTimeInsertion-Output_TB1TB2=HRTIM_TIMDEADTIMEINSERTION_ENABLED
HRTIM1.Event_EEV1=HRTIM_EVENT_1
HRTIM1.FallingValue-Output_TA1TA2=0x00A
HRTIM1.FallingValue-Output_TB1TB2=0x00A
HRTIM1.GreaterCMP1_TA=HRTIM_TIMERGTCMP1_GREATER
HRTIM1.GreaterCMP1_TB=HRTIM_TIMERGTCMP1_GREATER
HRTIM1.IPParameters=SyncOptions,Event_EEV1,CompareUnit1-Output_TB1TB2,CompareValue1-Output_TB1TB2,CompareUnit1-Output_TA1TA2,CompareValue1-Output_TA1TA2,Periode_MASTER,Periode_TB,PreloadEnable-Output_TB1TB2,RepetitionUpdate-Output_TB1TB2,DeadTimeInsertion-Output_TB1TB2,NumberUpdateTrigger-Output_TB1TB2,ResetUpdate-Output_TB1TB2,NumberResetTrigger-Output_TB1TB2,NumberSetSource1-Output_TB1TB2,Periode_TA,SetOutput1_Source1-Output_TB1TB2,NumberResetSource1-Output_TB1TB2,ResetOutput1_Source1-Output_TB1TB2,NumberSetSource2_TB,SetOutput2_Source1-Output_TB1TB2,NumberResetSource2_TB,ResetOutput2_Source1-Output_TB1TB2,PreloadEnable-Output_TA1TA2,RepetitionUpdate-Output_TA1TA2,NumberUpdateTrigger-Output_TA1TA2,ResetUpdate-Output_TA1TA2,NumberResetTrigger-Output_TA1TA2,NumberSetSource1-Output_TA1TA2,SetOutput1_Source1-Output_TA1TA2,NumberResetSource1-Output_TA1TA2,ResetOutput1_Source1-Output_TA1TA2,NumberSetSource2_TA,SetOutput2_Source1-Output_TA1TA2,NumberResetSource2_TA,ResetOutput2_Source1-Output_TA1TA2,PreloadEnable-MasterTimer,RepetitionCounter-Output_TA1TA2,RepetitionCounter-Output_TB1TB2,RepetitionUpdate-MasterTimer,GreaterCMP1_TB,GreaterCMP1_TA,ReSyncUpdate-Output_TA1TA2,ReSyncUpdate-Output_TB1TB2,CompareUnit2-Output_TA1TA2,Polarity1-Output_TA1TA2,Polarity1-Output_TB1TB2,IdleLevel1-Output_TA1TA2,IdleLevel1-Output_TB1TB2
HRTIM1.IPParameters=SyncOptions,Event_EEV1,CompareUnit1-Output_TB1TB2,CompareValue1-Output_TB1TB2,CompareUnit1-Output_TA1TA2,CompareValue1-Output_TA1TA2,Periode_MASTER,Periode_TB,PreloadEnable-Output_TB1TB2,RepetitionUpdate-Output_TB1TB2,DeadTimeInsertion-Output_TB1TB2,NumberUpdateTrigger-Output_TB1TB2,ResetUpdate-Output_TB1TB2,NumberResetTrigger-Output_TB1TB2,NumberSetSource1-Output_TB1TB2,Periode_TA,SetOutput1_Source1-Output_TB1TB2,NumberResetSource1-Output_TB1TB2,ResetOutput1_Source1-Output_TB1TB2,NumberSetSource2_TB,SetOutput2_Source1-Output_TB1TB2,NumberResetSource2_TB,ResetOutput2_Source1-Output_TB1TB2,PreloadEnable-Output_TA1TA2,RepetitionUpdate-Output_TA1TA2,NumberUpdateTrigger-Output_TA1TA2,ResetUpdate-Output_TA1TA2,NumberResetTrigger-Output_TA1TA2,NumberSetSource1-Output_TA1TA2,SetOutput1_Source1-Output_TA1TA2,NumberResetSource1-Output_TA1TA2,ResetOutput1_Source1-Output_TA1TA2,NumberSetSource2_TA,SetOutput2_Source1-Output_TA1TA2,NumberResetSource2_TA,ResetOutput2_Source1-Output_TA1TA2,PreloadEnable-MasterTimer,RepetitionCounter-Output_TA1TA2,RepetitionCounter-Output_TB1TB2,RepetitionUpdate-MasterTimer,GreaterCMP1_TB,GreaterCMP1_TA,ReSyncUpdate-Output_TA1TA2,ReSyncUpdate-Output_TB1TB2,CompareUnit2-Output_TA1TA2,Polarity1-Output_TA1TA2,Polarity1-Output_TB1TB2,IdleLevel1-Output_TA1TA2,IdleLevel1-Output_TB1TB2,DeadTimeInsertion-Output_TA1TA2,RisingValue-Output_TA1TA2,FallingValue-Output_TA1TA2,RisingValue-Output_TB1TB2,FallingValue-Output_TB1TB2,Polarity2-Output_TA1TA2,PrescalerRatio_TA
HRTIM1.IdleLevel1-Output_TA1TA2=HRTIM_OUTPUTIDLELEVEL_ACTIVE
HRTIM1.IdleLevel1-Output_TB1TB2=HRTIM_OUTPUTIDLELEVEL_ACTIVE
HRTIM1.NumberResetSource1-Output_TA1TA2=1
@@ -95,11 +103,13 @@ HRTIM1.NumberUpdateTrigger-Output_TB1TB2=0
HRTIM1.Periode_MASTER=0xD480
HRTIM1.Periode_TA=0xD480
HRTIM1.Periode_TB=0xD480
HRTIM1.Polarity1-Output_TA1TA2=HRTIM_OUTPUTPOLARITY_LOW
HRTIM1.Polarity1-Output_TB1TB2=HRTIM_OUTPUTPOLARITY_LOW
HRTIM1.Polarity1-Output_TA1TA2=HRTIM_OUTPUTPOLARITY_HIGH
HRTIM1.Polarity1-Output_TB1TB2=HRTIM_OUTPUTPOLARITY_HIGH
HRTIM1.Polarity2-Output_TA1TA2=HRTIM_OUTPUTPOLARITY_HIGH
HRTIM1.PreloadEnable-MasterTimer=HRTIM_PRELOAD_ENABLED
HRTIM1.PreloadEnable-Output_TA1TA2=HRTIM_PRELOAD_ENABLED
HRTIM1.PreloadEnable-Output_TB1TB2=HRTIM_PRELOAD_ENABLED
HRTIM1.PrescalerRatio_TA=HRTIM_PRESCALERRATIO_MUL32
HRTIM1.ReSyncUpdate-Output_TA1TA2=HRTIM_TIMERESYNC_UPDATE_UNCONDITIONAL
HRTIM1.ReSyncUpdate-Output_TB1TB2=HRTIM_TIMERESYNC_UPDATE_UNCONDITIONAL
HRTIM1.RepetitionCounter-Output_TA1TA2=0x0
@@ -113,6 +123,8 @@ HRTIM1.ResetOutput2_Source1-Output_TA1TA2=HRTIM_OUTPUTRESET_TIMCMP1
HRTIM1.ResetOutput2_Source1-Output_TB1TB2=HRTIM_OUTPUTRESET_TIMCMP1
HRTIM1.ResetUpdate-Output_TA1TA2=HRTIM_TIMUPDATEONRESET_ENABLED
HRTIM1.ResetUpdate-Output_TB1TB2=HRTIM_TIMUPDATEONRESET_ENABLED
HRTIM1.RisingValue-Output_TA1TA2=0x00A
HRTIM1.RisingValue-Output_TB1TB2=0x00A
HRTIM1.SetOutput1_Source1-Output_TA1TA2=HRTIM_OUTPUTSET_TIMPER
HRTIM1.SetOutput1_Source1-Output_TB1TB2=HRTIM_OUTPUTSET_TIMPER
HRTIM1.SetOutput2_Source1-Output_TA1TA2=HRTIM_OUTPUTSET_TIMPER
@@ -127,7 +139,8 @@ Mcu.IP10=NVIC
Mcu.IP11=RCC
Mcu.IP12=SYS
Mcu.IP13=TIM1
Mcu.IP14=USART1
Mcu.IP14=TIM3
Mcu.IP15=USART1
Mcu.IP2=COMP5
Mcu.IP3=COMP7
Mcu.IP4=CORDIC
@@ -136,37 +149,41 @@ Mcu.IP6=DAC4
Mcu.IP7=DMA
Mcu.IP8=FMAC
Mcu.IP9=HRTIM1
Mcu.IPNb=15
Mcu.IPNb=16
Mcu.Name=STM32G474C(B-C-E)Tx
Mcu.Package=LQFP48
Mcu.Pin0=PF0-OSC_IN
Mcu.Pin1=PF1-OSC_OUT
Mcu.Pin10=PA13
Mcu.Pin11=PA14
Mcu.Pin12=PA15
Mcu.Pin13=PB3
Mcu.Pin14=PB6
Mcu.Pin15=PB7
Mcu.Pin16=VP_COMP5_VS_DAC1OUT2
Mcu.Pin17=VP_COMP7_VS_DAC4OUT1
Mcu.Pin18=VP_CORDIC_VS_CORDIC
Mcu.Pin19=VP_DAC1_VS_DACI2
Mcu.Pin2=PB11
Mcu.Pin20=VP_DAC4_VS_DACI1
Mcu.Pin21=VP_FMAC_VS_FMAC
Mcu.Pin22=VP_HRTIM1_VS_hrtimMasterTimerNoOutput
Mcu.Pin23=VP_SYS_V_VREFBUF
Mcu.Pin24=VP_SYS_VS_Systick
Mcu.Pin25=VP_SYS_VS_DBSignals
Mcu.Pin26=VP_TIM1_VS_ClockSourceINT
Mcu.Pin3=PB12
Mcu.Pin4=PB13
Mcu.Pin5=PB14
Mcu.Pin6=PA8
Mcu.Pin7=PA9
Mcu.Pin8=PA10
Mcu.Pin9=PA11
Mcu.PinsNb=27
Mcu.Pin10=PA10
Mcu.Pin11=PA11
Mcu.Pin12=PA13
Mcu.Pin13=PA14
Mcu.Pin14=PB3
Mcu.Pin15=PB4
Mcu.Pin16=PB5
Mcu.Pin17=PB6
Mcu.Pin18=PB7
Mcu.Pin19=VP_COMP5_VS_DAC1OUT2
Mcu.Pin2=PG10-NRST
Mcu.Pin20=VP_COMP7_VS_DAC4OUT1
Mcu.Pin21=VP_CORDIC_VS_CORDIC
Mcu.Pin22=VP_DAC1_VS_DACI2
Mcu.Pin23=VP_DAC4_VS_DACI1
Mcu.Pin24=VP_FMAC_VS_FMAC
Mcu.Pin25=VP_HRTIM1_VS_hrtimMasterTimerNoOutput
Mcu.Pin26=VP_SYS_VS_Systick
Mcu.Pin27=VP_SYS_VS_DBSignals
Mcu.Pin28=VP_TIM1_VS_ClockSourceINT
Mcu.Pin29=VP_TIM3_VS_ClockSourceINT
Mcu.Pin3=VREF+
Mcu.Pin30=VP_TIM3_VS_no_output3
Mcu.Pin4=PB11
Mcu.Pin5=PB12
Mcu.Pin6=PB13
Mcu.Pin7=PB14
Mcu.Pin8=PA8
Mcu.Pin9=PA9
Mcu.PinsNb=31
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32G474CBTx
@@ -175,10 +192,8 @@ MxDb.Version=DB.6.0.150
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.COMP4_5_6_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true
NVIC.COMP7_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true
NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true
NVIC.DMA1_Channel2_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.ForceEnableDMAVector=true
NVIC.ForceEnableDMAVector=false
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
@@ -190,28 +205,27 @@ NVIC.TIM1_BRK_TIM15_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
NVIC.TIM1_CC_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
NVIC.TIM1_TRG_COM_TIM17_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
NVIC.TIM1_UP_TIM16_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
NVIC.TIM3_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
PA10.Mode=Output_TB1TB2
PA10.Signal=HRTIM1_CHB1
PA11.Mode=Output_TB1TB2
PA11.Signal=HRTIM1_CHB2
PA13.Mode=JTAG_4_pins
PA13.Mode=Trace_Asynchronous_SW
PA13.Signal=SYS_JTMS-SWDIO
PA14.Mode=JTAG_4_pins
PA14.Mode=Trace_Asynchronous_SW
PA14.Signal=SYS_JTCK-SWCLK
PA15.Mode=JTAG_4_pins
PA15.Signal=SYS_JTDI
PA8.Mode=Output_TA1TA2
PA8.Signal=HRTIM1_CHA1
PA9.Mode=Output_TA1TA2
PA9.Signal=HRTIM1_CHA2
PB11.GPIOParameters=GPIO_PuPd,GPIO_Label
PB11.GPIO_Label=ENABLE_DRVA
PB11.GPIO_Label=ENABLE_DRVA1
PB11.GPIO_PuPd=GPIO_PULLDOWN
PB11.Locked=true
PB11.Signal=GPIO_Output
PB12.GPIOParameters=GPIO_PuPd,GPIO_Label
PB12.GPIO_Label=ENABLE_DRVB
PB12.GPIO_Label=ENABLE_DRVB1
PB12.GPIO_PuPd=GPIO_PULLDOWN
PB12.Locked=true
PB12.Signal=GPIO_Output
@@ -223,8 +237,17 @@ PB14.GPIOParameters=GPIO_Label
PB14.GPIO_Label=CURRENT
PB14.Locked=true
PB14.Signal=SharedAnalog_PB14
PB3.Mode=JTAG_4_pins
PB3.Locked=true
PB3.Mode=Trace_Asynchronous_SW
PB3.Signal=SYS_JTDO-SWO
PB4.GPIOParameters=GPIO_Label
PB4.GPIO_Label=ENABLE_DRVA2
PB4.Locked=true
PB4.Signal=GPIO_Output
PB5.GPIOParameters=GPIO_Label
PB5.GPIO_Label=ENABLE_DRVB2
PB5.Locked=true
PB5.Signal=GPIO_Output
PB6.Locked=true
PB6.Mode=Asynchronous
PB6.Signal=USART1_TX
@@ -235,6 +258,7 @@ PF0-OSC_IN.Mode=HSE-External-Oscillator
PF0-OSC_IN.Signal=RCC_OSC_IN
PF1-OSC_OUT.Mode=HSE-External-Oscillator
PF1-OSC_OUT.Signal=RCC_OSC_OUT
PG10-NRST.Locked=true
PinOutPanel.RotationAngle=0
ProjectManager.AskForMigrate=true
ProjectManager.BackupPrevious=false
@@ -321,9 +345,17 @@ SH.SharedAnalog_PB13.ConfNb=2
SH.SharedAnalog_PB14.0=COMP7_INP,INP
SH.SharedAnalog_PB14.1=ADC4_IN4,IN4-Single-Ended
SH.SharedAnalog_PB14.ConfNb=2
SYS.IPParameters=VoltageScaling
SYS.VoltageScaling=SYSCFG_VREFBUF_VOLTAGE_SCALE1
TIM1.IPParameters=Prescaler,PeriodNoDither
TIM1.PeriodNoDither=20
TIM1.Prescaler=170-1
TIM1.PeriodNoDither=200-1
TIM1.Prescaler=17-1
TIM3.Channel-Output\ Compare3\ No\ Output=TIM_CHANNEL_3
TIM3.IPParameters=Channel-Output Compare3 No Output,Prescaler,PeriodNoDither,OCMode_3,PulseNoDither_3
TIM3.OCMode_3=TIM_OCMODE_ACTIVE
TIM3.PeriodNoDither=200
TIM3.Prescaler=17000-1
TIM3.PulseNoDither_3=100
USART1.IPParameters=VirtualMode-Asynchronous
USART1.VirtualMode-Asynchronous=VM_ASYNC
VP_COMP5_VS_DAC1OUT2.Mode=INM_DAC1OUT2
@@ -344,9 +376,13 @@ VP_SYS_VS_DBSignals.Mode=DisableDeadBatterySignals
VP_SYS_VS_DBSignals.Signal=SYS_VS_DBSignals
VP_SYS_VS_Systick.Mode=SysTick
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
VP_SYS_V_VREFBUF.Mode=ExternalMode
VP_SYS_V_VREFBUF.Signal=SYS_V_VREFBUF
VP_TIM1_VS_ClockSourceINT.Mode=Internal
VP_TIM1_VS_ClockSourceINT.Signal=TIM1_VS_ClockSourceINT
VP_TIM3_VS_ClockSourceINT.Mode=Internal
VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT
VP_TIM3_VS_no_output3.Mode=Output Compare3 No Output
VP_TIM3_VS_no_output3.Signal=TIM3_VS_no_output3
VREF+.Mode=InternalMode
VREF+.Signal=VREFBUF_OUT
board=custom
isbadioc=false
+8 -4
View File
@@ -59,14 +59,18 @@ void Error_Handler(void);
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/
#define ENABLE_DRVA_Pin GPIO_PIN_11
#define ENABLE_DRVA_GPIO_Port GPIOB
#define ENABLE_DRVB_Pin GPIO_PIN_12
#define ENABLE_DRVB_GPIO_Port GPIOB
#define ENABLE_DRVA1_Pin GPIO_PIN_11
#define ENABLE_DRVA1_GPIO_Port GPIOB
#define ENABLE_DRVB1_Pin GPIO_PIN_12
#define ENABLE_DRVB1_GPIO_Port GPIOB
#define VOLTAGE_Pin GPIO_PIN_13
#define VOLTAGE_GPIO_Port GPIOB
#define CURRENT_Pin GPIO_PIN_14
#define CURRENT_GPIO_Port GPIOB
#define ENABLE_DRVA2_Pin GPIO_PIN_4
#define ENABLE_DRVA2_GPIO_Port GPIOB
#define ENABLE_DRVB2_Pin GPIO_PIN_5
#define ENABLE_DRVB2_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */
+1 -2
View File
@@ -55,12 +55,11 @@ void SVC_Handler(void);
void DebugMon_Handler(void);
void PendSV_Handler(void);
void SysTick_Handler(void);
void DMA1_Channel1_IRQHandler(void);
void DMA1_Channel2_IRQHandler(void);
void TIM1_BRK_TIM15_IRQHandler(void);
void TIM1_UP_TIM16_IRQHandler(void);
void TIM1_TRG_COM_TIM17_IRQHandler(void);
void TIM1_CC_IRQHandler(void);
void TIM3_IRQHandler(void);
void COMP4_5_6_IRQHandler(void);
void COMP7_IRQHandler(void);
/* USER CODE BEGIN EFP */
+216 -95
View File
@@ -31,6 +31,8 @@
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
#define EXPERIMENTAL 1
#define POLARITY 0
/* USER CODE END PD */
@@ -58,67 +60,72 @@ FMAC_HandleTypeDef hfmac;
HRTIM_HandleTypeDef hhrtim1;
TIM_HandleTypeDef htim1;
TIM_HandleTypeDef htim3;
UART_HandleTypeDef huart1;
/* USER CODE BEGIN PV */
volatile uint32_t current,voltage;
volatile uint32_t t_current,t_voltage;
uint16_t time = 0;
#include <stdint.h>
const uint16_t pwm_sine[500] = {
0, 0, 0, 0, 0, 0, 1027, 1198, 1369, 1540,
1711, 1882, 2053, 2224, 2394, 2565, 2735, 2906, 3076, 3246,
3416, 3586, 3755, 3925, 4094, 4263, 4433, 4601, 4770, 4939,
5107, 5275, 5443, 5611, 5778, 5945, 6112, 6279, 6445, 6612,
6778, 6943, 7109, 7274, 7439, 7603, 7768, 7932, 8095, 8259,
8422, 8584, 8747, 8909, 9070, 9231, 9392, 9553, 9713, 9873,
10032, 10191, 10350, 10508, 10666, 10823, 10980, 11136, 11292, 11448,
11603, 11758, 11912, 12065, 12219, 12371, 12524, 12675, 12827, 12977,
13128, 13277, 13427, 13575, 13723, 13871, 14018, 14164, 14310, 14456,
14601, 14745, 14888, 15031, 15174, 15316, 15457, 15597, 15737, 15877,
16015, 16154, 16291, 16428, 16564, 16699, 16834, 16968, 17102, 17235,
17367, 17498, 17629, 17759, 17889, 18017, 18145, 18272, 18399, 18525,
18650, 18774, 18897, 19020, 19142, 19264, 19384, 19504, 19623, 19741,
19858, 19975, 20091, 20206, 20320, 20434, 20546, 20658, 20769, 20879,
20988, 21097, 21205, 21311, 21417, 21523, 21627, 21730, 21833, 21935,
22035, 22135, 22234, 22333, 22430, 22526, 22622, 22717, 22810, 22903,
22995, 23086, 23176, 23265, 23354, 23441, 23527, 23613, 23697, 23781,
23864, 23945, 24026, 24106, 24185, 24263, 24339, 24415, 24490, 24564,
24637, 24710, 24781, 24851, 24920, 24988, 25055, 25121, 25186, 25251,
25314, 25376, 25437, 25497, 25556, 25615, 25672, 25728, 25783, 25837,
25890, 25942, 25993, 26043, 26092, 26139, 26186, 26232, 26277, 26321,
26363, 26405, 26445, 26485, 26523, 26561, 26597, 26633, 26667, 26700,
26732, 26763, 26793, 26822, 26850, 26877, 26903, 26928, 26951, 26974,
26995, 27016, 27035, 27053, 27071, 27087, 27102, 27116, 27129, 27141,
27151, 27161, 27170, 27177, 27184, 27189, 27193, 27197, 27199, 27200,
27200, 27199, 27197, 27193, 27189, 27184, 27177, 27170, 27161, 27151,
27141, 27129, 27116, 27102, 27087, 27071, 27053, 27035, 27016, 26995,
26974, 26951, 26928, 26903, 26877, 26850, 26822, 26793, 26763, 26732,
26700, 26667, 26633, 26597, 26561, 26523, 26485, 26445, 26405, 26363,
26321, 26277, 26232, 26186, 26139, 26092, 26043, 25993, 25942, 25890,
25837, 25783, 25728, 25672, 25615, 25556, 25497, 25437, 25376, 25314,
25251, 25186, 25121, 25055, 24988, 24920, 24851, 24781, 24710, 24637,
24564, 24490, 24415, 24339, 24263, 24185, 24106, 24026, 23945, 23864,
23781, 23697, 23613, 23527, 23441, 23354, 23265, 23176, 23086, 22995,
22903, 22810, 22717, 22622, 22526, 22430, 22333, 22234, 22135, 22035,
21935, 21833, 21730, 21627, 21523, 21417, 21311, 21205, 21097, 20988,
20879, 20769, 20658, 20546, 20434, 20320, 20206, 20091, 19975, 19858,
19741, 19623, 19504, 19384, 19264, 19142, 19020, 18897, 18774, 18650,
18525, 18399, 18272, 18145, 18017, 17889, 17759, 17629, 17498, 17367,
17235, 17102, 16968, 16834, 16699, 16564, 16428, 16291, 16154, 16015,
15877, 15737, 15597, 15457, 15316, 15174, 15031, 14888, 14745, 14601,
14456, 14310, 14164, 14018, 13871, 13723, 13575, 13427, 13277, 13128,
12977, 12827, 12675, 12524, 12371, 12219, 12065, 11912, 11758, 11603,
11448, 11292, 11136, 10980, 10823, 10666, 10508, 10350, 10191, 10032,
9873, 9713, 9553, 9392, 9231, 9070, 8909, 8747, 8584, 8422,
8259, 8095, 7932, 7768, 7603, 7439, 7274, 7109, 6943, 6778,
6612, 6445, 6279, 6112, 5945, 5778, 5611, 5443, 5275, 5107,
4939, 4770, 4601, 4433, 4263, 4094, 3925, 3755, 3586, 3416,
3246, 3076, 2906, 2735, 2565, 2394, 2224, 2053, 1882, 1711,
1540, 1369, 1198, 1027, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 1260, 1575, 1890, 2205, 2520, 2834,
3149, 3463, 3777, 4092, 4406, 4719, 5033, 5346, 5660, 5972,
6285, 6598, 6910, 7222, 7533, 7845, 8156, 8467, 8777, 9087,
9397, 9706, 10015, 10323, 10631, 10939, 11246, 11553, 11860, 12165,
12471, 12776, 13080, 13384, 13687, 13990, 14292, 14594, 14895, 15196,
15496, 15795, 16094, 16392, 16689, 16986, 17282, 17577, 17872, 18166,
18459, 18752, 19043, 19334, 19625, 19914, 20203, 20491, 20778, 21064,
21349, 21634, 21918, 22200, 22482, 22763, 23044, 23323, 23601, 23879,
24155, 24430, 24705, 24979, 25251, 25523, 25793, 26063, 26331, 26599,
26865, 27130, 27394, 27658, 27920, 28181, 28440, 28699, 28957, 29213,
29468, 29723, 29975, 30227, 30478, 30727, 30975, 31222, 31468, 31712,
31955, 32197, 32438, 32677, 32915, 33152, 33387, 33621, 33854, 34085,
34315, 34544, 34771, 34997, 35222, 35445, 35667, 35887, 36106, 36323,
36539, 36754, 36967, 37179, 37389, 37598, 37805, 38011, 38215, 38418,
38619, 38818, 39017, 39213, 39408, 39602, 39793, 39984, 40173, 40360,
40545, 40729, 40911, 41092, 41271, 41449, 41624, 41798, 41971, 42142,
42311, 42478, 42644, 42808, 42971, 43131, 43290, 43447, 43603, 43757,
43909, 44059, 44208, 44355, 44500, 44643, 44785, 44924, 45062, 45199,
45333, 45466, 45596, 45725, 45853, 45978, 46102, 46223, 46343, 46461,
46577, 46692, 46804, 46915, 47024, 47131, 47236, 47339, 47440, 47540,
47637, 47733, 47827, 47919, 48009, 48097, 48183, 48267, 48349, 48430,
48508, 48585, 48660, 48732, 48803, 48872, 48939, 49004, 49067, 49128,
49187, 49245, 49300, 49353, 49404, 49454, 49501, 49547, 49590, 49632,
49671, 49709, 49745, 49778, 49810, 49840, 49867, 49893, 49917, 49939,
49959, 49976, 49992, 50006, 50018, 50028, 50036, 50042, 50046, 50048,
50048, 50046, 50042, 50036, 50028, 50018, 50006, 49992, 49976, 49959,
49939, 49917, 49893, 49867, 49840, 49810, 49778, 49745, 49709, 49671,
49632, 49590, 49547, 49501, 49454, 49404, 49353, 49300, 49245, 49187,
49128, 49067, 49004, 48939, 48872, 48803, 48732, 48660, 48585, 48508,
48430, 48349, 48267, 48183, 48097, 48009, 47919, 47827, 47733, 47637,
47540, 47440, 47339, 47236, 47131, 47024, 46915, 46804, 46692, 46577,
46461, 46343, 46223, 46102, 45978, 45853, 45725, 45596, 45466, 45333,
45199, 45062, 44924, 44785, 44643, 44500, 44355, 44208, 44059, 43909,
43757, 43603, 43447, 43290, 43131, 42971, 42808, 42644, 42478, 42311,
42142, 41971, 41798, 41624, 41449, 41271, 41092, 40911, 40729, 40545,
40360, 40173, 39984, 39793, 39602, 39408, 39213, 39017, 38818, 38619,
38418, 38215, 38011, 37805, 37598, 37389, 37179, 36967, 36754, 36539,
36323, 36106, 35887, 35667, 35445, 35222, 34997, 34771, 34544, 34315,
34085, 33854, 33621, 33387, 33152, 32915, 32677, 32438, 32197, 31955,
31712, 31468, 31222, 30975, 30727, 30478, 30227, 29975, 29723, 29468,
29213, 28957, 28699, 28440, 28181, 27920, 27658, 27394, 27130, 26865,
26599, 26331, 26063, 25793, 25523, 25251, 24979, 24705, 24430, 24155,
23879, 23601, 23323, 23044, 22763, 22482, 22200, 21918, 21634, 21349,
21064, 20778, 20491, 20203, 19914, 19625, 19334, 19043, 18752, 18459,
18166, 17872, 17577, 17282, 16986, 16689, 16392, 16094, 15795, 15496,
15196, 14895, 14594, 14292, 13990, 13687, 13384, 13080, 12776, 12471,
12165, 11860, 11553, 11246, 10939, 10631, 10323, 10015, 9706, 9397,
9087, 8777, 8467, 8156, 7845, 7533, 7222, 6910, 6598, 6285,
5972, 5660, 5346, 5033, 4719, 4406, 4092, 3777, 3463, 3149,
2834, 2520, 2205, 1890, 1575, 1260, 0, 0, 0, 0
};
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
@@ -136,6 +143,7 @@ static void MX_DAC1_Init(void);
static void MX_DAC4_Init(void);
static void MX_HRTIM1_Init(void);
static void MX_USART1_UART_Init(void);
static void MX_TIM3_Init(void);
/* USER CODE BEGIN PFP */
/* USER CODE END PFP */
@@ -186,15 +194,21 @@ int main(void)
MX_DAC4_Init();
MX_HRTIM1_Init();
MX_USART1_UART_Init();
MX_TIM3_Init();
/* USER CODE BEGIN 2 */
HAL_ADCEx_Calibration_Start(&hadc3, ADC_SINGLE_ENDED);
HAL_ADCEx_Calibration_Start(&hadc4, ADC_SINGLE_ENDED);
HAL_ADC_Start_DMA(&hadc3,&current,1);
HAL_ADC_Start_DMA(&hadc4,&voltage,1);
// HAL_DAC_SetValue(&hdac1, DAC_CHANNEL_2, DAC_ALIGN_12B_R, );//voltage
HAL_DAC_SetValue(&hdac4, DAC_CHANNEL_1, DAC_ALIGN_12B_R, 3500);//current
// HAL_DAC_SetValue(&hdac4, DAC_CHANNEL_1, DAC_ALIGN_12B_R, 3500);//current
// HAL_DAC_Start(&hdac1, DAC_CHANNEL_2);
HAL_DAC_Start(&hdac4, DAC_CHANNEL_1); //current
HAL_DAC_SetValue(&hdac4, DAC_CHANNEL_1, DAC_ALIGN_12B_R, 3500);//current
HAL_Delay(500);
HAL_COMP_Start(&hcomp7);//current
@@ -203,11 +217,24 @@ int main(void)
/* Infinite loop */
/* USER CODE BEGIN WHILE */
HAL_HRTIM_WaveformCountStart(&hhrtim1,HRTIM_TIMERID_MASTER|HRTIM_TIMERID_TIMER_A|HRTIM_TIMERID_TIMER_B);
HAL_TIM_Base_Start_IT(&htim1);
HAL_HRTIM_WaveformOutputStart(&hhrtim1,HRTIM_OUTPUT_TA1|HRTIM_OUTPUT_TA2|HRTIM_OUTPUT_TB2|HRTIM_OUTPUT_TB1);
HAL_GPIO_WritePin(ENABLE_DRVA1_GPIO_Port,ENABLE_DRVA1_Pin,GPIO_PIN_SET);//LG1
HAL_GPIO_WritePin(ENABLE_DRVA2_GPIO_Port,ENABLE_DRVA2_Pin,GPIO_PIN_SET);//LG2
HAL_GPIO_WritePin(ENABLE_DRVB1_GPIO_Port,ENABLE_DRVB1_Pin,GPIO_PIN_SET);//HG1
HAL_GPIO_WritePin(ENABLE_DRVB2_GPIO_Port,ENABLE_DRVB2_Pin,GPIO_PIN_SET);//HG2
char dtext[20] = "Startup \n\r";
HAL_UART_Transmit(&huart1,(uint8_t *)(dtext),strlen(dtext),10);
HAL_UART_Transmit(&huart1,(uint8_t *)(dtext),12,10);
#ifndef EXPERIMENTAL
HAL_TIM_Base_Start_IT(&htim1);
#endif
#ifdef EXPERIMENTAL
HAL_TIM_OC_Start_IT (&htim3, TIM_CHANNEL_3);
__HAL_TIM_ENABLE_IT(&htim3, TIM_IT_UPDATE);
#endif
while (1)
{
/* USER CODE END WHILE */
@@ -284,7 +311,7 @@ static void MX_ADC3_Init(void)
/** Common config
*/
hadc3.Instance = ADC3;
hadc3.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4;
hadc3.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV32;
hadc3.Init.Resolution = ADC_RESOLUTION_12B;
hadc3.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc3.Init.GainCompensation = 0;
@@ -316,7 +343,7 @@ static void MX_ADC3_Init(void)
*/
sConfig.Channel = ADC_CHANNEL_5;
sConfig.Rank = ADC_REGULAR_RANK_1;
sConfig.SamplingTime = ADC_SAMPLETIME_247CYCLES_5;
sConfig.SamplingTime = ADC_SAMPLETIME_640CYCLES_5;
sConfig.SingleDiff = ADC_SINGLE_ENDED;
sConfig.OffsetNumber = ADC_OFFSET_NONE;
sConfig.Offset = 0;
@@ -351,7 +378,7 @@ static void MX_ADC4_Init(void)
/** Common config
*/
hadc4.Instance = ADC4;
hadc4.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4;
hadc4.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV32;
hadc4.Init.Resolution = ADC_RESOLUTION_12B;
hadc4.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc4.Init.GainCompensation = 0;
@@ -375,7 +402,7 @@ static void MX_ADC4_Init(void)
*/
sConfig.Channel = ADC_CHANNEL_4;
sConfig.Rank = ADC_REGULAR_RANK_1;
sConfig.SamplingTime = ADC_SAMPLETIME_247CYCLES_5;
sConfig.SamplingTime = ADC_SAMPLETIME_640CYCLES_5;
sConfig.SingleDiff = ADC_SINGLE_ENDED;
sConfig.OffsetNumber = ADC_OFFSET_NONE;
sConfig.Offset = 0;
@@ -409,7 +436,7 @@ static void MX_COMP5_Init(void)
hcomp5.Init.InputMinus = COMP_INPUT_MINUS_DAC1_CH2;
hcomp5.Init.OutputPol = COMP_OUTPUTPOL_NONINVERTED;
hcomp5.Init.Hysteresis = COMP_HYSTERESIS_NONE;
hcomp5.Init.BlankingSrce = COMP_BLANKINGSRC_NONE;
hcomp5.Init.BlankingSrce = COMP_BLANKINGSRC_TIM3_OC3_COMP5;
hcomp5.Init.TriggerMode = COMP_TRIGGERMODE_IT_RISING;
if (HAL_COMP_Init(&hcomp5) != HAL_OK)
{
@@ -440,8 +467,8 @@ static void MX_COMP7_Init(void)
hcomp7.Init.InputPlus = COMP_INPUT_PLUS_IO1;
hcomp7.Init.InputMinus = COMP_INPUT_MINUS_DAC4_CH1;
hcomp7.Init.OutputPol = COMP_OUTPUTPOL_NONINVERTED;
hcomp7.Init.Hysteresis = COMP_HYSTERESIS_NONE;
hcomp7.Init.BlankingSrce = COMP_BLANKINGSRC_NONE;
hcomp7.Init.Hysteresis = COMP_HYSTERESIS_HIGH;
hcomp7.Init.BlankingSrce = COMP_BLANKINGSRC_TIM3_OC3_COMP7;
hcomp7.Init.TriggerMode = COMP_TRIGGERMODE_IT_RISING;
if (HAL_COMP_Init(&hcomp7) != HAL_OK)
{
@@ -616,6 +643,7 @@ static void MX_HRTIM1_Init(void)
HRTIM_TimerCfgTypeDef pTimerCfg = {0};
HRTIM_TimerCtlTypeDef pTimerCtl = {0};
HRTIM_CompareCfgTypeDef pCompareCfg = {0};
HRTIM_DeadTimeCfgTypeDef pDeadTimeCfg = {0};
HRTIM_OutputCfgTypeDef pOutputCfg = {0};
/* USER CODE BEGIN HRTIM1_Init 1 */
@@ -693,7 +721,7 @@ static void MX_HRTIM1_Init(void)
pTimerCfg.PushPull = HRTIM_TIMPUSHPULLMODE_DISABLED;
pTimerCfg.FaultEnable = HRTIM_TIMFAULTENABLE_NONE;
pTimerCfg.FaultLock = HRTIM_TIMFAULTLOCK_READWRITE;
pTimerCfg.DeadTimeInsertion = HRTIM_TIMDEADTIMEINSERTION_DISABLED;
pTimerCfg.DeadTimeInsertion = HRTIM_TIMDEADTIMEINSERTION_ENABLED;
pTimerCfg.DelayedProtectionMode = HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DISABLED;
pTimerCfg.UpdateTrigger = HRTIM_TIMUPDATETRIGGER_NONE;
pTimerCfg.ResetTrigger = HRTIM_TIMRESETTRIGGER_NONE;
@@ -711,7 +739,24 @@ static void MX_HRTIM1_Init(void)
{
Error_Handler();
}
pOutputCfg.Polarity = HRTIM_OUTPUTPOLARITY_LOW;
pDeadTimeCfg.Prescaler = HRTIM_TIMDEADTIME_PRESCALERRATIO_MUL8;
pDeadTimeCfg.RisingValue = 0x00A;
pDeadTimeCfg.RisingSign = HRTIM_TIMDEADTIME_RISINGSIGN_POSITIVE;
pDeadTimeCfg.RisingLock = HRTIM_TIMDEADTIME_RISINGLOCK_WRITE;
pDeadTimeCfg.RisingSignLock = HRTIM_TIMDEADTIME_RISINGSIGNLOCK_WRITE;
pDeadTimeCfg.FallingValue = 0x00A;
pDeadTimeCfg.FallingSign = HRTIM_TIMDEADTIME_FALLINGSIGN_POSITIVE;
pDeadTimeCfg.FallingLock = HRTIM_TIMDEADTIME_FALLINGLOCK_WRITE;
pDeadTimeCfg.FallingSignLock = HRTIM_TIMDEADTIME_FALLINGSIGNLOCK_WRITE;
if (HAL_HRTIM_DeadTimeConfig(&hhrtim1, HRTIM_TIMERINDEX_TIMER_A, &pDeadTimeCfg) != HAL_OK)
{
Error_Handler();
}
if (HAL_HRTIM_DeadTimeConfig(&hhrtim1, HRTIM_TIMERINDEX_TIMER_B, &pDeadTimeCfg) != HAL_OK)
{
Error_Handler();
}
pOutputCfg.Polarity = HRTIM_OUTPUTPOLARITY_HIGH;
pOutputCfg.SetSource = HRTIM_OUTPUTSET_TIMPER;
pOutputCfg.ResetSource = HRTIM_OUTPUTRESET_TIMCMP1;
pOutputCfg.IdleMode = HRTIM_OUTPUTIDLEMODE_NONE;
@@ -727,7 +772,6 @@ static void MX_HRTIM1_Init(void)
{
Error_Handler();
}
pOutputCfg.Polarity = HRTIM_OUTPUTPOLARITY_HIGH;
pOutputCfg.IdleLevel = HRTIM_OUTPUTIDLELEVEL_INACTIVE;
if (HAL_HRTIM_WaveformOutputConfig(&hhrtim1, HRTIM_TIMERINDEX_TIMER_A, HRTIM_OUTPUT_TA2, &pOutputCfg) != HAL_OK)
{
@@ -776,9 +820,9 @@ static void MX_TIM1_Init(void)
/* USER CODE END TIM1_Init 1 */
htim1.Instance = TIM1;
htim1.Init.Prescaler = 170-1;
htim1.Init.Prescaler = 17-1;
htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
htim1.Init.Period = 20;
htim1.Init.Period = 199;
htim1.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim1.Init.RepetitionCounter = 0;
htim1.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
@@ -804,6 +848,64 @@ static void MX_TIM1_Init(void)
}
/**
* @brief TIM3 Initialization Function
* @param None
* @retval None
*/
static void MX_TIM3_Init(void)
{
/* USER CODE BEGIN TIM3_Init 0 */
/* USER CODE END TIM3_Init 0 */
TIM_ClockConfigTypeDef sClockSourceConfig = {0};
TIM_MasterConfigTypeDef sMasterConfig = {0};
TIM_OC_InitTypeDef sConfigOC = {0};
/* USER CODE BEGIN TIM3_Init 1 */
/* USER CODE END TIM3_Init 1 */
htim3.Instance = TIM3;
htim3.Init.Prescaler = 17000-1;
htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
htim3.Init.Period = 200;
htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
if (HAL_TIM_Base_Init(&htim3) != HAL_OK)
{
Error_Handler();
}
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
if (HAL_TIM_ConfigClockSource(&htim3, &sClockSourceConfig) != HAL_OK)
{
Error_Handler();
}
if (HAL_TIM_OC_Init(&htim3) != HAL_OK)
{
Error_Handler();
}
sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK)
{
Error_Handler();
}
sConfigOC.OCMode = TIM_OCMODE_ACTIVE;
sConfigOC.Pulse = 100;
sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
if (HAL_TIM_OC_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_3) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN TIM3_Init 2 */
/* USER CODE END TIM3_Init 2 */
}
/**
* @brief USART1 Initialization Function
* @param None
@@ -862,14 +964,6 @@ static void MX_DMA_Init(void)
__HAL_RCC_DMAMUX1_CLK_ENABLE();
__HAL_RCC_DMA1_CLK_ENABLE();
/* DMA interrupt init */
/* DMA1_Channel1_IRQn interrupt configuration */
HAL_NVIC_SetPriority(DMA1_Channel1_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA1_Channel1_IRQn);
/* DMA1_Channel2_IRQn interrupt configuration */
HAL_NVIC_SetPriority(DMA1_Channel2_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA1_Channel2_IRQn);
}
/**
@@ -890,15 +984,22 @@ static void MX_GPIO_Init(void)
__HAL_RCC_GPIOA_CLK_ENABLE();
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOB, ENABLE_DRVA_Pin|ENABLE_DRVB_Pin, GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOB, ENABLE_DRVA1_Pin|ENABLE_DRVB1_Pin|ENABLE_DRVA2_Pin|ENABLE_DRVB2_Pin, GPIO_PIN_RESET);
/*Configure GPIO pins : ENABLE_DRVA_Pin ENABLE_DRVB_Pin */
GPIO_InitStruct.Pin = ENABLE_DRVA_Pin|ENABLE_DRVB_Pin;
/*Configure GPIO pins : ENABLE_DRVA1_Pin ENABLE_DRVB1_Pin */
GPIO_InitStruct.Pin = ENABLE_DRVA1_Pin|ENABLE_DRVB1_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_PULLDOWN;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/*Configure GPIO pins : ENABLE_DRVA2_Pin ENABLE_DRVB2_Pin */
GPIO_InitStruct.Pin = ENABLE_DRVA2_Pin|ENABLE_DRVB2_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN MX_GPIO_Init_2 */
/* USER CODE END MX_GPIO_Init_2 */
@@ -908,6 +1009,7 @@ static void MX_GPIO_Init(void)
void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef * htim)
{
#ifndef EXPERIMENTAL
if (htim == &htim1) // 50khz timer
{
time++; // current time in 20us increments; -> 1000 = one period
@@ -915,41 +1017,60 @@ void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef * htim)
if ((time >= 0) && (time < 500))
{
// positive half
// set hrtim->A with pwm_sine[time]
//HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_A].CMP1xR = pwm_sine[time];
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_A].CMP1xR = 0;
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_B].CMP1xR = pwm_sine[time];
HAL_HRTIM_WaveformOutputStop(&hhrtim1,HRTIM_OUTPUT_TB1|HRTIM_OUTPUT_TA2);
HAL_HRTIM_WaveformOutputStart(&hhrtim1,HRTIM_OUTPUT_TA1|HRTIM_OUTPUT_TB2);
HAL_GPIO_WritePin(ENABLE_DRVA_GPIO_Port,ENABLE_DRVA_Pin,GPIO_PIN_SET);
HAL_GPIO_WritePin(ENABLE_DRVB_GPIO_Port,ENABLE_DRVB_Pin,GPIO_PIN_SET);
}
else if ((time >= 500) && (time < 1000))
{
// negative half
// set hrtim->B with pwm_sine[time]
//HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_B].CMP1xR = pwm_sine[time-500];
// negative half
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_B].CMP1xR = 0;
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_A].CMP1xR = pwm_sine[time-500];
HAL_HRTIM_WaveformOutputStop(&hhrtim1,HRTIM_OUTPUT_TA1|HRTIM_OUTPUT_TB2);
HAL_HRTIM_WaveformOutputStart(&hhrtim1,HRTIM_OUTPUT_TB1|HRTIM_OUTPUT_TA2);
}
}
#endif
#ifdef EXPERIMENTAL
if (htim == &htim3)
{
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_A].CMP1xR = 0;
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_B].CMP1xR = 0;
}
#endif
}
void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim)
{
if (htim == &htim3)
{
//turn on
#ifdef POLARITY
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_A].CMP1xR = 0xD480;
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_B].CMP1xR = 0;
#endif
#ifndef POLARITY
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_B].CMP1xR = 0xD480;
HRTIM1->sTimerxRegs[HRTIM_TIMERINDEX_TIMER_A].CMP1xR = 0;
#endif
}
}
void HAL_COMP_TriggerCallback(COMP_HandleTypeDef *hcomp)
{
HAL_GPIO_WritePin(ENABLE_DRVA1_GPIO_Port,ENABLE_DRVA1_Pin,GPIO_PIN_RESET);//LG1
HAL_GPIO_WritePin(ENABLE_DRVA2_GPIO_Port,ENABLE_DRVA2_Pin,GPIO_PIN_RESET);//LG2
HAL_GPIO_WritePin(ENABLE_DRVB1_GPIO_Port,ENABLE_DRVB1_Pin,GPIO_PIN_RESET);//HG1
HAL_GPIO_WritePin(ENABLE_DRVB2_GPIO_Port,ENABLE_DRVB2_Pin,GPIO_PIN_RESET);//HG2
HAL_HRTIM_WaveformOutputStop(&hhrtim1,HRTIM_OUTPUT_TB2|HRTIM_OUTPUT_TB1|HRTIM_OUTPUT_TA2|HRTIM_OUTPUT_TA1);
HAL_TIM_Base_Stop_IT(&htim1);
char etext[20] = "COMP IT\n\r";
HAL_UART_Transmit(&huart1,(uint8_t *)(etext),11,10);
Error_Handler();
}
@@ -964,7 +1085,7 @@ void Error_Handler(void)
/* USER CODE BEGIN Error_Handler_Debug */
/* User can add his own implementation to report the HAL error return state */
char etext[20] = "Error \n\r";
HAL_UART_Transmit(&huart1,(uint8_t *)(etext),strlen(etext),10);
HAL_UART_Transmit(&huart1,(uint8_t *)(etext),10,10);
__disable_irq();
while (1)
{
+34 -3
View File
@@ -77,13 +77,17 @@ void HAL_MspInit(void)
/* System interrupt init*/
/** Configure the internal voltage reference buffer voltage scale
*/
HAL_SYSCFG_VREFBUF_VoltageScalingConfig(SYSCFG_VREFBUF_VOLTAGE_SCALE1);
/** Configure the internal voltage reference buffer high impedance mode
*/
HAL_SYSCFG_VREFBUF_HighImpedanceConfig(SYSCFG_VREFBUF_HIGH_IMPEDANCE_ENABLE);
HAL_SYSCFG_VREFBUF_HighImpedanceConfig(SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE);
/** Disable the Internal Voltage Reference buffer
/** Enable the Internal Voltage Reference buffer
*/
HAL_SYSCFG_DisableVREFBUF();
HAL_SYSCFG_EnableVREFBUF();
/** Disable the internal Pull-Up in Dead Battery pins of UCPD peripheral
*/
@@ -626,7 +630,20 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base)
/* USER CODE BEGIN TIM1_MspInit 1 */
/* USER CODE END TIM1_MspInit 1 */
}
else if(htim_base->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspInit 0 */
/* USER CODE END TIM3_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM3_CLK_ENABLE();
/* TIM3 interrupt Init */
HAL_NVIC_SetPriority(TIM3_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(TIM3_IRQn);
/* USER CODE BEGIN TIM3_MspInit 1 */
/* USER CODE END TIM3_MspInit 1 */
}
}
@@ -656,6 +673,20 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* htim_base)
/* USER CODE END TIM1_MspDeInit 1 */
}
else if(htim_base->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspDeInit 0 */
/* USER CODE END TIM3_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM3_CLK_DISABLE();
/* TIM3 interrupt DeInit */
HAL_NVIC_DisableIRQ(TIM3_IRQn);
/* USER CODE BEGIN TIM3_MspDeInit 1 */
/* USER CODE END TIM3_MspDeInit 1 */
}
}
+15 -30
View File
@@ -55,11 +55,10 @@
/* USER CODE END 0 */
/* External variables --------------------------------------------------------*/
extern DMA_HandleTypeDef hdma_adc3;
extern DMA_HandleTypeDef hdma_adc4;
extern COMP_HandleTypeDef hcomp5;
extern COMP_HandleTypeDef hcomp7;
extern TIM_HandleTypeDef htim1;
extern TIM_HandleTypeDef htim3;
/* USER CODE BEGIN EV */
/* USER CODE END EV */
@@ -202,34 +201,6 @@ void SysTick_Handler(void)
/* please refer to the startup file (startup_stm32g4xx.s). */
/******************************************************************************/
/**
* @brief This function handles DMA1 channel1 global interrupt.
*/
void DMA1_Channel1_IRQHandler(void)
{
/* USER CODE BEGIN DMA1_Channel1_IRQn 0 */
/* USER CODE END DMA1_Channel1_IRQn 0 */
HAL_DMA_IRQHandler(&hdma_adc3);
/* USER CODE BEGIN DMA1_Channel1_IRQn 1 */
/* USER CODE END DMA1_Channel1_IRQn 1 */
}
/**
* @brief This function handles DMA1 channel2 global interrupt.
*/
void DMA1_Channel2_IRQHandler(void)
{
/* USER CODE BEGIN DMA1_Channel2_IRQn 0 */
/* USER CODE END DMA1_Channel2_IRQn 0 */
HAL_DMA_IRQHandler(&hdma_adc4);
/* USER CODE BEGIN DMA1_Channel2_IRQn 1 */
/* USER CODE END DMA1_Channel2_IRQn 1 */
}
/**
* @brief This function handles TIM1 break interrupt and TIM15 global interrupt.
*/
@@ -286,6 +257,20 @@ void TIM1_CC_IRQHandler(void)
/* USER CODE END TIM1_CC_IRQn 1 */
}
/**
* @brief This function handles TIM3 global interrupt.
*/
void TIM3_IRQHandler(void)
{
/* USER CODE BEGIN TIM3_IRQn 0 */
/* USER CODE END TIM3_IRQn 0 */
HAL_TIM_IRQHandler(&htim3);
/* USER CODE BEGIN TIM3_IRQn 1 */
/* USER CODE END TIM3_IRQn 1 */
}
/**
* @brief This function handles COMP4, COMP5 and COMP6 interrupts through EXTI lines 30, 31 and 32.
*/
Binary file not shown.
+18127 -14431
View File
File diff suppressed because it is too large Load Diff
+995 -974
View File
File diff suppressed because it is too large Load Diff
+20 -18
View File
@@ -1,18 +1,20 @@
../Core/Src/main.c:152:5:main 1
../Core/Src/main.c:224:6:SystemClock_Config 3
../Core/Src/main.c:270:13:MX_ADC3_Init 4
../Core/Src/main.c:338:13:MX_ADC4_Init 3
../Core/Src/main.c:397:13:MX_COMP5_Init 2
../Core/Src/main.c:429:13:MX_COMP7_Init 2
../Core/Src/main.c:461:13:MX_CORDIC_Init 2
../Core/Src/main.c:487:13:MX_DAC1_Init 3
../Core/Src/main.c:534:13:MX_DAC4_Init 3
../Core/Src/main.c:581:13:MX_FMAC_Init 2
../Core/Src/main.c:607:13:MX_HRTIM1_Init 20
../Core/Src/main.c:765:13:MX_TIM1_Init 4
../Core/Src/main.c:812:13:MX_USART1_UART_Init 5
../Core/Src/main.c:858:13:MX_DMA_Init 1
../Core/Src/main.c:880:13:MX_GPIO_Init 1
../Core/Src/main.c:909:6:HAL_TIM_PeriodElapsedCallback 6
../Core/Src/main.c:947:6:HAL_COMP_TriggerCallback 1
../Core/Src/main.c:962:6:Error_Handler 1
../Core/Src/main.c:160:5:main 1
../Core/Src/main.c:251:6:SystemClock_Config 3
../Core/Src/main.c:297:13:MX_ADC3_Init 4
../Core/Src/main.c:365:13:MX_ADC4_Init 3
../Core/Src/main.c:424:13:MX_COMP5_Init 2
../Core/Src/main.c:456:13:MX_COMP7_Init 2
../Core/Src/main.c:488:13:MX_CORDIC_Init 2
../Core/Src/main.c:514:13:MX_DAC1_Init 3
../Core/Src/main.c:561:13:MX_DAC4_Init 3
../Core/Src/main.c:608:13:MX_FMAC_Init 2
../Core/Src/main.c:634:13:MX_HRTIM1_Init 22
../Core/Src/main.c:809:13:MX_TIM1_Init 4
../Core/Src/main.c:856:13:MX_TIM3_Init 6
../Core/Src/main.c:914:13:MX_USART1_UART_Init 5
../Core/Src/main.c:960:13:MX_DMA_Init 1
../Core/Src/main.c:974:13:MX_GPIO_Init 1
../Core/Src/main.c:1010:6:HAL_TIM_PeriodElapsedCallback 2
../Core/Src/main.c:1046:6:HAL_TIM_OC_DelayElapsedCallback 2
../Core/Src/main.c:1063:6:HAL_COMP_TriggerCallback 1
../Core/Src/main.c:1083:6:Error_Handler 1
Binary file not shown.
+20 -18
View File
@@ -1,18 +1,20 @@
../Core/Src/main.c:152:5:main 32 static
../Core/Src/main.c:224:6:SystemClock_Config 88 static
../Core/Src/main.c:270:13:MX_ADC3_Init 56 static
../Core/Src/main.c:338:13:MX_ADC4_Init 40 static
../Core/Src/main.c:397:13:MX_COMP5_Init 8 static
../Core/Src/main.c:429:13:MX_COMP7_Init 8 static
../Core/Src/main.c:461:13:MX_CORDIC_Init 8 static
../Core/Src/main.c:487:13:MX_DAC1_Init 56 static
../Core/Src/main.c:534:13:MX_DAC4_Init 56 static
../Core/Src/main.c:581:13:MX_FMAC_Init 8 static
../Core/Src/main.c:607:13:MX_HRTIM1_Init 216 static
../Core/Src/main.c:765:13:MX_TIM1_Init 40 static
../Core/Src/main.c:812:13:MX_USART1_UART_Init 8 static
../Core/Src/main.c:858:13:MX_DMA_Init 16 static
../Core/Src/main.c:880:13:MX_GPIO_Init 40 static
../Core/Src/main.c:909:6:HAL_TIM_PeriodElapsedCallback 16 static
../Core/Src/main.c:947:6:HAL_COMP_TriggerCallback 16 static
../Core/Src/main.c:962:6:Error_Handler 32 static,ignoring_inline_asm
../Core/Src/main.c:160:5:main 32 static
../Core/Src/main.c:251:6:SystemClock_Config 88 static
../Core/Src/main.c:297:13:MX_ADC3_Init 56 static
../Core/Src/main.c:365:13:MX_ADC4_Init 40 static
../Core/Src/main.c:424:13:MX_COMP5_Init 8 static
../Core/Src/main.c:456:13:MX_COMP7_Init 8 static
../Core/Src/main.c:488:13:MX_CORDIC_Init 8 static
../Core/Src/main.c:514:13:MX_DAC1_Init 56 static
../Core/Src/main.c:561:13:MX_DAC4_Init 56 static
../Core/Src/main.c:608:13:MX_FMAC_Init 8 static
../Core/Src/main.c:634:13:MX_HRTIM1_Init 248 static
../Core/Src/main.c:809:13:MX_TIM1_Init 40 static
../Core/Src/main.c:856:13:MX_TIM3_Init 64 static
../Core/Src/main.c:914:13:MX_USART1_UART_Init 8 static
../Core/Src/main.c:960:13:MX_DMA_Init 16 static
../Core/Src/main.c:974:13:MX_GPIO_Init 40 static
../Core/Src/main.c:1010:6:HAL_TIM_PeriodElapsedCallback 16 static
../Core/Src/main.c:1046:6:HAL_TIM_OC_DelayElapsedCallback 16 static
../Core/Src/main.c:1063:6:HAL_COMP_TriggerCallback 40 static
../Core/Src/main.c:1083:6:Error_Handler 32 static,ignoring_inline_asm
+17 -17
View File
@@ -1,18 +1,18 @@
../Core/Src/stm32g4xx_hal_msp.c:68:6:HAL_MspInit 1
../Core/Src/stm32g4xx_hal_msp.c:105:6:HAL_ADC_MspInit 9
../Core/Src/stm32g4xx_hal_msp.c:222:6:HAL_ADC_MspDeInit 5
../Core/Src/stm32g4xx_hal_msp.c:277:6:HAL_COMP_MspInit 3
../Core/Src/stm32g4xx_hal_msp.c:327:6:HAL_COMP_MspDeInit 3
../Core/Src/stm32g4xx_hal_msp.c:368:6:HAL_CORDIC_MspInit 2
../Core/Src/stm32g4xx_hal_msp.c:391:6:HAL_CORDIC_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:413:6:HAL_DAC_MspInit 3
../Core/Src/stm32g4xx_hal_msp.c:446:6:HAL_DAC_MspDeInit 3
../Core/Src/stm32g4xx_hal_msp.c:479:6:HAL_FMAC_MspInit 2
../Core/Src/stm32g4xx_hal_msp.c:502:6:HAL_FMAC_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:524:6:HAL_HRTIM_MspInit 2
../Core/Src/stm32g4xx_hal_msp.c:541:6:HAL_HRTIM_MspPostInit 2
../Core/Src/stm32g4xx_hal_msp.c:576:6:HAL_HRTIM_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:598:6:HAL_TIM_Base_MspInit 2
../Core/Src/stm32g4xx_hal_msp.c:630:6:HAL_TIM_Base_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:658:6:HAL_UART_MspInit 3
../Core/Src/stm32g4xx_hal_msp.c:706:6:HAL_UART_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:109:6:HAL_ADC_MspInit 9
../Core/Src/stm32g4xx_hal_msp.c:226:6:HAL_ADC_MspDeInit 5
../Core/Src/stm32g4xx_hal_msp.c:281:6:HAL_COMP_MspInit 3
../Core/Src/stm32g4xx_hal_msp.c:337:6:HAL_COMP_MspDeInit 3
../Core/Src/stm32g4xx_hal_msp.c:382:6:HAL_CORDIC_MspInit 2
../Core/Src/stm32g4xx_hal_msp.c:405:6:HAL_CORDIC_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:427:6:HAL_DAC_MspInit 3
../Core/Src/stm32g4xx_hal_msp.c:460:6:HAL_DAC_MspDeInit 3
../Core/Src/stm32g4xx_hal_msp.c:493:6:HAL_FMAC_MspInit 2
../Core/Src/stm32g4xx_hal_msp.c:516:6:HAL_FMAC_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:538:6:HAL_HRTIM_MspInit 2
../Core/Src/stm32g4xx_hal_msp.c:555:6:HAL_HRTIM_MspPostInit 2
../Core/Src/stm32g4xx_hal_msp.c:590:6:HAL_HRTIM_MspDeInit 2
../Core/Src/stm32g4xx_hal_msp.c:612:6:HAL_TIM_Base_MspInit 3
../Core/Src/stm32g4xx_hal_msp.c:657:6:HAL_TIM_Base_MspDeInit 3
../Core/Src/stm32g4xx_hal_msp.c:699:6:HAL_UART_MspInit 3
../Core/Src/stm32g4xx_hal_msp.c:747:6:HAL_UART_MspDeInit 2
Binary file not shown.
+17 -17
View File
@@ -1,18 +1,18 @@
../Core/Src/stm32g4xx_hal_msp.c:68:6:HAL_MspInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:105:6:HAL_ADC_MspInit 136 static
../Core/Src/stm32g4xx_hal_msp.c:222:6:HAL_ADC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:277:6:HAL_COMP_MspInit 48 static
../Core/Src/stm32g4xx_hal_msp.c:327:6:HAL_COMP_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:368:6:HAL_CORDIC_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:391:6:HAL_CORDIC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:413:6:HAL_DAC_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:446:6:HAL_DAC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:479:6:HAL_FMAC_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:502:6:HAL_FMAC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:524:6:HAL_HRTIM_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:541:6:HAL_HRTIM_MspPostInit 40 static
../Core/Src/stm32g4xx_hal_msp.c:576:6:HAL_HRTIM_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:598:6:HAL_TIM_Base_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:630:6:HAL_TIM_Base_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:658:6:HAL_UART_MspInit 128 static
../Core/Src/stm32g4xx_hal_msp.c:706:6:HAL_UART_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:109:6:HAL_ADC_MspInit 136 static
../Core/Src/stm32g4xx_hal_msp.c:226:6:HAL_ADC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:281:6:HAL_COMP_MspInit 48 static
../Core/Src/stm32g4xx_hal_msp.c:337:6:HAL_COMP_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:382:6:HAL_CORDIC_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:405:6:HAL_CORDIC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:427:6:HAL_DAC_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:460:6:HAL_DAC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:493:6:HAL_FMAC_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:516:6:HAL_FMAC_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:538:6:HAL_HRTIM_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:555:6:HAL_HRTIM_MspPostInit 40 static
../Core/Src/stm32g4xx_hal_msp.c:590:6:HAL_HRTIM_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:612:6:HAL_TIM_Base_MspInit 24 static
../Core/Src/stm32g4xx_hal_msp.c:657:6:HAL_TIM_Base_MspDeInit 16 static
../Core/Src/stm32g4xx_hal_msp.c:699:6:HAL_UART_MspInit 128 static
../Core/Src/stm32g4xx_hal_msp.c:747:6:HAL_UART_MspDeInit 16 static
+16 -15
View File
@@ -1,15 +1,16 @@
../Core/Src/stm32g4xx_it.c:71:6:NMI_Handler 1
../Core/Src/stm32g4xx_it.c:86:6:HardFault_Handler 1
../Core/Src/stm32g4xx_it.c:101:6:MemManage_Handler 1
../Core/Src/stm32g4xx_it.c:116:6:BusFault_Handler 1
../Core/Src/stm32g4xx_it.c:131:6:UsageFault_Handler 1
../Core/Src/stm32g4xx_it.c:146:6:SVC_Handler 1
../Core/Src/stm32g4xx_it.c:159:6:DebugMon_Handler 1
../Core/Src/stm32g4xx_it.c:172:6:PendSV_Handler 1
../Core/Src/stm32g4xx_it.c:185:6:SysTick_Handler 1
../Core/Src/stm32g4xx_it.c:206:6:DMA1_Channel1_IRQHandler 1
../Core/Src/stm32g4xx_it.c:220:6:DMA1_Channel2_IRQHandler 1
../Core/Src/stm32g4xx_it.c:234:6:TIM1_BRK_TIM15_IRQHandler 1
../Core/Src/stm32g4xx_it.c:248:6:TIM1_UP_TIM16_IRQHandler 1
../Core/Src/stm32g4xx_it.c:262:6:TIM1_TRG_COM_TIM17_IRQHandler 1
../Core/Src/stm32g4xx_it.c:276:6:TIM1_CC_IRQHandler 1
../Core/Src/stm32g4xx_it.c:72:6:NMI_Handler 1
../Core/Src/stm32g4xx_it.c:87:6:HardFault_Handler 1
../Core/Src/stm32g4xx_it.c:102:6:MemManage_Handler 1
../Core/Src/stm32g4xx_it.c:117:6:BusFault_Handler 1
../Core/Src/stm32g4xx_it.c:132:6:UsageFault_Handler 1
../Core/Src/stm32g4xx_it.c:147:6:SVC_Handler 1
../Core/Src/stm32g4xx_it.c:160:6:DebugMon_Handler 1
../Core/Src/stm32g4xx_it.c:173:6:PendSV_Handler 1
../Core/Src/stm32g4xx_it.c:186:6:SysTick_Handler 1
../Core/Src/stm32g4xx_it.c:207:6:TIM1_BRK_TIM15_IRQHandler 1
../Core/Src/stm32g4xx_it.c:221:6:TIM1_UP_TIM16_IRQHandler 1
../Core/Src/stm32g4xx_it.c:235:6:TIM1_TRG_COM_TIM17_IRQHandler 1
../Core/Src/stm32g4xx_it.c:249:6:TIM1_CC_IRQHandler 1
../Core/Src/stm32g4xx_it.c:263:6:TIM3_IRQHandler 1
../Core/Src/stm32g4xx_it.c:277:6:COMP4_5_6_IRQHandler 1
../Core/Src/stm32g4xx_it.c:291:6:COMP7_IRQHandler 1
Binary file not shown.
+16 -15
View File
@@ -1,15 +1,16 @@
../Core/Src/stm32g4xx_it.c:71:6:NMI_Handler 4 static
../Core/Src/stm32g4xx_it.c:86:6:HardFault_Handler 4 static
../Core/Src/stm32g4xx_it.c:101:6:MemManage_Handler 4 static
../Core/Src/stm32g4xx_it.c:116:6:BusFault_Handler 4 static
../Core/Src/stm32g4xx_it.c:131:6:UsageFault_Handler 4 static
../Core/Src/stm32g4xx_it.c:146:6:SVC_Handler 4 static
../Core/Src/stm32g4xx_it.c:159:6:DebugMon_Handler 4 static
../Core/Src/stm32g4xx_it.c:172:6:PendSV_Handler 4 static
../Core/Src/stm32g4xx_it.c:185:6:SysTick_Handler 8 static
../Core/Src/stm32g4xx_it.c:206:6:DMA1_Channel1_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:220:6:DMA1_Channel2_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:234:6:TIM1_BRK_TIM15_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:248:6:TIM1_UP_TIM16_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:262:6:TIM1_TRG_COM_TIM17_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:276:6:TIM1_CC_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:72:6:NMI_Handler 4 static
../Core/Src/stm32g4xx_it.c:87:6:HardFault_Handler 4 static
../Core/Src/stm32g4xx_it.c:102:6:MemManage_Handler 4 static
../Core/Src/stm32g4xx_it.c:117:6:BusFault_Handler 4 static
../Core/Src/stm32g4xx_it.c:132:6:UsageFault_Handler 4 static
../Core/Src/stm32g4xx_it.c:147:6:SVC_Handler 4 static
../Core/Src/stm32g4xx_it.c:160:6:DebugMon_Handler 4 static
../Core/Src/stm32g4xx_it.c:173:6:PendSV_Handler 4 static
../Core/Src/stm32g4xx_it.c:186:6:SysTick_Handler 8 static
../Core/Src/stm32g4xx_it.c:207:6:TIM1_BRK_TIM15_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:221:6:TIM1_UP_TIM16_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:235:6:TIM1_TRG_COM_TIM17_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:249:6:TIM1_CC_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:263:6:TIM3_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:277:6:COMP4_5_6_IRQHandler 8 static
../Core/Src/stm32g4xx_it.c:291:6:COMP7_IRQHandler 8 static