software v1
This commit is contained in:
@ -13867,7 +13867,27 @@
|
||||
(xy 134.088745 69.921135) (xy 133.960959 70.063057) (xy 133.865473 70.228443) (xy 133.86547 70.22845)
|
||||
(xy 133.806459 70.410068) (xy 133.806458 70.410072) (xy 133.786496 70.6) (xy 133.1335 70.6) (xy 133.1335 68.351756)
|
||||
(xy 133.153185 68.284717) (xy 133.165346 68.268788) (xy 133.23904 68.186944) (xy 133.334527 68.021556)
|
||||
(xy 133.393542 67.839928) (xy 133.413504 67.65) (xy 133.393542 67.460072) (xy 133.334527 67.278444)
|
||||
(xy 133.338282 68.01) (xy 133.716496 68.01) (xy 133.736458 68.199928) (xy 133.736459 68.199931)
|
||||
(xy 133.79547 68.381549) (xy 133.795473 68.381556) (xy 133.89096 68.546944) (xy 134.018747 68.688866)
|
||||
(xy 134.173248 68.801118) (xy 134.347712 68.878794) (xy 134.534513 68.9185) (xy 134.725487 68.9185)
|
||||
(xy 134.912288 68.878794) (xy 135.086752 68.801118) (xy 135.241253 68.688866) (xy 135.24516 68.684527)
|
||||
(xy 135.304646 68.647879) (xy 135.337309 68.6435) (xy 139.632395 68.6435) (xy 139.632396 68.643499)
|
||||
(xy 139.754785 68.619155) (xy 139.870075 68.5714) (xy 139.973833 68.502071) (xy 140.931085 67.544819)
|
||||
(xy 140.992408 67.511334) (xy 141.018766 67.5085) (xy 141.075487 67.5085) (xy 141.262288 67.468794)
|
||||
(xy 141.436752 67.391118) (xy 141.591253 67.278866) (xy 141.71904 67.136944) (xy 141.814527 66.971556)
|
||||
(xy 141.873542 66.789928) (xy 141.893504 66.6) (xy 141.873542 66.410072) (xy 141.814527 66.228444)
|
||||
(xy 141.71904 66.063056) (xy 141.591253 65.921134) (xy 141.436752 65.808882) (xy 141.262288 65.731206)
|
||||
(xy 141.262286 65.731205) (xy 141.075487 65.6915) (xy 140.884513 65.6915) (xy 140.697714 65.731205)
|
||||
(xy 140.523246 65.808883) (xy 140.368745 65.921135) (xy 140.240959 66.063057) (xy 140.145473 66.228443)
|
||||
(xy 140.14547 66.22845) (xy 140.086459 66.410068) (xy 140.086458 66.410072) (xy 140.079101 66.480072)
|
||||
(xy 140.069019 66.575996) (xy 140.042434 66.64061) (xy 140.033379 66.650715) (xy 139.343915 67.340181)
|
||||
(xy 139.282592 67.373666) (xy 139.256234 67.3765) (xy 135.337309 67.3765) (xy 135.27027 67.356815)
|
||||
(xy 135.24516 67.335473) (xy 135.241254 67.331135) (xy 135.213767 67.311164) (xy 135.086752 67.218882)
|
||||
(xy 134.912288 67.141206) (xy 134.912286 67.141205) (xy 134.725487 67.1015) (xy 134.534513 67.1015)
|
||||
(xy 134.347714 67.141205) (xy 134.173246 67.218883) (xy 134.018745 67.331135) (xy 133.890959 67.473057)
|
||||
(xy 133.795473 67.638443) (xy 133.79547 67.63845) (xy 133.739169 67.811727) (xy 133.736458 67.820072)
|
||||
(xy 133.716496 68.01) (xy 133.338282 68.01) (xy 133.393542 67.839928) (xy 133.413504 67.65) (xy 133.393542 67.460072)
|
||||
(xy 133.334664 67.278866) (xy 133.334529 67.27845) (xy 133.334528 67.278449) (xy 133.334527 67.278444)
|
||||
(xy 133.23904 67.113056) (xy 133.111253 66.971134) (xy 132.956752 66.858882) (xy 132.782288 66.781206)
|
||||
(xy 132.782286 66.781205) (xy 132.595487 66.7415) (xy 132.404513 66.7415) (xy 132.217714 66.781205)
|
||||
(xy 132.043246 66.858883) (xy 131.888745 66.971135) (xy 131.760959 67.113057) (xy 131.665473 67.278443)
|
||||
@ -13900,7 +13920,7 @@
|
||||
(xy 122.243246 65.878883) (xy 122.088745 65.991135) (xy 121.960959 66.133057) (xy 121.865473 66.298443)
|
||||
(xy 121.86547 66.29845) (xy 121.806459 66.480068) (xy 121.806458 66.480072) (xy 121.791709 66.620402)
|
||||
(xy 121.78667 66.668345) (xy 121.760085 66.732959) (xy 121.751031 66.743064) (xy 121.421167 67.072929)
|
||||
(xy 121.38104 67.113056) (xy 121.332927 67.161168) (xy 121.263603 67.264918) (xy 121.263598 67.264927)
|
||||
(xy 121.392596 67.1015) (xy 121.332927 67.161168) (xy 121.263603 67.264918) (xy 121.263598 67.264927)
|
||||
(xy 121.215845 67.380214) (xy 121.215843 67.380222) (xy 121.1915 67.502601) (xy 121.1915 67.502606)
|
||||
(xy 121.1915 68.377911) (xy 121.1915 68.502699) (xy 121.192952 68.51) (xy 121.195367 68.522137)
|
||||
(xy 121.19775 68.546331) (xy 121.19775 73.354984) (xy 121.178065 73.422023) (xy 121.161431 73.442665)
|
||||
@ -13947,7 +13967,7 @@
|
||||
(xy 119.644513 66.7715) (xy 119.457714 66.811205) (xy 119.283246 66.888883) (xy 119.128745 67.001135)
|
||||
(xy 119.000958 67.143057) (xy 118.905473 67.308442) (xy 118.90547 67.308448) (xy 118.904957 67.31003)
|
||||
(xy 118.904261 67.311164) (xy 118.90283 67.31438) (xy 118.902406 67.314191) (xy 118.87471 67.359384)
|
||||
(xy 117.517181 68.716915) (xy 117.196167 69.037929) (xy 117.152047 69.082049) (xy 117.107927 69.126168)
|
||||
(xy 117.614942 68.619154) (xy 117.196167 69.037929) (xy 117.152047 69.082049) (xy 117.107927 69.126168)
|
||||
(xy 117.038603 69.229918) (xy 117.038598 69.229927) (xy 116.990845 69.345214) (xy 116.990843 69.345222)
|
||||
(xy 116.9665 69.467601) (xy 116.9665 69.998241) (xy 116.946815 70.06528) (xy 116.93465 70.081213)
|
||||
(xy 116.860963 70.16305) (xy 116.860958 70.163057) (xy 116.765473 70.328443) (xy 116.76547 70.32845)
|
||||
@ -13958,8 +13978,8 @@
|
||||
(xy 107.992145 68.593983) (xy 107.961222 68.531329) (xy 107.969082 68.461903) (xy 107.992145 68.426017)
|
||||
(xy 108.105313 68.303084) (xy 108.161591 68.216944) (xy 108.232984 68.107669) (xy 108.326749 67.893907)
|
||||
(xy 108.384051 67.667626) (xy 108.397725 67.502606) (xy 108.403327 67.435005) (xy 108.403327 67.434994)
|
||||
(xy 108.385872 67.224351) (xy 108.384051 67.202374) (xy 108.326749 66.976093) (xy 108.232984 66.762331)
|
||||
(xy 108.17158 66.668345) (xy 108.105313 66.566915) (xy 107.947223 66.395185) (xy 107.947222 66.395184)
|
||||
(xy 108.385419 67.218882) (xy 108.384051 67.202374) (xy 108.326749 66.976093) (xy 108.232984 66.762331)
|
||||
(xy 108.15346 66.64061) (xy 108.105313 66.566915) (xy 107.947223 66.395185) (xy 107.947222 66.395184)
|
||||
(xy 107.94722 66.395182) (xy 107.763017 66.25181) (xy 107.763015 66.251809) (xy 107.763014 66.251808)
|
||||
(xy 107.763011 66.251806) (xy 107.557733 66.140716) (xy 107.55773 66.140715) (xy 107.557727 66.140713)
|
||||
(xy 107.557721 66.140711) (xy 107.557719 66.14071) (xy 107.336954 66.06492) (xy 107.164271 66.036105)
|
||||
|
||||
@ -488,7 +488,7 @@
|
||||
"plot": "Gerber/",
|
||||
"pos_files": "",
|
||||
"specctra_dsn": "",
|
||||
"step": "SSU_v3_Bot.step",
|
||||
"step": "../../../../../../../Desktop/ASS_V1.step",
|
||||
"svg": "",
|
||||
"vrml": ""
|
||||
},
|
||||
@ -496,7 +496,7 @@
|
||||
},
|
||||
"schematic": {
|
||||
"annotate_start_num": 0,
|
||||
"bom_export_filename": "",
|
||||
"bom_export_filename": "..\\..\\..\\..\\..\\..\\..\\Desktop\\ASS.csv",
|
||||
"bom_fmt_presets": [],
|
||||
"bom_fmt_settings": {
|
||||
"field_delimiter": ",",
|
||||
@ -546,11 +546,29 @@
|
||||
"label": "DNP",
|
||||
"name": "${DNP}",
|
||||
"show": true
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "#",
|
||||
"name": "${ITEM_NUMBER}",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "LCSC",
|
||||
"name": "LCSC",
|
||||
"show": false
|
||||
},
|
||||
{
|
||||
"group_by": false,
|
||||
"label": "Description",
|
||||
"name": "Description",
|
||||
"show": false
|
||||
}
|
||||
],
|
||||
"filter_string": "",
|
||||
"group_symbols": true,
|
||||
"name": "Grouped By Value",
|
||||
"name": "",
|
||||
"sort_asc": true,
|
||||
"sort_field": "Reference"
|
||||
},
|
||||
|
||||
4669
Hardware/bom/ibom.html
Normal file
4669
Hardware/bom/ibom.html
Normal file
File diff suppressed because one or more lines are too long
180
Software/.cproject
Normal file
180
Software/.cproject
Normal file
@ -0,0 +1,180 @@
|
||||
<?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.762141538">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.762141538" 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.762141538" 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.762141538." name="/" resourcePath="">
|
||||
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.42863360" 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.780048925" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32F042K6Tx" valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.353688366" 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.1792068388" 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.target_board.748609877" 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.1455485505" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F042K6Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32F0xx_HAL_Driver/Inc | ../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F0xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32F042x6 || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F042K6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1748360205" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="16" valueType="string"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1532615779" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
||||
<builder buildPath="${workspace_loc:/ASS}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.460671320" 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.647377376" name="MCU/MPU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.977901647" 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.g3" valueType="enumerated"/>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols.630197817" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||
</option>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.274269102" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.2060001273" name="MCU/MPU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.1785721890" 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.822468134" 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.589806451" 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="STM32F042x6"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.367677888" 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/STM32F0xx_HAL_Driver/Inc"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F0xx/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||
</option>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1264374566" 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.1142872709" name="MCU/MPU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.1186924861" 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.102062979" 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.1620965357" name="MCU/MPU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.1473215890" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32F042K6TX_FLASH.ld}" valueType="string"/>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.1294379446" 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.217653395" name="MCU/MPU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker"/>
|
||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.1430096158" name="MCU/MPU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
|
||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.1937295577" 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.1967522203" 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.1714118895" 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.948900590" 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.1635764249" 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.1189079919" 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.1890071148" 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>
|
||||
<cconfiguration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1196298316">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1196298316" 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.1196298316" 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.1196298316." name="/" resourcePath="">
|
||||
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.993966417" 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.944379095" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32F042K6Tx" valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.1545788329" 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.878082726" 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.target_board.43745305" 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.529918562" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F042K6Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32F0xx_HAL_Driver/Inc | ../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32F0xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32F042x6 || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F042K6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.687200225" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="16" valueType="string"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1676972821" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
||||
<builder buildPath="${workspace_loc:/ASS}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1599804010" 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.1824789037" name="MCU/MPU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.1009820534" 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.1239769205" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.534404354" name="MCU/MPU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.152973941" 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.1626536991" 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.908137234" 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="STM32F042x6"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.1337139452" 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/STM32F0xx_HAL_Driver/Inc"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F0xx/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||
</option>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.353810785" 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.1098830878" name="MCU/MPU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.1006185091" 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.1974288601" 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.253342799" name="MCU/MPU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.1590203626" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32F042K6TX_FLASH.ld}" valueType="string"/>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.1197474632" 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.117936246" name="MCU/MPU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker"/>
|
||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.1149719523" name="MCU/MPU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
|
||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.1519502836" 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.1714634657" 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.1750206732" 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.1671236232" 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.850548159" 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.290010602" 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.1687105099" 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="ASS.null.802823412" name="ASS"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1196298316;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1196298316.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.534404354;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.353810785">
|
||||
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.762141538;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.762141538.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.2060001273;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1264374566">
|
||||
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="Debug">
|
||||
<resource resourceType="PROJECT" workspacePath="/ASS"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Release">
|
||||
<resource resourceType="PROJECT" workspacePath="/ASS"/>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
</cproject>
|
||||
25
Software/.mxproject
Normal file
25
Software/.mxproject
Normal file
@ -0,0 +1,25 @@
|
||||
[PreviousLibFiles]
|
||||
LibFiles=Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_can.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_can.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f042x6.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h;
|
||||
|
||||
[PreviousUsedCubeIDEFiles]
|
||||
SourceFiles=Core\Src\main.c;Core\Src\stm32f0xx_it.c;Core\Src\stm32f0xx_hal_msp.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;;;
|
||||
HeaderPath=Drivers\STM32F0xx_HAL_Driver\Inc;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32F0xx\Include;Drivers\CMSIS\Include;Core\Inc;
|
||||
CDefines=USE_HAL_DRIVER;STM32F042x6;USE_HAL_DRIVER;USE_HAL_DRIVER;
|
||||
|
||||
[PreviousGenFiles]
|
||||
AdvancedFolderStructure=true
|
||||
HeaderFileListSize=3
|
||||
HeaderFiles#0=..\Core\Inc\stm32f0xx_it.h
|
||||
HeaderFiles#1=..\Core\Inc\stm32f0xx_hal_conf.h
|
||||
HeaderFiles#2=..\Core\Inc\main.h
|
||||
HeaderFolderListSize=1
|
||||
HeaderPath#0=..\Core\Inc
|
||||
HeaderFiles=;
|
||||
SourceFileListSize=3
|
||||
SourceFiles#0=..\Core\Src\stm32f0xx_it.c
|
||||
SourceFiles#1=..\Core\Src\stm32f0xx_hal_msp.c
|
||||
SourceFiles#2=..\Core\Src\main.c
|
||||
SourceFolderListSize=1
|
||||
SourcePath#0=..\Core\Src
|
||||
SourceFiles=;
|
||||
|
||||
32
Software/.project
Normal file
32
Software/.project
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>ASS</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>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</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>
|
||||
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
sfrviewstate={"fFavorites"\:{"fLists"\:{}},"fProperties"\:{"fNodeProperties"\:{}}}
|
||||
4
Software/.settings/stm32cubeide.project.prefs
Normal file
4
Software/.settings/stm32cubeide.project.prefs
Normal file
@ -0,0 +1,4 @@
|
||||
66BE74F758C12D739921AEA421D593D3=2
|
||||
8DF89ED150041C4CBC7CB9A9CAA90856=0F7B1DAD49D355A2BC2F969D2B0D520D
|
||||
DC22A860405A8BF2F2C095E5B6529F12=0F7B1DAD49D355A2BC2F969D2B0D520D
|
||||
eclipse.preferences.version=1
|
||||
5
Software/.vscode/settings.json
vendored
Normal file
5
Software/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"stm32-for-vscode.openOCDPath": false,
|
||||
"stm32-for-vscode.makePath": false,
|
||||
"stm32-for-vscode.armToolchainPath": false
|
||||
}
|
||||
83
Software/ASS Debug (1).launch
Normal file
83
Software/ASS Debug (1).launch
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="com.st.stm32cube.ide.mcu.debug.launch.launchConfigurationType">
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.access_port_id" value="0"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.cubeprog_external_loaders" value="[]"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth__pwd_enable" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_certif_path" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_check_enable" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_key_path" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_permission" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_pwd_file" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_live_expr" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_swv" value="false"/>
|
||||
<intAttribute key="com.st.stm32cube.ide.mcu.debug.launch.formatVersion" value="2"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.ip_address_local" value="localhost"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.enabled" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.value" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.loadList" value="{"fItems":[{"fIsFromMainTab":true,"fPath":"Debug/ASS.elf","fProjectName":"ASS","fPerformBuild":true,"fDownload":true,"fLoadSymbols":true}]}"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.override_start_address_mode" value="default"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.remoteCommand" value="target remote"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startServer" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.divby0" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.unaligned" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.haltonexception" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swd_mode" value="true"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_port" value="61235"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_trace_hclk" value="16000000"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.useRemoteTarget" value="true"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.vector_table" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.verify_flash_download" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_allow_halt" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_signal_halt" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_logging" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_max_halt_delay" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_shared_stlink" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.frequency" value="0"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.halt_all_on_reset" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.log_file" value="C:\Users\Vincent Chau\Documents\Fasttube\FT25\Sensorik\git\ASS\Software\Debug\st-link_gdbserver_log.txt"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.low_power_debug" value="enable"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.max_halt_delay" value="2"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.reset_strategy" value="connect_under_reset"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_check_serial_number" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_txt_serial_number" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.watchdog_config" value="none"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkenable_rtos" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.enableRtosProxy" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyCustomProperties" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriver" value="threadx"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverAuto" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverPort" value="cortex_m0"/>
|
||||
<intAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyPort" value="60000"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.ipAddress" value="localhost"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.jtagDeviceId" value="com.st.stm32cube.ide.mcu.debug.stlink"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>
|
||||
<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.portNumber" value="61234"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="remote"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/ASS.elf"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="ASS"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.762141538"/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/ASS"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="process_factory_id" value="com.st.stm32cube.ide.mcu.debug.launch.HardwareDebugProcessFactory"/>
|
||||
</launchConfiguration>
|
||||
83
Software/ASS Debug.launch
Normal file
83
Software/ASS Debug.launch
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="com.st.stm32cube.ide.mcu.debug.launch.launchConfigurationType">
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.access_port_id" value="0"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.cubeprog_external_loaders" value="[]"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth__pwd_enable" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_certif_path" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_check_enable" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_key_path" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_permission" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_pwd_file" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_live_expr" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_swv" value="false"/>
|
||||
<intAttribute key="com.st.stm32cube.ide.mcu.debug.launch.formatVersion" value="2"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.ip_address_local" value="localhost"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.enabled" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.value" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.loadList" value="{"fItems":[{"fIsFromMainTab":true,"fPath":"Debug/ASS.elf","fProjectName":"ASS","fPerformBuild":true,"fDownload":true,"fLoadSymbols":true}]}"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.override_start_address_mode" value="default"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.remoteCommand" value="target remote"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startServer" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.divby0" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.unaligned" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.haltonexception" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swd_mode" value="true"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_port" value="61235"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_trace_hclk" value="16000000"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.useRemoteTarget" value="true"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.vector_table" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.verify_flash_download" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_allow_halt" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_signal_halt" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_logging" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_max_halt_delay" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_shared_stlink" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.frequency" value="0"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.halt_all_on_reset" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.log_file" value="C:\Users\Vincent Chau\Documents\Fasttube\FT25\Sensorik\git\ASS\Software\Debug\st-link_gdbserver_log.txt"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.low_power_debug" value="enable"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.max_halt_delay" value="2"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.reset_strategy" value="connect_under_reset"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_check_serial_number" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_txt_serial_number" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.watchdog_config" value="none"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkenable_rtos" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.enableRtosProxy" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyCustomProperties" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriver" value="threadx"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverAuto" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverPort" value="cortex_m0"/>
|
||||
<intAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyPort" value="60000"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.ipAddress" value="localhost"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.jtagDeviceId" value="com.st.stm32cube.ide.mcu.debug.stlink"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>
|
||||
<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.portNumber" value="61234"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="remote"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/ASS.elf"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="ASS"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.762141538"/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/ASS"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="process_factory_id" value="com.st.stm32cube.ide.mcu.debug.launch.HardwareDebugProcessFactory"/>
|
||||
</launchConfiguration>
|
||||
130
Software/ASS.ioc
Normal file
130
Software/ASS.ioc
Normal file
@ -0,0 +1,130 @@
|
||||
#MicroXplorer Configuration settings - do not modify
|
||||
CAD.formats=
|
||||
CAD.pinconfig=
|
||||
CAD.provider=
|
||||
CAN.BS1=CAN_BS1_13TQ
|
||||
CAN.BS2=CAN_BS2_2TQ
|
||||
CAN.CalculateBaudRate=500000
|
||||
CAN.CalculateTimeBit=2000
|
||||
CAN.CalculateTimeQuantum=125.0
|
||||
CAN.IPParameters=CalculateTimeQuantum,CalculateTimeBit,CalculateBaudRate,Prescaler,BS1,BS2
|
||||
CAN.Prescaler=2
|
||||
File.Version=6
|
||||
GPIO.groupedBy=Group By Peripherals
|
||||
I2C1.I2C_Fall_Time=300
|
||||
I2C1.I2C_Rise_Time=300
|
||||
I2C1.IPParameters=Timing,I2C_Rise_Time,I2C_Fall_Time
|
||||
I2C1.Timing=0x00401E26
|
||||
KeepUserPlacement=false
|
||||
Mcu.CPN=STM32F042K6T6
|
||||
Mcu.Family=STM32F0
|
||||
Mcu.IP0=CAN
|
||||
Mcu.IP1=I2C1
|
||||
Mcu.IP2=NVIC
|
||||
Mcu.IP3=RCC
|
||||
Mcu.IP4=SYS
|
||||
Mcu.IPNb=5
|
||||
Mcu.Name=STM32F042K(4-6)Tx
|
||||
Mcu.Package=LQFP32
|
||||
Mcu.Pin0=PF0-OSC_IN
|
||||
Mcu.Pin1=PF1-OSC_OUT
|
||||
Mcu.Pin2=PA11
|
||||
Mcu.Pin3=PA12
|
||||
Mcu.Pin4=PA13
|
||||
Mcu.Pin5=PA14
|
||||
Mcu.Pin6=PB6
|
||||
Mcu.Pin7=PB7
|
||||
Mcu.Pin8=VP_SYS_VS_Systick
|
||||
Mcu.PinsNb=9
|
||||
Mcu.ThirdPartyNb=0
|
||||
Mcu.UserConstants=
|
||||
Mcu.UserName=STM32F042K6Tx
|
||||
MxCube.Version=6.14.0
|
||||
MxDb.Version=DB.6.0.140
|
||||
NVIC.ForceEnableDMAVector=true
|
||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
||||
NVIC.SysTick_IRQn=true\:3\:0\:false\:false\:true\:false\:true\:false
|
||||
PA11.Locked=true
|
||||
PA11.Mode=CAN_Activate
|
||||
PA11.Signal=CAN_RX
|
||||
PA12.Locked=true
|
||||
PA12.Mode=CAN_Activate
|
||||
PA12.Signal=CAN_TX
|
||||
PA13.Mode=Serial_Wire
|
||||
PA13.Signal=SYS_SWDIO
|
||||
PA14.Locked=true
|
||||
PA14.Mode=Serial_Wire
|
||||
PA14.Signal=SYS_SWCLK
|
||||
PB6.Locked=true
|
||||
PB6.Mode=I2C
|
||||
PB6.Signal=I2C1_SCL
|
||||
PB7.Locked=true
|
||||
PB7.Mode=I2C
|
||||
PB7.Signal=I2C1_SDA
|
||||
PF0-OSC_IN.Locked=true
|
||||
PF0-OSC_IN.Mode=HSE-External-Oscillator
|
||||
PF0-OSC_IN.Signal=RCC_OSC_IN
|
||||
PF1-OSC_OUT.Locked=true
|
||||
PF1-OSC_OUT.Mode=HSE-External-Oscillator
|
||||
PF1-OSC_OUT.Signal=RCC_OSC_OUT
|
||||
PinOutPanel.RotationAngle=0
|
||||
ProjectManager.AskForMigrate=true
|
||||
ProjectManager.BackupPrevious=false
|
||||
ProjectManager.CompilerLinker=GCC
|
||||
ProjectManager.CompilerOptimize=6
|
||||
ProjectManager.ComputerToolchain=false
|
||||
ProjectManager.CoupleFile=false
|
||||
ProjectManager.CustomerFirmwarePackage=
|
||||
ProjectManager.DefaultFWLocation=true
|
||||
ProjectManager.DeletePrevious=true
|
||||
ProjectManager.DeviceId=STM32F042K6Tx
|
||||
ProjectManager.FirmwarePackage=STM32Cube FW_F0 V1.11.5
|
||||
ProjectManager.FreePins=false
|
||||
ProjectManager.HalAssertFull=false
|
||||
ProjectManager.HeapSize=0x200
|
||||
ProjectManager.KeepUserCode=true
|
||||
ProjectManager.LastFirmware=true
|
||||
ProjectManager.LibraryCopy=1
|
||||
ProjectManager.MainLocation=Core/Src
|
||||
ProjectManager.NoMain=false
|
||||
ProjectManager.PreviousToolchain=
|
||||
ProjectManager.ProjectBuild=false
|
||||
ProjectManager.ProjectFileName=ASS.ioc
|
||||
ProjectManager.ProjectName=ASS
|
||||
ProjectManager.ProjectStructure=
|
||||
ProjectManager.RegisterCallBack=
|
||||
ProjectManager.StackSize=0x400
|
||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
||||
ProjectManager.ToolChainLocation=
|
||||
ProjectManager.UAScriptAfterPath=
|
||||
ProjectManager.UAScriptBeforePath=
|
||||
ProjectManager.UnderRoot=true
|
||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_CAN_Init-CAN-false-HAL-true,4-MX_I2C1_Init-I2C1-false-HAL-true
|
||||
RCC.AHBFreq_Value=16000000
|
||||
RCC.APB1Freq_Value=16000000
|
||||
RCC.APB1TimFreq_Value=16000000
|
||||
RCC.CECFreq_Value=32786.88524590164
|
||||
RCC.FCLKCortexFreq_Value=16000000
|
||||
RCC.FamilyName=M
|
||||
RCC.HCLKFreq_Value=16000000
|
||||
RCC.HSE_VALUE=16000000
|
||||
RCC.HSICECFreq_Value=32786.88524590164
|
||||
RCC.I2SFreq_Value=16000000
|
||||
RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,CECFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSICECFreq_Value,I2SFreq_Value,MCOFreq_Value,PLLCLKFreq_Value,PLLDivider,PLLMCOFreq_Value,PLLSourceVirtual,SYSCLKFreq_VALUE,SYSCLKSource,TimSysFreq_Value,USART1Freq_Value,VCOOutput2Freq_Value
|
||||
RCC.MCOFreq_Value=16000000
|
||||
RCC.PLLCLKFreq_Value=16000000
|
||||
RCC.PLLDivider=RCC_PREDIV_DIV2
|
||||
RCC.PLLMCOFreq_Value=16000000
|
||||
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
|
||||
RCC.SYSCLKFreq_VALUE=16000000
|
||||
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_HSE
|
||||
RCC.TimSysFreq_Value=16000000
|
||||
RCC.USART1Freq_Value=16000000
|
||||
RCC.VCOOutput2Freq_Value=8000000
|
||||
VP_SYS_VS_Systick.Mode=SysTick
|
||||
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
||||
board=custom
|
||||
isbadioc=false
|
||||
85
Software/ASS.launch
Normal file
85
Software/ASS.launch
Normal file
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="com.st.stm32cube.ide.mcu.debug.launch.launchConfigurationType">
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.access_port_id" value="0"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.cubeprog_external_loaders" value="[]"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth__pwd_enable" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_certif_path" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_check_enable" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_key_path" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_permission" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_pwd_file" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_live_expr" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_swv" value="false"/>
|
||||
<intAttribute key="com.st.stm32cube.ide.mcu.debug.launch.formatVersion" value="2"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.ip_address_local" value="localhost"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.enabled" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.value" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.loadList" value="{"fItems":[{"fIsFromMainTab":true,"fPath":"Debug/ASS.elf","fProjectName":"ASS","fPerformBuild":true,"fDownload":true,"fLoadSymbols":true}]}"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.override_start_address_mode" value="default"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.remoteCommand" value="target remote"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startServer" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.divby0" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.unaligned" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.haltonexception" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swd_mode" value="true"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_port" value="61235"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_trace_hclk" value="16000000"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.useRemoteTarget" value="true"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.vector_table" value=""/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.verify_flash_download" value="true"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_allow_halt" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_signal_halt" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_logging" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_max_halt_delay" value="false"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_shared_stlink" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.frequency" value="0"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.halt_all_on_reset" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.log_file" value="C:\Users\Vincent Chau\Documents\Fasttube\FT25\Sensorik\git\ASS\Software\Debug\st-link_gdbserver_log.txt"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.low_power_debug" value="enable"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.max_halt_delay" value="2"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.reset_strategy" value="connect_under_reset"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_check_serial_number" value="true"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_txt_serial_number" value="002100213133511839363430"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.watchdog_config" value="none"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkenable_rtos" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkrestart_configurations" value="{"fVersion":1,"fItems":[{"fDisplayName":"Reset","fIsSuppressible":false,"fResetAttribute":"Software system reset","fResetStrategies":[{"fDisplayName":"Software system reset","fLaunchAttribute":"system_reset","fGdbCommands":["monitor reset\r\n"],"fCmdOptions":["-g"]},{"fDisplayName":"Hardware reset","fLaunchAttribute":"hardware_reset","fGdbCommands":["monitor reset hardware\r\n"],"fCmdOptions":["-g"]},{"fDisplayName":"Core reset","fLaunchAttribute":"core_reset","fGdbCommands":["monitor reset core\r\n"],"fCmdOptions":["-g"]},{"fDisplayName":"None","fLaunchAttribute":"no_reset","fGdbCommands":[],"fCmdOptions":["-g"]}],"fGdbCommandGroup":{"name":"Additional commands","commands":[]},"fStartApplication":true}]}"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.enableRtosProxy" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyCustomProperties" value=""/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriver" value="threadx"/>
|
||||
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverAuto" value="false"/>
|
||||
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverPort" value="cortex_m0"/>
|
||||
<intAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyPort" value="60000"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.ipAddress" value="localhost"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.jtagDeviceId" value="com.st.stm32cube.ide.mcu.debug.stlink"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>
|
||||
<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.portNumber" value="61234"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="remote"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/ASS.elf"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="ASS"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.762141538"/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/ASS"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="com.st.stm32cube.ide.mcu.debug.launch.HardwareDebugProcessFactory"/>
|
||||
</launchConfiguration>
|
||||
42
Software/Core/Inc/ASS.h
Normal file
42
Software/Core/Inc/ASS.h
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* ASS.h
|
||||
*
|
||||
* Created on: Mar 24, 2025
|
||||
* Author: Vincent Chau
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef INC_ASS_H_
|
||||
#define INC_ASS_H_
|
||||
|
||||
|
||||
/// @brief ASS status register struct
|
||||
typedef struct {
|
||||
bool idle;
|
||||
bool reserved1;
|
||||
bool reserved2;
|
||||
bool dsp_s_up;
|
||||
bool dsp_t_up;
|
||||
bool reserved5;
|
||||
bool reserved6;
|
||||
bool bs_fail;
|
||||
bool bc_fail;
|
||||
bool reserved9;
|
||||
bool dsp_sat;
|
||||
bool com_crc_error;
|
||||
bool reserved12;
|
||||
bool reserved13;
|
||||
bool dsp_s_missed;
|
||||
bool dsp_t_missed;
|
||||
} ASS_Status;
|
||||
|
||||
void ASS_Init(I2C_HandleTypeDef *hi2c);
|
||||
void ASS_ReadSensor(int16_t* data_pressure, int16_t* data_temperatur);
|
||||
void ASS_WriteRegister(uint8_t address, uint8_t byte);
|
||||
void ASS_ReadRegister(uint8_t address, uint8_t* pData, uint16_t length);
|
||||
void ASS_ReadRegisterALL(uint8_t *pData);
|
||||
void ASS_GetStatus(void);
|
||||
void ASS_SendCAN(uint16_t data_pressure, uint16_t dat_temp);
|
||||
|
||||
#endif /* INC_HTPA_32X32D_H_ */
|
||||
71
Software/Core/Inc/can-halal.h
Normal file
71
Software/Core/Inc/can-halal.h
Normal file
@ -0,0 +1,71 @@
|
||||
#ifndef CAN_HALAL_H
|
||||
#define CAN_HALAL_H
|
||||
|
||||
// Define family macros if none are defined and we recognize a chip macro
|
||||
#if !defined(STM32F3) && !defined(STM32H7) && !defined(STM32F0)
|
||||
#if defined(STM32F302x6) || defined(STM32F302x8) || defined(STM32F302xB) || \
|
||||
defined(STM32F302xC)
|
||||
#define STM32F3
|
||||
#endif
|
||||
#if defined(STM32H7A3xx) || defined(STM32H723xx)
|
||||
#define STM32H7
|
||||
#endif
|
||||
#if defined(STM32F042x6)
|
||||
#define STM32F0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(STM32F3)
|
||||
#include "stm32f3xx_hal.h"
|
||||
#define FTCAN_IS_BXCAN
|
||||
#define FTCAN_NUM_FILTERS 13
|
||||
#elif defined(STM32H7)
|
||||
#include "stm32h7xx_hal.h"
|
||||
#define FTCAN_IS_FDCAN
|
||||
#ifndef FTCAN_NUM_FILTERS
|
||||
#error "Please configure the number of filters in CubeMX, and then add a compiler define for FTCAN_NUM_FILTERS"
|
||||
#endif
|
||||
#elif defined(STM32F0)
|
||||
#include "stm32f0xx_hal.h"
|
||||
#define FTCAN_IS_BXCAN
|
||||
#define FTCAN_NUM_FILTERS 13
|
||||
#else
|
||||
#error "Couldn't detect STM family"
|
||||
#endif
|
||||
|
||||
#if defined(FTCAN_IS_BXCAN)
|
||||
HAL_StatusTypeDef ftcan_init(CAN_HandleTypeDef *handle);
|
||||
#elif defined(FTCAN_IS_FDCAN)
|
||||
HAL_StatusTypeDef ftcan_init(FDCAN_HandleTypeDef *handle);
|
||||
#else
|
||||
#error "Unknown CAN peripheral"
|
||||
#endif
|
||||
|
||||
HAL_StatusTypeDef ftcan_transmit(uint16_t id, const uint8_t *data,
|
||||
size_t datalen);
|
||||
|
||||
HAL_StatusTypeDef ftcan_add_filter(uint16_t id, uint16_t mask);
|
||||
|
||||
/**
|
||||
* Define this function to be notified of incoming CAN messages
|
||||
*/
|
||||
void ftcan_msg_received_cb(uint16_t id, size_t datalen, const uint8_t *data);
|
||||
|
||||
/**
|
||||
* Read num_bytes bytes from a message (unmarshalled network byte order). The
|
||||
* msg pointer is advanced by the corresponding number of bytes.
|
||||
*
|
||||
* Both methods return a 64-bit integer, but you can safely cast it to a smaller
|
||||
* integer type.
|
||||
*/
|
||||
uint64_t ftcan_unmarshal_unsigned(const uint8_t **data, size_t num_bytes);
|
||||
int64_t ftcan_unmarshal_signed(const uint8_t **data, size_t num_bytes);
|
||||
|
||||
/**
|
||||
* Write num_bytes to a message (marshalled in network byte order). The pointer
|
||||
* is advanced by the corresponding number of bytes and returned.
|
||||
*/
|
||||
uint8_t *ftcan_marshal_unsigned(uint8_t *data, uint64_t val, size_t num_bytes);
|
||||
uint8_t *ftcan_marshal_signed(uint8_t *data, int64_t val, size_t num_bytes);
|
||||
|
||||
#endif // CAN_HALAL_H
|
||||
69
Software/Core/Inc/main.h
Normal file
69
Software/Core/Inc/main.h
Normal file
@ -0,0 +1,69 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file : main.h
|
||||
* @brief : Header for main.c file.
|
||||
* This file contains the common defines of the application.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __MAIN_H
|
||||
#define __MAIN_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32f0xx_hal.h"
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN ET */
|
||||
|
||||
/* USER CODE END ET */
|
||||
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
/* USER CODE BEGIN EC */
|
||||
|
||||
/* USER CODE END EC */
|
||||
|
||||
/* Exported macro ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN EM */
|
||||
|
||||
/* USER CODE END EM */
|
||||
|
||||
/* Exported functions prototypes ---------------------------------------------*/
|
||||
void Error_Handler(void);
|
||||
|
||||
/* USER CODE BEGIN EFP */
|
||||
|
||||
/* USER CODE END EFP */
|
||||
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __MAIN_H */
|
||||
322
Software/Core/Inc/stm32f0xx_hal_conf.h
Normal file
322
Software/Core/Inc/stm32f0xx_hal_conf.h
Normal file
@ -0,0 +1,322 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file stm32f0xx_hal_conf.h
|
||||
* @brief HAL configuration file.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2016 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __STM32F0xx_HAL_CONF_H
|
||||
#define __STM32F0xx_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_ADC_MODULE_ENABLED */
|
||||
/*#define HAL_CRYP_MODULE_ENABLED */
|
||||
#define HAL_CAN_MODULE_ENABLED
|
||||
/*#define HAL_CEC_MODULE_ENABLED */
|
||||
/*#define HAL_COMP_MODULE_ENABLED */
|
||||
/*#define HAL_CRC_MODULE_ENABLED */
|
||||
/*#define HAL_CRYP_MODULE_ENABLED */
|
||||
/*#define HAL_TSC_MODULE_ENABLED */
|
||||
/*#define HAL_DAC_MODULE_ENABLED */
|
||||
/*#define HAL_I2S_MODULE_ENABLED */
|
||||
/*#define HAL_IWDG_MODULE_ENABLED */
|
||||
/*#define HAL_LCD_MODULE_ENABLED */
|
||||
/*#define HAL_LPTIM_MODULE_ENABLED */
|
||||
/*#define HAL_RNG_MODULE_ENABLED */
|
||||
/*#define HAL_RTC_MODULE_ENABLED */
|
||||
/*#define HAL_SPI_MODULE_ENABLED */
|
||||
/*#define HAL_TIM_MODULE_ENABLED */
|
||||
/*#define HAL_UART_MODULE_ENABLED */
|
||||
/*#define HAL_USART_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_CORTEX_MODULE_ENABLED
|
||||
#define HAL_DMA_MODULE_ENABLED
|
||||
#define HAL_FLASH_MODULE_ENABLED
|
||||
#define HAL_GPIO_MODULE_ENABLED
|
||||
#define HAL_EXTI_MODULE_ENABLED
|
||||
#define HAL_PWR_MODULE_ENABLED
|
||||
#define HAL_RCC_MODULE_ENABLED
|
||||
#define HAL_I2C_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 ((uint32_t)16000000) /*!< Value of the External oscillator in Hz */
|
||||
#endif /* HSE_VALUE */
|
||||
|
||||
/**
|
||||
* @brief In the following line adjust the External High Speed oscillator (HSE) Startup
|
||||
* Timeout value
|
||||
*/
|
||||
#if !defined (HSE_STARTUP_TIMEOUT)
|
||||
#define HSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< 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)8000000) /*!< Value of the Internal oscillator in Hz*/
|
||||
#endif /* HSI_VALUE */
|
||||
|
||||
/**
|
||||
* @brief In the following line adjust the Internal High Speed oscillator (HSI) Startup
|
||||
* Timeout value
|
||||
*/
|
||||
#if !defined (HSI_STARTUP_TIMEOUT)
|
||||
#define HSI_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for HSI start up */
|
||||
#endif /* HSI_STARTUP_TIMEOUT */
|
||||
|
||||
/**
|
||||
* @brief Internal High Speed oscillator for ADC (HSI14) value.
|
||||
*/
|
||||
#if !defined (HSI14_VALUE)
|
||||
#define HSI14_VALUE ((uint32_t)14000000) /*!< Value of the Internal High Speed oscillator for ADC in Hz.
|
||||
The real value may vary depending on the variations
|
||||
in voltage and temperature. */
|
||||
#endif /* HSI14_VALUE */
|
||||
|
||||
/**
|
||||
* @brief Internal High Speed oscillator for USB (HSI48) value.
|
||||
*/
|
||||
#if !defined (HSI48_VALUE)
|
||||
#define HSI48_VALUE ((uint32_t)48000000) /*!< Value of the Internal High Speed oscillator for USB in Hz.
|
||||
The real value may vary depending on the variations
|
||||
in voltage and temperature. */
|
||||
#endif /* HSI48_VALUE */
|
||||
|
||||
/**
|
||||
* @brief Internal Low Speed oscillator (LSI) value.
|
||||
*/
|
||||
#if !defined (LSI_VALUE)
|
||||
#define LSI_VALUE ((uint32_t)40000)
|
||||
#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 (LSI) value.
|
||||
*/
|
||||
#if !defined (LSE_VALUE)
|
||||
#define LSE_VALUE ((uint32_t)32768) /*!< Value of the External Low Speed oscillator in Hz */
|
||||
#endif /* LSE_VALUE */
|
||||
|
||||
/**
|
||||
* @brief Time out for LSE start up value in ms.
|
||||
*/
|
||||
#if !defined (LSE_STARTUP_TIMEOUT)
|
||||
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
|
||||
#endif /* LSE_STARTUP_TIMEOUT */
|
||||
|
||||
/* 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 ((uint32_t)3300) /*!< Value of VDD in mv */
|
||||
#define TICK_INT_PRIORITY ((uint32_t)3) /*!< tick interrupt priority (lowest by default) */
|
||||
/* Warning: Must be set to higher priority for HAL_Delay() */
|
||||
/* and HAL_GetTick() usage under interrupt context */
|
||||
#define USE_RTOS 0
|
||||
#define PREFETCH_ENABLE 1
|
||||
#define INSTRUCTION_CACHE_ENABLE 0
|
||||
#define DATA_CACHE_ENABLE 0
|
||||
#define USE_SPI_CRC 0U
|
||||
|
||||
#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_COMP_REGISTER_CALLBACKS 0U /* COMP register callback disabled */
|
||||
#define USE_HAL_CEC_REGISTER_CALLBACKS 0U /* CEC register callback disabled */
|
||||
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U /* DAC register callback disabled */
|
||||
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
|
||||
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS 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_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
|
||||
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
|
||||
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
|
||||
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
|
||||
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
|
||||
#define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
|
||||
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
|
||||
#define USE_HAL_TSC_REGISTER_CALLBACKS 0U /* TSC register callback disabled */
|
||||
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD 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 */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
/**
|
||||
* @brief Include module's header file
|
||||
*/
|
||||
|
||||
#ifdef HAL_RCC_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_rcc.h"
|
||||
#endif /* HAL_RCC_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_GPIO_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_gpio.h"
|
||||
#endif /* HAL_GPIO_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_EXTI_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_exti.h"
|
||||
#endif /* HAL_EXTI_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_DMA_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_dma.h"
|
||||
#endif /* HAL_DMA_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_CORTEX_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_cortex.h"
|
||||
#endif /* HAL_CORTEX_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_ADC_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_adc.h"
|
||||
#endif /* HAL_ADC_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_CAN_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_can.h"
|
||||
#endif /* HAL_CAN_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_CEC_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_cec.h"
|
||||
#endif /* HAL_CEC_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_COMP_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_comp.h"
|
||||
#endif /* HAL_COMP_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_CRC_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_crc.h"
|
||||
#endif /* HAL_CRC_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_DAC_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_dac.h"
|
||||
#endif /* HAL_DAC_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_FLASH_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_flash.h"
|
||||
#endif /* HAL_FLASH_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_I2C_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_i2c.h"
|
||||
#endif /* HAL_I2C_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_I2S_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_i2s.h"
|
||||
#endif /* HAL_I2S_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_IRDA_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_irda.h"
|
||||
#endif /* HAL_IRDA_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_IWDG_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_iwdg.h"
|
||||
#endif /* HAL_IWDG_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_PCD_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_pcd.h"
|
||||
#endif /* HAL_PCD_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_PWR_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_pwr.h"
|
||||
#endif /* HAL_PWR_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_RTC_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_rtc.h"
|
||||
#endif /* HAL_RTC_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_SMARTCARD_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_smartcard.h"
|
||||
#endif /* HAL_SMARTCARD_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_SMBUS_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_smbus.h"
|
||||
#endif /* HAL_SMBUS_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_SPI_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_spi.h"
|
||||
#endif /* HAL_SPI_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_TIM_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_tim.h"
|
||||
#endif /* HAL_TIM_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_TSC_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_tsc.h"
|
||||
#endif /* HAL_TSC_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_UART_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_uart.h"
|
||||
#endif /* HAL_UART_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_USART_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_usart.h"
|
||||
#endif /* HAL_USART_MODULE_ENABLED */
|
||||
|
||||
#ifdef HAL_WWDG_MODULE_ENABLED
|
||||
#include "stm32f0xx_hal_wwdg.h"
|
||||
#endif /* HAL_WWDG_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 /* __STM32F0xx_HAL_CONF_H */
|
||||
|
||||
62
Software/Core/Inc/stm32f0xx_it.h
Normal file
62
Software/Core/Inc/stm32f0xx_it.h
Normal file
@ -0,0 +1,62 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file stm32f0xx_it.h
|
||||
* @brief This file contains the headers of the interrupt handlers.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __STM32F0xx_IT_H
|
||||
#define __STM32F0xx_IT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN ET */
|
||||
|
||||
/* USER CODE END ET */
|
||||
|
||||
/* Exported constants --------------------------------------------------------*/
|
||||
/* USER CODE BEGIN EC */
|
||||
|
||||
/* USER CODE END EC */
|
||||
|
||||
/* Exported macro ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN EM */
|
||||
|
||||
/* USER CODE END EM */
|
||||
|
||||
/* Exported functions prototypes ---------------------------------------------*/
|
||||
void NMI_Handler(void);
|
||||
void HardFault_Handler(void);
|
||||
void SVC_Handler(void);
|
||||
void PendSV_Handler(void);
|
||||
void SysTick_Handler(void);
|
||||
/* USER CODE BEGIN EFP */
|
||||
|
||||
/* USER CODE END EFP */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __STM32F0xx_IT_H */
|
||||
Submodule Software/Core/Lib/can-halal deleted from 0b91166780
141
Software/Core/Src/ASS.c
Normal file
141
Software/Core/Src/ASS.c
Normal file
@ -0,0 +1,141 @@
|
||||
/*
|
||||
* ASS.c
|
||||
*
|
||||
* Created on: Mar 24, 2025
|
||||
* Author: Vincent Chau
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <math.h>
|
||||
#include "main.h"
|
||||
#include "ASS.h"
|
||||
#include "can-halal.h"
|
||||
|
||||
// I2C address
|
||||
#define ASS_SENSOR_ADDRESS 0x6C
|
||||
#define ASS_CONFIG_ADDRESS 0x22
|
||||
#define ASS_TEMP_ADDRESS 0x2E
|
||||
#define ASS_PRESSURE_ADDRESS 0x30
|
||||
#define ASS_STATUS_SYNC_ADDRESS 0x32
|
||||
#define ASS_STATUS_ADDRESS 0x36
|
||||
|
||||
// I2C transmit delay
|
||||
#define ASS_I2C_MAX_DELAY 0xFF
|
||||
|
||||
I2C_HandleTypeDef* ass_hi2c; // pointer to i2c handle
|
||||
|
||||
// Sensor data
|
||||
ASS_Status ass_statusReg;
|
||||
uint8_t data_status[2], data_temp[2], data_pres[2];
|
||||
int16_t pressure, temperature;
|
||||
|
||||
I2C_HandleTypeDef* ass_hi2c; // pointer to i2c handle
|
||||
|
||||
/* initializing sensor
|
||||
1. wakeup by writing to adress
|
||||
*/
|
||||
void ASS_Init(I2C_HandleTypeDef *hi2c){
|
||||
ass_hi2c = hi2c;
|
||||
|
||||
uint8_t wakeup[] = {0x69, 0xB1};
|
||||
ASS_WriteRegister(ASS_CONFIG_ADDRESS, *wakeup);
|
||||
}
|
||||
|
||||
/* reads pressure
|
||||
* - reads pressure and status register
|
||||
* - calculates pressure while checking status flag of read */
|
||||
|
||||
void ASS_ReadSensor(int16_t* data_pressure, int16_t* data_temperature) {
|
||||
ASS_ReadRegister(ASS_TEMP_ADDRESS, data_temp, 2);
|
||||
ASS_ReadRegister(ASS_PRESSURE_ADDRESS, data_pres, 2);
|
||||
ASS_GetStatus();
|
||||
|
||||
temperature = (data_temp[1] << 8) | data_temp[0];
|
||||
pressure = (data_pres[1] << 8) | data_pres[0];
|
||||
|
||||
if( ass_statusReg.dsp_t_up == 1 || ass_statusReg.dsp_s_up == 1) {
|
||||
double calc_steps;
|
||||
double result;
|
||||
calc_steps = pressure + 26214;
|
||||
calc_steps = calc_steps / 52428;
|
||||
calc_steps = calc_steps * 1.58;
|
||||
calc_steps = calc_steps - 0.79;
|
||||
result = round(calc_steps *6894.76 + 4.5); //4.5 is for calibrating to 0
|
||||
*data_pressure = (int16_t)result;
|
||||
|
||||
calc_steps = temperature + 32768;
|
||||
calc_steps = calc_steps / 65535;
|
||||
calc_steps = calc_steps * 105;
|
||||
calc_steps = calc_steps - 20;
|
||||
calc_steps = calc_steps * 10;
|
||||
*data_temperature = (int16_t)calc_steps;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Write to selected sensor register
|
||||
*
|
||||
* description
|
||||
*
|
||||
* @param address: address of register
|
||||
* @param byte: byte to be written to register
|
||||
*/
|
||||
void ASS_WriteRegister(uint8_t address, uint8_t byte){
|
||||
HAL_I2C_Mem_Write(ass_hi2c, (ASS_SENSOR_ADDRESS << 1) | 0, address, I2C_MEMADD_SIZE_8BIT, &byte, 2, ASS_I2C_MAX_DELAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Read from address for specified length
|
||||
*
|
||||
* description
|
||||
*
|
||||
* @param address: register address
|
||||
* @param pData: pointer to output data array
|
||||
* @param length: length of data to be read
|
||||
*/
|
||||
void ASS_ReadRegister(uint8_t address, uint8_t *pData, uint16_t length){
|
||||
HAL_I2C_Mem_Read(ass_hi2c, (ASS_SENSOR_ADDRESS << 1) | 1, address, I2C_MEMADD_SIZE_8BIT, pData, length, ASS_I2C_MAX_DELAY);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Get status of sensor
|
||||
*
|
||||
* Reads the sensors status register and stores the information in
|
||||
* the ASS_statusReg variable
|
||||
*
|
||||
*/
|
||||
void ASS_GetStatus(void){
|
||||
uint8_t i2c_readData[2];
|
||||
|
||||
ASS_ReadRegister(ASS_STATUS_SYNC_ADDRESS, i2c_readData, 2);
|
||||
|
||||
ass_statusReg.idle = (i2c_readData[0] >> 0) & 0x01;
|
||||
ass_statusReg.reserved1 = (i2c_readData[0] >> 1) & 0x01;
|
||||
ass_statusReg.reserved2 = (i2c_readData[0] >> 2) & 0x01;
|
||||
ass_statusReg.dsp_s_up = (i2c_readData[0] >> 3) & 0x01;
|
||||
ass_statusReg.dsp_t_up = (i2c_readData[0] >> 4) & 0x01;
|
||||
ass_statusReg.reserved5 = (i2c_readData[0] >> 5) & 0x01;
|
||||
ass_statusReg.reserved6 = (i2c_readData[0] >> 6) & 0x01;
|
||||
ass_statusReg.bs_fail = (i2c_readData[0] >> 7) & 0x01;
|
||||
|
||||
ass_statusReg.bc_fail = (i2c_readData[1] >> 0) & 0x01;
|
||||
ass_statusReg.reserved9 = (i2c_readData[1] >> 1) & 0x01;
|
||||
ass_statusReg.dsp_sat = (i2c_readData[1] >> 2) & 0x01;
|
||||
ass_statusReg.com_crc_error = (i2c_readData[1] >> 3) & 0x01;
|
||||
ass_statusReg.reserved12 = (i2c_readData[1] >> 4) & 0x01;
|
||||
ass_statusReg.reserved13 = (i2c_readData[1] >> 5) & 0x01;
|
||||
ass_statusReg.dsp_s_missed = (i2c_readData[1] >> 6) & 0x01;
|
||||
ass_statusReg.dsp_t_missed = (i2c_readData[1] >> 7) & 0x01;
|
||||
}
|
||||
|
||||
/*
|
||||
void ASS_SendCAN(uint16_t data_pressure, uint16_t dat_temp) {
|
||||
ASS_canData[0] = data_pressure[0] & 0xFF;
|
||||
ASS_canData[1] = (data_pressure[1] >> 8) & 0xF;
|
||||
|
||||
ASS_canData[2] = data_temp[0] & 0xFF;
|
||||
ASS_canData[3] = (data_temp[1] >> 8) & 0xF;
|
||||
|
||||
ftcan_transmit(0x500, ASS_canData, 4);
|
||||
}
|
||||
*/
|
||||
273
Software/Core/Src/can-halal.c
Normal file
273
Software/Core/Src/can-halal.c
Normal file
@ -0,0 +1,273 @@
|
||||
#include "can-halal.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(FTCAN_IS_BXCAN)
|
||||
static CAN_HandleTypeDef *hcan;
|
||||
|
||||
HAL_StatusTypeDef ftcan_init(CAN_HandleTypeDef *handle) {
|
||||
hcan = handle;
|
||||
|
||||
HAL_StatusTypeDef status =
|
||||
HAL_CAN_ActivateNotification(hcan, CAN_IT_RX_FIFO0_MSG_PENDING);
|
||||
if (status != HAL_OK) {
|
||||
return status;
|
||||
}
|
||||
|
||||
return HAL_CAN_Start(hcan);
|
||||
}
|
||||
|
||||
HAL_StatusTypeDef ftcan_transmit(uint16_t id, const uint8_t *data,
|
||||
size_t datalen) {
|
||||
static CAN_TxHeaderTypeDef header;
|
||||
header.StdId = id;
|
||||
header.IDE = CAN_ID_STD;
|
||||
header.RTR = CAN_RTR_DATA;
|
||||
header.DLC = datalen;
|
||||
uint32_t mailbox;
|
||||
return HAL_CAN_AddTxMessage(hcan, &header, data, &mailbox);
|
||||
}
|
||||
|
||||
HAL_StatusTypeDef ftcan_add_filter(uint16_t id, uint16_t mask) {
|
||||
static uint32_t next_filter_no = 0;
|
||||
static CAN_FilterTypeDef filter;
|
||||
if (next_filter_no % 2 == 0) {
|
||||
filter.FilterIdHigh = id << 5;
|
||||
filter.FilterMaskIdHigh = mask << 5;
|
||||
filter.FilterIdLow = id << 5;
|
||||
filter.FilterMaskIdLow = mask << 5;
|
||||
} else {
|
||||
// Leave high filter untouched from the last configuration
|
||||
filter.FilterIdLow = id << 5;
|
||||
filter.FilterMaskIdLow = mask << 5;
|
||||
}
|
||||
filter.FilterFIFOAssignment = CAN_FILTER_FIFO0;
|
||||
filter.FilterBank = next_filter_no / 2;
|
||||
if (filter.FilterBank > FTCAN_NUM_FILTERS + 1) {
|
||||
return HAL_ERROR;
|
||||
}
|
||||
filter.FilterMode = CAN_FILTERMODE_IDMASK;
|
||||
filter.FilterScale = CAN_FILTERSCALE_16BIT;
|
||||
filter.FilterActivation = CAN_FILTER_ENABLE;
|
||||
|
||||
// Disable slave filters
|
||||
// TODO: Some STM32 have multiple CAN peripherals, and one uses the slave
|
||||
// filter bank
|
||||
filter.SlaveStartFilterBank = FTCAN_NUM_FILTERS;
|
||||
|
||||
HAL_StatusTypeDef status = HAL_CAN_ConfigFilter(hcan, &filter);
|
||||
if (status == HAL_OK) {
|
||||
next_filter_no++;
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *handle) {
|
||||
if (handle != hcan) {
|
||||
return;
|
||||
}
|
||||
CAN_RxHeaderTypeDef header;
|
||||
uint8_t data[8];
|
||||
if (HAL_CAN_GetRxMessage(hcan, CAN_RX_FIFO0, &header, data) != HAL_OK) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (header.IDE != CAN_ID_STD) {
|
||||
return;
|
||||
}
|
||||
|
||||
ftcan_msg_received_cb(header.StdId, header.DLC, data);
|
||||
}
|
||||
#elif defined(FTCAN_IS_FDCAN)
|
||||
static FDCAN_HandleTypeDef *hcan;
|
||||
|
||||
HAL_StatusTypeDef ftcan_init(FDCAN_HandleTypeDef *handle) {
|
||||
hcan = handle;
|
||||
|
||||
HAL_StatusTypeDef status =
|
||||
HAL_FDCAN_ActivateNotification(hcan, FDCAN_IT_RX_FIFO0_NEW_MESSAGE, 0);
|
||||
if (status != HAL_OK) {
|
||||
return status;
|
||||
}
|
||||
// Reject non-matching messages
|
||||
status =
|
||||
HAL_FDCAN_ConfigGlobalFilter(hcan, FDCAN_REJECT, FDCAN_REJECT,
|
||||
FDCAN_REJECT_REMOTE, FDCAN_REJECT_REMOTE);
|
||||
if (status != HAL_OK) {
|
||||
return status;
|
||||
}
|
||||
|
||||
return HAL_FDCAN_Start(hcan);
|
||||
}
|
||||
|
||||
HAL_StatusTypeDef ftcan_transmit(uint16_t id, const uint8_t *data,
|
||||
size_t datalen) {
|
||||
static FDCAN_TxHeaderTypeDef header;
|
||||
header.Identifier = id;
|
||||
header.IdType = FDCAN_STANDARD_ID;
|
||||
header.TxFrameType = FDCAN_DATA_FRAME;
|
||||
switch (datalen) {
|
||||
case 0:
|
||||
header.DataLength = FDCAN_DLC_BYTES_0;
|
||||
break;
|
||||
case 1:
|
||||
header.DataLength = FDCAN_DLC_BYTES_1;
|
||||
break;
|
||||
case 2:
|
||||
header.DataLength = FDCAN_DLC_BYTES_2;
|
||||
break;
|
||||
case 3:
|
||||
header.DataLength = FDCAN_DLC_BYTES_3;
|
||||
break;
|
||||
case 4:
|
||||
header.DataLength = FDCAN_DLC_BYTES_4;
|
||||
break;
|
||||
case 5:
|
||||
header.DataLength = FDCAN_DLC_BYTES_5;
|
||||
break;
|
||||
case 6:
|
||||
header.DataLength = FDCAN_DLC_BYTES_6;
|
||||
break;
|
||||
case 7:
|
||||
header.DataLength = FDCAN_DLC_BYTES_7;
|
||||
break;
|
||||
case 8:
|
||||
default:
|
||||
header.DataLength = FDCAN_DLC_BYTES_8;
|
||||
break;
|
||||
}
|
||||
header.ErrorStateIndicator = FDCAN_ESI_PASSIVE;
|
||||
header.BitRateSwitch = FDCAN_BRS_OFF;
|
||||
header.FDFormat = FDCAN_CLASSIC_CAN;
|
||||
header.TxEventFifoControl = FDCAN_NO_TX_EVENTS;
|
||||
|
||||
// HAL_FDCAN_AddMessageToTxFifoQ doesn't modify the data, but it's not marked
|
||||
// as const for some reason.
|
||||
uint8_t *data_nonconst = (uint8_t *)data;
|
||||
return HAL_FDCAN_AddMessageToTxFifoQ(hcan, &header, data_nonconst);
|
||||
}
|
||||
|
||||
HAL_StatusTypeDef ftcan_add_filter(uint16_t id, uint16_t mask) {
|
||||
static uint32_t next_filter_no = 0;
|
||||
static FDCAN_FilterTypeDef filter;
|
||||
filter.IdType = FDCAN_STANDARD_ID;
|
||||
filter.FilterIndex = next_filter_no;
|
||||
if (filter.FilterIndex > FTCAN_NUM_FILTERS + 1) {
|
||||
return HAL_ERROR;
|
||||
}
|
||||
filter.FilterType = FDCAN_FILTER_MASK;
|
||||
filter.FilterConfig = FDCAN_FILTER_TO_RXFIFO0;
|
||||
filter.FilterID1 = id;
|
||||
filter.FilterID2 = mask;
|
||||
|
||||
HAL_StatusTypeDef status = HAL_FDCAN_ConfigFilter(hcan, &filter);
|
||||
if (status == HAL_OK) {
|
||||
next_filter_no++;
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *handle,
|
||||
uint32_t RxFifo0ITs) {
|
||||
if (handle != hcan || (RxFifo0ITs & FDCAN_IT_RX_FIFO0_NEW_MESSAGE) == RESET) {
|
||||
return;
|
||||
}
|
||||
|
||||
static FDCAN_RxHeaderTypeDef header;
|
||||
static uint8_t data[8];
|
||||
if (HAL_FDCAN_GetRxMessage(hcan, FDCAN_RX_FIFO0, &header, data) != HAL_OK) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (header.FDFormat != FDCAN_CLASSIC_CAN ||
|
||||
header.RxFrameType != FDCAN_DATA_FRAME ||
|
||||
header.IdType != FDCAN_STANDARD_ID) {
|
||||
return;
|
||||
}
|
||||
|
||||
size_t datalen;
|
||||
switch (header.DataLength) {
|
||||
case FDCAN_DLC_BYTES_0:
|
||||
datalen = 0;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_1:
|
||||
datalen = 1;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_2:
|
||||
datalen = 2;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_3:
|
||||
datalen = 3;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_4:
|
||||
datalen = 4;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_5:
|
||||
datalen = 5;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_6:
|
||||
datalen = 6;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_7:
|
||||
datalen = 7;
|
||||
break;
|
||||
case FDCAN_DLC_BYTES_8:
|
||||
datalen = 8;
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
ftcan_msg_received_cb(header.Identifier, datalen, data);
|
||||
}
|
||||
#endif
|
||||
|
||||
__weak void ftcan_msg_received_cb(uint16_t id, size_t datalen,
|
||||
const uint8_t *data) {}
|
||||
|
||||
uint64_t ftcan_unmarshal_unsigned(const uint8_t **data_ptr, size_t num_bytes) {
|
||||
if (num_bytes > 8) {
|
||||
num_bytes = 8;
|
||||
}
|
||||
|
||||
const uint8_t *data = *data_ptr;
|
||||
uint64_t result = 0;
|
||||
for (size_t i = 0; i < num_bytes; i++) {
|
||||
result <<= 8;
|
||||
result |= data[i];
|
||||
}
|
||||
*data_ptr += num_bytes;
|
||||
return result;
|
||||
}
|
||||
|
||||
int64_t ftcan_unmarshal_signed(const uint8_t **data_ptr, size_t num_bytes) {
|
||||
if (num_bytes > 8) {
|
||||
num_bytes = 8;
|
||||
}
|
||||
|
||||
uint64_t result_unsigned = ftcan_unmarshal_unsigned(data_ptr, num_bytes);
|
||||
// Sign extend by shifting left, then copying to a signed int and shifting
|
||||
// back to the right
|
||||
size_t diff_to_64 = 64 - num_bytes * 8;
|
||||
result_unsigned <<= diff_to_64;
|
||||
int64_t result;
|
||||
memcpy(&result, &result_unsigned, 8);
|
||||
return result >> diff_to_64;
|
||||
}
|
||||
|
||||
uint8_t *ftcan_marshal_unsigned(uint8_t *data, uint64_t val, size_t num_bytes) {
|
||||
if (num_bytes > 8) {
|
||||
num_bytes = 8;
|
||||
}
|
||||
|
||||
for (int i = num_bytes - 1; i >= 0; i--) {
|
||||
data[i] = val & 0xFF;
|
||||
val >>= 8;
|
||||
}
|
||||
|
||||
return data + num_bytes;
|
||||
}
|
||||
|
||||
uint8_t *ftcan_marshal_signed(uint8_t *data, int64_t val, size_t num_bytes) {
|
||||
return ftcan_marshal_unsigned(data, val, num_bytes);
|
||||
}
|
||||
312
Software/Core/Src/main.c
Normal file
312
Software/Core/Src/main.c
Normal file
@ -0,0 +1,312 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file : main.c
|
||||
* @brief : Main program body
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
#include "ASS.h"
|
||||
#include "can-halal.h"
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PTD */
|
||||
|
||||
/* USER CODE END PTD */
|
||||
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PD */
|
||||
#define CAN_ID 0x500
|
||||
/* USER CODE END PD */
|
||||
|
||||
/* Private macro -------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PM */
|
||||
|
||||
/* USER CODE END PM */
|
||||
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
CAN_HandleTypeDef hcan;
|
||||
|
||||
I2C_HandleTypeDef hi2c1;
|
||||
|
||||
/* USER CODE BEGIN PV */
|
||||
|
||||
int16_t data_pressure, data_temperature;
|
||||
uint8_t data_can[4];
|
||||
|
||||
|
||||
/* USER CODE END PV */
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
void SystemClock_Config(void);
|
||||
static void MX_GPIO_Init(void);
|
||||
static void MX_CAN_Init(void);
|
||||
static void MX_I2C1_Init(void);
|
||||
/* USER CODE BEGIN PFP */
|
||||
|
||||
/* USER CODE END PFP */
|
||||
|
||||
/* Private user code ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/**
|
||||
* @brief The application entry point.
|
||||
* @retval int
|
||||
*/
|
||||
int main(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
/* MCU Configuration--------------------------------------------------------*/
|
||||
|
||||
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
|
||||
HAL_Init();
|
||||
|
||||
/* USER CODE BEGIN Init */
|
||||
|
||||
/* USER CODE END Init */
|
||||
|
||||
/* Configure the system clock */
|
||||
SystemClock_Config();
|
||||
|
||||
/* USER CODE BEGIN SysInit */
|
||||
|
||||
/* USER CODE END SysInit */
|
||||
|
||||
/* Initialize all configured peripherals */
|
||||
MX_GPIO_Init();
|
||||
MX_CAN_Init();
|
||||
MX_I2C1_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
|
||||
ASS_Init(&hi2c1);
|
||||
ftcan_init(&hcan);
|
||||
|
||||
// initialize sensor
|
||||
|
||||
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Infinite loop */
|
||||
/* USER CODE BEGIN WHILE */
|
||||
while (1)
|
||||
{
|
||||
/* USER CODE END WHILE */
|
||||
|
||||
/* USER CODE BEGIN 3 */
|
||||
ASS_ReadSensor(&data_pressure, &data_temperature);
|
||||
data_can[0] = data_pressure & 0xFF; // LSB
|
||||
data_can[1] = (data_pressure >> 8) & 0xFF; // MSB
|
||||
data_can[2] = data_temperature & 0xFF; // LSB
|
||||
data_can[3] = (data_temperature >> 8) & 0xFF; // MSB
|
||||
ftcan_transmit(0x500, data_can, 4);
|
||||
|
||||
}
|
||||
/* USER CODE END 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief System Clock Configuration
|
||||
* @retval None
|
||||
*/
|
||||
void SystemClock_Config(void)
|
||||
{
|
||||
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
|
||||
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
|
||||
RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
|
||||
|
||||
/** Initializes the RCC Oscillators according to the specified parameters
|
||||
* in the RCC_OscInitTypeDef structure.
|
||||
*/
|
||||
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;
|
||||
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
|
||||
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
|
||||
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
|
||||
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
|
||||
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_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSE;
|
||||
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
|
||||
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
|
||||
|
||||
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_I2C1;
|
||||
PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_HSI;
|
||||
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CAN Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_CAN_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN CAN_Init 0 */
|
||||
|
||||
/* USER CODE END CAN_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN CAN_Init 1 */
|
||||
|
||||
/* USER CODE END CAN_Init 1 */
|
||||
hcan.Instance = CAN;
|
||||
hcan.Init.Prescaler = 2;
|
||||
hcan.Init.Mode = CAN_MODE_NORMAL;
|
||||
hcan.Init.SyncJumpWidth = CAN_SJW_1TQ;
|
||||
hcan.Init.TimeSeg1 = CAN_BS1_13TQ;
|
||||
hcan.Init.TimeSeg2 = CAN_BS2_2TQ;
|
||||
hcan.Init.TimeTriggeredMode = DISABLE;
|
||||
hcan.Init.AutoBusOff = DISABLE;
|
||||
hcan.Init.AutoWakeUp = DISABLE;
|
||||
hcan.Init.AutoRetransmission = DISABLE;
|
||||
hcan.Init.ReceiveFifoLocked = DISABLE;
|
||||
hcan.Init.TransmitFifoPriority = DISABLE;
|
||||
if (HAL_CAN_Init(&hcan) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN CAN_Init 2 */
|
||||
|
||||
/* USER CODE END CAN_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief I2C1 Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_I2C1_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN I2C1_Init 0 */
|
||||
|
||||
/* USER CODE END I2C1_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN I2C1_Init 1 */
|
||||
|
||||
/* USER CODE END I2C1_Init 1 */
|
||||
hi2c1.Instance = I2C1;
|
||||
hi2c1.Init.Timing = 0x00401E26;
|
||||
hi2c1.Init.OwnAddress1 = 0;
|
||||
hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
|
||||
hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
|
||||
hi2c1.Init.OwnAddress2 = 0;
|
||||
hi2c1.Init.OwnAddress2Masks = I2C_OA2_NOMASK;
|
||||
hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
|
||||
hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
|
||||
if (HAL_I2C_Init(&hi2c1) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
/** Configure Analogue filter
|
||||
*/
|
||||
if (HAL_I2CEx_ConfigAnalogFilter(&hi2c1, I2C_ANALOGFILTER_ENABLE) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
/** Configure Digital filter
|
||||
*/
|
||||
if (HAL_I2CEx_ConfigDigitalFilter(&hi2c1, 0) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN I2C1_Init 2 */
|
||||
|
||||
/* USER CODE END I2C1_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GPIO Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_GPIO_Init(void)
|
||||
{
|
||||
/* USER CODE BEGIN MX_GPIO_Init_1 */
|
||||
|
||||
/* USER CODE END MX_GPIO_Init_1 */
|
||||
|
||||
/* GPIO Ports Clock Enable */
|
||||
__HAL_RCC_GPIOF_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
|
||||
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
||||
|
||||
/* USER CODE END MX_GPIO_Init_2 */
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 4 */
|
||||
|
||||
/* USER CODE END 4 */
|
||||
|
||||
/**
|
||||
* @brief This function is executed in case of error occurrence.
|
||||
* @retval None
|
||||
*/
|
||||
void Error_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN Error_Handler_Debug */
|
||||
/* User can add his own implementation to report the HAL error return state */
|
||||
__disable_irq();
|
||||
while (1)
|
||||
{
|
||||
}
|
||||
/* USER CODE END Error_Handler_Debug */
|
||||
}
|
||||
|
||||
#ifdef USE_FULL_ASSERT
|
||||
/**
|
||||
* @brief Reports the name of the source file and the source line number
|
||||
* where the assert_param error has occurred.
|
||||
* @param file: pointer to the source file name
|
||||
* @param line: assert_param error line source number
|
||||
* @retval None
|
||||
*/
|
||||
void assert_failed(uint8_t *file, uint32_t line)
|
||||
{
|
||||
/* USER CODE BEGIN 6 */
|
||||
/* User can add his own implementation to report the file name and line number,
|
||||
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
|
||||
/* USER CODE END 6 */
|
||||
}
|
||||
#endif /* USE_FULL_ASSERT */
|
||||
216
Software/Core/Src/stm32f0xx_hal_msp.c
Normal file
216
Software/Core/Src/stm32f0xx_hal_msp.c
Normal file
@ -0,0 +1,216 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file stm32f0xx_hal_msp.c
|
||||
* @brief This file provides code for the MSP Initialization
|
||||
* and de-Initialization codes.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN TD */
|
||||
|
||||
/* USER CODE END TD */
|
||||
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Define */
|
||||
|
||||
/* USER CODE END Define */
|
||||
|
||||
/* Private macro -------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Macro */
|
||||
|
||||
/* USER CODE END Macro */
|
||||
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PV */
|
||||
|
||||
/* USER CODE END PV */
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
/* USER CODE BEGIN PFP */
|
||||
|
||||
/* USER CODE END PFP */
|
||||
|
||||
/* External functions --------------------------------------------------------*/
|
||||
/* USER CODE BEGIN ExternalFunctions */
|
||||
|
||||
/* USER CODE END ExternalFunctions */
|
||||
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
/**
|
||||
* Initializes the Global MSP.
|
||||
*/
|
||||
void HAL_MspInit(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN MspInit 0 */
|
||||
|
||||
/* USER CODE END MspInit 0 */
|
||||
|
||||
__HAL_RCC_SYSCFG_CLK_ENABLE();
|
||||
__HAL_RCC_PWR_CLK_ENABLE();
|
||||
|
||||
/* System interrupt init*/
|
||||
|
||||
/* USER CODE BEGIN MspInit 1 */
|
||||
|
||||
/* USER CODE END MspInit 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CAN MSP Initialization
|
||||
* This function configures the hardware resources used in this example
|
||||
* @param hcan: CAN handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
|
||||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
if(hcan->Instance==CAN)
|
||||
{
|
||||
/* USER CODE BEGIN CAN_MspInit 0 */
|
||||
|
||||
/* USER CODE END CAN_MspInit 0 */
|
||||
/* Peripheral clock enable */
|
||||
__HAL_RCC_CAN1_CLK_ENABLE();
|
||||
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
/**CAN GPIO Configuration
|
||||
PA11 ------> CAN_RX
|
||||
PA12 ------> CAN_TX
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF4_CAN;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
/* USER CODE BEGIN CAN_MspInit 1 */
|
||||
|
||||
/* USER CODE END CAN_MspInit 1 */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CAN MSP De-Initialization
|
||||
* This function freeze the hardware resources used in this example
|
||||
* @param hcan: CAN handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_CAN_MspDeInit(CAN_HandleTypeDef* hcan)
|
||||
{
|
||||
if(hcan->Instance==CAN)
|
||||
{
|
||||
/* USER CODE BEGIN CAN_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END CAN_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_CAN1_CLK_DISABLE();
|
||||
|
||||
/**CAN GPIO Configuration
|
||||
PA11 ------> CAN_RX
|
||||
PA12 ------> CAN_TX
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
|
||||
|
||||
/* USER CODE BEGIN CAN_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END CAN_MspDeInit 1 */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief I2C MSP Initialization
|
||||
* This function configures the hardware resources used in this example
|
||||
* @param hi2c: I2C handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
|
||||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
if(hi2c->Instance==I2C1)
|
||||
{
|
||||
/* USER CODE BEGIN I2C1_MspInit 0 */
|
||||
|
||||
/* USER CODE END I2C1_MspInit 0 */
|
||||
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
/**I2C1 GPIO Configuration
|
||||
PB6 ------> I2C1_SCL
|
||||
PB7 ------> I2C1_SDA
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF1_I2C1;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
/* Peripheral clock enable */
|
||||
__HAL_RCC_I2C1_CLK_ENABLE();
|
||||
/* USER CODE BEGIN I2C1_MspInit 1 */
|
||||
|
||||
/* USER CODE END I2C1_MspInit 1 */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief I2C MSP De-Initialization
|
||||
* This function freeze the hardware resources used in this example
|
||||
* @param hi2c: I2C handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
|
||||
{
|
||||
if(hi2c->Instance==I2C1)
|
||||
{
|
||||
/* USER CODE BEGIN I2C1_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END I2C1_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_I2C1_CLK_DISABLE();
|
||||
|
||||
/**I2C1 GPIO Configuration
|
||||
PB6 ------> I2C1_SCL
|
||||
PB7 ------> I2C1_SDA
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6);
|
||||
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_7);
|
||||
|
||||
/* USER CODE BEGIN I2C1_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END I2C1_MspDeInit 1 */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
145
Software/Core/Src/stm32f0xx_it.c
Normal file
145
Software/Core/Src/stm32f0xx_it.c
Normal file
@ -0,0 +1,145 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file stm32f0xx_it.c
|
||||
* @brief Interrupt Service Routines.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
#include "stm32f0xx_it.h"
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN TD */
|
||||
|
||||
/* USER CODE END TD */
|
||||
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PD */
|
||||
|
||||
/* USER CODE END PD */
|
||||
|
||||
/* Private macro -------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PM */
|
||||
|
||||
/* USER CODE END PM */
|
||||
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PV */
|
||||
|
||||
/* USER CODE END PV */
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
/* USER CODE BEGIN PFP */
|
||||
|
||||
/* USER CODE END PFP */
|
||||
|
||||
/* Private user code ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/* External variables --------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN EV */
|
||||
|
||||
/* USER CODE END EV */
|
||||
|
||||
/******************************************************************************/
|
||||
/* Cortex-M0 Processor Interruption and Exception Handlers */
|
||||
/******************************************************************************/
|
||||
/**
|
||||
* @brief This function handles Non maskable interrupt.
|
||||
*/
|
||||
void NMI_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
|
||||
|
||||
/* USER CODE END NonMaskableInt_IRQn 0 */
|
||||
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
|
||||
while (1)
|
||||
{
|
||||
}
|
||||
/* USER CODE END NonMaskableInt_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles Hard fault interrupt.
|
||||
*/
|
||||
void HardFault_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN HardFault_IRQn 0 */
|
||||
|
||||
/* USER CODE END HardFault_IRQn 0 */
|
||||
while (1)
|
||||
{
|
||||
/* USER CODE BEGIN W1_HardFault_IRQn 0 */
|
||||
/* USER CODE END W1_HardFault_IRQn 0 */
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles System service call via SWI instruction.
|
||||
*/
|
||||
void SVC_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SVC_IRQn 0 */
|
||||
|
||||
/* USER CODE END SVC_IRQn 0 */
|
||||
/* USER CODE BEGIN SVC_IRQn 1 */
|
||||
|
||||
/* USER CODE END SVC_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles Pendable request for system service.
|
||||
*/
|
||||
void PendSV_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN PendSV_IRQn 0 */
|
||||
|
||||
/* USER CODE END PendSV_IRQn 0 */
|
||||
/* USER CODE BEGIN PendSV_IRQn 1 */
|
||||
|
||||
/* USER CODE END PendSV_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles System tick timer.
|
||||
*/
|
||||
void SysTick_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SysTick_IRQn 0 */
|
||||
|
||||
/* USER CODE END SysTick_IRQn 0 */
|
||||
HAL_IncTick();
|
||||
/* USER CODE BEGIN SysTick_IRQn 1 */
|
||||
|
||||
/* USER CODE END SysTick_IRQn 1 */
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
/* STM32F0xx Peripheral Interrupt Handlers */
|
||||
/* Add here the Interrupt Handlers for the used peripherals. */
|
||||
/* For the available peripheral interrupt handler names, */
|
||||
/* please refer to the startup file (startup_stm32f0xx.s). */
|
||||
/******************************************************************************/
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
176
Software/Core/Src/syscalls.c
Normal file
176
Software/Core/Src/syscalls.c
Normal file
@ -0,0 +1,176 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @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
|
||||
*
|
||||
* Copyright (c) 2020-2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* 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)
|
||||
{
|
||||
(void)pid;
|
||||
(void)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)
|
||||
{
|
||||
(void)file;
|
||||
int DataIdx;
|
||||
|
||||
for (DataIdx = 0; DataIdx < len; DataIdx++)
|
||||
{
|
||||
*ptr++ = __io_getchar();
|
||||
}
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
__attribute__((weak)) int _write(int file, char *ptr, int len)
|
||||
{
|
||||
(void)file;
|
||||
int DataIdx;
|
||||
|
||||
for (DataIdx = 0; DataIdx < len; DataIdx++)
|
||||
{
|
||||
__io_putchar(*ptr++);
|
||||
}
|
||||
return len;
|
||||
}
|
||||
|
||||
int _close(int file)
|
||||
{
|
||||
(void)file;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int _fstat(int file, struct stat *st)
|
||||
{
|
||||
(void)file;
|
||||
st->st_mode = S_IFCHR;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int _isatty(int file)
|
||||
{
|
||||
(void)file;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int _lseek(int file, int ptr, int dir)
|
||||
{
|
||||
(void)file;
|
||||
(void)ptr;
|
||||
(void)dir;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int _open(char *path, int flags, ...)
|
||||
{
|
||||
(void)path;
|
||||
(void)flags;
|
||||
/* Pretend like we always fail */
|
||||
return -1;
|
||||
}
|
||||
|
||||
int _wait(int *status)
|
||||
{
|
||||
(void)status;
|
||||
errno = ECHILD;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int _unlink(char *name)
|
||||
{
|
||||
(void)name;
|
||||
errno = ENOENT;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int _times(struct tms *buf)
|
||||
{
|
||||
(void)buf;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int _stat(char *file, struct stat *st)
|
||||
{
|
||||
(void)file;
|
||||
st->st_mode = S_IFCHR;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int _link(char *old, char *new)
|
||||
{
|
||||
(void)old;
|
||||
(void)new;
|
||||
errno = EMLINK;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int _fork(void)
|
||||
{
|
||||
errno = EAGAIN;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int _execve(char *name, char **argv, char **env)
|
||||
{
|
||||
(void)name;
|
||||
(void)argv;
|
||||
(void)env;
|
||||
errno = ENOMEM;
|
||||
return -1;
|
||||
}
|
||||
79
Software/Core/Src/sysmem.c
Normal file
79
Software/Core/Src/sysmem.c
Normal file
@ -0,0 +1,79 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @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
|
||||
*
|
||||
* Copyright (c) 2025 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
/* 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;
|
||||
}
|
||||
249
Software/Core/Src/system_stm32f0xx.c
Normal file
249
Software/Core/Src/system_stm32f0xx.c
Normal file
@ -0,0 +1,249 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file system_stm32f0xx.c
|
||||
* @author MCD Application Team
|
||||
* @brief CMSIS Cortex-M0 Device Peripheral Access Layer System Source File.
|
||||
*
|
||||
* 1. 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_stm32f0xx.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
|
||||
*
|
||||
* Copyright (c) 2016 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/** @addtogroup CMSIS
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup stm32f0xx_system
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** @addtogroup STM32F0xx_System_Private_Includes
|
||||
* @{
|
||||
*/
|
||||
|
||||
#include "stm32f0xx.h"
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @addtogroup STM32F0xx_System_Private_TypesDefinitions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @addtogroup STM32F0xx_System_Private_Defines
|
||||
* @{
|
||||
*/
|
||||
#if !defined (HSE_VALUE)
|
||||
#define HSE_VALUE ((uint32_t)8000000) /*!< Default value of the External oscillator in Hz.
|
||||
This value can be provided and adapted by the user application. */
|
||||
#endif /* HSE_VALUE */
|
||||
|
||||
#if !defined (HSI_VALUE)
|
||||
#define HSI_VALUE ((uint32_t)8000000) /*!< Default value of the Internal oscillator in Hz.
|
||||
This value can be provided and adapted by the user application. */
|
||||
#endif /* HSI_VALUE */
|
||||
|
||||
#if !defined (HSI48_VALUE)
|
||||
#define HSI48_VALUE ((uint32_t)48000000) /*!< Default value of the HSI48 Internal oscillator in Hz.
|
||||
This value can be provided and adapted by the user application. */
|
||||
#endif /* HSI48_VALUE */
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @addtogroup STM32F0xx_System_Private_Macros
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @addtogroup STM32F0xx_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 = 8000000;
|
||||
|
||||
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 STM32F0xx_System_Private_FunctionPrototypes
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/** @addtogroup STM32F0xx_System_Private_Functions
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Setup the microcontroller system
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
void SystemInit(void)
|
||||
{
|
||||
/* NOTE :SystemInit(): This function is called at startup just after reset and
|
||||
before branch to main program. This call is made inside
|
||||
the "startup_stm32f0xx.s" file.
|
||||
User can setups the default system clock (System clock source, PLL Multiplier
|
||||
and Divider factors, AHB/APBx prescalers and Flash settings).
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
* @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.
|
||||
*
|
||||
* - If SYSCLK source is HSI48, SystemCoreClock will contain the HSI48_VALUE(***)
|
||||
*
|
||||
* (*) HSI_VALUE is a constant defined in stm32f0xx_hal_conf.h file (default value
|
||||
* 8 MHz) but the real value may vary depending on the variations
|
||||
* in voltage and temperature.
|
||||
*
|
||||
* (**) HSE_VALUE is a constant defined in stm32f0xx_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.
|
||||
*
|
||||
* (***) HSI48_VALUE is a constant defined in stm32f0xx_hal_conf.h file (default value
|
||||
* 48 MHz) but the real value may vary depending on the variations
|
||||
* in voltage and temperature.
|
||||
*
|
||||
* - 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, pllmull = 0, pllsource = 0, predivfactor = 0;
|
||||
|
||||
/* Get SYSCLK source -------------------------------------------------------*/
|
||||
tmp = RCC->CFGR & RCC_CFGR_SWS;
|
||||
|
||||
switch (tmp)
|
||||
{
|
||||
case RCC_CFGR_SWS_HSI: /* HSI used as system clock */
|
||||
SystemCoreClock = HSI_VALUE;
|
||||
break;
|
||||
case RCC_CFGR_SWS_HSE: /* HSE used as system clock */
|
||||
SystemCoreClock = HSE_VALUE;
|
||||
break;
|
||||
case RCC_CFGR_SWS_PLL: /* PLL used as system clock */
|
||||
/* Get PLL clock source and multiplication factor ----------------------*/
|
||||
pllmull = RCC->CFGR & RCC_CFGR_PLLMUL;
|
||||
pllsource = RCC->CFGR & RCC_CFGR_PLLSRC;
|
||||
pllmull = ( pllmull >> 18) + 2;
|
||||
predivfactor = (RCC->CFGR2 & RCC_CFGR2_PREDIV) + 1;
|
||||
|
||||
if (pllsource == RCC_CFGR_PLLSRC_HSE_PREDIV)
|
||||
{
|
||||
/* HSE used as PLL clock source : SystemCoreClock = HSE/PREDIV * PLLMUL */
|
||||
SystemCoreClock = (HSE_VALUE/predivfactor) * pllmull;
|
||||
}
|
||||
#if defined(STM32F042x6) || defined(STM32F048xx) || defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx) || defined(STM32F091xC) || defined(STM32F098xx)
|
||||
else if (pllsource == RCC_CFGR_PLLSRC_HSI48_PREDIV)
|
||||
{
|
||||
/* HSI48 used as PLL clock source : SystemCoreClock = HSI48/PREDIV * PLLMUL */
|
||||
SystemCoreClock = (HSI48_VALUE/predivfactor) * pllmull;
|
||||
}
|
||||
#endif /* STM32F042x6 || STM32F048xx || STM32F071xB || STM32F072xB || STM32F078xx || STM32F091xC || STM32F098xx */
|
||||
else
|
||||
{
|
||||
#if defined(STM32F042x6) || defined(STM32F048xx) || defined(STM32F070x6) \
|
||||
|| defined(STM32F078xx) || defined(STM32F071xB) || defined(STM32F072xB) \
|
||||
|| defined(STM32F070xB) || defined(STM32F091xC) || defined(STM32F098xx) || defined(STM32F030xC)
|
||||
/* HSI used as PLL clock source : SystemCoreClock = HSI/PREDIV * PLLMUL */
|
||||
SystemCoreClock = (HSI_VALUE/predivfactor) * pllmull;
|
||||
#else
|
||||
/* HSI used as PLL clock source : SystemCoreClock = HSI/2 * PLLMUL */
|
||||
SystemCoreClock = (HSI_VALUE >> 1) * pllmull;
|
||||
#endif /* STM32F042x6 || STM32F048xx || STM32F070x6 ||
|
||||
STM32F071xB || STM32F072xB || STM32F078xx || STM32F070xB ||
|
||||
STM32F091xC || STM32F098xx || STM32F030xC */
|
||||
}
|
||||
break;
|
||||
default: /* HSI used as system clock */
|
||||
SystemCoreClock = HSI_VALUE;
|
||||
break;
|
||||
}
|
||||
/* Compute HCLK clock frequency ----------------*/
|
||||
/* Get HCLK prescaler */
|
||||
tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4)];
|
||||
/* HCLK clock frequency */
|
||||
SystemCoreClock >>= tmp;
|
||||
}
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
||||
309
Software/Core/Startup/startup_stm32f042k6tx.s
Normal file
309
Software/Core/Startup/startup_stm32f042k6tx.s
Normal file
@ -0,0 +1,309 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file startup_stm32f042x6.s
|
||||
* @author MCD Application Team
|
||||
* @brief STM32F042x4/STM32F042x6 devices vector table for GCC toolchain.
|
||||
* 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-M0 processor is in Thread mode,
|
||||
* priority is Privileged, and the Stack is set to Main.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2016 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
.syntax unified
|
||||
.cpu cortex-m0
|
||||
.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
|
||||
|
||||
/**
|
||||
* @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 r0, =_estack
|
||||
mov sp, r0 /* set stack pointer */
|
||||
|
||||
/* Call the clock system initialization function.*/
|
||||
bl SystemInit
|
||||
|
||||
/*Check if boot space corresponds to test memory*/
|
||||
|
||||
LDR R0,=0x00000004
|
||||
LDR R1, [R0]
|
||||
LSRS R1, R1, #24
|
||||
LDR R2,=0x1F
|
||||
CMP R1, R2
|
||||
BNE ApplicationStart
|
||||
|
||||
/*SYSCFG clock enable*/
|
||||
|
||||
LDR R0,=0x40021018
|
||||
LDR R1,=0x00000001
|
||||
STR R1, [R0]
|
||||
|
||||
/*Set CFGR1 register with flash memory remap at address 0*/
|
||||
LDR R0,=0x40010000
|
||||
LDR R1,=0x00000000
|
||||
STR R1, [R0]
|
||||
|
||||
ApplicationStart:
|
||||
/* 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 static constructors */
|
||||
bl __libc_init_array
|
||||
/* Call the application's entry point.*/
|
||||
bl main
|
||||
|
||||
LoopForever:
|
||||
b LoopForever
|
||||
|
||||
|
||||
.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 M0. 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 0
|
||||
.word 0
|
||||
.word 0
|
||||
.word 0
|
||||
.word 0
|
||||
.word 0
|
||||
.word 0
|
||||
.word SVC_Handler
|
||||
.word 0
|
||||
.word 0
|
||||
.word PendSV_Handler
|
||||
.word SysTick_Handler
|
||||
.word WWDG_IRQHandler /* Window WatchDog */
|
||||
.word PVD_VDDIO2_IRQHandler /* PVD and VDDIO2 through EXTI Line detect */
|
||||
.word RTC_IRQHandler /* RTC through the EXTI line */
|
||||
.word FLASH_IRQHandler /* FLASH */
|
||||
.word RCC_CRS_IRQHandler /* RCC and CRS */
|
||||
.word EXTI0_1_IRQHandler /* EXTI Line 0 and 1 */
|
||||
.word EXTI2_3_IRQHandler /* EXTI Line 2 and 3 */
|
||||
.word EXTI4_15_IRQHandler /* EXTI Line 4 to 15 */
|
||||
.word TSC_IRQHandler /* TSC */
|
||||
.word DMA1_Channel1_IRQHandler /* DMA1 Channel 1 */
|
||||
.word DMA1_Channel2_3_IRQHandler /* DMA1 Channel 2 and Channel 3 */
|
||||
.word DMA1_Channel4_5_IRQHandler /* DMA1 Channel 4 and Channel 5 */
|
||||
.word ADC1_IRQHandler /* ADC1 */
|
||||
.word TIM1_BRK_UP_TRG_COM_IRQHandler /* TIM1 Break, Update, Trigger and Commutation */
|
||||
.word TIM1_CC_IRQHandler /* TIM1 Capture Compare */
|
||||
.word TIM2_IRQHandler /* TIM2 */
|
||||
.word TIM3_IRQHandler /* TIM3 */
|
||||
.word 0 /* Reserved */
|
||||
.word 0 /* Reserved */
|
||||
.word TIM14_IRQHandler /* TIM14 */
|
||||
.word 0 /* Reserved */
|
||||
.word TIM16_IRQHandler /* TIM16 */
|
||||
.word TIM17_IRQHandler /* TIM17 */
|
||||
.word I2C1_IRQHandler /* I2C1 */
|
||||
.word 0 /* Reserved */
|
||||
.word SPI1_IRQHandler /* SPI1 */
|
||||
.word SPI2_IRQHandler /* SPI2 */
|
||||
.word USART1_IRQHandler /* USART1 */
|
||||
.word USART2_IRQHandler /* USART2 */
|
||||
.word 0 /* Reserved */
|
||||
.word CEC_CAN_IRQHandler /* CEC and CAN */
|
||||
.word USB_IRQHandler /* USB */
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* 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 SVC_Handler
|
||||
.thumb_set SVC_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_VDDIO2_IRQHandler
|
||||
.thumb_set PVD_VDDIO2_IRQHandler,Default_Handler
|
||||
|
||||
.weak RTC_IRQHandler
|
||||
.thumb_set RTC_IRQHandler,Default_Handler
|
||||
|
||||
.weak FLASH_IRQHandler
|
||||
.thumb_set FLASH_IRQHandler,Default_Handler
|
||||
|
||||
.weak RCC_CRS_IRQHandler
|
||||
.thumb_set RCC_CRS_IRQHandler,Default_Handler
|
||||
|
||||
.weak EXTI0_1_IRQHandler
|
||||
.thumb_set EXTI0_1_IRQHandler,Default_Handler
|
||||
|
||||
.weak EXTI2_3_IRQHandler
|
||||
.thumb_set EXTI2_3_IRQHandler,Default_Handler
|
||||
|
||||
.weak EXTI4_15_IRQHandler
|
||||
.thumb_set EXTI4_15_IRQHandler,Default_Handler
|
||||
|
||||
.weak TSC_IRQHandler
|
||||
.thumb_set TSC_IRQHandler,Default_Handler
|
||||
|
||||
.weak DMA1_Channel1_IRQHandler
|
||||
.thumb_set DMA1_Channel1_IRQHandler,Default_Handler
|
||||
|
||||
.weak DMA1_Channel2_3_IRQHandler
|
||||
.thumb_set DMA1_Channel2_3_IRQHandler,Default_Handler
|
||||
|
||||
.weak DMA1_Channel4_5_IRQHandler
|
||||
.thumb_set DMA1_Channel4_5_IRQHandler,Default_Handler
|
||||
|
||||
.weak ADC1_IRQHandler
|
||||
.thumb_set ADC1_IRQHandler,Default_Handler
|
||||
|
||||
.weak TIM1_BRK_UP_TRG_COM_IRQHandler
|
||||
.thumb_set TIM1_BRK_UP_TRG_COM_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 TIM14_IRQHandler
|
||||
.thumb_set TIM14_IRQHandler,Default_Handler
|
||||
|
||||
.weak TIM16_IRQHandler
|
||||
.thumb_set TIM16_IRQHandler,Default_Handler
|
||||
|
||||
.weak TIM17_IRQHandler
|
||||
.thumb_set TIM17_IRQHandler,Default_Handler
|
||||
|
||||
.weak I2C1_IRQHandler
|
||||
.thumb_set I2C1_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 CEC_CAN_IRQHandler
|
||||
.thumb_set CEC_CAN_IRQHandler,Default_Handler
|
||||
|
||||
.weak USB_IRQHandler
|
||||
.thumb_set USB_IRQHandler,Default_Handler
|
||||
|
||||
|
||||
|
||||
BIN
Software/Debug/ASS.elf
Normal file
BIN
Software/Debug/ASS.elf
Normal file
Binary file not shown.
12125
Software/Debug/ASS.list
Normal file
12125
Software/Debug/ASS.list
Normal file
File diff suppressed because it is too large
Load Diff
3440
Software/Debug/ASS.map
Normal file
3440
Software/Debug/ASS.map
Normal file
File diff suppressed because it is too large
Load Diff
9
Software/Debug/Core/Lib/can-halal/can-halal.cyclo
Normal file
9
Software/Debug/Core/Lib/can-halal/can-halal.cyclo
Normal file
@ -0,0 +1,9 @@
|
||||
../Core/Lib/can-halal/can-halal.c:8:19:ftcan_init 2
|
||||
../Core/Lib/can-halal/can-halal.c:20:19:ftcan_transmit 1
|
||||
../Core/Lib/can-halal/can-halal.c:31:19:ftcan_add_filter 4
|
||||
../Core/Lib/can-halal/can-halal.c:65:6:HAL_CAN_RxFifo0MsgPendingCallback 4
|
||||
../Core/Lib/can-halal/can-halal.c:225:13:ftcan_msg_received_cb 1
|
||||
../Core/Lib/can-halal/can-halal.c:228:10:ftcan_unmarshal_unsigned 3
|
||||
../Core/Lib/can-halal/can-halal.c:243:9:ftcan_unmarshal_signed 4
|
||||
../Core/Lib/can-halal/can-halal.c:258:10:ftcan_marshal_unsigned 3
|
||||
../Core/Lib/can-halal/can-halal.c:271:10:ftcan_marshal_signed 1
|
||||
55
Software/Debug/Core/Lib/can-halal/can-halal.d
Normal file
55
Software/Debug/Core/Lib/can-halal/can-halal.d
Normal file
@ -0,0 +1,55 @@
|
||||
Core/Lib/can-halal/can-halal.o: ../Core/Lib/can-halal/can-halal.c \
|
||||
../Core/Lib/can-halal/can-halal.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Core/Lib/can-halal/can-halal.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
BIN
Software/Debug/Core/Lib/can-halal/can-halal.o
Normal file
BIN
Software/Debug/Core/Lib/can-halal/can-halal.o
Normal file
Binary file not shown.
9
Software/Debug/Core/Lib/can-halal/can-halal.su
Normal file
9
Software/Debug/Core/Lib/can-halal/can-halal.su
Normal file
@ -0,0 +1,9 @@
|
||||
../Core/Lib/can-halal/can-halal.c:8:19:ftcan_init 32 static
|
||||
../Core/Lib/can-halal/can-halal.c:20:19:ftcan_transmit 32 static
|
||||
../Core/Lib/can-halal/can-halal.c:31:19:ftcan_add_filter 32 static
|
||||
../Core/Lib/can-halal/can-halal.c:65:6:HAL_CAN_RxFifo0MsgPendingCallback 64 static
|
||||
../Core/Lib/can-halal/can-halal.c:225:13:ftcan_msg_received_cb 24 static
|
||||
../Core/Lib/can-halal/can-halal.c:228:10:ftcan_unmarshal_unsigned 48 static
|
||||
../Core/Lib/can-halal/can-halal.c:243:9:ftcan_unmarshal_signed 64 static
|
||||
../Core/Lib/can-halal/can-halal.c:258:10:ftcan_marshal_unsigned 40 static
|
||||
../Core/Lib/can-halal/can-halal.c:271:10:ftcan_marshal_signed 32 static
|
||||
27
Software/Debug/Core/Lib/can-halal/subdir.mk
Normal file
27
Software/Debug/Core/Lib/can-halal/subdir.mk
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
# Toolchain: GNU Tools for STM32 (13.3.rel1)
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Core/Lib/can-halal/can-halal.c
|
||||
|
||||
OBJS += \
|
||||
./Core/Lib/can-halal/can-halal.o
|
||||
|
||||
C_DEPS += \
|
||||
./Core/Lib/can-halal/can-halal.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Core/Lib/can-halal/%.o Core/Lib/can-halal/%.su Core/Lib/can-halal/%.cyclo: ../Core/Lib/can-halal/%.c Core/Lib/can-halal/subdir.mk
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F042x6 -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
|
||||
|
||||
clean: clean-Core-2f-Lib-2f-can-2d-halal
|
||||
|
||||
clean-Core-2f-Lib-2f-can-2d-halal:
|
||||
-$(RM) ./Core/Lib/can-halal/can-halal.cyclo ./Core/Lib/can-halal/can-halal.d ./Core/Lib/can-halal/can-halal.o ./Core/Lib/can-halal/can-halal.su
|
||||
|
||||
.PHONY: clean-Core-2f-Lib-2f-can-2d-halal
|
||||
|
||||
5
Software/Debug/Core/Src/ASS.cyclo
Normal file
5
Software/Debug/Core/Src/ASS.cyclo
Normal file
@ -0,0 +1,5 @@
|
||||
../Core/Src/ASS.c:37:6:ASS_Init 1
|
||||
../Core/Src/ASS.c:48:6:ASS_ReadSensor 3
|
||||
../Core/Src/ASS.c:83:6:ASS_WriteRegister 1
|
||||
../Core/Src/ASS.c:96:6:ASS_ReadRegister 1
|
||||
../Core/Src/ASS.c:107:6:ASS_GetStatus 1
|
||||
57
Software/Debug/Core/Src/ASS.d
Normal file
57
Software/Debug/Core/Src/ASS.d
Normal file
@ -0,0 +1,57 @@
|
||||
Core/Src/ASS.o: ../Core/Src/ASS.c ../Core/Inc/main.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
|
||||
../Core/Inc/ASS.h ../Core/Inc/can-halal.h
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
../Core/Inc/ASS.h:
|
||||
../Core/Inc/can-halal.h:
|
||||
BIN
Software/Debug/Core/Src/ASS.o
Normal file
BIN
Software/Debug/Core/Src/ASS.o
Normal file
Binary file not shown.
5
Software/Debug/Core/Src/ASS.su
Normal file
5
Software/Debug/Core/Src/ASS.su
Normal file
@ -0,0 +1,5 @@
|
||||
../Core/Src/ASS.c:37:6:ASS_Init 24 static
|
||||
../Core/Src/ASS.c:48:6:ASS_ReadSensor 32 static
|
||||
../Core/Src/ASS.c:83:6:ASS_WriteRegister 32 static
|
||||
../Core/Src/ASS.c:96:6:ASS_ReadRegister 32 static
|
||||
../Core/Src/ASS.c:107:6:ASS_GetStatus 16 static
|
||||
9
Software/Debug/Core/Src/can-halal.cyclo
Normal file
9
Software/Debug/Core/Src/can-halal.cyclo
Normal file
@ -0,0 +1,9 @@
|
||||
../Core/Src/can-halal.c:8:19:ftcan_init 2
|
||||
../Core/Src/can-halal.c:20:19:ftcan_transmit 1
|
||||
../Core/Src/can-halal.c:31:19:ftcan_add_filter 4
|
||||
../Core/Src/can-halal.c:65:6:HAL_CAN_RxFifo0MsgPendingCallback 4
|
||||
../Core/Src/can-halal.c:225:13:ftcan_msg_received_cb 1
|
||||
../Core/Src/can-halal.c:228:10:ftcan_unmarshal_unsigned 3
|
||||
../Core/Src/can-halal.c:243:9:ftcan_unmarshal_signed 4
|
||||
../Core/Src/can-halal.c:258:10:ftcan_marshal_unsigned 3
|
||||
../Core/Src/can-halal.c:271:10:ftcan_marshal_signed 1
|
||||
54
Software/Debug/Core/Src/can-halal.d
Normal file
54
Software/Debug/Core/Src/can-halal.d
Normal file
@ -0,0 +1,54 @@
|
||||
Core/Src/can-halal.o: ../Core/Src/can-halal.c ../Core/Inc/can-halal.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Core/Inc/can-halal.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
BIN
Software/Debug/Core/Src/can-halal.o
Normal file
BIN
Software/Debug/Core/Src/can-halal.o
Normal file
Binary file not shown.
9
Software/Debug/Core/Src/can-halal.su
Normal file
9
Software/Debug/Core/Src/can-halal.su
Normal file
@ -0,0 +1,9 @@
|
||||
../Core/Src/can-halal.c:8:19:ftcan_init 32 static
|
||||
../Core/Src/can-halal.c:20:19:ftcan_transmit 32 static
|
||||
../Core/Src/can-halal.c:31:19:ftcan_add_filter 32 static
|
||||
../Core/Src/can-halal.c:65:6:HAL_CAN_RxFifo0MsgPendingCallback 64 static
|
||||
../Core/Src/can-halal.c:225:13:ftcan_msg_received_cb 24 static
|
||||
../Core/Src/can-halal.c:228:10:ftcan_unmarshal_unsigned 48 static
|
||||
../Core/Src/can-halal.c:243:9:ftcan_unmarshal_signed 64 static
|
||||
../Core/Src/can-halal.c:258:10:ftcan_marshal_unsigned 40 static
|
||||
../Core/Src/can-halal.c:271:10:ftcan_marshal_signed 32 static
|
||||
6
Software/Debug/Core/Src/main.cyclo
Normal file
6
Software/Debug/Core/Src/main.cyclo
Normal file
@ -0,0 +1,6 @@
|
||||
../Core/Src/main.c:74:5:main 1
|
||||
../Core/Src/main.c:133:6:SystemClock_Config 4
|
||||
../Core/Src/main.c:177:13:MX_CAN_Init 2
|
||||
../Core/Src/main.c:214:13:MX_I2C1_Init 4
|
||||
../Core/Src/main.c:262:13:MX_GPIO_Init 1
|
||||
../Core/Src/main.c:286:6:Error_Handler 1
|
||||
57
Software/Debug/Core/Src/main.d
Normal file
57
Software/Debug/Core/Src/main.d
Normal file
@ -0,0 +1,57 @@
|
||||
Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
|
||||
../Core/Inc/ASS.h ../Core/Inc/can-halal.h
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
../Core/Inc/ASS.h:
|
||||
../Core/Inc/can-halal.h:
|
||||
BIN
Software/Debug/Core/Src/main.o
Normal file
BIN
Software/Debug/Core/Src/main.o
Normal file
Binary file not shown.
6
Software/Debug/Core/Src/main.su
Normal file
6
Software/Debug/Core/Src/main.su
Normal file
@ -0,0 +1,6 @@
|
||||
../Core/Src/main.c:74:5:main 8 static
|
||||
../Core/Src/main.c:133:6:SystemClock_Config 112 static
|
||||
../Core/Src/main.c:177:13:MX_CAN_Init 8 static
|
||||
../Core/Src/main.c:214:13:MX_I2C1_Init 8 static
|
||||
../Core/Src/main.c:262:13:MX_GPIO_Init 24 static
|
||||
../Core/Src/main.c:286:6:Error_Handler 8 static,ignoring_inline_asm
|
||||
5
Software/Debug/Core/Src/stm32f0xx_hal_msp.cyclo
Normal file
5
Software/Debug/Core/Src/stm32f0xx_hal_msp.cyclo
Normal file
@ -0,0 +1,5 @@
|
||||
../Core/Src/stm32f0xx_hal_msp.c:63:6:HAL_MspInit 1
|
||||
../Core/Src/stm32f0xx_hal_msp.c:86:6:HAL_CAN_MspInit 2
|
||||
../Core/Src/stm32f0xx_hal_msp.c:123:6:HAL_CAN_MspDeInit 2
|
||||
../Core/Src/stm32f0xx_hal_msp.c:152:6:HAL_I2C_MspInit 2
|
||||
../Core/Src/stm32f0xx_hal_msp.c:189:6:HAL_I2C_MspDeInit 2
|
||||
54
Software/Debug/Core/Src/stm32f0xx_hal_msp.d
Normal file
54
Software/Debug/Core/Src/stm32f0xx_hal_msp.d
Normal file
@ -0,0 +1,54 @@
|
||||
Core/Src/stm32f0xx_hal_msp.o: ../Core/Src/stm32f0xx_hal_msp.c \
|
||||
../Core/Inc/main.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
BIN
Software/Debug/Core/Src/stm32f0xx_hal_msp.o
Normal file
BIN
Software/Debug/Core/Src/stm32f0xx_hal_msp.o
Normal file
Binary file not shown.
5
Software/Debug/Core/Src/stm32f0xx_hal_msp.su
Normal file
5
Software/Debug/Core/Src/stm32f0xx_hal_msp.su
Normal file
@ -0,0 +1,5 @@
|
||||
../Core/Src/stm32f0xx_hal_msp.c:63:6:HAL_MspInit 16 static
|
||||
../Core/Src/stm32f0xx_hal_msp.c:86:6:HAL_CAN_MspInit 56 static
|
||||
../Core/Src/stm32f0xx_hal_msp.c:123:6:HAL_CAN_MspDeInit 16 static
|
||||
../Core/Src/stm32f0xx_hal_msp.c:152:6:HAL_I2C_MspInit 56 static
|
||||
../Core/Src/stm32f0xx_hal_msp.c:189:6:HAL_I2C_MspDeInit 16 static
|
||||
5
Software/Debug/Core/Src/stm32f0xx_it.cyclo
Normal file
5
Software/Debug/Core/Src/stm32f0xx_it.cyclo
Normal file
@ -0,0 +1,5 @@
|
||||
../Core/Src/stm32f0xx_it.c:69:6:NMI_Handler 1
|
||||
../Core/Src/stm32f0xx_it.c:84:6:HardFault_Handler 1
|
||||
../Core/Src/stm32f0xx_it.c:99:6:SVC_Handler 1
|
||||
../Core/Src/stm32f0xx_it.c:112:6:PendSV_Handler 1
|
||||
../Core/Src/stm32f0xx_it.c:125:6:SysTick_Handler 1
|
||||
56
Software/Debug/Core/Src/stm32f0xx_it.d
Normal file
56
Software/Debug/Core/Src/stm32f0xx_it.d
Normal file
@ -0,0 +1,56 @@
|
||||
Core/Src/stm32f0xx_it.o: ../Core/Src/stm32f0xx_it.c ../Core/Inc/main.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
|
||||
../Core/Inc/stm32f0xx_it.h
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
../Core/Inc/stm32f0xx_it.h:
|
||||
BIN
Software/Debug/Core/Src/stm32f0xx_it.o
Normal file
BIN
Software/Debug/Core/Src/stm32f0xx_it.o
Normal file
Binary file not shown.
5
Software/Debug/Core/Src/stm32f0xx_it.su
Normal file
5
Software/Debug/Core/Src/stm32f0xx_it.su
Normal file
@ -0,0 +1,5 @@
|
||||
../Core/Src/stm32f0xx_it.c:69:6:NMI_Handler 8 static
|
||||
../Core/Src/stm32f0xx_it.c:84:6:HardFault_Handler 8 static
|
||||
../Core/Src/stm32f0xx_it.c:99:6:SVC_Handler 8 static
|
||||
../Core/Src/stm32f0xx_it.c:112:6:PendSV_Handler 8 static
|
||||
../Core/Src/stm32f0xx_it.c:125:6:SysTick_Handler 8 static
|
||||
48
Software/Debug/Core/Src/subdir.mk
Normal file
48
Software/Debug/Core/Src/subdir.mk
Normal file
@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
# Toolchain: GNU Tools for STM32 (13.3.rel1)
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Core/Src/ASS.c \
|
||||
../Core/Src/can-halal.c \
|
||||
../Core/Src/main.c \
|
||||
../Core/Src/stm32f0xx_hal_msp.c \
|
||||
../Core/Src/stm32f0xx_it.c \
|
||||
../Core/Src/syscalls.c \
|
||||
../Core/Src/sysmem.c \
|
||||
../Core/Src/system_stm32f0xx.c
|
||||
|
||||
OBJS += \
|
||||
./Core/Src/ASS.o \
|
||||
./Core/Src/can-halal.o \
|
||||
./Core/Src/main.o \
|
||||
./Core/Src/stm32f0xx_hal_msp.o \
|
||||
./Core/Src/stm32f0xx_it.o \
|
||||
./Core/Src/syscalls.o \
|
||||
./Core/Src/sysmem.o \
|
||||
./Core/Src/system_stm32f0xx.o
|
||||
|
||||
C_DEPS += \
|
||||
./Core/Src/ASS.d \
|
||||
./Core/Src/can-halal.d \
|
||||
./Core/Src/main.d \
|
||||
./Core/Src/stm32f0xx_hal_msp.d \
|
||||
./Core/Src/stm32f0xx_it.d \
|
||||
./Core/Src/syscalls.d \
|
||||
./Core/Src/sysmem.d \
|
||||
./Core/Src/system_stm32f0xx.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F042x6 -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
|
||||
|
||||
clean: clean-Core-2f-Src
|
||||
|
||||
clean-Core-2f-Src:
|
||||
-$(RM) ./Core/Src/ASS.cyclo ./Core/Src/ASS.d ./Core/Src/ASS.o ./Core/Src/ASS.su ./Core/Src/can-halal.cyclo ./Core/Src/can-halal.d ./Core/Src/can-halal.o ./Core/Src/can-halal.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f0xx_hal_msp.cyclo ./Core/Src/stm32f0xx_hal_msp.d ./Core/Src/stm32f0xx_hal_msp.o ./Core/Src/stm32f0xx_hal_msp.su ./Core/Src/stm32f0xx_it.cyclo ./Core/Src/stm32f0xx_it.d ./Core/Src/stm32f0xx_it.o ./Core/Src/stm32f0xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32f0xx.cyclo ./Core/Src/system_stm32f0xx.d ./Core/Src/system_stm32f0xx.o ./Core/Src/system_stm32f0xx.su
|
||||
|
||||
.PHONY: clean-Core-2f-Src
|
||||
|
||||
18
Software/Debug/Core/Src/syscalls.cyclo
Normal file
18
Software/Debug/Core/Src/syscalls.cyclo
Normal file
@ -0,0 +1,18 @@
|
||||
../Core/Src/syscalls.c:44:6:initialise_monitor_handles 1
|
||||
../Core/Src/syscalls.c:48:5:_getpid 1
|
||||
../Core/Src/syscalls.c:53:5:_kill 1
|
||||
../Core/Src/syscalls.c:61:6:_exit 1
|
||||
../Core/Src/syscalls.c:67:27:_read 2
|
||||
../Core/Src/syscalls.c:80:27:_write 2
|
||||
../Core/Src/syscalls.c:92:5:_close 1
|
||||
../Core/Src/syscalls.c:99:5:_fstat 1
|
||||
../Core/Src/syscalls.c:106:5:_isatty 1
|
||||
../Core/Src/syscalls.c:112:5:_lseek 1
|
||||
../Core/Src/syscalls.c:120:5:_open 1
|
||||
../Core/Src/syscalls.c:128:5:_wait 1
|
||||
../Core/Src/syscalls.c:135:5:_unlink 1
|
||||
../Core/Src/syscalls.c:142:5:_times 1
|
||||
../Core/Src/syscalls.c:148:5:_stat 1
|
||||
../Core/Src/syscalls.c:155:5:_link 1
|
||||
../Core/Src/syscalls.c:163:5:_fork 1
|
||||
../Core/Src/syscalls.c:169:5:_execve 1
|
||||
1
Software/Debug/Core/Src/syscalls.d
Normal file
1
Software/Debug/Core/Src/syscalls.d
Normal file
@ -0,0 +1 @@
|
||||
Core/Src/syscalls.o: ../Core/Src/syscalls.c
|
||||
BIN
Software/Debug/Core/Src/syscalls.o
Normal file
BIN
Software/Debug/Core/Src/syscalls.o
Normal file
Binary file not shown.
18
Software/Debug/Core/Src/syscalls.su
Normal file
18
Software/Debug/Core/Src/syscalls.su
Normal file
@ -0,0 +1,18 @@
|
||||
../Core/Src/syscalls.c:44:6:initialise_monitor_handles 8 static
|
||||
../Core/Src/syscalls.c:48:5:_getpid 8 static
|
||||
../Core/Src/syscalls.c:53:5:_kill 16 static
|
||||
../Core/Src/syscalls.c:61:6:_exit 16 static
|
||||
../Core/Src/syscalls.c:67:27:_read 32 static
|
||||
../Core/Src/syscalls.c:80:27:_write 32 static
|
||||
../Core/Src/syscalls.c:92:5:_close 16 static
|
||||
../Core/Src/syscalls.c:99:5:_fstat 16 static
|
||||
../Core/Src/syscalls.c:106:5:_isatty 16 static
|
||||
../Core/Src/syscalls.c:112:5:_lseek 24 static
|
||||
../Core/Src/syscalls.c:120:5:_open 20 static
|
||||
../Core/Src/syscalls.c:128:5:_wait 16 static
|
||||
../Core/Src/syscalls.c:135:5:_unlink 16 static
|
||||
../Core/Src/syscalls.c:142:5:_times 16 static
|
||||
../Core/Src/syscalls.c:148:5:_stat 16 static
|
||||
../Core/Src/syscalls.c:155:5:_link 16 static
|
||||
../Core/Src/syscalls.c:163:5:_fork 8 static
|
||||
../Core/Src/syscalls.c:169:5:_execve 24 static
|
||||
1
Software/Debug/Core/Src/sysmem.cyclo
Normal file
1
Software/Debug/Core/Src/sysmem.cyclo
Normal file
@ -0,0 +1 @@
|
||||
../Core/Src/sysmem.c:53:7:_sbrk 3
|
||||
1
Software/Debug/Core/Src/sysmem.d
Normal file
1
Software/Debug/Core/Src/sysmem.d
Normal file
@ -0,0 +1 @@
|
||||
Core/Src/sysmem.o: ../Core/Src/sysmem.c
|
||||
BIN
Software/Debug/Core/Src/sysmem.o
Normal file
BIN
Software/Debug/Core/Src/sysmem.o
Normal file
Binary file not shown.
1
Software/Debug/Core/Src/sysmem.su
Normal file
1
Software/Debug/Core/Src/sysmem.su
Normal file
@ -0,0 +1 @@
|
||||
../Core/Src/sysmem.c:53:7:_sbrk 32 static
|
||||
2
Software/Debug/Core/Src/system_stm32f0xx.cyclo
Normal file
2
Software/Debug/Core/Src/system_stm32f0xx.cyclo
Normal file
@ -0,0 +1,2 @@
|
||||
../Core/Src/system_stm32f0xx.c:126:6:SystemInit 1
|
||||
../Core/Src/system_stm32f0xx.c:178:6:SystemCoreClockUpdate 7
|
||||
53
Software/Debug/Core/Src/system_stm32f0xx.d
Normal file
53
Software/Debug/Core/Src/system_stm32f0xx.d
Normal file
@ -0,0 +1,53 @@
|
||||
Core/Src/system_stm32f0xx.o: ../Core/Src/system_stm32f0xx.c \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
BIN
Software/Debug/Core/Src/system_stm32f0xx.o
Normal file
BIN
Software/Debug/Core/Src/system_stm32f0xx.o
Normal file
Binary file not shown.
2
Software/Debug/Core/Src/system_stm32f0xx.su
Normal file
2
Software/Debug/Core/Src/system_stm32f0xx.su
Normal file
@ -0,0 +1,2 @@
|
||||
../Core/Src/system_stm32f0xx.c:126:6:SystemInit 8 static
|
||||
../Core/Src/system_stm32f0xx.c:178:6:SystemCoreClockUpdate 24 static
|
||||
2
Software/Debug/Core/Startup/startup_stm32f042k6tx.d
Normal file
2
Software/Debug/Core/Startup/startup_stm32f042k6tx.d
Normal file
@ -0,0 +1,2 @@
|
||||
Core/Startup/startup_stm32f042k6tx.o: \
|
||||
../Core/Startup/startup_stm32f042k6tx.s
|
||||
BIN
Software/Debug/Core/Startup/startup_stm32f042k6tx.o
Normal file
BIN
Software/Debug/Core/Startup/startup_stm32f042k6tx.o
Normal file
Binary file not shown.
27
Software/Debug/Core/Startup/subdir.mk
Normal file
27
Software/Debug/Core/Startup/subdir.mk
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
# Toolchain: GNU Tools for STM32 (13.3.rel1)
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
S_SRCS += \
|
||||
../Core/Startup/startup_stm32f042k6tx.s
|
||||
|
||||
OBJS += \
|
||||
./Core/Startup/startup_stm32f042k6tx.o
|
||||
|
||||
S_DEPS += \
|
||||
./Core/Startup/startup_stm32f042k6tx.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Core/Startup/%.o: ../Core/Startup/%.s Core/Startup/subdir.mk
|
||||
arm-none-eabi-gcc -mcpu=cortex-m0 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"
|
||||
|
||||
clean: clean-Core-2f-Startup
|
||||
|
||||
clean-Core-2f-Startup:
|
||||
-$(RM) ./Core/Startup/startup_stm32f042k6tx.d ./Core/Startup/startup_stm32f042k6tx.o
|
||||
|
||||
.PHONY: clean-Core-2f-Startup
|
||||
|
||||
@ -0,0 +1,23 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:141:19:HAL_Init 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:165:19:HAL_DeInit 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:188:13:HAL_MspInit 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:199:13:HAL_MspDeInit 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:222:26:HAL_InitTick 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:281:13:HAL_IncTick 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:292:17:HAL_GetTick 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:301:10:HAL_GetTickPrio 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:310:19:HAL_SetTickFreq 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:343:21:HAL_GetTickFreq 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:359:13:HAL_Delay 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:385:13:HAL_SuspendTick 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:402:13:HAL_ResumeTick 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:412:10:HAL_GetHalVersion 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:421:10:HAL_GetREVID 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:430:10:HAL_GetDEVID 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:439:10:HAL_GetUIDw0 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:448:10:HAL_GetUIDw1 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:457:10:HAL_GetUIDw2 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:466:6:HAL_DBGMCU_EnableDBGStopMode 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:475:6:HAL_DBGMCU_DisableDBGStopMode 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:484:6:HAL_DBGMCU_EnableDBGStandbyMode 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:493:6:HAL_DBGMCU_DisableDBGStandbyMode 1
|
||||
@ -0,0 +1,54 @@
|
||||
Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o: \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
BIN
Software/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
Normal file
BIN
Software/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
Normal file
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:141:19:HAL_Init 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:165:19:HAL_DeInit 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:188:13:HAL_MspInit 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:199:13:HAL_MspDeInit 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:222:26:HAL_InitTick 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:281:13:HAL_IncTick 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:292:17:HAL_GetTick 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:301:10:HAL_GetTickPrio 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:310:19:HAL_SetTickFreq 40 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:343:21:HAL_GetTickFreq 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:359:13:HAL_Delay 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:385:13:HAL_SuspendTick 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:402:13:HAL_ResumeTick 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:412:10:HAL_GetHalVersion 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:421:10:HAL_GetREVID 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:430:10:HAL_GetDEVID 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:439:10:HAL_GetUIDw0 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:448:10:HAL_GetUIDw1 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:457:10:HAL_GetUIDw2 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:466:6:HAL_DBGMCU_EnableDBGStopMode 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:475:6:HAL_DBGMCU_DisableDBGStopMode 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:484:6:HAL_DBGMCU_EnableDBGStandbyMode 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:493:6:HAL_DBGMCU_DisableDBGStandbyMode 8 static
|
||||
@ -0,0 +1,36 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:275:19:HAL_CAN_Init 13
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:460:19:HAL_CAN_DeInit 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:507:13:HAL_CAN_MspInit 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:523:13:HAL_CAN_MspDeInit 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:840:19:HAL_CAN_ConfigFilter 8
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:990:19:HAL_CAN_Start 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1042:19:HAL_CAN_Stop 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1097:19:HAL_CAN_RequestSleep 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1128:19:HAL_CAN_WakeUp 5
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1175:10:HAL_CAN_IsSleepActive 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1206:19:HAL_CAN_AddTxMessage 8
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1306:19:HAL_CAN_AbortTxRequest 6
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1355:10:HAL_CAN_GetTxMailboxesFreeLevel 6
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1398:10:HAL_CAN_IsTxMessagePending 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1430:10:HAL_CAN_GetTxTimestamp 5
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1476:19:HAL_CAN_GetRxMessage 9
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1576:10:HAL_CAN_GetRxFifoFillLevel 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1629:19:HAL_CAN_ActivateNotification 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1662:19:HAL_CAN_DeactivateNotification 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1693:6:HAL_CAN_IRQHandler 51
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2104:13:HAL_CAN_TxMailbox0CompleteCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2121:13:HAL_CAN_TxMailbox1CompleteCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2138:13:HAL_CAN_TxMailbox2CompleteCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2155:13:HAL_CAN_TxMailbox0AbortCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2172:13:HAL_CAN_TxMailbox1AbortCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2189:13:HAL_CAN_TxMailbox2AbortCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2206:13:HAL_CAN_RxFifo0MsgPendingCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2223:13:HAL_CAN_RxFifo0FullCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2240:13:HAL_CAN_RxFifo1MsgPendingCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2257:13:HAL_CAN_RxFifo1FullCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2274:13:HAL_CAN_SleepCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2290:13:HAL_CAN_WakeUpFromRxMsgCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2307:13:HAL_CAN_ErrorCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2344:22:HAL_CAN_GetState 5
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2379:10:HAL_CAN_GetError 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2391:19:HAL_CAN_ResetError 3
|
||||
@ -0,0 +1,54 @@
|
||||
Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o: \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
Binary file not shown.
@ -0,0 +1,36 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:275:19:HAL_CAN_Init 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:460:19:HAL_CAN_DeInit 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:507:13:HAL_CAN_MspInit 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:523:13:HAL_CAN_MspDeInit 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:840:19:HAL_CAN_ConfigFilter 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:990:19:HAL_CAN_Start 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1042:19:HAL_CAN_Stop 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1097:19:HAL_CAN_RequestSleep 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1128:19:HAL_CAN_WakeUp 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1175:10:HAL_CAN_IsSleepActive 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1206:19:HAL_CAN_AddTxMessage 40 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1306:19:HAL_CAN_AbortTxRequest 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1355:10:HAL_CAN_GetTxMailboxesFreeLevel 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1398:10:HAL_CAN_IsTxMessagePending 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1430:10:HAL_CAN_GetTxTimestamp 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1476:19:HAL_CAN_GetRxMessage 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1576:10:HAL_CAN_GetRxFifoFillLevel 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1629:19:HAL_CAN_ActivateNotification 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1662:19:HAL_CAN_DeactivateNotification 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1693:6:HAL_CAN_IRQHandler 48 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2104:13:HAL_CAN_TxMailbox0CompleteCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2121:13:HAL_CAN_TxMailbox1CompleteCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2138:13:HAL_CAN_TxMailbox2CompleteCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2155:13:HAL_CAN_TxMailbox0AbortCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2172:13:HAL_CAN_TxMailbox1AbortCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2189:13:HAL_CAN_TxMailbox2AbortCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2206:13:HAL_CAN_RxFifo0MsgPendingCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2223:13:HAL_CAN_RxFifo0FullCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2240:13:HAL_CAN_RxFifo1MsgPendingCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2257:13:HAL_CAN_RxFifo1FullCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2274:13:HAL_CAN_SleepCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2290:13:HAL_CAN_WakeUpFromRxMsgCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2307:13:HAL_CAN_ErrorCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2344:22:HAL_CAN_GetState 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2379:10:HAL_CAN_GetError 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2391:19:HAL_CAN_ResetError 24 static
|
||||
@ -0,0 +1,21 @@
|
||||
../Drivers/CMSIS/Include/core_cm0.h:623:22:__NVIC_EnableIRQ 2
|
||||
../Drivers/CMSIS/Include/core_cm0.h:659:22:__NVIC_DisableIRQ 2
|
||||
../Drivers/CMSIS/Include/core_cm0.h:678:26:__NVIC_GetPendingIRQ 2
|
||||
../Drivers/CMSIS/Include/core_cm0.h:697:22:__NVIC_SetPendingIRQ 2
|
||||
../Drivers/CMSIS/Include/core_cm0.h:712:22:__NVIC_ClearPendingIRQ 2
|
||||
../Drivers/CMSIS/Include/core_cm0.h:730:22:__NVIC_SetPriority 2
|
||||
../Drivers/CMSIS/Include/core_cm0.h:754:26:__NVIC_GetPriority 2
|
||||
../Drivers/CMSIS/Include/core_cm0.h:856:34:__NVIC_SystemReset 1
|
||||
../Drivers/CMSIS/Include/core_cm0.h:920:26:SysTick_Config 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:135:6:HAL_NVIC_SetPriority 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:154:6:HAL_NVIC_EnableIRQ 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:170:6:HAL_NVIC_DisableIRQ 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:183:6:HAL_NVIC_SystemReset 0
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:196:10:HAL_SYSTICK_Config 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:228:10:HAL_NVIC_GetPriority 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:241:6:HAL_NVIC_SetPendingIRQ 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:259:10:HAL_NVIC_GetPendingIRQ 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:275:6:HAL_NVIC_ClearPendingIRQ 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:292:6:HAL_SYSTICK_CLKSourceConfig 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:310:6:HAL_SYSTICK_IRQHandler 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:319:13:HAL_SYSTICK_Callback 1
|
||||
@ -0,0 +1,54 @@
|
||||
Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o: \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
Binary file not shown.
@ -0,0 +1,21 @@
|
||||
../Drivers/CMSIS/Include/core_cm0.h:623:22:__NVIC_EnableIRQ 16 static
|
||||
../Drivers/CMSIS/Include/core_cm0.h:659:22:__NVIC_DisableIRQ 16 static,ignoring_inline_asm
|
||||
../Drivers/CMSIS/Include/core_cm0.h:678:26:__NVIC_GetPendingIRQ 16 static
|
||||
../Drivers/CMSIS/Include/core_cm0.h:697:22:__NVIC_SetPendingIRQ 16 static
|
||||
../Drivers/CMSIS/Include/core_cm0.h:712:22:__NVIC_ClearPendingIRQ 16 static
|
||||
../Drivers/CMSIS/Include/core_cm0.h:730:22:__NVIC_SetPriority 24 static
|
||||
../Drivers/CMSIS/Include/core_cm0.h:754:26:__NVIC_GetPriority 16 static
|
||||
../Drivers/CMSIS/Include/core_cm0.h:856:34:__NVIC_SystemReset 8 static,ignoring_inline_asm
|
||||
../Drivers/CMSIS/Include/core_cm0.h:920:26:SysTick_Config 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:135:6:HAL_NVIC_SetPriority 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:154:6:HAL_NVIC_EnableIRQ 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:170:6:HAL_NVIC_DisableIRQ 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:183:6:HAL_NVIC_SystemReset 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:196:10:HAL_SYSTICK_Config 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:228:10:HAL_NVIC_GetPriority 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:241:6:HAL_NVIC_SetPendingIRQ 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:259:10:HAL_NVIC_GetPendingIRQ 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:275:6:HAL_NVIC_ClearPendingIRQ 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:292:6:HAL_SYSTICK_CLKSourceConfig 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:310:6:HAL_SYSTICK_IRQHandler 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c:319:13:HAL_SYSTICK_Callback 8 static
|
||||
@ -0,0 +1,14 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:137:19:HAL_DMA_Init 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:199:19:HAL_DMA_DeInit 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:281:19:HAL_DMA_Start 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:328:19:HAL_DMA_Start_IT 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:384:19:HAL_DMA_Abort 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:422:19:HAL_DMA_Abort_IT 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:468:19:HAL_DMA_PollForTransfer 10
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:569:6:HAL_DMA_IRQHandler 12
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:661:19:HAL_DMA_RegisterCallback 9
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:712:19:HAL_DMA_UnRegisterCallback 8
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:788:22:HAL_DMA_GetState 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:799:10:HAL_DMA_GetError 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:825:13:DMA_SetConfig 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:859:13:DMA_CalcBaseAndBitshift 1
|
||||
@ -0,0 +1,54 @@
|
||||
Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o: \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:137:19:HAL_DMA_Init 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:199:19:HAL_DMA_DeInit 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:281:19:HAL_DMA_Start 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:328:19:HAL_DMA_Start_IT 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:384:19:HAL_DMA_Abort 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:422:19:HAL_DMA_Abort_IT 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:468:19:HAL_DMA_PollForTransfer 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:569:6:HAL_DMA_IRQHandler 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:661:19:HAL_DMA_RegisterCallback 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:712:19:HAL_DMA_UnRegisterCallback 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:788:22:HAL_DMA_GetState 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:799:10:HAL_DMA_GetError 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:825:13:DMA_SetConfig 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c:859:13:DMA_CalcBaseAndBitshift 16 static
|
||||
@ -0,0 +1,9 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:142:19:HAL_EXTI_SetConfigLine 9
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:237:19:HAL_EXTI_GetConfigLine 9
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:316:19:HAL_EXTI_ClearConfigLine 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:369:19:HAL_EXTI_RegisterCallback 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:394:19:HAL_EXTI_GetHandle 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:434:6:HAL_EXTI_IRQHandler 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:466:10:HAL_EXTI_GetPending 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:495:6:HAL_EXTI_ClearPending 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:516:6:HAL_EXTI_GenerateSWI 1
|
||||
@ -0,0 +1,54 @@
|
||||
Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o: \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:142:19:HAL_EXTI_SetConfigLine 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:237:19:HAL_EXTI_GetConfigLine 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:316:19:HAL_EXTI_ClearConfigLine 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:369:19:HAL_EXTI_RegisterCallback 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:394:19:HAL_EXTI_GetHandle 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:434:6:HAL_EXTI_IRQHandler 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:466:10:HAL_EXTI_GetPending 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:495:6:HAL_EXTI_ClearPending 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c:516:6:HAL_EXTI_GenerateSWI 24 static
|
||||
@ -0,0 +1,14 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:165:19:HAL_FLASH_Program 8
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:237:19:HAL_FLASH_Program_IT 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:283:6:HAL_FLASH_IRQHandler 12
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:426:13:HAL_FLASH_EndOfOperationCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:444:13:HAL_FLASH_OperationErrorCallback 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:477:19:HAL_FLASH_Unlock 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:501:19:HAL_FLASH_Lock 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:513:19:HAL_FLASH_OB_Unlock 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:533:19:HAL_FLASH_OB_Lock 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:546:19:HAL_FLASH_OB_Launch 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:578:10:HAL_FLASH_GetError 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:601:13:FLASH_Program_HalfWord 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:618:19:FLASH_WaitForLastOperation 8
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:661:13:FLASH_SetErrorCode 3
|
||||
@ -0,0 +1,54 @@
|
||||
Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o: \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:165:19:HAL_FLASH_Program 48 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:237:19:HAL_FLASH_Program_IT 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:283:6:HAL_FLASH_IRQHandler 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:426:13:HAL_FLASH_EndOfOperationCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:444:13:HAL_FLASH_OperationErrorCallback 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:477:19:HAL_FLASH_Unlock 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:501:19:HAL_FLASH_Lock 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:513:19:HAL_FLASH_OB_Unlock 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:533:19:HAL_FLASH_OB_Lock 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:546:19:HAL_FLASH_OB_Launch 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:578:10:HAL_FLASH_GetError 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:601:13:FLASH_Program_HalfWord 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:618:19:FLASH_WaitForLastOperation 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c:661:13:FLASH_SetErrorCode 16 static
|
||||
@ -0,0 +1,16 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:157:19:HAL_FLASHEx_Erase 7
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:238:19:HAL_FLASHEx_Erase_IT 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:311:19:HAL_FLASHEx_OBErase 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:360:19:HAL_FLASHEx_OBProgram 11
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:441:6:HAL_FLASHEx_OBGetConfig 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:463:10:HAL_FLASHEx_OBGetUserData 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:498:13:FLASH_MassErase 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:519:26:FLASH_OB_EnableWRP 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:635:26:FLASH_OB_DisableWRP 4
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:749:26:FLASH_OB_RDP_LevelConfig 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:800:26:FLASH_OB_UserConfig 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:855:26:FLASH_OB_ProgramData 2
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:888:17:FLASH_OB_GetWRP 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:902:17:FLASH_OB_GetRDP 3
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:929:16:FLASH_OB_GetUser 1
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:958:6:FLASH_PageErase 1
|
||||
@ -0,0 +1,54 @@
|
||||
Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o: \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
|
||||
../Core/Inc/stm32f0xx_hal_conf.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h \
|
||||
../Drivers/CMSIS/Include/core_cm0.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
|
||||
../Core/Inc/stm32f0xx_hal_conf.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f042x6.h:
|
||||
../Drivers/CMSIS/Include/core_cm0.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
|
||||
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
|
||||
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:157:19:HAL_FLASHEx_Erase 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:238:19:HAL_FLASHEx_Erase_IT 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:311:19:HAL_FLASHEx_OBErase 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:360:19:HAL_FLASHEx_OBProgram 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:441:6:HAL_FLASHEx_OBGetConfig 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:463:10:HAL_FLASHEx_OBGetUserData 24 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:498:13:FLASH_MassErase 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:519:26:FLASH_OB_EnableWRP 40 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:635:26:FLASH_OB_DisableWRP 40 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:749:26:FLASH_OB_RDP_LevelConfig 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:800:26:FLASH_OB_UserConfig 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:855:26:FLASH_OB_ProgramData 32 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:888:17:FLASH_OB_GetWRP 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:902:17:FLASH_OB_GetRDP 16 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:929:16:FLASH_OB_GetUser 8 static
|
||||
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c:958:6:FLASH_PageErase 16 static
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user