Initial commit

This commit is contained in:
2025-07-05 23:53:52 -07:00
parent dd007f0310
commit 8d1359cdf8
6404 changed files with 3073068 additions and 0 deletions

View File

@ -0,0 +1,192 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2077997155">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2077997155" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<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.debug" cleanCommand="rm -rf" description="" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2077997155" name="Debug" parent="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug">
<folderInfo id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2077997155." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.536932710" name="MCU ARM GCC" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.360095864" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32F407VGTx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.2110876266" 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.907342599" 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.1691582677" 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.1619485290" 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.1318304841" 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.852911409" 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.5 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F407VGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include || || || USE_HAL_DRIVER | STM32F407xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F407VGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1348036123" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/1_GPIO}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.275916782" 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.891921811" 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.115811289" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g3" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols.1203036433" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.14496273" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.14932273" name="MCU 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.623766449" 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.g3" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.298088952" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.421725988" 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="DEBUG"/>
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32F407xx"/>
<listOptionValue builtIn="false" value="__FPU_PRESENT"/>
<listOptionValue builtIn="false" value="ARM_MATH_CM4"/>
<listOptionValue builtIn="false" value="STM32F407VGTx"/>
<listOptionValue builtIn="false" value="STM32"/>
<listOptionValue builtIn="false" value="STM32F4"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.761140912" 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="&quot;${ProjDirPath}\Core\Inc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}\Drivers\CMSIS\Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}\Drivers\CMSIS\DSP\Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}\Drivers\CMSIS\Device\ST\STM32F4xx\Include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${ProjDirPath}\Drivers\STM32F4xx_HAL_Driver\Inc&quot;"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1209792810" 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.817147164" name="MCU 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.945144795" 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.g3" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.1884168279" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.626613353" name="MCU 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.25300791" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" useByScannerDiscovery="false" value="${workspace_loc:/${ProjName}/STM32F407VGTX_FLASH.ld}" valueType="string"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.libraries.1922302595" name="Libraries (-l)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.libraries" useByScannerDiscovery="false" valueType="libs">
<listOptionValue builtIn="false" value="arm_cortexM4lf_math"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.directories.359620760" name="Library search path (-L)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.directories" useByScannerDiscovery="false" valueType="libPaths">
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/Drivers/CMSIS/Lib/GCC}&quot;"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.846860784" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.1677316425" name="MCU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.531742991" name="MCU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.410677217" name="MCU Size" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.1764624958" name="MCU Output Converter list file" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.810750667" name="MCU Output Converter Hex" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.2026509742" name="MCU Output Converter Binary" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.461595713" name="MCU Output Converter Verilog" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.138033193" name="MCU Output Converter Motorola S-rec" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.74313124" name="MCU Output Converter Motorola S-rec with symbols" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Drivers"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1791151212">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1791151212" moduleId="org.eclipse.cdt.core.settings" name="Release">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<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.1791151212" 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.1791151212." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.1119266137" 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.2064784496" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32F407VGTx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.1750609641" 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.1085760380" 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.1588790268" 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.538092555" 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.959215633" 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.1439815858" 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.5 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F407VGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include || || || USE_HAL_DRIVER | STM32F407xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F407VGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1880079473" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/1_GPIO}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1087611657" 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.1909158192" 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.131166070" 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.970985042" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.828122564" name="MCU 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.478484066" 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.657045787" 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.564548412" 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="STM32F407xx"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.2051133221" 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/STM32F4xx_HAL_Driver/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1645942363" 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.1493536296" name="MCU 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.1965550003" 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.1568380383" 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.1308591548" name="MCU 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.59135343" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32F407VGTX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.1863071110" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.1137135800" name="MCU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.2036197931" name="MCU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.2110331338" name="MCU Size" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.1399467161" name="MCU Output Converter list file" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.1720355127" name="MCU Output Converter Hex" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.127496014" name="MCU Output Converter Binary" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.1690777797" name="MCU Output Converter Verilog" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.1160325043" name="MCU Output Converter Motorola S-rec" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.1054294561" name="MCU Output Converter Motorola S-rec with symbols" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="1_GPIO.null.1128475576" name="1_GPIO"/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2077997155;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2077997155.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.14932273;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1209792810">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1791151212;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1791151212.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.828122564;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1645942363">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="Debug">
<resource resourceType="PROJECT" workspacePath="/stm32f407_template"/>
</configuration>
<configuration configurationName="Release">
<resource resourceType="PROJECT" workspacePath="/stm32f407_template"/>
</configuration>
</storageModule>
</cproject>

View File

@ -0,0 +1,25 @@
[PreviousGenFiles]
AdvancedFolderStructure=true
HeaderFileListSize=3
HeaderFiles#0=C:/Users/cuiha/Desktop/1_GPIO/Core/Inc/stm32f4xx_it.h
HeaderFiles#1=C:/Users/cuiha/Desktop/1_GPIO/Core/Inc/stm32f4xx_hal_conf.h
HeaderFiles#2=C:/Users/cuiha/Desktop/1_GPIO/Core/Inc/main.h
HeaderFolderListSize=1
HeaderPath#0=C:/Users/cuiha/Desktop/1_GPIO/Core/Inc
HeaderFiles=;
SourceFileListSize=3
SourceFiles#0=C:/Users/cuiha/Desktop/1_GPIO/Core/Src/stm32f4xx_it.c
SourceFiles#1=C:/Users/cuiha/Desktop/1_GPIO/Core/Src/stm32f4xx_hal_msp.c
SourceFiles#2=C:/Users/cuiha/Desktop/1_GPIO/Core/Src/main.c
SourceFolderListSize=1
SourcePath#0=C:/Users/cuiha/Desktop/1_GPIO/Core/Src
SourceFiles=;
[PreviousLibFiles]
LibFiles=Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h;Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h;Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h;Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h;Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h;Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c;
[PreviousUsedCubeIDEFiles]
SourceFiles=Core\Src\main.c;Core\Src\stm32f4xx_it.c;Core\Src\stm32f4xx_hal_msp.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c;Core\Src/system_stm32f4xx.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c;Core\Src/system_stm32f4xx.c;;;
HeaderPath=Drivers\STM32F4xx_HAL_Driver\Inc;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32F4xx\Include;Core\Inc;
CDefines=USE_HAL_DRIVER;STM32F407xx;USE_HAL_DRIVER;USE_HAL_DRIVER;

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>stm32f407_template</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
sfrviewstate={"fFavorites"\:{"fLists"\:{}},"fProperties"\:{"fNodeProperties"\:{}}}

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2077997155" name="Debug">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<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="-824343798046847736" 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>
</extension>
</configuration>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1791151212" name="Release">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<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 copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-824343798046847736" 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>
</extension>
</configuration>
</project>

View File

@ -0,0 +1,74 @@
com.st.stm32cube.ide.mcu.ide.oss.source.checker.libnano.problem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Float formatting support\\")"}
eclipse.preferences.version=1
org.eclipse.cdt.codan.checkers.errnoreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"No return\\")",implicit\=>false}
org.eclipse.cdt.codan.checkers.errreturnvalue.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused return value\\")"}
org.eclipse.cdt.codan.checkers.localvarreturn=-Warning
org.eclipse.cdt.codan.checkers.localvarreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Returning the address of a local variable\\")"}
org.eclipse.cdt.codan.checkers.nocommentinside.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Nesting comments\\")"}
org.eclipse.cdt.codan.checkers.nolinecomment.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Line comments\\")"}
org.eclipse.cdt.codan.checkers.noreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"No return value\\")",implicit\=>false}
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Abstract class cannot be instantiated\\")"}
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Ambiguous problem\\")"}
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Assignment in condition\\")"}
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Assignment to itself\\")"}
org.eclipse.cdt.codan.internal.checkers.BlacklistProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.BlacklistProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Function or method is blacklisted\\")",blacklist\=>()}
org.eclipse.cdt.codan.internal.checkers.CStyleCastProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.CStyleCastProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"C-Style cast instead of C++ cast\\")",checkMacro\=>true}
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"No break at end of case\\")",no_break_comment\=>"no break",last_case_param\=>false,empty_case_param\=>false,enable_fallthrough_quickfix_param\=>false}
org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Catching by reference is recommended\\")",unknown\=>false,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Circular inheritance\\")"}
org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Class members should be properly initialized\\")",skip\=>true}
org.eclipse.cdt.codan.internal.checkers.CopyrightProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.CopyrightProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Lack of copyright information\\")",regex\=>".*Copyright.*"}
org.eclipse.cdt.codan.internal.checkers.DecltypeAutoProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid 'decltype(auto)' specifier\\")"}
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Field cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.FloatCompareProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.FloatCompareProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Direct float comparison\\")"}
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Function cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.GotoStatementProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.GotoStatementProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Goto statement used\\")"}
org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid arguments\\")"}
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid template argument\\")"}
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Label statement not found\\")"}
org.eclipse.cdt.codan.internal.checkers.MagicNumberProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.MagicNumberProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Avoid magic numbers\\")",checkArray\=>true,checkOperatorParen\=>true,exceptions\=>(1,0,-1,2,1.0,0.0,-1.0)}
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Member declaration not found\\")"}
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Method cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.MissCaseProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.MissCaseProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Missing cases in switch\\")"}
org.eclipse.cdt.codan.internal.checkers.MissDefaultProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.MissDefaultProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Missing default in switch\\")",defaultWithAllEnums\=>false}
org.eclipse.cdt.codan.internal.checkers.MissReferenceProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.MissReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Missing reference return value in assignment operator\\")"}
org.eclipse.cdt.codan.internal.checkers.MissSelfCheckProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.MissSelfCheckProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Missing self check in assignment operator\\")"}
org.eclipse.cdt.codan.internal.checkers.MultipleDeclarationsProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.MultipleDeclarationsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Multiple variable declaration\\")"}
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Name convention for function\\")",pattern\=>"^[a-z]",macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.NoDiscardProblem=Warning
org.eclipse.cdt.codan.internal.checkers.NoDiscardProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Return value not evaluated\\")",macro\=>true}
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Class has a virtual method and non-virtual destructor\\")"}
org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid overload\\")"}
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid redeclaration\\")"}
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Invalid redefinition\\")"}
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Return with parenthesis\\")"}
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Format String Vulnerability\\")"}
org.eclipse.cdt.codan.internal.checkers.ShallowCopyProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.ShallowCopyProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Miss copy constructor or assignment operator\\")",onlynew\=>false}
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Statement has no effect\\")",macro\=>true,exceptions\=>()}
org.eclipse.cdt.codan.internal.checkers.StaticVariableInHeaderProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.StaticVariableInHeaderProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Static variable in header file\\")"}
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Suggested parenthesis around expression\\")",paramNot\=>false}
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Suspicious semicolon\\")",else\=>false,afterelse\=>false}
org.eclipse.cdt.codan.internal.checkers.SymbolShadowingProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.SymbolShadowingProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Symbol shadowing\\")",paramFuncParameters\=>true}
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Type cannot be resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused function declaration\\")",macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused static function\\")",macro\=>true}
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Unused variable declaration in file scope\\")",macro\=>true,exceptions\=>("@(\#)","$Id")}
org.eclipse.cdt.codan.internal.checkers.UsingInHeaderProblem=-Warning
org.eclipse.cdt.codan.internal.checkers.UsingInHeaderProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Using directive in header\\")"}
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Symbol is not resolved\\")"}
org.eclipse.cdt.codan.internal.checkers.VirtualMethodCallProblem=-Error
org.eclipse.cdt.codan.internal.checkers.VirtualMethodCallProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},suppression_comment\=>"@suppress(\\"Virtual method call in constructor/destructor\\")"}

View File

@ -0,0 +1,6 @@
doxygen/doxygen_new_line_after_brief=true
doxygen/doxygen_use_brief_tag=false
doxygen/doxygen_use_javadoc_tags=true
doxygen/doxygen_use_pre_tag=false
doxygen/doxygen_use_structural_commands=false
eclipse.preferences.version=1

View File

@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View File

@ -0,0 +1,3 @@
8DF89ED150041C4CBC7CB9A9CAA90856=C5DB64088EF63797DAE288B1A026E100
DC22A860405A8BF2F2C095E5B6529F12=3E18FC798BC1936B42247016D2464A6A
eclipse.preferences.version=1

View File

@ -0,0 +1,24 @@
#ifndef __STM32F407xx_ADC_H
#define __STM32F407xx_ADC_H
#include <stdint.h>
#include "stm32f4xx.h"
#include "stm32f4xx_hal.h"
extern ADC_HandleTypeDef hadc1;
extern DMA_HandleTypeDef hdma_adc1;
// HAL
uint32_t ADC_PA0_read(void);
void ADC_PA0_init_start(void);
void ADC_PA0_single_conv_init(void);
void ADC_PA0_interrupt_init(void);
// CMSIS
uint32_t ADC_PA1_start_read(void);
void ADC_PA1_init(void);
void ADC_PA1_DMA_init(void);
void ADC_PA1PA4_DMA_init(void);
#endif

View File

@ -0,0 +1,26 @@
#ifndef __STM32F407xx_CAN_H
#define __STM32F407xx_CAN_H
#include "stm32f4xx_hal.h"
#include "stm32f407xx_it.h"
extern CAN_HandleTypeDef hcan1;
extern CAN_HandleTypeDef hcan2;
extern CAN_TxHeaderTypeDef TxHeader_CAN1;
extern CAN_RxHeaderTypeDef RxHeader_CAN1;
extern uint32_t TxMailbox_CAN1;
extern uint8_t TxData_CAN1[8]; // 8 bytes
extern uint8_t RxData_CAN1[8]; // 8 bytes
extern uint32_t TxCounter_CAN1, RxCounter_CAN1;
void CAN1_init(void);
void CAN1_interrupt_init(void);
void CAN1_transmit(void);
#endif

View File

@ -0,0 +1,13 @@
#ifndef __STM32F407xx_CLOCK_H
#define __STM32F407xx_CLOCK_H
#include "stm32f4xx_hal.h"
extern uint32_t HCLK_freq;
extern uint32_t PCLK1_freq;
extern uint32_t PCLK2_freq;
void HAL_System_Clock_Config(void);
#endif

View File

@ -0,0 +1,23 @@
#ifndef __STM32F407xx_DMA_H
#define __STM32F407xx_DMA_H
#include <stdio.h>
#include "stm32f4xx_hal.h"
#define DMA_BUFFER_SIZE 32
#define DMA_CHANNEL DMA_CHANNEL_0
#define DMA_STREAM DMA2_Stream0
#define DMA_STREAM_IRQ DMA2_Stream0_IRQn
#define DMA_STREAM_IRQHANDLER DMA2_Stream0_IRQHandler
extern DMA_HandleTypeDef hdma;
extern const uint32_t aSRC_Const_Buffer[DMA_BUFFER_SIZE];
extern uint32_t aDST_Buffer[DMA_BUFFER_SIZE];
void DMA2_init(void);
void TransferCompleteCallback(DMA_HandleTypeDef *hdma);
void TransferErrorCallback(DMA_HandleTypeDef *hdma);
#endif

View File

@ -0,0 +1,11 @@
#ifndef __STM32F407xx_DSP_H
#define __STM32F407xx_DSP_H
#include <math.h>
#include "arm_math.h"
#include "stm32f4xx.h"
void FPU_enable(void);
#endif

View File

@ -0,0 +1,12 @@
#ifndef __STM32F407xx_EXTI_H
#define __STM32F407xx_EXTI_H
#include "stm32f4xx_hal.h"
uint8_t GPIO_PA0_digital_read(void);
void GPIO_PA0_interrupt_init(void);
uint8_t GPIO_PC13_digital_read(void);
void GPIO_PC13_interrupt_init(void);
#endif

View File

@ -0,0 +1,14 @@
#ifndef __STM32F407xx_GPIO_H
#define __STM32F407xx_GPIO_H
#include "stm32f4xx_hal.h"
// PA0 : Button
// PD12 : Green
// PD13 : Orange
// PD14 : Red
// PD15 : Blue
void LED_init(void);
void Button_init(void);
#endif

View File

@ -0,0 +1,28 @@
#ifndef __STM32F407xx_I2C_ADXL345_H
#define __STM32F407xx_I2C_ADXL345_H
#include "stm32f4xx_hal.h"
#define DEVICE_ADDR 0x53<<1
#define DEVID_R 0x00
#define POWER_CTL_R 0x2D
#define DATA_FORMAT_R 0x31
#define FOUR_G 0x01
#define RESET 0x00
#define SET_MEASURE_B 0x08
#define DATA_START_ADDR 0x32
#define FOUR_G_SCALE_FACT 0.0078
extern I2C_HandleTypeDef hi2c1_adxl345;
extern uint8_t i2cRxBuff_adxl345[6];
extern uint8_t adxl345_device_id;
extern int16_t adxl345_x, adxl345_y, adxl345_z;
extern float adxl345_xg, adxl345_yg, adxl345_zg;
void adxl345_write(uint8_t reg, uint8_t val);
void adxl345_read_values(uint8_t reg);
void adxl345_read_address(uint8_t reg);
void i2c1_adxl345_init(void);
#endif

View File

@ -0,0 +1,16 @@
#ifndef __STM32F407xx_IT_H
#define __STM32F407xx_IT_H
void Error_Handler(void);
void SysTick_Handler(void);
void NMI_Handler(void);
void HardFault_Handler(void);
void MemManage_Handler(void);
void BusFault_Handler(void);
void UsageFault_Handler(void);
void SVC_Handler(void);
void DebugMon_Handler(void);
void PendSV_Handler(void);
#endif

View File

@ -0,0 +1,18 @@
#ifndef __STM32F407xx_RTC_H
#define __STM32F407xx_RTC_H
#include <stdio.h>
#include "stm32f4xx.h"
#define BK_FLAG 0x5555
#define RTC_ASYNCH_PREDIV 0x7F // 127
#define RTC_SYNCH_PREDIV 0xF9 // 249
extern RTC_HandleTypeDef hrtc;
void RTC_init(void);
void RTC_calendar_config(void);
void RTC_calendar_show(uint8_t *showtime, uint8_t *showdate);
#endif

View File

@ -0,0 +1,21 @@
#ifndef __STM32F407xx_SPI_H
#define __STM32F407xx_SPI_H
#include "stm32f4xx_hal.h"
extern SPI_HandleTypeDef hspi1;
extern SPI_HandleTypeDef hspi2;
extern SPI_HandleTypeDef hspi3;
extern DMA_HandleTypeDef hdma_spi2_tx;
extern DMA_HandleTypeDef hdma_spi2_rx;
void SPI1_init(void);
void SPI2_init(void);
void SPI3_init(void);
void SPI2_interrupt_init(void);
void SPI2_DMA_init(void);
#endif

View File

@ -0,0 +1,22 @@
#ifndef __STM32F407xx_SPI_LIS3DSH_H
#define __STM32F407xx_SPI_LIS3DSH_H
#include "stm32f4xx_hal.h"
// MEMS_INT1 : PE0
// MEMS_INT2 : PE1
// CS : PE3
// SPI1_SCK : PA5
// SPI1_MISO : PA6
// SPI1_MOSI : PA7
// LIS3DSH accelerometer 3-axis X, Y, Z
extern SPI_HandleTypeDef hspi1_lis3dsh;
extern uint8_t spiTxBuff_lis3dsh[2], spiRxBuff_lis3dsh[2];
void spi1_lis3dsh_init(void);
#endif

View File

@ -0,0 +1,9 @@
#ifndef __STM32F407xx_SYSTICK_H
#define __STM32F407xx_SYSTICK_H
#include "stm32f4xx.h"
void SysTickDelayMs(int delayMs);
#endif

View File

@ -0,0 +1,11 @@
#ifndef __STM32F407xx_TIM_H
#define __STM32F407xx_TIM_H
#include "stm32f4xx_hal.h"
extern TIM_HandleTypeDef htim3;
// Initialize timer with msPeriod
void TIM3_timebase_init(uint16_t msPeriod);
#endif

View File

@ -0,0 +1,23 @@
#ifndef __STM32F407xx_UART_H
#define __STM32F407xx_UART_H
#include <stdio.h>
#include "stm32f4xx_hal.h"
extern UART_HandleTypeDef huart1;
extern UART_HandleTypeDef huart2;
extern DMA_HandleTypeDef hdma_usart2_tx;
extern DMA_HandleTypeDef hdma_usart2_rx;
// printf() by using UART2
int __io_putchar(int ch);
void UART1_init(void);
void UART2_init(void);
void UART2_interrupt_init(void);
void UART2_DMA_init(void);
#endif

View File

@ -0,0 +1,493 @@
/**
******************************************************************************
* @file stm32f4xx_hal_conf_template.h
* @author MCD Application Team
* @brief HAL configuration template file.
* This file should be copied to the application folder and renamed
* to stm32f4xx_hal_conf.h.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F4xx_HAL_CONF_H
#define __STM32F4xx_HAL_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* ########################## Module Selection ############################## */
/**
* @brief This is the list of modules to be used in the HAL driver
*/
#define HAL_MODULE_ENABLED
/* #define HAL_CRYP_MODULE_ENABLED */
/* #define HAL_CAN_MODULE_ENABLED */
/* #define HAL_CRC_MODULE_ENABLED */
/* #define HAL_CAN_LEGACY_MODULE_ENABLED */
/* #define HAL_CRYP_MODULE_ENABLED */
/* #define HAL_DAC_MODULE_ENABLED */
/* #define HAL_DCMI_MODULE_ENABLED */
/* #define HAL_DMA2D_MODULE_ENABLED */
/* #define HAL_ETH_MODULE_ENABLED */
/* #define HAL_NAND_MODULE_ENABLED */
/* #define HAL_NOR_MODULE_ENABLED */
/* #define HAL_PCCARD_MODULE_ENABLED */
/* #define HAL_SRAM_MODULE_ENABLED */
/* #define HAL_SDRAM_MODULE_ENABLED */
/* #define HAL_HASH_MODULE_ENABLED */
/* #define HAL_I2S_MODULE_ENABLED */
/* #define HAL_IWDG_MODULE_ENABLED */
/* #define HAL_LTDC_MODULE_ENABLED */
/* #define HAL_RNG_MODULE_ENABLED */
/* #define HAL_SAI_MODULE_ENABLED */
/* #define HAL_SD_MODULE_ENABLED */
/* #define HAL_MMC_MODULE_ENABLED */
/* #define HAL_IRDA_MODULE_ENABLED */
/* #define HAL_SMARTCARD_MODULE_ENABLED */
/* #define HAL_SMBUS_MODULE_ENABLED */
/* #define HAL_WWDG_MODULE_ENABLED */
/* #define HAL_PCD_MODULE_ENABLED */
/* #define HAL_HCD_MODULE_ENABLED */
/* #define HAL_DSI_MODULE_ENABLED */
/* #define HAL_QSPI_MODULE_ENABLED */
/* #define HAL_QSPI_MODULE_ENABLED */
/* #define HAL_CEC_MODULE_ENABLED */
/* #define HAL_FMPI2C_MODULE_ENABLED */
/* #define HAL_FMPSMBUS_MODULE_ENABLED */
/* #define HAL_SPDIFRX_MODULE_ENABLED */
/* #define HAL_DFSDM_MODULE_ENABLED */
/* #define HAL_LPTIM_MODULE_ENABLED */
#define HAL_CAN_MODULE_ENABLED
#define HAL_RTC_MODULE_ENABLED
#define HAL_I2C_MODULE_ENABLED
#define HAL_SPI_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
#define HAL_TIM_MODULE_ENABLED
#define HAL_GPIO_MODULE_ENABLED
#define HAL_EXTI_MODULE_ENABLED
#define HAL_DMA_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED
#define HAL_UART_MODULE_ENABLED
#define HAL_USART_MODULE_ENABLED
#define HAL_FLASH_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_CORTEX_MODULE_ENABLED
/* ########################## HSE/HSI Values adaptation ##################### */
/**
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
* This value is used by the RCC HAL module to compute the system frequency
* (when HSE is used as system clock source, directly or through the PLL).
*/
#if !defined (HSE_VALUE)
#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSE_STARTUP_TIMEOUT)
#define HSE_STARTUP_TIMEOUT 100U /*!< Time out for HSE start up, in ms */
#endif /* HSE_STARTUP_TIMEOUT */
/**
* @brief Internal High Speed oscillator (HSI) value.
* This value is used by the RCC HAL module to compute the system frequency
* (when HSI is used as system clock source, directly or through the PLL).
*/
#if !defined (HSI_VALUE)
#define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
#endif /* HSI_VALUE */
/**
* @brief Internal Low Speed oscillator (LSI) value.
*/
#if !defined (LSI_VALUE)
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz*/
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
The real value may vary depending on the variations
in voltage and temperature.*/
/**
* @brief External Low Speed oscillator (LSE) value.
*/
#if !defined (LSE_VALUE)
#define LSE_VALUE 32768U /*!< Value of the External Low Speed oscillator in Hz */
#endif /* LSE_VALUE */
#if !defined (LSE_STARTUP_TIMEOUT)
#define LSE_STARTUP_TIMEOUT 5000U /*!< Time out for LSE start up, in ms */
#endif /* LSE_STARTUP_TIMEOUT */
/**
* @brief External clock source for I2S peripheral
* This value is used by the I2S HAL module to compute the I2S clock source
* frequency, this source is inserted directly through I2S_CKIN pad.
*/
#if !defined (EXTERNAL_CLOCK_VALUE)
#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External audio frequency in Hz*/
#endif /* EXTERNAL_CLOCK_VALUE */
/* Tip: To avoid modifying this file each time you need to use different HSE,
=== you can define the HSE value in your toolchain compiler preprocessor. */
/* ########################### System Configuration ######################### */
/**
* @brief This is the HAL system configuration section
*/
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
#define TICK_INT_PRIORITY 15U /*!< tick interrupt priority */
#define USE_RTOS 0U
#define PREFETCH_ENABLE 1U
#define INSTRUCTION_CACHE_ENABLE 1U
#define DATA_CACHE_ENABLE 1U
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
#define USE_HAL_CEC_REGISTER_CALLBACKS 0U /* CEC register callback disabled */
#define USE_HAL_CRYP_REGISTER_CALLBACKS 0U /* CRYP register callback disabled */
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U /* DAC register callback disabled */
#define USE_HAL_DCMI_REGISTER_CALLBACKS 0U /* DCMI register callback disabled */
#define USE_HAL_DFSDM_REGISTER_CALLBACKS 0U /* DFSDM register callback disabled */
#define USE_HAL_DMA2D_REGISTER_CALLBACKS 0U /* DMA2D register callback disabled */
#define USE_HAL_DSI_REGISTER_CALLBACKS 0U /* DSI register callback disabled */
#define USE_HAL_ETH_REGISTER_CALLBACKS 0U /* ETH register callback disabled */
#define USE_HAL_HASH_REGISTER_CALLBACKS 0U /* HASH register callback disabled */
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U /* HCD register callback disabled */
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
#define USE_HAL_FMPI2C_REGISTER_CALLBACKS 0U /* FMPI2C register callback disabled */
#define USE_HAL_FMPSMBUS_REGISTER_CALLBACKS 0U /* FMPSMBUS register callback disabled */
#define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U /* LPTIM register callback disabled */
#define USE_HAL_LTDC_REGISTER_CALLBACKS 0U /* LTDC register callback disabled */
#define USE_HAL_MMC_REGISTER_CALLBACKS 0U /* MMC register callback disabled */
#define USE_HAL_NAND_REGISTER_CALLBACKS 0U /* NAND register callback disabled */
#define USE_HAL_NOR_REGISTER_CALLBACKS 0U /* NOR register callback disabled */
#define USE_HAL_PCCARD_REGISTER_CALLBACKS 0U /* PCCARD register callback disabled */
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
#define USE_HAL_QSPI_REGISTER_CALLBACKS 0U /* QSPI register callback disabled */
#define USE_HAL_RNG_REGISTER_CALLBACKS 0U /* RNG register callback disabled */
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U /* SAI register callback disabled */
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
#define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
#define USE_HAL_SRAM_REGISTER_CALLBACKS 0U /* SRAM register callback disabled */
#define USE_HAL_SPDIFRX_REGISTER_CALLBACKS 0U /* SPDIFRX register callback disabled */
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
#define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
#define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
/* ########################## Assert Selection ############################## */
/**
* @brief Uncomment the line below to expanse the "assert_param" macro in the
* HAL drivers code
*/
/* #define USE_FULL_ASSERT 1U */
/* ################## Ethernet peripheral configuration ##################### */
/* Section 1 : Ethernet peripheral configuration */
/* MAC ADDRESS: MAC_ADDR0:MAC_ADDR1:MAC_ADDR2:MAC_ADDR3:MAC_ADDR4:MAC_ADDR5 */
#define MAC_ADDR0 2U
#define MAC_ADDR1 0U
#define MAC_ADDR2 0U
#define MAC_ADDR3 0U
#define MAC_ADDR4 0U
#define MAC_ADDR5 0U
/* Definition of the Ethernet driver buffers size and count */
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
#define ETH_RXBUFNB 4U /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
#define ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
/* Section 2: PHY configuration section */
/* DP83848_PHY_ADDRESS Address*/
#define DP83848_PHY_ADDRESS 0x01U
/* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
#define PHY_RESET_DELAY 0x000000FFU
/* PHY Configuration delay */
#define PHY_CONFIG_DELAY 0x00000FFFU
#define PHY_READ_TO 0x0000FFFFU
#define PHY_WRITE_TO 0x0000FFFFU
/* Section 3: Common PHY Registers */
#define PHY_BCR ((uint16_t)0x0000U) /*!< Transceiver Basic Control Register */
#define PHY_BSR ((uint16_t)0x0001U) /*!< Transceiver Basic Status Register */
#define PHY_RESET ((uint16_t)0x8000U) /*!< PHY Reset */
#define PHY_LOOPBACK ((uint16_t)0x4000U) /*!< Select loop-back mode */
#define PHY_FULLDUPLEX_100M ((uint16_t)0x2100U) /*!< Set the full-duplex mode at 100 Mb/s */
#define PHY_HALFDUPLEX_100M ((uint16_t)0x2000U) /*!< Set the half-duplex mode at 100 Mb/s */
#define PHY_FULLDUPLEX_10M ((uint16_t)0x0100U) /*!< Set the full-duplex mode at 10 Mb/s */
#define PHY_HALFDUPLEX_10M ((uint16_t)0x0000U) /*!< Set the half-duplex mode at 10 Mb/s */
#define PHY_AUTONEGOTIATION ((uint16_t)0x1000U) /*!< Enable auto-negotiation function */
#define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200U) /*!< Restart auto-negotiation function */
#define PHY_POWERDOWN ((uint16_t)0x0800U) /*!< Select the power down mode */
#define PHY_ISOLATE ((uint16_t)0x0400U) /*!< Isolate PHY from MII */
#define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020U) /*!< Auto-Negotiation process completed */
#define PHY_LINKED_STATUS ((uint16_t)0x0004U) /*!< Valid link established */
#define PHY_JABBER_DETECTION ((uint16_t)0x0002U) /*!< Jabber condition detected */
/* Section 4: Extended PHY Registers */
#define PHY_SR ((uint16_t)0x10U) /*!< PHY status register Offset */
#define PHY_SPEED_STATUS ((uint16_t)0x0002U) /*!< PHY Speed mask */
#define PHY_DUPLEX_STATUS ((uint16_t)0x0004U) /*!< PHY Duplex mask */
/* ################## SPI peripheral configuration ########################## */
/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
* Activated: CRC code is present inside driver
* Deactivated: CRC code cleaned from driver
*/
#define USE_SPI_CRC 0U
/* Includes ------------------------------------------------------------------*/
/**
* @brief Include module's header file
*/
#ifdef HAL_RCC_MODULE_ENABLED
#include "stm32f4xx_hal_rcc.h"
#endif /* HAL_RCC_MODULE_ENABLED */
#ifdef HAL_GPIO_MODULE_ENABLED
#include "stm32f4xx_hal_gpio.h"
#endif /* HAL_GPIO_MODULE_ENABLED */
#ifdef HAL_EXTI_MODULE_ENABLED
#include "stm32f4xx_hal_exti.h"
#endif /* HAL_EXTI_MODULE_ENABLED */
#ifdef HAL_DMA_MODULE_ENABLED
#include "stm32f4xx_hal_dma.h"
#endif /* HAL_DMA_MODULE_ENABLED */
#ifdef HAL_CORTEX_MODULE_ENABLED
#include "stm32f4xx_hal_cortex.h"
#endif /* HAL_CORTEX_MODULE_ENABLED */
#ifdef HAL_ADC_MODULE_ENABLED
#include "stm32f4xx_hal_adc.h"
#endif /* HAL_ADC_MODULE_ENABLED */
#ifdef HAL_CAN_MODULE_ENABLED
#include "stm32f4xx_hal_can.h"
#endif /* HAL_CAN_MODULE_ENABLED */
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
#include "stm32f4xx_hal_can_legacy.h"
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
#ifdef HAL_CRC_MODULE_ENABLED
#include "stm32f4xx_hal_crc.h"
#endif /* HAL_CRC_MODULE_ENABLED */
#ifdef HAL_CRYP_MODULE_ENABLED
#include "stm32f4xx_hal_cryp.h"
#endif /* HAL_CRYP_MODULE_ENABLED */
#ifdef HAL_DMA2D_MODULE_ENABLED
#include "stm32f4xx_hal_dma2d.h"
#endif /* HAL_DMA2D_MODULE_ENABLED */
#ifdef HAL_DAC_MODULE_ENABLED
#include "stm32f4xx_hal_dac.h"
#endif /* HAL_DAC_MODULE_ENABLED */
#ifdef HAL_DCMI_MODULE_ENABLED
#include "stm32f4xx_hal_dcmi.h"
#endif /* HAL_DCMI_MODULE_ENABLED */
#ifdef HAL_ETH_MODULE_ENABLED
#include "stm32f4xx_hal_eth.h"
#endif /* HAL_ETH_MODULE_ENABLED */
#ifdef HAL_FLASH_MODULE_ENABLED
#include "stm32f4xx_hal_flash.h"
#endif /* HAL_FLASH_MODULE_ENABLED */
#ifdef HAL_SRAM_MODULE_ENABLED
#include "stm32f4xx_hal_sram.h"
#endif /* HAL_SRAM_MODULE_ENABLED */
#ifdef HAL_NOR_MODULE_ENABLED
#include "stm32f4xx_hal_nor.h"
#endif /* HAL_NOR_MODULE_ENABLED */
#ifdef HAL_NAND_MODULE_ENABLED
#include "stm32f4xx_hal_nand.h"
#endif /* HAL_NAND_MODULE_ENABLED */
#ifdef HAL_PCCARD_MODULE_ENABLED
#include "stm32f4xx_hal_pccard.h"
#endif /* HAL_PCCARD_MODULE_ENABLED */
#ifdef HAL_SDRAM_MODULE_ENABLED
#include "stm32f4xx_hal_sdram.h"
#endif /* HAL_SDRAM_MODULE_ENABLED */
#ifdef HAL_HASH_MODULE_ENABLED
#include "stm32f4xx_hal_hash.h"
#endif /* HAL_HASH_MODULE_ENABLED */
#ifdef HAL_I2C_MODULE_ENABLED
#include "stm32f4xx_hal_i2c.h"
#endif /* HAL_I2C_MODULE_ENABLED */
#ifdef HAL_SMBUS_MODULE_ENABLED
#include "stm32f4xx_hal_smbus.h"
#endif /* HAL_SMBUS_MODULE_ENABLED */
#ifdef HAL_I2S_MODULE_ENABLED
#include "stm32f4xx_hal_i2s.h"
#endif /* HAL_I2S_MODULE_ENABLED */
#ifdef HAL_IWDG_MODULE_ENABLED
#include "stm32f4xx_hal_iwdg.h"
#endif /* HAL_IWDG_MODULE_ENABLED */
#ifdef HAL_LTDC_MODULE_ENABLED
#include "stm32f4xx_hal_ltdc.h"
#endif /* HAL_LTDC_MODULE_ENABLED */
#ifdef HAL_PWR_MODULE_ENABLED
#include "stm32f4xx_hal_pwr.h"
#endif /* HAL_PWR_MODULE_ENABLED */
#ifdef HAL_RNG_MODULE_ENABLED
#include "stm32f4xx_hal_rng.h"
#endif /* HAL_RNG_MODULE_ENABLED */
#ifdef HAL_RTC_MODULE_ENABLED
#include "stm32f4xx_hal_rtc.h"
#endif /* HAL_RTC_MODULE_ENABLED */
#ifdef HAL_SAI_MODULE_ENABLED
#include "stm32f4xx_hal_sai.h"
#endif /* HAL_SAI_MODULE_ENABLED */
#ifdef HAL_SD_MODULE_ENABLED
#include "stm32f4xx_hal_sd.h"
#endif /* HAL_SD_MODULE_ENABLED */
#ifdef HAL_SPI_MODULE_ENABLED
#include "stm32f4xx_hal_spi.h"
#endif /* HAL_SPI_MODULE_ENABLED */
#ifdef HAL_TIM_MODULE_ENABLED
#include "stm32f4xx_hal_tim.h"
#endif /* HAL_TIM_MODULE_ENABLED */
#ifdef HAL_UART_MODULE_ENABLED
#include "stm32f4xx_hal_uart.h"
#endif /* HAL_UART_MODULE_ENABLED */
#ifdef HAL_USART_MODULE_ENABLED
#include "stm32f4xx_hal_usart.h"
#endif /* HAL_USART_MODULE_ENABLED */
#ifdef HAL_IRDA_MODULE_ENABLED
#include "stm32f4xx_hal_irda.h"
#endif /* HAL_IRDA_MODULE_ENABLED */
#ifdef HAL_SMARTCARD_MODULE_ENABLED
#include "stm32f4xx_hal_smartcard.h"
#endif /* HAL_SMARTCARD_MODULE_ENABLED */
#ifdef HAL_WWDG_MODULE_ENABLED
#include "stm32f4xx_hal_wwdg.h"
#endif /* HAL_WWDG_MODULE_ENABLED */
#ifdef HAL_PCD_MODULE_ENABLED
#include "stm32f4xx_hal_pcd.h"
#endif /* HAL_PCD_MODULE_ENABLED */
#ifdef HAL_HCD_MODULE_ENABLED
#include "stm32f4xx_hal_hcd.h"
#endif /* HAL_HCD_MODULE_ENABLED */
#ifdef HAL_DSI_MODULE_ENABLED
#include "stm32f4xx_hal_dsi.h"
#endif /* HAL_DSI_MODULE_ENABLED */
#ifdef HAL_QSPI_MODULE_ENABLED
#include "stm32f4xx_hal_qspi.h"
#endif /* HAL_QSPI_MODULE_ENABLED */
#ifdef HAL_CEC_MODULE_ENABLED
#include "stm32f4xx_hal_cec.h"
#endif /* HAL_CEC_MODULE_ENABLED */
#ifdef HAL_FMPI2C_MODULE_ENABLED
#include "stm32f4xx_hal_fmpi2c.h"
#endif /* HAL_FMPI2C_MODULE_ENABLED */
#ifdef HAL_FMPSMBUS_MODULE_ENABLED
#include "stm32f4xx_hal_fmpsmbus.h"
#endif /* HAL_FMPSMBUS_MODULE_ENABLED */
#ifdef HAL_SPDIFRX_MODULE_ENABLED
#include "stm32f4xx_hal_spdifrx.h"
#endif /* HAL_SPDIFRX_MODULE_ENABLED */
#ifdef HAL_DFSDM_MODULE_ENABLED
#include "stm32f4xx_hal_dfsdm.h"
#endif /* HAL_DFSDM_MODULE_ENABLED */
#ifdef HAL_LPTIM_MODULE_ENABLED
#include "stm32f4xx_hal_lptim.h"
#endif /* HAL_LPTIM_MODULE_ENABLED */
#ifdef HAL_MMC_MODULE_ENABLED
#include "stm32f4xx_hal_mmc.h"
#endif /* HAL_MMC_MODULE_ENABLED */
/* Exported macro ------------------------------------------------------------*/
#ifdef USE_FULL_ASSERT
/**
* @brief The assert_param macro is used for function's parameters check.
* @param expr If expr is false, it calls assert_failed function
* which reports the name of the source file and the source
* line number of the call that failed.
* If expr is true, it returns no value.
* @retval None
*/
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
/* Exported functions ------------------------------------------------------- */
void assert_failed(uint8_t* file, uint32_t line);
#else
#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */
#ifdef __cplusplus
}
#endif
#endif /* __STM32F4xx_HAL_CONF_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@ -0,0 +1,301 @@
#include "stm32f4xx_hal.h"
// Customized libraries
#include "stm32f407xx_it.h"
#include "stm32f407xx_gpio.h"
#include "stm32f407xx_dsp.h"
#include "stm32f407xx_clock.h"
#include "stm32f407xx_uart.h"
#include "stm32f407xx_adc.h"
#include "stm32f407xx_tim.h"
#include "stm32f407xx_systick.h"
#include "stm32f407xx_exti.h"
#include "stm32f407xx_dma.h"
#include "stm32f407xx_spi.h"
#include "stm32f407xx_can.h"
#include "stm32f407xx_rtc.h"
#include "stm32f407xx_spi_lis3dsh.h"
#include "stm32f407xx_i2c_adxl345.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
uint32_t sensor_value[2];
uint32_t g_sensor_value;
uint32_t g_sensor_value2;
uint32_t tx_counter, rx_counter;
uint32_t spi1_counter, spi2_counter, spi3_counter;
uint8_t tx_buffer[5] = {10, 20, 30, 40, 50};
uint8_t rx_buffer[5];
uint8_t time[15] = {0};
uint8_t date[15] = {0};
int main(void) {
// Reset of all peripherals
// Initializes the Flash interface and the SysTick
HAL_Init();
// Configure the HCLK = 168MHz
HAL_System_Clock_Config();
// Initialize timer msPeriod (1000/msPeriod = HZ)
// TIM3_timebase_init(1000);
// Enable FPU
FPU_enable();
// Initialize GPIO
LED_init();
Button_init();
// Initialize RTC and read backup register
// Change BK_FLAG value to reconfigure RTC
__HAL_RTC_RESET_HANDLE_STATE(&hrtc);
RTC_init();
if( HAL_RTCEx_BKUPRead(&hrtc, RTC_BKP_DR0) != BK_FLAG) { RTC_calendar_config(); }
// DMA memory to memory, success by printing "Transfer complete!"
DMA2_init();
HAL_DMA_Start_IT(&hdma, (uint32_t)&aSRC_Const_Buffer, (uint32_t)&aDST_Buffer, DMA_BUFFER_SIZE);
// Initialize external interrupt on PA0
// GPIO_PA0_interrupt_init();
// GPIO_PC13_interrupt_init();
// Initialize baud rate of UART2 to 115200
// HAL_UART_Transmit() and HAL_UART_Receive()
// HAL_UART_Transmit_IT() and HAL_UART_Receive_IT()
// HAL_UART_Transmit_DMA() and HAL_UART_Receive_DMA()
UART2_init();
// UART2_interrupt_init();
// UART2_DMA_init();
// Initialize SPI2 transmit and receive
// SPI2_init();
// HAL_SPI_TransmitReceive(&hspi2, tx_buffer, rx_buffer, 5, 100);
// SPI2_interrupt_init();
// HAL_SPI_TransmitReceive_IT(&hspi2, tx_buffer, rx_buffer, 5);
// SPI2_DMA_init();
// HAL_SPI_TransmitReceive_DMA(&hspi2, tx_buffer, rx_buffer, 5);
// Initialize CAN1 transmit and receive
// 1Mbps, transmit STD_ID = 0x01
// CAN1_init();
// HAL_CAN_Start(&hcan1);
// Initialize CAN1 transmit and receive with interrupt
// 1Mbps, transmit STD_ID = 0x01, receive STD_ID = 0x103
// CAN1_interrupt_init();
// HAL_CAN_Start(&hcan1);
// HAL_CAN_ActivateNotification(&hcan1, CAN_IT_RX_FIFO0_MSG_PENDING);
// ---------------------------------------------------------------------
// Initialize and start ADC1 on PA1
// CMSIS Method, works with ADC_PA1_read()
ADC_PA1_init();
// Initialize and start ADC1 on PA0 with interrupt
ADC_PA0_interrupt_init();
HAL_ADC_Start_IT(&hadc1);
// Initialize and start ADC1 on PA1 with DMA
// ADC_PA1_DMA_init();
// HAL_ADC_Start_DMA(&hadc1, (uint32_t *)sensor_value, 1);
// Initialize and start ADC1 on PA1 and PA4 with DMA
// ADC_PA1PA4_DMA_init();
// HAL_ADC_Start_DMA(&hadc1, (uint32_t *)sensor_value, 2);
// ---------------------------------------------------------------------
// // Initialize SPI1 for LIS3DSH
// spi1_lis3dsh_init();
//
// // SPI transmit
// HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3, GPIO_PIN_RESET);
// spiTxBuff_lis3dsh[0] = 0x20; // CTRL_REG1 register
// spiTxBuff_lis3dsh[1] = 0x31; // data, 0b 0011 0001, enable X axis
// HAL_SPI_Transmit(&hspi1_lis3dsh, spiTxBuff_lis3dsh, 2, 50); // write 2 bytes, delay 50ms
// HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3, GPIO_PIN_SET);
//
// // SPI transmit to enable accelerometer interrupt
// HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3, GPIO_PIN_RESET);
// spiTxBuff_lis3dsh[0] = 0x23; // CTRL_REG4 register
// spiTxBuff_lis3dsh[1] = 0xC8; // data, 0b 1100 1000
// HAL_SPI_Transmit(&hspi1_lis3dsh, spiTxBuff_lis3dsh, 2, 50); // write 2 bytes, delay 50ms
// HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3, GPIO_PIN_SET);
// ---------------------------------------------------------------------
// Initialize I2C1 for ADXL345
i2c1_adxl345_init();
// ---------------------------------------------------------------------
while(1) {
// ADC1 PA1 continuous conversion, init with ADC_PA1_init()
g_sensor_value = ADC_PA1_start_read();
printf("%ld\r\n", g_sensor_value);
// RTC for time and date
// RTC_calendar_show(time, date);
// printf("%s\r\n", time);
// printf("%s\r\n", date);
// printf("\r\n");
// HAL_Delay(500); // 500ms
// CAN1 transmit messages
// CAN1_transmit();
// HAL_Delay(500); // 500ms
// SysTickDelayMs(1000); // 1s
// Read ADXL345 values from I2C1
adxl345_read_values(DATA_START_ADDR);
adxl345_x = ((i2cRxBuff_adxl345[1]<<8) | i2cRxBuff_adxl345[0]);
adxl345_y = ((i2cRxBuff_adxl345[3]<<8) | i2cRxBuff_adxl345[2]);
adxl345_z = ((i2cRxBuff_adxl345[5]<<8) | i2cRxBuff_adxl345[4]);
adxl345_xg = adxl345_x * FOUR_G_SCALE_FACT;
adxl345_yg = adxl345_y * FOUR_G_SCALE_FACT;
adxl345_zg = adxl345_x * FOUR_G_SCALE_FACT;
HAL_Delay(50);
}
return 0;
}
// ------------------------------------------------------------
// Called by TIMx_IRQHandler function, every 1 second
// stm32f4xx_hal_tim.h
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
// Do something
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_12);
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_13);
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_14);
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_15);
}
// Called by ADC_IRQHandler() function
// stm32f4xx_hal_adc.h
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) {
// Do something
// g_sensor_value = ADC_PA0_read();
// printf("%ld\r\n", g_sensor_value);
// HAL_ADC_Start_IT(&hadc1);
}
// Called by EXTIxx_IRQHandler function
// stm32f4xx_hal_gpio.h
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
if (GPIO_Pin == GPIO_PIN_13) {
// Do something
HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_12);
HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_13);
}
if (GPIO_Pin == GPIO_PIN_0) {
// Do something
HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_14);
HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_15);
// SPI read of LIS3DSH
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3, GPIO_PIN_RESET); // PE0 INT1 of LIS3DSH
spiTxBuff_lis3dsh[0] = 0x29 | 0x80; // read OUT_X_H, 0x80 is used for enabling read mode
HAL_SPI_Transmit(&hspi1_lis3dsh, spiTxBuff_lis3dsh, 1, 50); // write 1 byte, delay 50ms
HAL_SPI_Receive(&hspi1_lis3dsh, spiRxBuff_lis3dsh, 1, 50); // read 1 byte, delay 50ms
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3, GPIO_PIN_SET);
}
}
// Called by USART2_IRQHandler function
// HAL_UART_Transmit_IT()
void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) {
if (huart->Instance == USART1) {
// Do something
}
if (huart->Instance == USART2) {
// Do something
}
tx_counter++;
}
// Called by USART2_IRQHandler function
// HAL_UART_Receive_IT()
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) {
if (huart->Instance == USART1) {
// Do something
}
if (huart->Instance == USART2) {
// Do something
}
rx_counter++;
}
// Called by SPIx_IRQHandler function
void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi) {
if (hspi->Instance == SPI1) {
// Do something
spi1_counter++;
}
if (hspi->Instance == SPI2) {
// Do something
spi2_counter++;
}
if (hspi->Instance == SPI3) {
// Do something
spi3_counter++;
}
}
// Called by CAN1_RXx_IRQHandler function
void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan) {
HAL_CAN_GetRxMessage(hcan, CAN_RX_FIFO0, &RxHeader_CAN1, &RxData_CAN1[0]);
if ((RxHeader_CAN1.StdId == 0x103)) {
RxCounter_CAN1++;
}
}

View File

@ -0,0 +1,422 @@
#include "stm32f407xx_adc.h"
#define GPIOAEN (1U<<0)
#define ADC1EN (1U<<8)
#define CR2_ADCON (1U<<0)
#define CR2_CONT (1U<<1)
#define CR2_SWSTART (1U<<30)
#define SR_EOC (1U<<1)
#define CH0_RANK1 (0U<<0) // 0b0000
#define CH1_RANK1 (1U<<0) // 0b0001
#define CH2_RANK1 (1U<<1) // 0b0010
#define CH4_RANK1 (1U<<2) // 0b0100
#define CH8_RANK1 (1U<<3) // 0b1000
ADC_HandleTypeDef hadc1;
DMA_HandleTypeDef hdma_adc1;
// ADC1, ADC2, ADC3 are connected to APB2 84MHz bus
// ADC-A00: 12
// ADC-A01: 11
// ADC-A02: 14
// ADC-A03: 13
// ADC-A04: 16
// ADC-A05: 15
// ADC-A06: 18
// ADC-A07: 17
// ADC-A08: 43
// ADC-A09: 44
// ADC-A10: 41
// ADC-A13: 42
// ADC-A14: 39
// ADC-A15: 40
// --------------------------------------------------------------------------------------------
//// Called by ADC_IRQHandler function
//// stm32f4xx_hal_adc.h
//void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) {
// // Do something
// sensor_value = ADC_PA0_read();
// printf("%ld\r\n", sensor_value);
// HAL_ADC_Start_IT(&hadc1);
//}
// startup_stm32f407vgtx.s
//void DMA2_Stream0_IRQHandler(void) {
// HAL_DMA_IRQHandler(&hdma_adc1);
//}
// startup_stm32f407vgtx.s
void ADC_IRQHandler(void) {
HAL_ADC_IRQHandler(&hadc1);
}
// --------------------------------------------------------------------------------------------
uint32_t ADC_PA0_read(void) {
return HAL_ADC_GetValue(&hadc1);
}
// Single ADC conversion of PA0, polling
// Use HAL_ADC_Start(&hadc1); and HAL_ADC_PollForConversion(&hadc1, 1); to start ADC conversion
void ADC_PA0_single_conv_init(void) {
// Configure PA0 as analog pin
GPIO_InitTypeDef GPIO_InitStruct = {0};
ADC_ChannelConfTypeDef sConfig = {0};
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_0;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure ADC module for continuous conversion
__HAL_RCC_ADC1_CLK_ENABLE();
hadc1.Instance = ADC1;
hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV8;
hadc1.Init.Resolution = ADC_RESOLUTION_12B;
hadc1.Init.ScanConvMode = DISABLE;
hadc1.Init.ContinuousConvMode = DISABLE;
hadc1.Init.DiscontinuousConvMode = DISABLE;
hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc1.Init.NbrOfConversion = 1;
hadc1.Init.DMAContinuousRequests = DISABLE;
hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
HAL_ADC_Init(&hadc1);
sConfig.Channel = ADC_CHANNEL_0;
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_480CYCLES;
HAL_ADC_ConfigChannel(&hadc1, &sConfig);
}
// Continuous ADC conversion of PA0
// Call HAL_ADC_Start(&hadc1);
// Then value = ADC_PA0_read(&hadc1);
void ADC_PA0_init_start(void) {
// Configure PA0 as analog pin
GPIO_InitTypeDef GPIO_InitStruct = {0};
ADC_ChannelConfTypeDef sConfig = {0};
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_0;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure ADC module for continuous conversion
__HAL_RCC_ADC1_CLK_ENABLE();
hadc1.Instance = ADC1;
hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV8;
hadc1.Init.Resolution = ADC_RESOLUTION_12B;
hadc1.Init.ScanConvMode = DISABLE;
hadc1.Init.ContinuousConvMode = DISABLE;
hadc1.Init.DiscontinuousConvMode = DISABLE;
hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc1.Init.NbrOfConversion = 1;
hadc1.Init.DMAContinuousRequests = DISABLE;
hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
HAL_ADC_Init(&hadc1);
sConfig.Channel = ADC_CHANNEL_0;
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_480CYCLES;
HAL_ADC_ConfigChannel(&hadc1, &sConfig);
}
// -------------------------------------------------------------------------------------------------
// ADC_IRQHandler()
// HAL_ADC_ConvCpltCallback()
void ADC_PA0_interrupt_init(void) {
// Configure PA0 as analog pin
GPIO_InitTypeDef GPIO_InitStruct = {0};
ADC_ChannelConfTypeDef sConfig = {0};
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_0;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure ADC module for continuous conversion
__HAL_RCC_ADC1_CLK_ENABLE();
hadc1.Instance = ADC1;
hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV8;
hadc1.Init.Resolution = ADC_RESOLUTION_12B;
hadc1.Init.ContinuousConvMode = DISABLE;
hadc1.Init.DiscontinuousConvMode = DISABLE;
hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc1.Init.NbrOfConversion = 1;
hadc1.Init.DMAContinuousRequests = DISABLE;
hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
HAL_ADC_Init(&hadc1);
sConfig.Channel = ADC_CHANNEL_0;
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_480CYCLES;
HAL_ADC_ConfigChannel(&hadc1, &sConfig);
// Enable ADC End of Conversion interrupt
// Is this function necessary ??
__HAL_ADC_ENABLE_IT(&hadc1, ADC_IT_EOC);
// Enable ADC global interrupt
HAL_NVIC_SetPriority(ADC_IRQn, 5, 0);
HAL_NVIC_EnableIRQ(ADC_IRQn);
}
// -------------------------------------------------------------------------------------------------
// Continuous ADC conversion of PA1
void ADC_PA1_init(void) {
// Configure the ADC GPIO pin
// Enable clock access to GPIOA
RCC->AHB1ENR |= GPIOAEN;
// Set PA1 mode to analog mode
// 8.4.1 GPIO port mode register (GPIOx_MODER) (x = A..I/J/K)
// GPIOA->MODER |= (1U<<0); // PA0
// GPIOA->MODER |= (1U<<1); // PA0
GPIOA->MODER |= (1U<<2); // PA1
GPIOA->MODER |= (1U<<3); // PA1
// Configure ADC module
// Enable clock access to the ADC module
// 7.3.14 RCC APB2 peripheral clock enable register (RCC_APB2ENR)
RCC->APB2ENR |= ADC1EN;
// Enable continuous conversion
// 13.13.3 ADC control register 2 (ADC_CR2)
ADC1->CR2 |= CR2_CONT;
// Set conversion sequence length
// single conversion: L[3:0] bit 20 to bit 23
ADC1->SQR1 = 0;
// Set start of conversion sequence
// Channels are mapped to SQx
// For example, channel 5 can be mapped to SQ1 and channel 3 can be mapped to SQ2
// For single channel, put the channel number to SQ1
// For example PA0 (0b0000), PA1 (0b0001)
// 13.13.9 ADC regular sequence register 1 (ADC_SQR1): SQ13 to SQ16
// 13.13.10 ADC regular sequence register 2 (ADC_SQR2): SQ7 to SQ12
// 13.13.11 ADC regular sequence register 3 (ADC_SQR3): SQ1 to SQ6
// ADC1->SQR3 |= CH0_RANK1; // PA0 to SQ1
ADC1->SQR3 |= CH1_RANK1; // PA1 to SQ1
// Enable ADC module
// 13.13.3 ADC control register 2 (ADC_CR2)
ADC1->CR2 |= CR2_ADCON;
}
uint32_t ADC_PA1_start_read(void) {
// ---------------------- Start ADC conversion ----------------------
// 13.13.3 ADC control register 2 (ADC_CR2)
ADC1->CR2 |= CR2_SWSTART;
// Wait for conversion to be completed
// 13.13.1 ADC status register (ADC_SR)
while(!(ADC1->SR & SR_EOC)){}
// Read converted results
return (ADC1->DR);
}
// -------------------------------------------------------------------------------------------------
// Continuous ADC conversion of PA1 with DMA
void ADC_PA1_DMA_init(void) {
// Configure PA1 as analog pin
GPIO_InitTypeDef GPIO_InitStruct = {0};
ADC_ChannelConfTypeDef sConfig = {0};
// Enable GPIO clock
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_1; // PA1
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure ADC module for continuous conversion
// Enable ADC1 clock
__HAL_RCC_ADC1_CLK_ENABLE();
hadc1.Instance = ADC1;
hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV8;
hadc1.Init.Resolution = ADC_RESOLUTION_12B;
hadc1.Init.ContinuousConvMode = ENABLE;
hadc1.Init.DiscontinuousConvMode = DISABLE;
hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc1.Init.NbrOfConversion = 1;
hadc1.Init.DMAContinuousRequests = ENABLE;
hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
HAL_ADC_Init(&hadc1);
sConfig.Channel = ADC_CHANNEL_1; // PA1
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_480CYCLES;
HAL_ADC_ConfigChannel(&hadc1, &sConfig);
// Configure DMA2 Stream 0 for ADC1
// DMA2 request mapping
// ADC1: Channel 0 and Stream 0 or Channel 0 and Stream 4
// Enable DMA2 clock
__HAL_RCC_DMA2_CLK_ENABLE();
HAL_NVIC_SetPriority(DMA2_Stream0_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA2_Stream0_IRQn); // Stream 0
hdma_adc1.Instance = DMA2_Stream0; // DMA1 stream 0
hdma_adc1.Init.Channel = DMA_CHANNEL_0; // Channel 0
hdma_adc1.Init.Direction = DMA_PERIPH_TO_MEMORY; // Peripheral to memory
hdma_adc1.Init.PeriphInc = DMA_PINC_DISABLE; // Disable peripheral increment
hdma_adc1.Init.MemInc = DMA_MINC_ENABLE; // Enable memory increment for array, index 0, index 1, etc
hdma_adc1.Init.PeriphDataAlignment = DMA_PDATAALIGN_WORD; // 16 bits for 12-bit ADC peripheral
hdma_adc1.Init.MemDataAlignment = DMA_MDATAALIGN_WORD; // 16 bits for memory alignment
hdma_adc1.Init.Mode = DMA_CIRCULAR; // Circular mode
hdma_adc1.Init.Priority = DMA_PRIORITY_LOW; // Priority low
hdma_adc1.Init.FIFOMode = DMA_FIFOMODE_DISABLE; // Disable FIFO mode
HAL_DMA_Init(&hdma_adc1);
// Link ADC1 to DMA
hadc1.DMA_Handle = &hdma_adc1;
}
// -------------------------------------------------------------------------------------------------
void ADC_PA1PA4_DMA_init(void) {
// Configure PA1 and PA4 as analog pin
GPIO_InitTypeDef GPIO_InitStruct = {0};
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_1 | GPIO_PIN_4;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure ADC module for continuous conversion
__HAL_RCC_ADC1_CLK_ENABLE();
hadc1.Instance = ADC1;
hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV8;
hadc1.Init.Resolution = ADC_RESOLUTION_12B;
hadc1.Init.ContinuousConvMode = ENABLE;
hadc1.Init.ScanConvMode = ENABLE;
hadc1.Init.DiscontinuousConvMode = DISABLE;
hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc1.Init.NbrOfConversion = 2; // 2 channels, PA1 and PA4
hadc1.Init.DMAContinuousRequests = ENABLE;
hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
HAL_ADC_Init(&hadc1);
ADC_ChannelConfTypeDef sConfig = {0};
sConfig.Channel = ADC_CHANNEL_1; // PA1
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_480CYCLES;
HAL_ADC_ConfigChannel(&hadc1, &sConfig);
sConfig.Channel = ADC_CHANNEL_4; // PA4
sConfig.Rank = 2;
HAL_ADC_ConfigChannel(&hadc1, &sConfig);
// Configure DMA2 Stream 0 for ADC1
__HAL_RCC_DMA2_CLK_ENABLE();
HAL_NVIC_SetPriority(DMA2_Stream0_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA2_Stream0_IRQn);
hdma_adc1.Instance = DMA2_Stream0; // DMA1 stream 0
hdma_adc1.Init.Channel = DMA_CHANNEL_0; // Channel 0
hdma_adc1.Init.Direction = DMA_PERIPH_TO_MEMORY; // Peripheral to memory
hdma_adc1.Init.PeriphInc = DMA_PINC_DISABLE; // Disable peripheral increment
hdma_adc1.Init.MemInc = DMA_MINC_ENABLE; // Enable memory increment for array, index 0, index 1, etc
hdma_adc1.Init.PeriphDataAlignment = DMA_PDATAALIGN_WORD; // 16 bits for 12-bit ADC peripheral
hdma_adc1.Init.MemDataAlignment = DMA_MDATAALIGN_WORD; // 16 bits for memory alignment
hdma_adc1.Init.Mode = DMA_CIRCULAR; // Circular mode
hdma_adc1.Init.Priority = DMA_PRIORITY_LOW; // Priority low
hdma_adc1.Init.FIFOMode = DMA_FIFOMODE_DISABLE; // Disable FIFO mode
HAL_DMA_Init(&hdma_adc1);
// Link ADC1 to DMA
hadc1.DMA_Handle = &hdma_adc1;
}

View File

@ -0,0 +1,207 @@
#include "stm32f407xx_can.h"
CAN_HandleTypeDef hcan1;
CAN_HandleTypeDef hcan2;
CAN_TxHeaderTypeDef TxHeader_CAN1;
CAN_RxHeaderTypeDef RxHeader_CAN1;
CAN_FilterTypeDef FilterConfig_CAN1;
uint32_t TxMailbox_CAN1;
uint8_t TxData_CAN1[8]; // 8 bytes
uint8_t RxData_CAN1[8]; // 8 bytes
uint32_t TxCounter_CAN1, RxCounter_CAN1;
// ----------------------------------------------------------------
// This function handles CAN1 RX0 interrupts.
void CAN1_RX0_IRQHandler(void) {
HAL_CAN_IRQHandler(&hcan1);
}
// ----------------------------------------------------------------
// PD0: CAN1_RX
// PD1: CAN1_TX
void CAN1_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable CAN1 clock
__HAL_RCC_CAN1_CLK_ENABLE();
// Enable GPIOD clock
__HAL_RCC_GPIOD_CLK_ENABLE();
// Configure GPIOD
GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF9_CAN1;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
// Configure CAN1
hcan1.Instance = CAN1;
hcan1.Init.Mode = CAN_MODE_NORMAL;
hcan1.Init.TimeTriggeredMode = DISABLE;
hcan1.Init.AutoBusOff = DISABLE;
hcan1.Init.AutoWakeUp = DISABLE;
hcan1.Init.AutoRetransmission = DISABLE;
hcan1.Init.ReceiveFifoLocked = DISABLE;
hcan1.Init.TransmitFifoPriority = DISABLE;
// Settings related to CAN bit rate
// DO NOT USE MX for bit rate calculation
// http://www.bittiming.can-wiki.info/
// APB1 bus: 42MHz
// 1Mbps - Prescaler = 3
// 500Kbps - Prescaler = 6
hcan1.Init.Prescaler = 3;
hcan1.Init.SyncJumpWidth = CAN_SJW_1TQ;
hcan1.Init.TimeSeg1 = CAN_BS1_11TQ;
hcan1.Init.TimeSeg2 = CAN_BS2_2TQ;
if (HAL_CAN_Init(&hcan1) != HAL_OK) {
Error_Handler();
}
}
// ----------------------------------------------------------------
// PD0: CAN1_RX
// PD1: CAN1_TX
void CAN1_interrupt_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable CAN1 clock
__HAL_RCC_CAN1_CLK_ENABLE();
// Enable GPIOD clock
__HAL_RCC_GPIOD_CLK_ENABLE();
// Configure GPIOD
GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF9_CAN1;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
// Configure CAN1
hcan1.Instance = CAN1;
hcan1.Init.Mode = CAN_MODE_NORMAL;
hcan1.Init.TimeTriggeredMode = DISABLE;
hcan1.Init.AutoBusOff = DISABLE;
hcan1.Init.AutoWakeUp = DISABLE;
hcan1.Init.AutoRetransmission = DISABLE;
hcan1.Init.ReceiveFifoLocked = DISABLE;
hcan1.Init.TransmitFifoPriority = DISABLE;
// Settings related to CAN bit rate
// DO NOT USE MX for bit rate calculation
// http://www.bittiming.can-wiki.info/
// APB1 bus: 42MHz
// 1Mbps - Prescaler = 3
// 500Kbps - Prescaler = 6
hcan1.Init.Prescaler = 3;
hcan1.Init.SyncJumpWidth = CAN_SJW_1TQ;
hcan1.Init.TimeSeg1 = CAN_BS1_11TQ;
hcan1.Init.TimeSeg2 = CAN_BS2_2TQ;
if (HAL_CAN_Init(&hcan1) != HAL_OK) {
Error_Handler();
}
// Configure filter below
FilterConfig_CAN1.FilterActivation = CAN_FILTER_ENABLE; // Enable filters
FilterConfig_CAN1.SlaveStartFilterBank = 20; // How many filters to assign to CAN1 (Master)
FilterConfig_CAN1.FilterBank = 1; // Which filter bank to use from the assigned ones
FilterConfig_CAN1.FilterFIFOAssignment = CAN_FILTER_FIFO0; // Which FIFO are we going to use for the receiving message
FilterConfig_CAN1.FilterMode = CAN_FILTERMODE_IDMASK; // Mask filter mode
FilterConfig_CAN1.FilterScale = CAN_FILTERSCALE_32BIT; // Use one 32 bit filter register
// Set CAN ID filter
// FilterIdHigh is the higher 16 bits of ID register
// The value set in this register will be compared to the incoming Identifier
// The STD ID starts from 5th bit in the ID high register
// (0x103<<5) = 0b 0010 0000 0110 0000
// FilterMaskIdHigh is the higher 16 bits of the MASK register
// The value set in this register will enable the comparison of that particular bit in ID register to that of incoming ID
FilterConfig_CAN1.FilterIdHigh = 0x103<<5;
FilterConfig_CAN1.FilterIdLow = 0;
FilterConfig_CAN1.FilterMaskIdHigh = 0x103<<5;
FilterConfig_CAN1.FilterMaskIdLow = 0x0000;
HAL_CAN_ConfigFilter(&hcan1, &FilterConfig_CAN1);
// CAN1 RX0 interrupt
HAL_NVIC_SetPriority(CAN1_RX0_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(CAN1_RX0_IRQn);
}
// ----------------------------------------------------------------
void CAN1_transmit(void) {
TxHeader_CAN1.StdId = 0x01; // stdID
TxHeader_CAN1.RTR = CAN_RTR_DATA; // data frame
TxHeader_CAN1.IDE = CAN_ID_STD; // standard ID
TxHeader_CAN1.DLC = 8; // data length in bytes
TxHeader_CAN1.TransmitGlobalTime = DISABLE;
// Updata sending data
TxData_CAN1[7] = 0x08;
TxData_CAN1[6] = 0x07;
TxData_CAN1[5] = 0x06;
TxData_CAN1[4] = 0x05;
TxData_CAN1[3] = 0x04;
TxData_CAN1[2] = 0x03;
TxData_CAN1[1] = 0x02;
TxData_CAN1[0] = 0x01;
if (HAL_CAN_AddTxMessage(&hcan1, &TxHeader_CAN1, TxData_CAN1, &TxMailbox_CAN1) != HAL_OK) {
Error_Handler();
}
while(HAL_CAN_IsTxMessagePending(&hcan1, TxMailbox_CAN1));
// Message transmit successfully here
}

View File

@ -0,0 +1,77 @@
#include "stm32f407xx_clock.h"
#include "stm32f407xx_it.h"
uint32_t HCLK_freq;
uint32_t PCLK1_freq;
uint32_t PCLK2_freq;
// The STM32F407/417 offers the performance of the Cortex-M4 core
// (with floating point unit) running at 168 MHz.
// Change the HSE value in system_stm32f4xx.c from 25MHz to 8MHz
// Change the HSE value in stm32f4xx_hal_conf.h from 25MHz to 8MHz
// Configure the SYSCLK = HCLK = 168MHz
// FCLK Cortex Clock = 168MHz
// APB1 Peripheral Clock = 42MHz
// APB1 Timer Clock = 84MHz
// APB2 Peripheral Clock = 84MHz
// APB2 Timer Clock = 168MHz
void HAL_System_Clock_Config(void) {
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
// Configure the main internal regulator output voltage
__HAL_RCC_PWR_CLK_ENABLE();
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
// Initializes the RCC Oscillators according to the specified parameters
// in the RCC_OscInitTypeDef structure.
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
RCC_OscInitStruct.PLL.PLLM = 4;
RCC_OscInitStruct.PLL.PLLN = 168;
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
RCC_OscInitStruct.PLL.PLLQ = 4;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) {
Error_Handler();
}
// Initializes the CPU, AHB and APB buses clocks
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV4;
RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2;
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_5) != HAL_OK) {
Error_Handler();
}
// Test HCLK clock
HCLK_freq = HAL_RCC_GetHCLKFreq();
if (HCLK_freq != (uint32_t)168000000) {
Error_Handler();
}
// Test PCLK1 clock
PCLK1_freq = HAL_RCC_GetPCLK1Freq();
if (PCLK1_freq != (uint32_t)42000000) {
Error_Handler();
}
// Test PCLK2 clock
PCLK2_freq = HAL_RCC_GetPCLK2Freq();
if (PCLK2_freq != (uint32_t)84000000) {
Error_Handler();
}
}

View File

@ -0,0 +1,75 @@
#include "stm32f407xx_dma.h"
DMA_HandleTypeDef hdma;
const uint32_t aSRC_Const_Buffer[DMA_BUFFER_SIZE] = {
0x11111111, 0x11111111, 0x11111111, 0x11111111,
0x22222222, 0x22222222, 0x22222222, 0x22222222,
0x33333333, 0x33333333, 0x33333333, 0x33333333,
0x44444444, 0x44444444, 0x44444444, 0x44444444,
0x55555555, 0x55555555, 0x55555555, 0x55555555,
0x66666666, 0x66666666, 0x66666666, 0x66666666,
0x77777777, 0x77777777, 0x77777777, 0x77777777,
0x88888888, 0x88888888, 0x88888888, 0x88888888
};
uint32_t aDST_Buffer[DMA_BUFFER_SIZE];
// -----------------------------------------------------------------------------------
// DMA_STREAM_IRQHANDLER: DMA2_Stream0_IRQHandler
void DMA_STREAM_IRQHANDLER(void) {
HAL_DMA_IRQHandler(&hdma);
}
void DMA2_init(void) {
// Enable DMA2 clock
__HAL_RCC_DMA2_CLK_ENABLE();
hdma.Instance = DMA_STREAM; // DMA2 Stream 0
hdma.Init.Channel = DMA_CHANNEL; // Channel 0
hdma.Init.Direction = DMA_MEMORY_TO_MEMORY;
hdma.Init.PeriphDataAlignment = DMA_PDATAALIGN_WORD;
hdma.Init.MemDataAlignment = DMA_MDATAALIGN_WORD;
hdma.Init.PeriphInc = DMA_PINC_ENABLE;
hdma.Init.MemInc = DMA_MINC_ENABLE;
hdma.Init.Mode = DMA_NORMAL;
hdma.Init.Priority = DMA_PRIORITY_HIGH;
hdma.Init.FIFOMode = DMA_FIFOMODE_ENABLE;
hdma.Init.FIFOThreshold = DMA_FIFO_THRESHOLD_1QUARTERFULL;
hdma.Init.MemBurst = DMA_MBURST_SINGLE;
HAL_DMA_Init(&hdma);
// Register callback function
HAL_DMA_RegisterCallback(&hdma, HAL_DMA_XFER_CPLT_CB_ID, TransferCompleteCallback);
HAL_DMA_RegisterCallback(&hdma, HAL_DMA_XFER_ERROR_CB_ID, TransferErrorCallback);
// DMA_STREAM_IRQ: DMA2_Stream0_IRQn
HAL_NVIC_SetPriority(DMA_STREAM_IRQ, 0, 0);
HAL_NVIC_EnableIRQ(DMA_STREAM_IRQ);
}
// Transfer complete callback function
void TransferCompleteCallback(DMA_HandleTypeDef *hdma) {
// Do something
printf("Transfer complete!\r\n");
}
// Transfer error callback function
void TransferErrorCallback(DMA_HandleTypeDef *hdma) {
// Do something
printf("Transfer error!\r\n");
}

View File

@ -0,0 +1,12 @@
#include "stm32f407xx_dsp.h"
void FPU_enable(void) {
// Enable FPU
// Cortex-M4 Devices Generic User Guide
// 4.6 Floating Point Unit (FPU), Coprocessor Access Control Register
// Enable CP10, CP11, CP12 and CP13
SCB->CPACR |= (1U << 20);
SCB->CPACR |= (1U << 21);
SCB->CPACR |= (1U << 22);
SCB->CPACR |= (1U << 23);
}

View File

@ -0,0 +1,162 @@
#include "stm32f407xx_exti.h"
//// GPIO external interrupt callback function
//// stm32f4xx_hal_gpio.h
//void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
//
// if (GPIO_Pin == GPIO_PIN_13) {
// // Do something
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_12);
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_13);
// }
//
// if (GPIO_Pin == GPIO_PIN_0) {
// // Do something
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_14);
// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_15);
// }
//
//}
// ---------------------------------------------------------------
// External interrupt handler
// startup_stm32f407vgtx.s
void EXTI0_IRQHandler(void) {
HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_0);
}
// External interrupt handler
// startup_stm32f407vgtx.s
//void EXTI15_10_IRQHandler(void) {
// HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_13);
//}
// ---------------------------------------------------------------
// 0b 0010 0000 0000 0000 : bit 13
// 0b 0000 0000 0000 0001 : bit 0
uint8_t GPIO_PA0_digital_read(void) {
if (GPIOA->IDR & 0x0001) {
return 1;
} else {
return 0;
}
}
// GPIO PA0 external interrupt on edge changes
void GPIO_PA0_interrupt_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable clock of GPIOA
__HAL_RCC_GPIOA_CLK_ENABLE();
// Configure PA0, Button
// External Interrupt Mode with Rising edge trigger detection
GPIO_InitStruct.Pin = GPIO_PIN_0;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure EXTI
// EXTI0_IRQn: EXTI Line0 Interrupt, for pin 0
// EXTI0_IRQn defined in stm32f407xx.h
HAL_NVIC_SetPriority(EXTI0_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(EXTI0_IRQn);
}
// ---------------------------------------------------------------
uint8_t GPIO_PC13_digital_read(void) {
if (GPIOC->IDR & 0x2000) {
return 1;
} else {
return 0;
}
}
// GPIO PC13 external interrupt on edge changes
void GPIO_PC13_interrupt_init(void) {
// ------------------------- HAL Method -------------------------
// GPIO_InitTypeDef GPIO_InitStruct = {0};
//
// // Enable clock of GPIOC
// __HAL_RCC_GPIOC_CLK_ENABLE();
//
// // Configure PC13
// // External Interrupt Mode with falling edge trigger detection
// GPIO_InitStruct.Pin = GPIO_PIN_13;
// GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
// GPIO_InitStruct.Pull = GPIO_NOPULL;
// GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
// HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
//
// // Configure EXTI
// // EXTI15_10_IRQn: External Line[15:10] Interrupts, for pin 10 to pin 15
// // EXTI15_10_IRQn defined in stm32f407xx.h
// HAL_NVIC_SetPriority(EXTI15_10_IRQn, 0, 0);
// HAL_NVIC_EnableIRQ(EXTI15_10_IRQn);
// ---------------------- Low-level Method ----------------------
// EXTI15_10_IRQHandler() function
// Disable global interrupts
__disable_irq();
// Enable GPIOC clock
RCC->AHB1ENR |= 4;
// Enable SYSCFG clock
RCC->APB2ENR |= 0x4000;
// Configure PC13 for input
GPIOC->MODER &= ~(1U<<26);
GPIOC->MODER &= ~(1U<<27);
// Select PORTC for EXTI13
SYSCFG->EXTICR[3] |= (1U<<5);
// Unmask EXTI13
EXTI->IMR |= (1U<<13);
// Select falling edge trigger detection
EXTI->FTSR |= (1U<<13);
// Configure EXTI
// EXTI15_10_IRQn: External Line[15:10] Interrupts, for pin 10 to pin 15
// EXTI15_10_IRQn defined in stm32f407xx.h
NVIC_SetPriority(EXTI15_10_IRQn, 6);
NVIC_EnableIRQ(EXTI15_10_IRQn);
// Enable global interrupts
__enable_irq();
}

View File

@ -0,0 +1,58 @@
#include "stm32f407xx_gpio.h"
void LED_init(void) {
// PD12: Green
// PD13: Orange
// PD14: Red
// PD15: Blue
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable GPIOD clock
__HAL_RCC_GPIOD_CLK_ENABLE();
// Configure LEDs
GPIO_InitStruct.Pin = GPIO_PIN_12;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_13;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_14;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_15;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
}
void Button_init(void) {
// Configure button pin as input pin (PA0)
// Enable GPIOA clock
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitTypeDef GPIO_PA0_Init = {0};
GPIO_PA0_Init.Pin = GPIO_PIN_0; // button
GPIO_PA0_Init.Mode = GPIO_MODE_INPUT;
GPIO_PA0_Init.Pull = GPIO_NOPULL;
GPIO_PA0_Init.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOA, &GPIO_PA0_Init);
}

View File

@ -0,0 +1,72 @@
#include "stm32f407xx_i2c_adxl345.h"
I2C_HandleTypeDef hi2c1_adxl345;
uint8_t i2cRxBuff_adxl345[6];
uint8_t adxl345_device_id;
int16_t adxl345_x, adxl345_y, adxl345_z;
float adxl345_xg, adxl345_yg, adxl345_zg;
void adxl345_write(uint8_t reg, uint8_t val) {
uint8_t data[2];
data[0] = reg;
data[1] = val;
HAL_I2C_Master_Transmit(&hi2c1_adxl345, DEVICE_ADDR, data, 2, 100);
}
void adxl345_read_values(uint8_t reg) {
HAL_I2C_Mem_Read(&hi2c1_adxl345, DEVICE_ADDR, reg, 1, (uint8_t *)i2cRxBuff_adxl345, 6, 100);
}
void adxl345_read_address(uint8_t reg) {
HAL_I2C_Mem_Read(&hi2c1_adxl345, DEVICE_ADDR, reg, 1, &adxl345_device_id, 1, 100);
}
// -----------------------------------------------------------------
// PB8: I2C1 SCL
// PB9: I2C1 SDA
void i2c1_adxl345_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
__HAL_RCC_GPIOB_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_8 | GPIO_PIN_9;
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
// Configure I2C1 module
__HAL_RCC_I2C1_CLK_ENABLE();
hi2c1_adxl345.Instance = I2C1;
hi2c1_adxl345.Init.ClockSpeed = 400000; // 400KHz
hi2c1_adxl345.Init.DutyCycle = I2C_DUTYCYCLE_2;
hi2c1_adxl345.Init.OwnAddress1 = 0;
hi2c1_adxl345.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
hi2c1_adxl345.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
hi2c1_adxl345.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
hi2c1_adxl345.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
HAL_I2C_Init(&hi2c1_adxl345);
// ADXL345 initialize
// Read device ID
adxl345_read_address(DEVID_R);
// Set data format to +/- 4g
adxl345_write(DATA_FORMAT_R, FOUR_G);
// Reset all bits
adxl345_write(POWER_CTL_R, RESET);
// Configure PWR control
adxl345_write(POWER_CTL_R, SET_MEASURE_B);
}

View File

@ -0,0 +1,78 @@
#include <stm32f407xx_it.h>
#include "stm32f4xx_hal.h"
/******************************************************************************/
/* Cortex-M4 Processor Interruption and Exception Handlers */
/******************************************************************************/
// User can add his own implementation to report the HAL error return state
void Error_Handler(void) {
__disable_irq();
while (1) {}
}
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void) {
HAL_IncTick();
HAL_SYSTICK_IRQHandler();
}
/**
* @brief This function handles Non maskable interrupt.
*/
void NMI_Handler(void) {
while (1) {}
}
/**
* @brief This function handles Hard fault interrupt.
*/
void HardFault_Handler(void) {
while (1) {}
}
/**
* @brief This function handles Memory management fault.
*/
void MemManage_Handler(void) {
while (1) {}
}
/**
* @brief This function handles Pre-fetch fault, memory access fault.
*/
void BusFault_Handler(void) {
while (1) {}
}
/**
* @brief This function handles Undefined instruction or illegal state.
*/
void UsageFault_Handler(void) {
while (1) {}
}
/**
* @brief This function handles System service call via SWI instruction.
*/
void SVC_Handler(void) {
}
/**
* @brief This function handles Debug monitor.
*/
void DebugMon_Handler(void) {
}
/**
* @brief This function handles Pendable request for system service.
*/
void PendSV_Handler(void) {
}

View File

@ -0,0 +1,96 @@
#include "stm32f407xx_rtc.h"
// LSI = 32KHz
// PREDIV_A = 127 (div 128)
// PREDIV_S = 249 (div 250)
RTC_HandleTypeDef hrtc;
void RTC_init(void) {
// Select RTC clock
RCC_OscInitTypeDef RCC_OscInitStruct;
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI | RCC_OSCILLATORTYPE_LSE;
RCC_OscInitStruct.LSEState = RCC_LSE_OFF;
RCC_OscInitStruct.LSIState = RCC_LSI_ON;
HAL_RCC_OscConfig(&RCC_OscInitStruct);
// Set RTC clock source to LSI
RCC_PeriphCLKInitTypeDef PeriphClkInitStruct;
PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_RTC;
PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSI;
HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct);
// Enable RTC clock
__HAL_RCC_RTC_ENABLE();
// Configure calendar
hrtc.Instance = RTC;
hrtc.Init.HourFormat = RTC_HOURFORMAT_24;
hrtc.Init.AsynchPrediv = RTC_ASYNCH_PREDIV;
hrtc.Init.SynchPrediv = RTC_SYNCH_PREDIV;
hrtc.Init.OutPut = RTC_OUTPUT_DISABLE;
HAL_RTC_Init(&hrtc);
}
// ------------------------------------------------------------------------------
void RTC_calendar_config(void) {
RTC_DateTypeDef sdatestructure;
RTC_TimeTypeDef stimestructure;
// Set date: Sunday, APRIL 16th, 2023
sdatestructure.Year = 0x23;
sdatestructure.Month = RTC_MONTH_APRIL;
sdatestructure.Date = 0x16;
sdatestructure.WeekDay = RTC_WEEKDAY_SUNDAY;
HAL_RTC_SetDate(&hrtc, &sdatestructure, RTC_FORMAT_BCD);
// Set time: 06:00:00
stimestructure.Hours = 0x06;
stimestructure.Minutes = 0x00;
stimestructure.Seconds = 0x00;
stimestructure.TimeFormat = RTC_HOURFORMAT12_AM;
stimestructure.DayLightSaving = RTC_DAYLIGHTSAVING_NONE;
stimestructure.StoreOperation = RTC_STOREOPERATION_RESET;
HAL_RTC_SetTime(&hrtc, &stimestructure, RTC_FORMAT_BCD);
// Write to backup register
HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR0, BK_FLAG);
}
// ------------------------------------------------------------------------------
void RTC_calendar_show(uint8_t *showtime, uint8_t *showdate) {
RTC_DateTypeDef sdatestructureget;
RTC_TimeTypeDef stimestructureget;
HAL_RTC_GetTime(&hrtc, &stimestructureget, RTC_FORMAT_BIN);
HAL_RTC_GetDate(&hrtc, &sdatestructureget, RTC_FORMAT_BIN);
// Display time format: hh:mm:ss
sprintf((char*)showtime,
"%02d:%02d:%02d",
stimestructureget.Hours,
stimestructureget.Minutes,
stimestructureget.Seconds);
// Display date format: mm-dd-yy
sprintf((char*)showdate,
"%02d-%02d-%02d",
sdatestructureget.Month,
sdatestructureget.Date,
2000+sdatestructureget.Year);
}
// ------------------------------------------------------------------------------

View File

@ -0,0 +1,277 @@
#include "stm32f407xx_spi.h"
SPI_HandleTypeDef hspi1;
SPI_HandleTypeDef hspi2;
SPI_HandleTypeDef hspi3;
DMA_HandleTypeDef hdma_spi2_tx;
DMA_HandleTypeDef hdma_spi2_rx;
// -------------------------------------------------------------------------
// startup_stm32f407vgtx.s
void SPI2_IRQHandler(void) {
HAL_SPI_IRQHandler(&hspi2);
}
// startup_stm32f407vgtx.s
void DMA1_Stream3_IRQHandler(void) {
HAL_DMA_IRQHandler(&hdma_spi2_rx);
}
// startup_stm32f407vgtx.s
void DMA1_Stream4_IRQHandler(void) {
HAL_DMA_IRQHandler(&hdma_spi2_tx);
}
// -------------------------------------------------------------------------
// PA4: CS
// PA5: SPI1_CLK
// PA6: SPI1_MISO
// PA7: SPI1_MOSI
void SPI1_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable SPI1 clock
__HAL_RCC_SPI1_CLK_ENABLE();
// Enable GPIOA clock
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_5 | GPIO_PIN_6 | GPIO_PIN_7;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI1;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure SPI1 module
hspi1.Instance = SPI1;
hspi1.Init.Mode = SPI_MODE_MASTER;
hspi1.Init.Direction = SPI_DIRECTION_2LINES;
hspi1.Init.DataSize = SPI_DATASIZE_8BIT;
hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi1.Init.NSS = SPI_NSS_SOFT;
hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8;
hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
HAL_SPI_Init(&hspi1);
}
// -------------------------------------------------------------------------
// PB12: CS
// PB13: SPI2_CLK
// PB14: SPI2_MISO
// PB15: SPI2_MOSI
void SPI2_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable SPI2 clock
__HAL_RCC_SPI2_CLK_ENABLE();
// Enable GPIOB clock
__HAL_RCC_GPIOB_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_13 | GPIO_PIN_14 | GPIO_PIN_15;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI2;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
// Configure SPI2 module
hspi2.Instance = SPI2;
hspi2.Init.Mode = SPI_MODE_MASTER;
hspi2.Init.Direction = SPI_DIRECTION_2LINES;
hspi2.Init.DataSize = SPI_DATASIZE_8BIT;
hspi2.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi2.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi2.Init.NSS = SPI_NSS_SOFT;
hspi2.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8;
hspi2.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi2.Init.TIMode = SPI_TIMODE_DISABLE;
hspi2.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
HAL_SPI_Init(&hspi2);
}
// -------------------------------------------------------------------------
// PB12: CS
// PB13: SPI2-CLK
// PB14: SPI2-MISO
// PB15: SPI2-MOSI
void SPI2_interrupt_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable SPI2 clock
__HAL_RCC_SPI2_CLK_ENABLE();
// Enable GPIOB clock
__HAL_RCC_GPIOB_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_13 | GPIO_PIN_14 | GPIO_PIN_15;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI2;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
// Configure SPI2 module
hspi2.Instance = SPI2;
hspi2.Init.Mode = SPI_MODE_MASTER;
hspi2.Init.Direction = SPI_DIRECTION_2LINES;
hspi2.Init.DataSize = SPI_DATASIZE_8BIT;
hspi2.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi2.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi2.Init.NSS = SPI_NSS_SOFT;
hspi2.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8;
hspi2.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi2.Init.TIMode = SPI_TIMODE_DISABLE;
hspi2.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
HAL_SPI_Init(&hspi2);
// SPI2 interrupt
HAL_NVIC_SetPriority(SPI2_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(SPI2_IRQn);
}
// -------------------------------------------------------------------------
// PB12: CS
// PB13: SPI2-CLK
// PB14: SPI2-MISO
// PB15: SPI2-MOSI
void SPI2_DMA_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable GPIOB clock
__HAL_RCC_GPIOB_CLK_ENABLE();
// Enable SPI2 clock
__HAL_RCC_SPI2_CLK_ENABLE();
// Enable DMA1 clock
__HAL_RCC_DMA1_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_13 | GPIO_PIN_14 | GPIO_PIN_15;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI2;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
// Configure SPI2 module
hspi2.Instance = SPI2;
hspi2.Init.Mode = SPI_MODE_MASTER;
hspi2.Init.Direction = SPI_DIRECTION_2LINES;
hspi2.Init.DataSize = SPI_DATASIZE_8BIT;
hspi2.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi2.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi2.Init.NSS = SPI_NSS_SOFT;
hspi2.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8;
hspi2.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi2.Init.TIMode = SPI_TIMODE_DISABLE;
hspi2.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
HAL_SPI_Init(&hspi2);
// ------------------------------------------------------------
// Configure MISO
hdma_spi2_rx.Instance = DMA1_Stream3;
hdma_spi2_rx.Init.Channel = DMA_CHANNEL_0;
hdma_spi2_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
hdma_spi2_rx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_spi2_rx.Init.MemInc = DMA_MINC_ENABLE;
hdma_spi2_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; // 1 byte
hdma_spi2_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; // 1 byte
hdma_spi2_rx.Init.Mode = DMA_NORMAL;
hdma_spi2_rx.Init.Priority = DMA_PRIORITY_LOW;
hdma_spi2_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
HAL_DMA_Init(&hdma_spi2_rx);
// Link SPI2 to DMA1
hspi2.hdmarx = &hdma_spi2_rx;
// ------------------------------------------------------------
// Configure MOSI
hdma_spi2_tx.Instance = DMA1_Stream4;
hdma_spi2_tx.Init.Channel = DMA_CHANNEL_0;
hdma_spi2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
hdma_spi2_tx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_spi2_tx.Init.MemInc = DMA_MINC_ENABLE;
hdma_spi2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; // 1 byte
hdma_spi2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; // 1 byte
hdma_spi2_tx.Init.Mode = DMA_NORMAL;
hdma_spi2_tx.Init.Priority = DMA_PRIORITY_LOW;
hdma_spi2_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
HAL_DMA_Init(&hdma_spi2_tx);
// Link SPI2 to DMA1
hspi2.hdmatx = &hdma_spi2_tx;
// ------------------------------------------------------------
// DMA1_Stream3_IRQn interrupt configuration
HAL_NVIC_SetPriority(DMA1_Stream3_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA1_Stream3_IRQn);
// DMA1_Stream4_IRQn interrupt configuration
HAL_NVIC_SetPriority(DMA1_Stream4_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA1_Stream4_IRQn);
}
// -------------------------------------------------------------------------
// PC10: SPI3_CLK
// PC11: SPI3_MISO
// PC12: SPI3_MOSI
void SPI3_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable SPI3 clock
__HAL_RCC_SPI3_CLK_ENABLE();
// Enable GPIOC clock
__HAL_RCC_GPIOC_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_10 | GPIO_PIN_11 | GPIO_PIN_12;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF6_SPI3;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
// Configure SPI3 module
hspi3.Instance = SPI3;
hspi3.Init.Mode = SPI_MODE_MASTER;
hspi3.Init.Direction = SPI_DIRECTION_2LINES;
hspi3.Init.DataSize = SPI_DATASIZE_8BIT;
hspi3.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi3.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi3.Init.NSS = SPI_NSS_SOFT;
hspi3.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8;
hspi3.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi3.Init.TIMode = SPI_TIMODE_DISABLE;
hspi3.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
HAL_SPI_Init(&hspi3);
}

View File

@ -0,0 +1,88 @@
#include "stm32f407xx_spi_lis3dsh.h"
// MEMS_INT1 : PE0
// MEMS_INT2 : PE1
// CS : PE3
// SPI1_SCK : PA5
// SPI1_MISO : PA6
// SPI1_MOSI : PA7
SPI_HandleTypeDef hspi1_lis3dsh;
uint8_t spiTxBuff_lis3dsh[2], spiRxBuff_lis3dsh[2];
// SPI1 connects to APB2 peripheral clock with 84MHz
void spi1_lis3dsh_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Initialize GPIO
__HAL_RCC_GPIOE_CLK_ENABLE();
// PE0: MEMS_INT1
GPIO_InitStruct.Pin = GPIO_PIN_0;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);
// PE3: SPI CS
GPIO_InitStruct.Pin = GPIO_PIN_3;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);
HAL_GPIO_WritePin(GPIOE, GPIO_PIN_3, GPIO_PIN_SET);
// EXTI interrupt initialize
HAL_NVIC_SetPriority(EXTI0_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(EXTI0_IRQn);
// Initialize SPI1
__HAL_RCC_SPI1_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
GPIO_InitStruct.Pin = GPIO_PIN_5 | GPIO_PIN_6 | GPIO_PIN_7;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI1;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
hspi1_lis3dsh.Instance = SPI1;
hspi1_lis3dsh.Init.Mode = SPI_MODE_MASTER;
hspi1_lis3dsh.Init.Direction = SPI_DIRECTION_2LINES;
hspi1_lis3dsh.Init.DataSize = SPI_DATASIZE_8BIT;
hspi1_lis3dsh.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi1_lis3dsh.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi1_lis3dsh.Init.NSS = SPI_NSS_SOFT;
hspi1_lis3dsh.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_16;
hspi1_lis3dsh.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi1_lis3dsh.Init.TIMode = SPI_TIMODE_DISABLE;
hspi1_lis3dsh.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
hspi1_lis3dsh.Init.CRCPolynomial = 10;
HAL_SPI_Init(&hspi1_lis3dsh);
}

View File

@ -0,0 +1,27 @@
#include "stm32f407xx_systick.h"
// Assume the system clock = 168MHz
#define SYSTICK_LOAD_VAL 168000
#define CTRL_ENABLE (1U<<0)
#define CTRL_CLKSRC (1U<<2)
#define CTRL_COUNTFLAG (1U<<16)
void SysTickDelayMs(int delayMs) {
// Reload the number of clocks per millisecond
SysTick->LOAD = SYSTICK_LOAD_VAL;
// Clear the Current Value register
SysTick->VAL = 0;
// Select clock source and enable SysTick
SysTick->CTRL = CTRL_ENABLE | CTRL_CLKSRC;
for(int i = 0; i < delayMs; i++) {
// Wait until COUNTFLAG is set
while((SysTick->CTRL & CTRL_COUNTFLAG)==0){}
}
SysTick->CTRL = 0;
}

View File

@ -0,0 +1,66 @@
#include "stm32f407xx_tim.h"
TIM_HandleTypeDef htim3;
//// Called by TIMx_IRQHandler function, every 1 second
//// stm32f4xx_hal_tim.h
//void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
// // Do something
//// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_12);
//// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_13);
//// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_14);
//// HAL_GPIO_TogglePin(GPIOD, GPIO_PIN_15);
//}
// ------------------------------------------------------------------------
// startup_stm32f407vgtx.s
void TIM3_IRQHandler(void) {
HAL_TIM_IRQHandler(&htim3);
}
// ------------------------------------------------------------------------
// Configure timer to timeout every second
// System clock = 168 000 000 Hz
// PCLK1 = 42 MHz for APB1 peripheral clock
// = 84 MHz for APB1 timer clock
// PCLK2 = 84 MHz for APB2 peripheral clock
// = 168 MHz for APB2 timer clock
void TIM3_timebase_init(uint16_t msPeriod) {
__HAL_RCC_TIM3_CLK_ENABLE();
htim3.Instance = TIM3;
htim3.Init.Period = 8400 - 1; // 84 000 000 / 84 00 = 10 000 = 10KHz
htim3.Init.Prescaler = msPeriod*10 - 1; // 10 000 / 10 = 1000Hz (1ms)
htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
HAL_TIM_Base_Init(&htim3);
// Enable interrupt
HAL_NVIC_SetPriority(TIM3_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(TIM3_IRQn);
// Start the TIM base generation in interrupt mode
HAL_TIM_Base_Start_IT(&htim3);
}

View File

@ -0,0 +1,236 @@
#include "stm32f407xx_uart.h"
UART_HandleTypeDef huart1;
UART_HandleTypeDef huart2;
DMA_HandleTypeDef hdma_usart2_tx;
DMA_HandleTypeDef hdma_usart2_rx;
//uint32_t tx_counter, rx_counter;
//uint8_t rx_buffer[10];
//uint8_t tx_buffer[10] = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100};
//UART2_interrupt_init();
//HAL_UART_Transmit_IT(&huart2, tx_buffer, 10);
//HAL_UART_Receive_IT(&huart2, rx_buffer, 10);
// --------------------------------------------------------------------
// Override for printf function
int __io_putchar(int ch) {
HAL_UART_Transmit(&huart2, (uint8_t *)&ch, 1, 10);
return ch;
}
// startup_stm32f407vgtx.s
void USART2_IRQHandler(void) {
HAL_UART_IRQHandler(&huart2);
}
// startup_stm32f407vgtx.s
void DMA1_Stream5_IRQHandler(void) {
HAL_DMA_IRQHandler(&hdma_usart2_rx);
}
// startup_stm32f407vgtx.s
void DMA1_Stream6_IRQHandler(void) {
HAL_DMA_IRQHandler(&hdma_usart2_tx);
}
// --------------------------------------------------------------------
// Configure UART2
// PA2: UART2 TX (AF7)
// PA3: UART2 RX (AF7)
void UART2_interrupt_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable UART pins clock access
__HAL_RCC_GPIOA_CLK_ENABLE();
// Enable UART module clock access
__HAL_RCC_USART2_CLK_ENABLE();
// Configure pins to act as alternate function pins (UART)
GPIO_InitStruct.Pin = GPIO_PIN_2 | GPIO_PIN_3;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF7_USART2;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure UART module
huart2.Instance = USART2;
huart2.Init.BaudRate = 115200;
huart2.Init.WordLength = UART_WORDLENGTH_8B;
huart2.Init.StopBits = UART_STOPBITS_1;
huart2.Init.Parity = UART_PARITY_NONE;
huart2.Init.Mode = UART_MODE_TX_RX;
huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart2.Init.OverSampling = UART_OVERSAMPLING_16;
HAL_UART_Init(&huart2);
// Enable UART2 interrupt
HAL_NVIC_SetPriority(USART2_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(USART2_IRQn);
}
// --------------------------------------------------------------------
// Configure UART1
// PA9: UART1 TX (AF7)
// PA10: UART1 RX (AF7)
void UART1_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable UART pins clock access
__HAL_RCC_GPIOA_CLK_ENABLE();
// Enable UART module clock access
__HAL_RCC_USART1_CLK_ENABLE();
// Configure pins to act as alternate function pins (UART)
GPIO_InitStruct.Pin = GPIO_PIN_9 | GPIO_PIN_10;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure UART module
huart1.Instance = USART1;
huart1.Init.BaudRate = 115200;
huart1.Init.WordLength = UART_WORDLENGTH_8B;
huart1.Init.StopBits = UART_STOPBITS_1;
huart1.Init.Parity = UART_PARITY_NONE;
huart1.Init.Mode = UART_MODE_TX_RX;
huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart1.Init.OverSampling = UART_OVERSAMPLING_16;
HAL_UART_Init(&huart1);
}
// --------------------------------------------------------------------
// Configure UART2
// PA2: UART2 TX (AF7)
// PA3: UART2 RX (AF7)
void UART2_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable UART pins clock access
__HAL_RCC_GPIOA_CLK_ENABLE();
// Enable UART module clock access
__HAL_RCC_USART2_CLK_ENABLE();
// Configure pins to act as alternate function pins (UART)
GPIO_InitStruct.Pin = GPIO_PIN_2 | GPIO_PIN_3;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF7_USART2;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// Configure UART module
huart2.Instance = USART2;
huart2.Init.BaudRate = 115200;
huart2.Init.WordLength = UART_WORDLENGTH_8B;
huart2.Init.StopBits = UART_STOPBITS_1;
huart2.Init.Parity = UART_PARITY_NONE;
huart2.Init.Mode = UART_MODE_TX_RX;
huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart2.Init.OverSampling = UART_OVERSAMPLING_16;
HAL_UART_Init(&huart2);
}
// --------------------------------------------------------------------
// Configure UART2
// PA2: UART2 TX (AF7)
// PA3: UART2 RX (AF7)
void UART2_DMA_init(void) {
GPIO_InitTypeDef GPIO_InitStruct = {0};
// Enable UART pins clock access
__HAL_RCC_GPIOD_CLK_ENABLE();
// Enable UART module clock access
__HAL_RCC_USART2_CLK_ENABLE();
// Enable DMA clock
__HAL_RCC_DMA1_CLK_ENABLE();
// Configure pins to act as alternate function pins (UART)
GPIO_InitStruct.Pin = GPIO_PIN_2 | GPIO_PIN_3;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Alternate = GPIO_AF7_USART2;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
// Configure UART module
huart2.Instance = USART2;
huart2.Init.BaudRate = 115200;
huart2.Init.WordLength = UART_WORDLENGTH_8B;
huart2.Init.StopBits = UART_STOPBITS_1;
huart2.Init.Parity = UART_PARITY_NONE;
huart2.Init.Mode = UART_MODE_TX_RX;
huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart2.Init.OverSampling = UART_OVERSAMPLING_16;
HAL_UART_Init(&huart2);
// ------------------------------------------------------------
// Configure USART2 RX DMA
hdma_usart2_rx.Instance = DMA1_Stream5;
hdma_usart2_rx.Init.Channel = DMA_CHANNEL_4;
hdma_usart2_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
hdma_usart2_rx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_usart2_rx.Init.MemInc = DMA_MINC_ENABLE;
hdma_usart2_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
hdma_usart2_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
hdma_usart2_rx.Init.Mode = DMA_NORMAL;
hdma_usart2_rx.Init.Priority = DMA_PRIORITY_LOW;
hdma_usart2_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
HAL_DMA_Init(&hdma_usart2_rx);
// Configure USART2 TX DMA
hdma_usart2_tx.Instance = DMA1_Stream6;
hdma_usart2_tx.Init.Channel = DMA_CHANNEL_4;
hdma_usart2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
hdma_usart2_tx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_usart2_tx.Init.MemInc = DMA_MINC_ENABLE;
hdma_usart2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
hdma_usart2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
hdma_usart2_tx.Init.Mode = DMA_NORMAL;
hdma_usart2_tx.Init.Priority = DMA_PRIORITY_LOW;
hdma_usart2_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
HAL_DMA_Init(&hdma_usart2_tx);
// Link USART2 to DMA
huart2.hdmarx = &hdma_usart2_rx;
huart2.hdmatx = &hdma_usart2_tx;
// DMA1_Stream5_IRQn interrupt configuration
HAL_NVIC_SetPriority(DMA1_Stream5_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn);
// DMA1_Stream6_IRQn interrupt configuration
HAL_NVIC_SetPriority(DMA1_Stream6_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(DMA1_Stream6_IRQn);
}

View File

@ -0,0 +1,10 @@
#include "stm32f4xx_hal.h"
/**
* Initializes the Global MSP.
*/
void HAL_MspInit(void) {
__HAL_RCC_SYSCFG_CLK_ENABLE();
__HAL_RCC_PWR_CLK_ENABLE();
}

View File

@ -0,0 +1,156 @@
/**
******************************************************************************
* @file syscalls.c
* @author Auto-generated by STM32CubeIDE
* @brief STM32CubeIDE Minimal System calls file
*
* For more information about which c-functions
* need which of these lowlevel functions
* please consult the Newlib libc-manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Includes */
#include <sys/stat.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <signal.h>
#include <time.h>
#include <sys/time.h>
#include <sys/times.h>
/* Variables */
extern int __io_putchar(int ch) __attribute__((weak));
extern int __io_getchar(void) __attribute__((weak));
char *__env[1] = { 0 };
char **environ = __env;
/* Functions */
void initialise_monitor_handles()
{
}
int _getpid(void)
{
return 1;
}
int _kill(int pid, int sig)
{
errno = EINVAL;
return -1;
}
void _exit (int status)
{
_kill(status, -1);
while (1) {} /* Make sure we hang here */
}
__attribute__((weak)) int _read(int file, char *ptr, int len)
{
int DataIdx;
for (DataIdx = 0; DataIdx < len; DataIdx++)
{
*ptr++ = __io_getchar();
}
return len;
}
__attribute__((weak)) int _write(int file, char *ptr, int len)
{
int DataIdx;
for (DataIdx = 0; DataIdx < len; DataIdx++)
{
__io_putchar(*ptr++);
}
return len;
}
int _close(int file)
{
return -1;
}
int _fstat(int file, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _isatty(int file)
{
return 1;
}
int _lseek(int file, int ptr, int dir)
{
return 0;
}
int _open(char *path, int flags, ...)
{
/* Pretend like we always fail */
return -1;
}
int _wait(int *status)
{
errno = ECHILD;
return -1;
}
int _unlink(char *name)
{
errno = ENOENT;
return -1;
}
int _times(struct tms *buf)
{
return -1;
}
int _stat(char *file, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _link(char *old, char *new)
{
errno = EMLINK;
return -1;
}
int _fork(void)
{
errno = EAGAIN;
return -1;
}
int _execve(char *name, char **argv, char **env)
{
errno = ENOMEM;
return -1;
}

View File

@ -0,0 +1,80 @@
/**
******************************************************************************
* @file sysmem.c
* @author Generated by STM32CubeIDE
* @brief STM32CubeIDE System Memory calls file
*
* For more information about which C functions
* need which of these lowlevel functions
* please consult the newlib libc manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Includes */
#include <errno.h>
#include <stdint.h>
/**
* Pointer to the current high watermark of the heap usage
*/
static uint8_t *__sbrk_heap_end = NULL;
/**
* @brief _sbrk() allocates memory to the newlib heap and is used by malloc
* and others from the C library
*
* @verbatim
* ############################################################################
* # .data # .bss # newlib heap # MSP stack #
* # # # # Reserved by _Min_Stack_Size #
* ############################################################################
* ^-- RAM start ^-- _end _estack, RAM end --^
* @endverbatim
*
* This implementation starts allocating at the '_end' linker symbol
* The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
* The implementation considers '_estack' linker symbol to be RAM end
* NOTE: If the MSP stack, at any point during execution, grows larger than the
* reserved size, please increase the '_Min_Stack_Size'.
*
* @param incr Memory size
* @return Pointer to allocated memory
*/
void *_sbrk(ptrdiff_t incr)
{
extern uint8_t _end; /* Symbol defined in the linker script */
extern uint8_t _estack; /* Symbol defined in the linker script */
extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
const uint8_t *max_heap = (uint8_t *)stack_limit;
uint8_t *prev_heap_end;
/* Initialize heap end at first call */
if (NULL == __sbrk_heap_end)
{
__sbrk_heap_end = &_end;
}
/* Protect heap from growing into the reserved MSP stack */
if (__sbrk_heap_end + incr > max_heap)
{
errno = ENOMEM;
return (void *)-1;
}
prev_heap_end = __sbrk_heap_end;
__sbrk_heap_end += incr;
return (void *)prev_heap_end;
}

View File

@ -0,0 +1,756 @@
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File.
*
* This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the "startup_stm32f4xx.s" file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
*
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/** @addtogroup CMSIS
* @{
*/
/** @addtogroup stm32f4xx_system
* @{
*/
/** @addtogroup STM32F4xx_System_Private_Includes
* @{
*/
#include "stm32f4xx.h"
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)8000000) /*!< Default value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSI_VALUE)
#define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
#endif /* HSI_VALUE */
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Defines
* @{
*/
/************************* Miscellaneous Configuration ************************/
/*!< Uncomment the following line if you need to use external SRAM or SDRAM as data memory */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx) || defined(STM32F417xx)\
|| defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx)
/* #define DATA_IN_ExtSRAM */
#endif /* STM32F40xxx || STM32F41xxx || STM32F42xxx || STM32F43xxx || STM32F469xx || STM32F479xx ||\
STM32F412Zx || STM32F412Vx */
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
/* #define DATA_IN_ExtSDRAM */
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F446xx || STM32F469xx ||\
STM32F479xx */
/* Note: Following vector table addresses must be defined in line with linker
configuration. */
/*!< Uncomment the following line if you need to relocate the vector table
anywhere in Flash or Sram, else the vector table is kept at the automatic
remap of boot address selected */
/* #define USER_VECT_TAB_ADDRESS */
#if defined(USER_VECT_TAB_ADDRESS)
/*!< Uncomment the following line if you need to relocate your vector Table
in Sram else user remap will be done in Flash. */
/* #define VECT_TAB_SRAM */
#if defined(VECT_TAB_SRAM)
#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#else
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#endif /* VECT_TAB_SRAM */
#endif /* USER_VECT_TAB_ADDRESS */
/******************************************************************************/
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Macros
* @{
*/
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Variables
* @{
*/
/* This variable is updated in three ways:
1) by calling CMSIS function SystemCoreClockUpdate()
2) by calling HAL API function HAL_RCC_GetHCLKFreq()
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
Note: If you use this function to configure the system clock; then there
is no need to call the 2 first functions listed above, since SystemCoreClock
variable is updated automatically.
*/
uint32_t SystemCoreClock = 16000000;
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_FunctionPrototypes
* @{
*/
#if defined (DATA_IN_ExtSRAM) || defined (DATA_IN_ExtSDRAM)
static void SystemInit_ExtMemCtl(void);
#endif /* DATA_IN_ExtSRAM || DATA_IN_ExtSDRAM */
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Functions
* @{
*/
/**
* @brief Setup the microcontroller system
* Initialize the FPU setting, vector table location and External memory
* configuration.
* @param None
* @retval None
*/
void SystemInit(void)
{
/* FPU settings ------------------------------------------------------------*/
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */
#endif
#if defined (DATA_IN_ExtSRAM) || defined (DATA_IN_ExtSDRAM)
SystemInit_ExtMemCtl();
#endif /* DATA_IN_ExtSRAM || DATA_IN_ExtSDRAM */
/* Configure the Vector Table location -------------------------------------*/
#if defined(USER_VECT_TAB_ADDRESS)
SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
#endif /* USER_VECT_TAB_ADDRESS */
}
/**
* @brief Update SystemCoreClock variable according to Clock Register Values.
* The SystemCoreClock variable contains the core clock (HCLK), it can
* be used by the user application to setup the SysTick timer or configure
* other parameters.
*
* @note Each time the core clock (HCLK) changes, this function must be called
* to update SystemCoreClock variable value. Otherwise, any configuration
* based on this variable will be incorrect.
*
* @note - The system frequency computed by this function is not the real
* frequency in the chip. It is calculated based on the predefined
* constant and the selected clock source:
*
* - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)
*
* - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)
*
* - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**)
* or HSI_VALUE(*) multiplied/divided by the PLL factors.
*
* (*) HSI_VALUE is a constant defined in stm32f4xx_hal_conf.h file (default value
* 16 MHz) but the real value may vary depending on the variations
* in voltage and temperature.
*
* (**) HSE_VALUE is a constant defined in stm32f4xx_hal_conf.h file (its value
* depends on the application requirements), user has to ensure that HSE_VALUE
* is same as the real frequency of the crystal used. Otherwise, this function
* may have wrong result.
*
* - The result of this function could be not correct when using fractional
* value for HSE crystal.
*
* @param None
* @retval None
*/
void SystemCoreClockUpdate(void)
{
uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2;
/* Get SYSCLK source -------------------------------------------------------*/
tmp = RCC->CFGR & RCC_CFGR_SWS;
switch (tmp)
{
case 0x00: /* HSI used as system clock source */
SystemCoreClock = HSI_VALUE;
break;
case 0x04: /* HSE used as system clock source */
SystemCoreClock = HSE_VALUE;
break;
case 0x08: /* PLL used as system clock source */
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N
SYSCLK = PLL_VCO / PLL_P
*/
pllsource = (RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) >> 22;
pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM;
if (pllsource != 0)
{
/* HSE used as PLL clock source */
pllvco = (HSE_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6);
}
else
{
/* HSI used as PLL clock source */
pllvco = (HSI_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6);
}
pllp = (((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >>16) + 1 ) *2;
SystemCoreClock = pllvco/pllp;
break;
default:
SystemCoreClock = HSI_VALUE;
break;
}
/* Compute HCLK frequency --------------------------------------------------*/
/* Get HCLK prescaler */
tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4)];
/* HCLK frequency */
SystemCoreClock >>= tmp;
}
#if defined (DATA_IN_ExtSRAM) && defined (DATA_IN_ExtSDRAM)
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx)
/**
* @brief Setup the external memory controller.
* Called in startup_stm32f4xx.s before jump to main.
* This function configures the external memories (SRAM/SDRAM)
* This SRAM/SDRAM will be used as program data memory (including heap and stack).
* @param None
* @retval None
*/
void SystemInit_ExtMemCtl(void)
{
__IO uint32_t tmp = 0x00;
register uint32_t tmpreg = 0, timeout = 0xFFFF;
register __IO uint32_t index;
/* Enable GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH and GPIOI interface clock */
RCC->AHB1ENR |= 0x000001F8;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIOCEN);
/* Connect PDx pins to FMC Alternate function */
GPIOD->AFR[0] = 0x00CCC0CC;
GPIOD->AFR[1] = 0xCCCCCCCC;
/* Configure PDx pins in Alternate function mode */
GPIOD->MODER = 0xAAAA0A8A;
/* Configure PDx pins speed to 100 MHz */
GPIOD->OSPEEDR = 0xFFFF0FCF;
/* Configure PDx pins Output type to push-pull */
GPIOD->OTYPER = 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOD->PUPDR = 0x00000000;
/* Connect PEx pins to FMC Alternate function */
GPIOE->AFR[0] = 0xC00CC0CC;
GPIOE->AFR[1] = 0xCCCCCCCC;
/* Configure PEx pins in Alternate function mode */
GPIOE->MODER = 0xAAAA828A;
/* Configure PEx pins speed to 100 MHz */
GPIOE->OSPEEDR = 0xFFFFC3CF;
/* Configure PEx pins Output type to push-pull */
GPIOE->OTYPER = 0x00000000;
/* No pull-up, pull-down for PEx pins */
GPIOE->PUPDR = 0x00000000;
/* Connect PFx pins to FMC Alternate function */
GPIOF->AFR[0] = 0xCCCCCCCC;
GPIOF->AFR[1] = 0xCCCCCCCC;
/* Configure PFx pins in Alternate function mode */
GPIOF->MODER = 0xAA800AAA;
/* Configure PFx pins speed to 50 MHz */
GPIOF->OSPEEDR = 0xAA800AAA;
/* Configure PFx pins Output type to push-pull */
GPIOF->OTYPER = 0x00000000;
/* No pull-up, pull-down for PFx pins */
GPIOF->PUPDR = 0x00000000;
/* Connect PGx pins to FMC Alternate function */
GPIOG->AFR[0] = 0xCCCCCCCC;
GPIOG->AFR[1] = 0xCCCCCCCC;
/* Configure PGx pins in Alternate function mode */
GPIOG->MODER = 0xAAAAAAAA;
/* Configure PGx pins speed to 50 MHz */
GPIOG->OSPEEDR = 0xAAAAAAAA;
/* Configure PGx pins Output type to push-pull */
GPIOG->OTYPER = 0x00000000;
/* No pull-up, pull-down for PGx pins */
GPIOG->PUPDR = 0x00000000;
/* Connect PHx pins to FMC Alternate function */
GPIOH->AFR[0] = 0x00C0CC00;
GPIOH->AFR[1] = 0xCCCCCCCC;
/* Configure PHx pins in Alternate function mode */
GPIOH->MODER = 0xAAAA08A0;
/* Configure PHx pins speed to 50 MHz */
GPIOH->OSPEEDR = 0xAAAA08A0;
/* Configure PHx pins Output type to push-pull */
GPIOH->OTYPER = 0x00000000;
/* No pull-up, pull-down for PHx pins */
GPIOH->PUPDR = 0x00000000;
/* Connect PIx pins to FMC Alternate function */
GPIOI->AFR[0] = 0xCCCCCCCC;
GPIOI->AFR[1] = 0x00000CC0;
/* Configure PIx pins in Alternate function mode */
GPIOI->MODER = 0x0028AAAA;
/* Configure PIx pins speed to 50 MHz */
GPIOI->OSPEEDR = 0x0028AAAA;
/* Configure PIx pins Output type to push-pull */
GPIOI->OTYPER = 0x00000000;
/* No pull-up, pull-down for PIx pins */
GPIOI->PUPDR = 0x00000000;
/*-- FMC Configuration -------------------------------------------------------*/
/* Enable the FMC interface clock */
RCC->AHB3ENR |= 0x00000001;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
FMC_Bank5_6->SDCR[0] = 0x000019E4;
FMC_Bank5_6->SDTR[0] = 0x01115351;
/* SDRAM initialization sequence */
/* Clock enable command */
FMC_Bank5_6->SDCMR = 0x00000011;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Delay */
for (index = 0; index<1000; index++);
/* PALL command */
FMC_Bank5_6->SDCMR = 0x00000012;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Auto refresh command */
FMC_Bank5_6->SDCMR = 0x00000073;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* MRD register program */
FMC_Bank5_6->SDCMR = 0x00046014;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Set refresh count */
tmpreg = FMC_Bank5_6->SDRTR;
FMC_Bank5_6->SDRTR = (tmpreg | (0x0000027C<<1));
/* Disable write protection */
tmpreg = FMC_Bank5_6->SDCR[0];
FMC_Bank5_6->SDCR[0] = (tmpreg & 0xFFFFFDFF);
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001011;
FMC_Bank1->BTCR[3] = 0x00000201;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx */
#if defined(STM32F469xx) || defined(STM32F479xx)
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001091;
FMC_Bank1->BTCR[3] = 0x00110212;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F469xx || STM32F479xx */
(void)(tmp);
}
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx */
#elif defined (DATA_IN_ExtSRAM) || defined (DATA_IN_ExtSDRAM)
/**
* @brief Setup the external memory controller.
* Called in startup_stm32f4xx.s before jump to main.
* This function configures the external memories (SRAM/SDRAM)
* This SRAM/SDRAM will be used as program data memory (including heap and stack).
* @param None
* @retval None
*/
void SystemInit_ExtMemCtl(void)
{
__IO uint32_t tmp = 0x00;
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
#if defined (DATA_IN_ExtSDRAM)
register uint32_t tmpreg = 0, timeout = 0xFFFF;
register __IO uint32_t index;
#if defined(STM32F446xx)
/* Enable GPIOA, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG interface
clock */
RCC->AHB1ENR |= 0x0000007D;
#else
/* Enable GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH and GPIOI interface
clock */
RCC->AHB1ENR |= 0x000001F8;
#endif /* STM32F446xx */
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIOCEN);
#if defined(STM32F446xx)
/* Connect PAx pins to FMC Alternate function */
GPIOA->AFR[0] |= 0xC0000000;
GPIOA->AFR[1] |= 0x00000000;
/* Configure PDx pins in Alternate function mode */
GPIOA->MODER |= 0x00008000;
/* Configure PDx pins speed to 50 MHz */
GPIOA->OSPEEDR |= 0x00008000;
/* Configure PDx pins Output type to push-pull */
GPIOA->OTYPER |= 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOA->PUPDR |= 0x00000000;
/* Connect PCx pins to FMC Alternate function */
GPIOC->AFR[0] |= 0x00CC0000;
GPIOC->AFR[1] |= 0x00000000;
/* Configure PDx pins in Alternate function mode */
GPIOC->MODER |= 0x00000A00;
/* Configure PDx pins speed to 50 MHz */
GPIOC->OSPEEDR |= 0x00000A00;
/* Configure PDx pins Output type to push-pull */
GPIOC->OTYPER |= 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOC->PUPDR |= 0x00000000;
#endif /* STM32F446xx */
/* Connect PDx pins to FMC Alternate function */
GPIOD->AFR[0] = 0x000000CC;
GPIOD->AFR[1] = 0xCC000CCC;
/* Configure PDx pins in Alternate function mode */
GPIOD->MODER = 0xA02A000A;
/* Configure PDx pins speed to 50 MHz */
GPIOD->OSPEEDR = 0xA02A000A;
/* Configure PDx pins Output type to push-pull */
GPIOD->OTYPER = 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOD->PUPDR = 0x00000000;
/* Connect PEx pins to FMC Alternate function */
GPIOE->AFR[0] = 0xC00000CC;
GPIOE->AFR[1] = 0xCCCCCCCC;
/* Configure PEx pins in Alternate function mode */
GPIOE->MODER = 0xAAAA800A;
/* Configure PEx pins speed to 50 MHz */
GPIOE->OSPEEDR = 0xAAAA800A;
/* Configure PEx pins Output type to push-pull */
GPIOE->OTYPER = 0x00000000;
/* No pull-up, pull-down for PEx pins */
GPIOE->PUPDR = 0x00000000;
/* Connect PFx pins to FMC Alternate function */
GPIOF->AFR[0] = 0xCCCCCCCC;
GPIOF->AFR[1] = 0xCCCCCCCC;
/* Configure PFx pins in Alternate function mode */
GPIOF->MODER = 0xAA800AAA;
/* Configure PFx pins speed to 50 MHz */
GPIOF->OSPEEDR = 0xAA800AAA;
/* Configure PFx pins Output type to push-pull */
GPIOF->OTYPER = 0x00000000;
/* No pull-up, pull-down for PFx pins */
GPIOF->PUPDR = 0x00000000;
/* Connect PGx pins to FMC Alternate function */
GPIOG->AFR[0] = 0xCCCCCCCC;
GPIOG->AFR[1] = 0xCCCCCCCC;
/* Configure PGx pins in Alternate function mode */
GPIOG->MODER = 0xAAAAAAAA;
/* Configure PGx pins speed to 50 MHz */
GPIOG->OSPEEDR = 0xAAAAAAAA;
/* Configure PGx pins Output type to push-pull */
GPIOG->OTYPER = 0x00000000;
/* No pull-up, pull-down for PGx pins */
GPIOG->PUPDR = 0x00000000;
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx)
/* Connect PHx pins to FMC Alternate function */
GPIOH->AFR[0] = 0x00C0CC00;
GPIOH->AFR[1] = 0xCCCCCCCC;
/* Configure PHx pins in Alternate function mode */
GPIOH->MODER = 0xAAAA08A0;
/* Configure PHx pins speed to 50 MHz */
GPIOH->OSPEEDR = 0xAAAA08A0;
/* Configure PHx pins Output type to push-pull */
GPIOH->OTYPER = 0x00000000;
/* No pull-up, pull-down for PHx pins */
GPIOH->PUPDR = 0x00000000;
/* Connect PIx pins to FMC Alternate function */
GPIOI->AFR[0] = 0xCCCCCCCC;
GPIOI->AFR[1] = 0x00000CC0;
/* Configure PIx pins in Alternate function mode */
GPIOI->MODER = 0x0028AAAA;
/* Configure PIx pins speed to 50 MHz */
GPIOI->OSPEEDR = 0x0028AAAA;
/* Configure PIx pins Output type to push-pull */
GPIOI->OTYPER = 0x00000000;
/* No pull-up, pull-down for PIx pins */
GPIOI->PUPDR = 0x00000000;
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx */
/*-- FMC Configuration -------------------------------------------------------*/
/* Enable the FMC interface clock */
RCC->AHB3ENR |= 0x00000001;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
/* Configure and enable SDRAM bank1 */
#if defined(STM32F446xx)
FMC_Bank5_6->SDCR[0] = 0x00001954;
#else
FMC_Bank5_6->SDCR[0] = 0x000019E4;
#endif /* STM32F446xx */
FMC_Bank5_6->SDTR[0] = 0x01115351;
/* SDRAM initialization sequence */
/* Clock enable command */
FMC_Bank5_6->SDCMR = 0x00000011;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Delay */
for (index = 0; index<1000; index++);
/* PALL command */
FMC_Bank5_6->SDCMR = 0x00000012;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Auto refresh command */
#if defined(STM32F446xx)
FMC_Bank5_6->SDCMR = 0x000000F3;
#else
FMC_Bank5_6->SDCMR = 0x00000073;
#endif /* STM32F446xx */
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* MRD register program */
#if defined(STM32F446xx)
FMC_Bank5_6->SDCMR = 0x00044014;
#else
FMC_Bank5_6->SDCMR = 0x00046014;
#endif /* STM32F446xx */
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Set refresh count */
tmpreg = FMC_Bank5_6->SDRTR;
#if defined(STM32F446xx)
FMC_Bank5_6->SDRTR = (tmpreg | (0x0000050C<<1));
#else
FMC_Bank5_6->SDRTR = (tmpreg | (0x0000027C<<1));
#endif /* STM32F446xx */
/* Disable write protection */
tmpreg = FMC_Bank5_6->SDCR[0];
FMC_Bank5_6->SDCR[0] = (tmpreg & 0xFFFFFDFF);
#endif /* DATA_IN_ExtSDRAM */
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F446xx || STM32F469xx || STM32F479xx */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx) || defined(STM32F417xx)\
|| defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx)
#if defined(DATA_IN_ExtSRAM)
/*-- GPIOs Configuration -----------------------------------------------------*/
/* Enable GPIOD, GPIOE, GPIOF and GPIOG interface clock */
RCC->AHB1ENR |= 0x00000078;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIODEN);
/* Connect PDx pins to FMC Alternate function */
GPIOD->AFR[0] = 0x00CCC0CC;
GPIOD->AFR[1] = 0xCCCCCCCC;
/* Configure PDx pins in Alternate function mode */
GPIOD->MODER = 0xAAAA0A8A;
/* Configure PDx pins speed to 100 MHz */
GPIOD->OSPEEDR = 0xFFFF0FCF;
/* Configure PDx pins Output type to push-pull */
GPIOD->OTYPER = 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOD->PUPDR = 0x00000000;
/* Connect PEx pins to FMC Alternate function */
GPIOE->AFR[0] = 0xC00CC0CC;
GPIOE->AFR[1] = 0xCCCCCCCC;
/* Configure PEx pins in Alternate function mode */
GPIOE->MODER = 0xAAAA828A;
/* Configure PEx pins speed to 100 MHz */
GPIOE->OSPEEDR = 0xFFFFC3CF;
/* Configure PEx pins Output type to push-pull */
GPIOE->OTYPER = 0x00000000;
/* No pull-up, pull-down for PEx pins */
GPIOE->PUPDR = 0x00000000;
/* Connect PFx pins to FMC Alternate function */
GPIOF->AFR[0] = 0x00CCCCCC;
GPIOF->AFR[1] = 0xCCCC0000;
/* Configure PFx pins in Alternate function mode */
GPIOF->MODER = 0xAA000AAA;
/* Configure PFx pins speed to 100 MHz */
GPIOF->OSPEEDR = 0xFF000FFF;
/* Configure PFx pins Output type to push-pull */
GPIOF->OTYPER = 0x00000000;
/* No pull-up, pull-down for PFx pins */
GPIOF->PUPDR = 0x00000000;
/* Connect PGx pins to FMC Alternate function */
GPIOG->AFR[0] = 0x00CCCCCC;
GPIOG->AFR[1] = 0x000000C0;
/* Configure PGx pins in Alternate function mode */
GPIOG->MODER = 0x00085AAA;
/* Configure PGx pins speed to 100 MHz */
GPIOG->OSPEEDR = 0x000CAFFF;
/* Configure PGx pins Output type to push-pull */
GPIOG->OTYPER = 0x00000000;
/* No pull-up, pull-down for PGx pins */
GPIOG->PUPDR = 0x00000000;
/*-- FMC/FSMC Configuration --------------------------------------------------*/
/* Enable the FMC/FSMC interface clock */
RCC->AHB3ENR |= 0x00000001;
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001011;
FMC_Bank1->BTCR[3] = 0x00000201;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx */
#if defined(STM32F469xx) || defined(STM32F479xx)
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001091;
FMC_Bank1->BTCR[3] = 0x00110212;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F469xx || STM32F479xx */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx)|| defined(STM32F417xx)\
|| defined(STM32F412Zx) || defined(STM32F412Vx)
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FSMCEN);
/* Configure and enable Bank1_SRAM2 */
FSMC_Bank1->BTCR[2] = 0x00001011;
FSMC_Bank1->BTCR[3] = 0x00000201;
FSMC_Bank1E->BWTR[2] = 0x0FFFFFFF;
#endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx || STM32F412Zx || STM32F412Vx */
#endif /* DATA_IN_ExtSRAM */
#endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx || STM32F427xx || STM32F437xx ||\
STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx || STM32F412Zx || STM32F412Vx */
(void)(tmp);
}
#endif /* DATA_IN_ExtSRAM && DATA_IN_ExtSDRAM */
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@ -0,0 +1,508 @@
/**
******************************************************************************
* @file startup_stm32f407xx.s
* @author MCD Application Team
* @brief STM32F407xx Devices vector table for GCC based toolchains.
* This module performs:
* - Set the initial SP
* - Set the initial PC == Reset_Handler,
* - Set the vector table entries with the exceptions ISR address
* - Branches to main in the C library (which eventually
* calls main()).
* After Reset the Cortex-M4 processor is in Thread mode,
* priority is Privileged, and the Stack is set to Main.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
.syntax unified
.cpu cortex-m4
.fpu softvfp
.thumb
.global g_pfnVectors
.global Default_Handler
/* start address for the initialization values of the .data section.
defined in linker script */
.word _sidata
/* start address for the .data section. defined in linker script */
.word _sdata
/* end address for the .data section. defined in linker script */
.word _edata
/* start address for the .bss section. defined in linker script */
.word _sbss
/* end address for the .bss section. defined in linker script */
.word _ebss
/* stack used for SystemInit_ExtMemCtl; always internal RAM used */
/**
* @brief This is the code that gets called when the processor first
* starts execution following a reset event. Only the absolutely
* necessary set is performed, after which the application
* supplied main() routine is called.
* @param None
* @retval : None
*/
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
ldr sp, =_estack /* set stack pointer */
/* Copy the data segment initializers from flash to SRAM */
ldr r0, =_sdata
ldr r1, =_edata
ldr r2, =_sidata
movs r3, #0
b LoopCopyDataInit
CopyDataInit:
ldr r4, [r2, r3]
str r4, [r0, r3]
adds r3, r3, #4
LoopCopyDataInit:
adds r4, r0, r3
cmp r4, r1
bcc CopyDataInit
/* Zero fill the bss segment. */
ldr r2, =_sbss
ldr r4, =_ebss
movs r3, #0
b LoopFillZerobss
FillZerobss:
str r3, [r2]
adds r2, r2, #4
LoopFillZerobss:
cmp r2, r4
bcc FillZerobss
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* Call the application's entry point.*/
bl main
bx lr
.size Reset_Handler, .-Reset_Handler
/**
* @brief This is the code that gets called when the processor receives an
* unexpected interrupt. This simply enters an infinite loop, preserving
* the system state for examination by a debugger.
* @param None
* @retval None
*/
.section .text.Default_Handler,"ax",%progbits
Default_Handler:
Infinite_Loop:
b Infinite_Loop
.size Default_Handler, .-Default_Handler
/******************************************************************************
*
* The minimal vector table for a Cortex M3. Note that the proper constructs
* must be placed on this to ensure that it ends up at physical address
* 0x0000.0000.
*
*******************************************************************************/
.section .isr_vector,"a",%progbits
.type g_pfnVectors, %object
.size g_pfnVectors, .-g_pfnVectors
g_pfnVectors:
.word _estack
.word Reset_Handler
.word NMI_Handler
.word HardFault_Handler
.word MemManage_Handler
.word BusFault_Handler
.word UsageFault_Handler
.word 0
.word 0
.word 0
.word 0
.word SVC_Handler
.word DebugMon_Handler
.word 0
.word PendSV_Handler
.word SysTick_Handler
/* External Interrupts */
.word WWDG_IRQHandler /* Window WatchDog */
.word PVD_IRQHandler /* PVD through EXTI Line detection */
.word TAMP_STAMP_IRQHandler /* Tamper and TimeStamps through the EXTI line */
.word RTC_WKUP_IRQHandler /* RTC Wakeup through the EXTI line */
.word FLASH_IRQHandler /* FLASH */
.word RCC_IRQHandler /* RCC */
.word EXTI0_IRQHandler /* EXTI Line0 */
.word EXTI1_IRQHandler /* EXTI Line1 */
.word EXTI2_IRQHandler /* EXTI Line2 */
.word EXTI3_IRQHandler /* EXTI Line3 */
.word EXTI4_IRQHandler /* EXTI Line4 */
.word DMA1_Stream0_IRQHandler /* DMA1 Stream 0 */
.word DMA1_Stream1_IRQHandler /* DMA1 Stream 1 */
.word DMA1_Stream2_IRQHandler /* DMA1 Stream 2 */
.word DMA1_Stream3_IRQHandler /* DMA1 Stream 3 */
.word DMA1_Stream4_IRQHandler /* DMA1 Stream 4 */
.word DMA1_Stream5_IRQHandler /* DMA1 Stream 5 */
.word DMA1_Stream6_IRQHandler /* DMA1 Stream 6 */
.word ADC_IRQHandler /* ADC1, ADC2 and ADC3s */
.word CAN1_TX_IRQHandler /* CAN1 TX */
.word CAN1_RX0_IRQHandler /* CAN1 RX0 */
.word CAN1_RX1_IRQHandler /* CAN1 RX1 */
.word CAN1_SCE_IRQHandler /* CAN1 SCE */
.word EXTI9_5_IRQHandler /* External Line[9:5]s */
.word TIM1_BRK_TIM9_IRQHandler /* TIM1 Break and TIM9 */
.word TIM1_UP_TIM10_IRQHandler /* TIM1 Update and TIM10 */
.word TIM1_TRG_COM_TIM11_IRQHandler /* TIM1 Trigger and Commutation and TIM11 */
.word TIM1_CC_IRQHandler /* TIM1 Capture Compare */
.word TIM2_IRQHandler /* TIM2 */
.word TIM3_IRQHandler /* TIM3 */
.word TIM4_IRQHandler /* TIM4 */
.word I2C1_EV_IRQHandler /* I2C1 Event */
.word I2C1_ER_IRQHandler /* I2C1 Error */
.word I2C2_EV_IRQHandler /* I2C2 Event */
.word I2C2_ER_IRQHandler /* I2C2 Error */
.word SPI1_IRQHandler /* SPI1 */
.word SPI2_IRQHandler /* SPI2 */
.word USART1_IRQHandler /* USART1 */
.word USART2_IRQHandler /* USART2 */
.word USART3_IRQHandler /* USART3 */
.word EXTI15_10_IRQHandler /* External Line[15:10]s */
.word RTC_Alarm_IRQHandler /* RTC Alarm (A and B) through EXTI Line */
.word OTG_FS_WKUP_IRQHandler /* USB OTG FS Wakeup through EXTI line */
.word TIM8_BRK_TIM12_IRQHandler /* TIM8 Break and TIM12 */
.word TIM8_UP_TIM13_IRQHandler /* TIM8 Update and TIM13 */
.word TIM8_TRG_COM_TIM14_IRQHandler /* TIM8 Trigger and Commutation and TIM14 */
.word TIM8_CC_IRQHandler /* TIM8 Capture Compare */
.word DMA1_Stream7_IRQHandler /* DMA1 Stream7 */
.word FSMC_IRQHandler /* FSMC */
.word SDIO_IRQHandler /* SDIO */
.word TIM5_IRQHandler /* TIM5 */
.word SPI3_IRQHandler /* SPI3 */
.word UART4_IRQHandler /* UART4 */
.word UART5_IRQHandler /* UART5 */
.word TIM6_DAC_IRQHandler /* TIM6 and DAC1&2 underrun errors */
.word TIM7_IRQHandler /* TIM7 */
.word DMA2_Stream0_IRQHandler /* DMA2 Stream 0 */
.word DMA2_Stream1_IRQHandler /* DMA2 Stream 1 */
.word DMA2_Stream2_IRQHandler /* DMA2 Stream 2 */
.word DMA2_Stream3_IRQHandler /* DMA2 Stream 3 */
.word DMA2_Stream4_IRQHandler /* DMA2 Stream 4 */
.word ETH_IRQHandler /* Ethernet */
.word ETH_WKUP_IRQHandler /* Ethernet Wakeup through EXTI line */
.word CAN2_TX_IRQHandler /* CAN2 TX */
.word CAN2_RX0_IRQHandler /* CAN2 RX0 */
.word CAN2_RX1_IRQHandler /* CAN2 RX1 */
.word CAN2_SCE_IRQHandler /* CAN2 SCE */
.word OTG_FS_IRQHandler /* USB OTG FS */
.word DMA2_Stream5_IRQHandler /* DMA2 Stream 5 */
.word DMA2_Stream6_IRQHandler /* DMA2 Stream 6 */
.word DMA2_Stream7_IRQHandler /* DMA2 Stream 7 */
.word USART6_IRQHandler /* USART6 */
.word I2C3_EV_IRQHandler /* I2C3 event */
.word I2C3_ER_IRQHandler /* I2C3 error */
.word OTG_HS_EP1_OUT_IRQHandler /* USB OTG HS End Point 1 Out */
.word OTG_HS_EP1_IN_IRQHandler /* USB OTG HS End Point 1 In */
.word OTG_HS_WKUP_IRQHandler /* USB OTG HS Wakeup through EXTI */
.word OTG_HS_IRQHandler /* USB OTG HS */
.word DCMI_IRQHandler /* DCMI */
.word 0 /* CRYP crypto */
.word HASH_RNG_IRQHandler /* Hash and Rng */
.word FPU_IRQHandler /* FPU */
/*******************************************************************************
*
* Provide weak aliases for each Exception handler to the Default_Handler.
* As they are weak aliases, any function with the same name will override
* this definition.
*
*******************************************************************************/
.weak NMI_Handler
.thumb_set NMI_Handler,Default_Handler
.weak HardFault_Handler
.thumb_set HardFault_Handler,Default_Handler
.weak MemManage_Handler
.thumb_set MemManage_Handler,Default_Handler
.weak BusFault_Handler
.thumb_set BusFault_Handler,Default_Handler
.weak UsageFault_Handler
.thumb_set UsageFault_Handler,Default_Handler
.weak SVC_Handler
.thumb_set SVC_Handler,Default_Handler
.weak DebugMon_Handler
.thumb_set DebugMon_Handler,Default_Handler
.weak PendSV_Handler
.thumb_set PendSV_Handler,Default_Handler
.weak SysTick_Handler
.thumb_set SysTick_Handler,Default_Handler
.weak WWDG_IRQHandler
.thumb_set WWDG_IRQHandler,Default_Handler
.weak PVD_IRQHandler
.thumb_set PVD_IRQHandler,Default_Handler
.weak TAMP_STAMP_IRQHandler
.thumb_set TAMP_STAMP_IRQHandler,Default_Handler
.weak RTC_WKUP_IRQHandler
.thumb_set RTC_WKUP_IRQHandler,Default_Handler
.weak FLASH_IRQHandler
.thumb_set FLASH_IRQHandler,Default_Handler
.weak RCC_IRQHandler
.thumb_set RCC_IRQHandler,Default_Handler
.weak EXTI0_IRQHandler
.thumb_set EXTI0_IRQHandler,Default_Handler
.weak EXTI1_IRQHandler
.thumb_set EXTI1_IRQHandler,Default_Handler
.weak EXTI2_IRQHandler
.thumb_set EXTI2_IRQHandler,Default_Handler
.weak EXTI3_IRQHandler
.thumb_set EXTI3_IRQHandler,Default_Handler
.weak EXTI4_IRQHandler
.thumb_set EXTI4_IRQHandler,Default_Handler
.weak DMA1_Stream0_IRQHandler
.thumb_set DMA1_Stream0_IRQHandler,Default_Handler
.weak DMA1_Stream1_IRQHandler
.thumb_set DMA1_Stream1_IRQHandler,Default_Handler
.weak DMA1_Stream2_IRQHandler
.thumb_set DMA1_Stream2_IRQHandler,Default_Handler
.weak DMA1_Stream3_IRQHandler
.thumb_set DMA1_Stream3_IRQHandler,Default_Handler
.weak DMA1_Stream4_IRQHandler
.thumb_set DMA1_Stream4_IRQHandler,Default_Handler
.weak DMA1_Stream5_IRQHandler
.thumb_set DMA1_Stream5_IRQHandler,Default_Handler
.weak DMA1_Stream6_IRQHandler
.thumb_set DMA1_Stream6_IRQHandler,Default_Handler
.weak ADC_IRQHandler
.thumb_set ADC_IRQHandler,Default_Handler
.weak CAN1_TX_IRQHandler
.thumb_set CAN1_TX_IRQHandler,Default_Handler
.weak CAN1_RX0_IRQHandler
.thumb_set CAN1_RX0_IRQHandler,Default_Handler
.weak CAN1_RX1_IRQHandler
.thumb_set CAN1_RX1_IRQHandler,Default_Handler
.weak CAN1_SCE_IRQHandler
.thumb_set CAN1_SCE_IRQHandler,Default_Handler
.weak EXTI9_5_IRQHandler
.thumb_set EXTI9_5_IRQHandler,Default_Handler
.weak TIM1_BRK_TIM9_IRQHandler
.thumb_set TIM1_BRK_TIM9_IRQHandler,Default_Handler
.weak TIM1_UP_TIM10_IRQHandler
.thumb_set TIM1_UP_TIM10_IRQHandler,Default_Handler
.weak TIM1_TRG_COM_TIM11_IRQHandler
.thumb_set TIM1_TRG_COM_TIM11_IRQHandler,Default_Handler
.weak TIM1_CC_IRQHandler
.thumb_set TIM1_CC_IRQHandler,Default_Handler
.weak TIM2_IRQHandler
.thumb_set TIM2_IRQHandler,Default_Handler
.weak TIM3_IRQHandler
.thumb_set TIM3_IRQHandler,Default_Handler
.weak TIM4_IRQHandler
.thumb_set TIM4_IRQHandler,Default_Handler
.weak I2C1_EV_IRQHandler
.thumb_set I2C1_EV_IRQHandler,Default_Handler
.weak I2C1_ER_IRQHandler
.thumb_set I2C1_ER_IRQHandler,Default_Handler
.weak I2C2_EV_IRQHandler
.thumb_set I2C2_EV_IRQHandler,Default_Handler
.weak I2C2_ER_IRQHandler
.thumb_set I2C2_ER_IRQHandler,Default_Handler
.weak SPI1_IRQHandler
.thumb_set SPI1_IRQHandler,Default_Handler
.weak SPI2_IRQHandler
.thumb_set SPI2_IRQHandler,Default_Handler
.weak USART1_IRQHandler
.thumb_set USART1_IRQHandler,Default_Handler
.weak USART2_IRQHandler
.thumb_set USART2_IRQHandler,Default_Handler
.weak USART3_IRQHandler
.thumb_set USART3_IRQHandler,Default_Handler
.weak EXTI15_10_IRQHandler
.thumb_set EXTI15_10_IRQHandler,Default_Handler
.weak RTC_Alarm_IRQHandler
.thumb_set RTC_Alarm_IRQHandler,Default_Handler
.weak OTG_FS_WKUP_IRQHandler
.thumb_set OTG_FS_WKUP_IRQHandler,Default_Handler
.weak TIM8_BRK_TIM12_IRQHandler
.thumb_set TIM8_BRK_TIM12_IRQHandler,Default_Handler
.weak TIM8_UP_TIM13_IRQHandler
.thumb_set TIM8_UP_TIM13_IRQHandler,Default_Handler
.weak TIM8_TRG_COM_TIM14_IRQHandler
.thumb_set TIM8_TRG_COM_TIM14_IRQHandler,Default_Handler
.weak TIM8_CC_IRQHandler
.thumb_set TIM8_CC_IRQHandler,Default_Handler
.weak DMA1_Stream7_IRQHandler
.thumb_set DMA1_Stream7_IRQHandler,Default_Handler
.weak FSMC_IRQHandler
.thumb_set FSMC_IRQHandler,Default_Handler
.weak SDIO_IRQHandler
.thumb_set SDIO_IRQHandler,Default_Handler
.weak TIM5_IRQHandler
.thumb_set TIM5_IRQHandler,Default_Handler
.weak SPI3_IRQHandler
.thumb_set SPI3_IRQHandler,Default_Handler
.weak UART4_IRQHandler
.thumb_set UART4_IRQHandler,Default_Handler
.weak UART5_IRQHandler
.thumb_set UART5_IRQHandler,Default_Handler
.weak TIM6_DAC_IRQHandler
.thumb_set TIM6_DAC_IRQHandler,Default_Handler
.weak TIM7_IRQHandler
.thumb_set TIM7_IRQHandler,Default_Handler
.weak DMA2_Stream0_IRQHandler
.thumb_set DMA2_Stream0_IRQHandler,Default_Handler
.weak DMA2_Stream1_IRQHandler
.thumb_set DMA2_Stream1_IRQHandler,Default_Handler
.weak DMA2_Stream2_IRQHandler
.thumb_set DMA2_Stream2_IRQHandler,Default_Handler
.weak DMA2_Stream3_IRQHandler
.thumb_set DMA2_Stream3_IRQHandler,Default_Handler
.weak DMA2_Stream4_IRQHandler
.thumb_set DMA2_Stream4_IRQHandler,Default_Handler
.weak ETH_IRQHandler
.thumb_set ETH_IRQHandler,Default_Handler
.weak ETH_WKUP_IRQHandler
.thumb_set ETH_WKUP_IRQHandler,Default_Handler
.weak CAN2_TX_IRQHandler
.thumb_set CAN2_TX_IRQHandler,Default_Handler
.weak CAN2_RX0_IRQHandler
.thumb_set CAN2_RX0_IRQHandler,Default_Handler
.weak CAN2_RX1_IRQHandler
.thumb_set CAN2_RX1_IRQHandler,Default_Handler
.weak CAN2_SCE_IRQHandler
.thumb_set CAN2_SCE_IRQHandler,Default_Handler
.weak OTG_FS_IRQHandler
.thumb_set OTG_FS_IRQHandler,Default_Handler
.weak DMA2_Stream5_IRQHandler
.thumb_set DMA2_Stream5_IRQHandler,Default_Handler
.weak DMA2_Stream6_IRQHandler
.thumb_set DMA2_Stream6_IRQHandler,Default_Handler
.weak DMA2_Stream7_IRQHandler
.thumb_set DMA2_Stream7_IRQHandler,Default_Handler
.weak USART6_IRQHandler
.thumb_set USART6_IRQHandler,Default_Handler
.weak I2C3_EV_IRQHandler
.thumb_set I2C3_EV_IRQHandler,Default_Handler
.weak I2C3_ER_IRQHandler
.thumb_set I2C3_ER_IRQHandler,Default_Handler
.weak OTG_HS_EP1_OUT_IRQHandler
.thumb_set OTG_HS_EP1_OUT_IRQHandler,Default_Handler
.weak OTG_HS_EP1_IN_IRQHandler
.thumb_set OTG_HS_EP1_IN_IRQHandler,Default_Handler
.weak OTG_HS_WKUP_IRQHandler
.thumb_set OTG_HS_WKUP_IRQHandler,Default_Handler
.weak OTG_HS_IRQHandler
.thumb_set OTG_HS_IRQHandler,Default_Handler
.weak DCMI_IRQHandler
.thumb_set DCMI_IRQHandler,Default_Handler
.weak HASH_RNG_IRQHandler
.thumb_set HASH_RNG_IRQHandler,Default_Handler
.weak FPU_IRQHandler
.thumb_set FPU_IRQHandler,Default_Handler
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@ -0,0 +1,8 @@
main.c:37:5:main 2
main.c:181:6:HAL_TIM_PeriodElapsedCallback 1
main.c:191:6:HAL_ADC_ConvCpltCallback 1
main.c:200:6:HAL_GPIO_EXTI_Callback 3
main.c:227:6:HAL_UART_TxCpltCallback 1
main.c:239:6:HAL_UART_RxCpltCallback 1
main.c:250:6:HAL_SPI_TxRxCpltCallback 4
main.c:267:6:HAL_CAN_RxFifo0MsgPendingCallback 2

View File

@ -0,0 +1,111 @@
Core/Src/main.o: ../Core/Src/main.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dsp.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/DSP/Include/arm_math.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_clock.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_systick.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi_lis3dsh.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_i2c_adxl345.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dsp.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/DSP/Include/arm_math.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_clock.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_systick.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi_lis3dsh.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_i2c_adxl345.h:

Binary file not shown.

View File

@ -0,0 +1,8 @@
../Core/Src/main.c:37:5:main 8 static
../Core/Src/main.c:181:6:HAL_TIM_PeriodElapsedCallback 16 static
../Core/Src/main.c:191:6:HAL_ADC_ConvCpltCallback 16 static
../Core/Src/main.c:200:6:HAL_GPIO_EXTI_Callback 16 static
../Core/Src/main.c:227:6:HAL_UART_TxCpltCallback 16 static
../Core/Src/main.c:239:6:HAL_UART_RxCpltCallback 16 static
../Core/Src/main.c:250:6:HAL_SPI_TxRxCpltCallback 16 static
../Core/Src/main.c:267:6:HAL_CAN_RxFifo0MsgPendingCallback 16 static

View File

@ -0,0 +1,9 @@
stm32f407xx_adc.c:52:6:ADC_IRQHandler 1
stm32f407xx_adc.c:58:10:ADC_PA0_read 1
stm32f407xx_adc.c:64:6:ADC_PA0_single_conv_init 1
stm32f407xx_adc.c:108:6:ADC_PA0_init_start 1
stm32f407xx_adc.c:153:6:ADC_PA0_interrupt_init 1
stm32f407xx_adc.c:205:6:ADC_PA1_init 1
stm32f407xx_adc.c:248:10:ADC_PA1_start_read 2
stm32f407xx_adc.c:266:6:ADC_PA1_DMA_init 1
stm32f407xx_adc.c:336:6:ADC_PA1PA4_DMA_init 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_adc.o: ../Core/Src/stm32f407xx_adc.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,9 @@
../Core/Src/stm32f407xx_adc.c:52:6:ADC_IRQHandler 8 static
../Core/Src/stm32f407xx_adc.c:58:10:ADC_PA0_read 8 static
../Core/Src/stm32f407xx_adc.c:64:6:ADC_PA0_single_conv_init 56 static
../Core/Src/stm32f407xx_adc.c:108:6:ADC_PA0_init_start 56 static
../Core/Src/stm32f407xx_adc.c:153:6:ADC_PA0_interrupt_init 56 static
../Core/Src/stm32f407xx_adc.c:205:6:ADC_PA1_init 4 static
../Core/Src/stm32f407xx_adc.c:248:10:ADC_PA1_start_read 4 static
../Core/Src/stm32f407xx_adc.c:266:6:ADC_PA1_DMA_init 56 static
../Core/Src/stm32f407xx_adc.c:336:6:ADC_PA1PA4_DMA_init 56 static

View File

@ -0,0 +1,4 @@
stm32f407xx_can.c:21:6:CAN1_RX0_IRQHandler 1
stm32f407xx_can.c:29:6:CAN1_init 2
stm32f407xx_can.c:78:6:CAN1_interrupt_init 2
stm32f407xx_can.c:152:6:CAN1_transmit 3

View File

@ -0,0 +1,81 @@
Core/Src/stm32f407xx_can.o: ../Core/Src/stm32f407xx_can.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h:

View File

@ -0,0 +1,4 @@
../Core/Src/stm32f407xx_can.c:21:6:CAN1_RX0_IRQHandler 8 static
../Core/Src/stm32f407xx_can.c:29:6:CAN1_init 40 static
../Core/Src/stm32f407xx_can.c:78:6:CAN1_interrupt_init 40 static
../Core/Src/stm32f407xx_can.c:152:6:CAN1_transmit 8 static

View File

@ -0,0 +1 @@
stm32f407xx_clock.c:18:6:HAL_System_Clock_Config 6

View File

@ -0,0 +1,81 @@
Core/Src/stm32f407xx_clock.o: ../Core/Src/stm32f407xx_clock.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_clock.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_clock.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h:

View File

@ -0,0 +1 @@
../Core/Src/stm32f407xx_clock.c:18:6:HAL_System_Clock_Config 88 static

View File

@ -0,0 +1,4 @@
stm32f407xx_dma.c:21:6:DMA2_Stream0_IRQHandler 1
stm32f407xx_dma.c:25:6:DMA2_init 1
stm32f407xx_dma.c:56:6:TransferCompleteCallback 1
stm32f407xx_dma.c:62:6:TransferErrorCallback 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_dma.o: ../Core/Src/stm32f407xx_dma.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,4 @@
../Core/Src/stm32f407xx_dma.c:21:6:DMA2_Stream0_IRQHandler 8 static
../Core/Src/stm32f407xx_dma.c:25:6:DMA2_init 16 static
../Core/Src/stm32f407xx_dma.c:56:6:TransferCompleteCallback 16 static
../Core/Src/stm32f407xx_dma.c:62:6:TransferErrorCallback 16 static

View File

@ -0,0 +1 @@
stm32f407xx_dsp.c:3:6:FPU_enable 1

View File

@ -0,0 +1,81 @@
Core/Src/stm32f407xx_dsp.o: ../Core/Src/stm32f407xx_dsp.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dsp.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/DSP/Include/arm_math.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_dsp.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/DSP/Include/arm_math.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1 @@
../Core/Src/stm32f407xx_dsp.c:3:6:FPU_enable 4 static

View File

@ -0,0 +1,7 @@
core_cm4.h:1688:22:__NVIC_EnableIRQ 2
core_cm4.h:1816:22:__NVIC_SetPriority 2
stm32f407xx_exti.c:26:6:EXTI0_IRQHandler 1
stm32f407xx_exti.c:40:9:GPIO_PA0_digital_read 2
stm32f407xx_exti.c:49:6:GPIO_PA0_interrupt_init 1
stm32f407xx_exti.c:74:9:GPIO_PC13_digital_read 2
stm32f407xx_exti.c:83:6:GPIO_PC13_interrupt_init 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_exti.o: ../Core/Src/stm32f407xx_exti.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,7 @@
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:1688:22:__NVIC_EnableIRQ 16 static
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:1816:22:__NVIC_SetPriority 16 static
../Core/Src/stm32f407xx_exti.c:26:6:EXTI0_IRQHandler 8 static
../Core/Src/stm32f407xx_exti.c:40:9:GPIO_PA0_digital_read 4 static
../Core/Src/stm32f407xx_exti.c:49:6:GPIO_PA0_interrupt_init 32 static
../Core/Src/stm32f407xx_exti.c:74:9:GPIO_PC13_digital_read 4 static
../Core/Src/stm32f407xx_exti.c:83:6:GPIO_PC13_interrupt_init 8 static,ignoring_inline_asm

View File

@ -0,0 +1,2 @@
stm32f407xx_gpio.c:3:6:LED_init 1
stm32f407xx_gpio.c:43:6:Button_init 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_gpio.o: ../Core/Src/stm32f407xx_gpio.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,2 @@
../Core/Src/stm32f407xx_gpio.c:3:6:LED_init 32 static
../Core/Src/stm32f407xx_gpio.c:43:6:Button_init 32 static

View File

@ -0,0 +1,4 @@
stm32f407xx_i2c_adxl345.c:10:6:adxl345_write 1
stm32f407xx_i2c_adxl345.c:17:6:adxl345_read_values 1
stm32f407xx_i2c_adxl345.c:21:6:adxl345_read_address 1
stm32f407xx_i2c_adxl345.c:29:6:i2c1_adxl345_init 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_i2c_adxl345.o: ../Core/Src/stm32f407xx_i2c_adxl345.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_i2c_adxl345.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_i2c_adxl345.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,4 @@
../Core/Src/stm32f407xx_i2c_adxl345.c:10:6:adxl345_write 32 static
../Core/Src/stm32f407xx_i2c_adxl345.c:17:6:adxl345_read_values 32 static
../Core/Src/stm32f407xx_i2c_adxl345.c:21:6:adxl345_read_address 32 static
../Core/Src/stm32f407xx_i2c_adxl345.c:29:6:i2c1_adxl345_init 40 static

View File

@ -0,0 +1,10 @@
stm32f407xx_it.c:9:6:Error_Handler 1
stm32f407xx_it.c:17:6:SysTick_Handler 1
stm32f407xx_it.c:25:6:NMI_Handler 1
stm32f407xx_it.c:32:6:HardFault_Handler 1
stm32f407xx_it.c:39:6:MemManage_Handler 1
stm32f407xx_it.c:46:6:BusFault_Handler 1
stm32f407xx_it.c:53:6:UsageFault_Handler 1
stm32f407xx_it.c:59:6:SVC_Handler 1
stm32f407xx_it.c:65:6:DebugMon_Handler 1
stm32f407xx_it.c:71:6:PendSV_Handler 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_it.o: ../Core/Src/stm32f407xx_it.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_it.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,10 @@
../Core/Src/stm32f407xx_it.c:9:6:Error_Handler 4 static,ignoring_inline_asm
../Core/Src/stm32f407xx_it.c:17:6:SysTick_Handler 8 static
../Core/Src/stm32f407xx_it.c:25:6:NMI_Handler 4 static
../Core/Src/stm32f407xx_it.c:32:6:HardFault_Handler 4 static
../Core/Src/stm32f407xx_it.c:39:6:MemManage_Handler 4 static
../Core/Src/stm32f407xx_it.c:46:6:BusFault_Handler 4 static
../Core/Src/stm32f407xx_it.c:53:6:UsageFault_Handler 4 static
../Core/Src/stm32f407xx_it.c:59:6:SVC_Handler 4 static
../Core/Src/stm32f407xx_it.c:65:6:DebugMon_Handler 4 static
../Core/Src/stm32f407xx_it.c:71:6:PendSV_Handler 4 static

View File

@ -0,0 +1,3 @@
stm32f407xx_rtc.c:9:6:RTC_init 1
stm32f407xx_rtc.c:39:6:RTC_calendar_config 1
stm32f407xx_rtc.c:67:6:RTC_calendar_show 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_rtc.o: ../Core/Src/stm32f407xx_rtc.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,3 @@
../Core/Src/stm32f407xx_rtc.c:9:6:RTC_init 72 static
../Core/Src/stm32f407xx_rtc.c:39:6:RTC_calendar_config 32 static
../Core/Src/stm32f407xx_rtc.c:67:6:RTC_calendar_show 48 static

View File

@ -0,0 +1,8 @@
stm32f407xx_spi.c:13:6:SPI2_IRQHandler 1
stm32f407xx_spi.c:18:6:DMA1_Stream3_IRQHandler 1
stm32f407xx_spi.c:23:6:DMA1_Stream4_IRQHandler 1
stm32f407xx_spi.c:33:6:SPI1_init 1
stm32f407xx_spi.c:72:6:SPI2_init 1
stm32f407xx_spi.c:111:6:SPI2_interrupt_init 1
stm32f407xx_spi.c:154:6:SPI2_DMA_init 1
stm32f407xx_spi.c:243:6:SPI3_init 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_spi.o: ../Core/Src/stm32f407xx_spi.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1,8 @@
../Core/Src/stm32f407xx_spi.c:13:6:SPI2_IRQHandler 8 static
../Core/Src/stm32f407xx_spi.c:18:6:DMA1_Stream3_IRQHandler 8 static
../Core/Src/stm32f407xx_spi.c:23:6:DMA1_Stream4_IRQHandler 8 static
../Core/Src/stm32f407xx_spi.c:33:6:SPI1_init 40 static
../Core/Src/stm32f407xx_spi.c:72:6:SPI2_init 40 static
../Core/Src/stm32f407xx_spi.c:111:6:SPI2_interrupt_init 40 static
../Core/Src/stm32f407xx_spi.c:154:6:SPI2_DMA_init 40 static
../Core/Src/stm32f407xx_spi.c:243:6:SPI3_init 40 static

View File

@ -0,0 +1 @@
stm32f407xx_spi_lis3dsh.c:16:6:spi1_lis3dsh_init 1

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_spi_lis3dsh.o: ../Core/Src/stm32f407xx_spi_lis3dsh.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi_lis3dsh.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_spi_lis3dsh.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

View File

@ -0,0 +1 @@
../Core/Src/stm32f407xx_spi_lis3dsh.c:16:6:spi1_lis3dsh_init 40 static

View File

@ -0,0 +1 @@
stm32f407xx_systick.c:9:6:SysTickDelayMs 3

View File

@ -0,0 +1,79 @@
Core/Src/stm32f407xx_systick.o: ../Core/Src/stm32f407xx_systick.c \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_systick.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f407xx_systick.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/core_cm4.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_version.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_compiler.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/cmsis_gcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Include/mpu_armv7.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Core/Inc/stm32f4xx_hal_conf.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_adc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_i2c_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
C:/MCU_workspace/STM_workspace/STM32F4_Cortex_M4/workspace/stm32f407_template/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_usart.h:

Some files were not shown because too many files have changed in this diff Show More