changement de puce vers STM32L071CBT6

This commit is contained in:
vezde 2022-09-23 10:12:32 +02:00
parent 4e10472c33
commit c76938b079
88 changed files with 1793 additions and 34670 deletions

1
.gitignore vendored
View file

@ -65,3 +65,4 @@ GUI
/software/raspberry/superviseur-robot/superviseur/dist/
/software/raspberry/testeur/testeur/build/
/software/raspberry/testeur/testeur/dist/
/software/dumber3/Debug/

View file

@ -14,7 +14,7 @@
</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.1504381080" name="Debug" parent="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug">
<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="" errorParsers="org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GmakeErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.CWDLocator;org.eclipse.cdt.core.GCCErrorParser" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1504381080" 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.1504381080." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.1420034430" 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.1680641606" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32L010C6Tx" valueType="string"/>
@ -25,19 +25,19 @@
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1582271634" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/Dumber3}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1329460993" 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.635805233" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.1127326186" 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.1580466333" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols" valueType="definedSymbols">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.1127326186" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g3" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols.1580466333" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1155721999" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1474341646" name="MCU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.620486962" 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.2040942504" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.2040942504" 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.o2" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.1441075970" 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="STM32L010x6"/>
<listOptionValue builtIn="false" value="STM32L071xx"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.66916114" 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"/>
@ -56,7 +56,7 @@
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.621990143" 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.1603938003" name="MCU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.1354289303" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32L010C6TX_FLASH.ld}" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.1354289303" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" useByScannerDiscovery="false" value="${workspace_loc:/${ProjName}/STM32L071CBTX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.1093609059" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
@ -73,6 +73,18 @@
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.1896077029" name="MCU Output Converter Motorola S-rec with symbols" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec"/>
</toolChain>
</folderInfo>
<fileInfo id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1504381080.2043503841" name="main.c" rcbsApplicability="disable" resourcePath="Core/Src/main.c" toolsToInvoke="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1474341646.346617134">
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1474341646.346617134" name="MCU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1474341646">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.1844790861" 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.o0" valueType="enumerated"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1496459642" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
</tool>
<tool customBuildStep="true" id="org.eclipse.cdt.managedbuilder.ui.rcbs.216781005" name="Resource Custom Build Step">
<inputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.inputtype.2033552080" name="Resource Custom Build Step Input Type">
<additionalInput kind="additionalinputdependency" paths=""/>
</inputType>
<outputType id="org.eclipse.cdt.managedbuilder.ui.rcbs.outputtype.664489298" name="Resource Custom Build Step Output Type"/>
</tool>
</fileInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
@ -98,25 +110,25 @@
<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.405192035" 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.405192035." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.813857126" 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.1816216295" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32L010C6Tx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.824717414" 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.242496753" 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.176318081" 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.1275174120" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.5 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32L010C6Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Middlewares/Third_Party/FreeRTOS/Source/include | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32L0xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32L0xx/Include | ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy | ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 | ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 || || || USE_HAL_DRIVER | STM32L010x6 || || Drivers | Core/Startup | Middlewares | Core || || || ${workspace_loc:/${ProjName}/STM32L010C6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.1816216295" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32L010C6Tx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.824717414" 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.242496753" 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.176318081" 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.1275174120" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.5 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32L010C6Tx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Middlewares/Third_Party/FreeRTOS/Source/include | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32L0xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32L0xx/Include | ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy | ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 | ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 || || || USE_HAL_DRIVER | STM32L010x6 || || Drivers | Core/Startup | Middlewares | Core || || || ${workspace_loc:/${ProjName}/STM32L010C6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1084432067" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/Dumber3}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.84530615" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<builder buildPath="${workspace_loc:/Dumber3}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.84530615" 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.1851868879" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.344980646" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.344980646" 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.1624868230" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.663337004" name="MCU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.2139966704" 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.1992693675" 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.310647191" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.2139966704" 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.1992693675" 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.310647191" 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="STM32L010x6"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.713370936" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.713370936" 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/STM32L0xx_HAL_Driver/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy"/>
@ -129,11 +141,11 @@
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1326858493" 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.1080145303" name="MCU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.354064279" 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.487966330" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.value.os" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.354064279" 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.487966330" 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.1540511283" name="MCU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.1346394766" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32L010C6TX_FLASH.ld}" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.1346394766" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32L010C6TX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.199846771" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,5 @@
2F62501ED4689FB349E356AB974DBE57=4996C471296F89DC866BF9D3036717E1
66BE74F758C12D739921AEA421D593D3=1
8DF89ED150041C4CBC7CB9A9CAA90856=F6D4FB8752309FD4FF5082AF3D7E281B
DC22A860405A8BF2F2C095E5B6529F12=F6D4FB8752309FD4FF5082AF3D7E281B
8DF89ED150041C4CBC7CB9A9CAA90856=4996C471296F89DC866BF9D3036717E1
DC22A860405A8BF2F2C095E5B6529F12=F7414D73CC8C5DF69E5E7FD8F14B7093
eclipse.preferences.version=1

View file

@ -62,10 +62,10 @@
#define configUSE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 0
#define configCPU_CLOCK_HZ ( SystemCoreClock )
#define configTICK_RATE_HZ ((TickType_t)100)
#define configTICK_RATE_HZ ((TickType_t)1000)
#define configMAX_PRIORITIES ( 56 )
#define configMINIMAL_STACK_SIZE ((uint16_t)128)
#define configTOTAL_HEAP_SIZE ((size_t)2048)
#define configTOTAL_HEAP_SIZE ((size_t)1024)
#define configMAX_TASK_NAME_LEN ( 16 )
#define configUSE_TRACE_FACILITY 1
#define configUSE_16_BIT_TICKS 0

View file

@ -8,6 +8,7 @@
#ifndef INC_BATTERIE_H_
#define INC_BATTERIE_H_
void BATTERIE_Init(void);
#endif /* INC_BATTERIE_H_ */

View file

@ -7,12 +7,16 @@
#include "stm32l0xx_hal.h"
#include "cmsis_os.h"
#define STACK_SIZE 100
#define STACK_SIZE 0x100
#define PriorityMoteurs (configMAX_PRIORITIES -1)
#define PriorityXbee (configMAX_PRIORITIES -2)
#define PriorityBatterie (configMAX_PRIORITIES -3)
#define PrioritySequenceur (configMAX_PRIORITIES -4)
#define PriorityLeds (configMAX_PRIORITIES -5)
#define PriorityXbeeRX (configMAX_PRIORITIES -2)
#define PriorityXbeeTX (configMAX_PRIORITIES -3)
#define PriorityBatterie (configMAX_PRIORITIES -4)
#define PrioritySequenceurMain (configMAX_PRIORITIES -5)
#define PrioritySequenceurTimeout (configMAX_PRIORITIES -6)
#define PriorityLeds (configMAX_PRIORITIES -7)
#define BATTERIE_PERIODE_SCRUTATION 1000
TickType_t msToTicks(TickType_t ms);

View file

@ -29,5 +29,4 @@ typedef enum {
} LEDS_State;
void LEDS_Init(void);
void LEDS_RegleAnimation(LEDS_State etat);
#endif /* INC_LEDS_H_ */

View file

@ -70,8 +70,6 @@ void Error_Handler(void);
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/
#define ENC_PHA_GAUCHE_Pin GPIO_PIN_0
#define ENC_PHA_GAUCHE_GPIO_Port GPIOC
#define BATTERY_SENSE_Pin GPIO_PIN_0
#define BATTERY_SENSE_GPIO_Port GPIOA
#define PWM_B_GAUCHE_Pin GPIO_PIN_1
@ -80,12 +78,18 @@ void Error_Handler(void);
#define ENC_PHA_DROIT_GPIO_Port GPIOA
#define ENC_PHB_DROIT_Pin GPIO_PIN_3
#define ENC_PHB_DROIT_GPIO_Port GPIOA
#define ENC_PHB_GAUCHE_Pin GPIO_PIN_5
#define ENC_PHB_GAUCHE_Pin GPIO_PIN_6
#define ENC_PHB_GAUCHE_GPIO_Port GPIOA
#define ENC_PHA_GAUCHE_Pin GPIO_PIN_7
#define ENC_PHA_GAUCHE_GPIO_Port GPIOA
#define PWM_A_DROIT_Pin GPIO_PIN_0
#define PWM_A_DROIT_GPIO_Port GPIOB
#define PWM_B_DROIT_Pin GPIO_PIN_1
#define PWM_B_DROIT_GPIO_Port GPIOB
#define USART_TX_Pin GPIO_PIN_10
#define USART_TX_GPIO_Port GPIOB
#define USART_RX_Pin GPIO_PIN_11
#define USART_RX_GPIO_Port GPIOB
#define LED_ROUGE_Pin GPIO_PIN_12
#define LED_ROUGE_GPIO_Port GPIOB
#define LED_ORANGE_Pin GPIO_PIN_13
@ -94,13 +98,16 @@ void Error_Handler(void);
#define LED_VERTE_GPIO_Port GPIOB
#define SHUTDOWN_ENCODERS_Pin GPIO_PIN_15
#define SHUTDOWN_ENCODERS_GPIO_Port GPIOB
#define PWM_A_GAUCHE_Pin GPIO_PIN_8
#define XBEE_RESET_Pin GPIO_PIN_10
#define XBEE_RESET_GPIO_Port GPIOA
#define PWM_A_GAUCHE_Pin GPIO_PIN_15
#define PWM_A_GAUCHE_GPIO_Port GPIOA
#define BUTTON_SENSE_Pin GPIO_PIN_3
#define BUTTON_SENSE_GPIO_Port GPIOB
#define BUTTON_SENSE_EXTI_IRQn EXTI2_3_IRQn
#define USB_SENSE_Pin GPIO_PIN_4
#define USB_SENSE_GPIO_Port GPIOB
#define USB_SENSE_EXTI_IRQn EXTI4_15_IRQn
#define CHARGER_ST2_Pin GPIO_PIN_6
#define CHARGER_ST2_GPIO_Port GPIOB
#define CHARGER_ST1_Pin GPIO_PIN_7

View file

@ -23,26 +23,30 @@ extern QueueHandle_t SEQUENCEUR_Mailbox;
extern QueueHandle_t BATTERIE_Mailbox;
extern QueueHandle_t XBEE_Mailbox;
#define MSG_ID_NO_MESSAGE 0xFFFF
#define MSG_ID_NO_MESSAGE 0x00
#define MSG_ID_LED_ETAT 0
#define MSG_ID_LED_ETAT 0x10
#define MSG_ID_BAT_NIVEAU 0
#define MSG_ID_BAT_CHARGE 1
#define MSG_ID_BAT_CHARGEUR_ON 2
#define MSG_ID_BAT_CHARGEUR_OFF 3
#define MSG_ID_BAT_CHARGEUR_ERR 4
#define MSG_ID_BAT_NIVEAU 0x20
#define MSG_ID_BAT_CHARGE 0x21
#define MSG_ID_BAT_CHARGEUR_ON 0x22
#define MSG_ID_BAT_CHARGEUR_OFF 0x23
#define MSG_ID_BAT_CHARGEUR_ERR 0x24
#define MSG_ID_BAT_ADC_ERR 0x25
#define MSG_ID_MOTEURS_MARCHE 0
#define MSG_ID_MOTEURS_ARRET 0
#define MSG_ID_BUTTON_PRESSED 0x30
#define MSG_ID_XBEE_CMD_VALIDE 0
#define MSG_ID_XBEE_CMD_INVALIDE 1
#define MSG_ID_XBEE_REPONSE 2
#define MSG_ID_MOTEURS_MARCHE 0x40
#define MSG_ID_MOTEURS_ARRET 0x41
#define MSG_ID_XBEE_CMD_VALIDE 0x50
#define MSG_ID_XBEE_CMD_INVALIDE 0x51
#define MSG_ID_XBEE_REPONSE 0x52
void MESSAGE_Init(void);
MESSAGE_Typedef MESSAGE_ReadMailbox(QueueHandle_t mbx);
MESSAGE_Typedef MESSAGE_ReadMailboxNoDelay(QueueHandle_t mbx);
void MESSAGE_SendMailbox(QueueHandle_t mbx_dest, uint16_t id, QueueHandle_t mbx_sender, void *data);
void MESSAGE_SendMailboxFromISR(QueueHandle_t mbx_dest, uint16_t id, QueueHandle_t mbx_sender, void *data, BaseType_t *xHigherPriorityTaskWoken);
#endif /* INC_MESSAGES_H_ */

View file

@ -8,6 +8,8 @@
#ifndef INC_SEQUENCEUR_H_
#define INC_SEQUENCEUR_H_
#include "main.h"
void SEQUENCEUR_Init(void);
#endif /* INC_SEQUENCEUR_H_ */

View file

@ -46,7 +46,7 @@
/*#define HAL_I2S_MODULE_ENABLED */
/*#define HAL_IWDG_MODULE_ENABLED */
/*#define HAL_LCD_MODULE_ENABLED */
#define HAL_LPTIM_MODULE_ENABLED
/*#define HAL_LPTIM_MODULE_ENABLED */
/*#define HAL_RNG_MODULE_ENABLED */
/*#define HAL_RTC_MODULE_ENABLED */
/*#define HAL_SPI_MODULE_ENABLED */

View file

@ -51,8 +51,8 @@ void NMI_Handler(void);
void HardFault_Handler(void);
void SysTick_Handler(void);
void EXTI2_3_IRQHandler(void);
void DMA1_Channel2_3_IRQHandler(void);
void ADC1_IRQHandler(void);
void EXTI4_15_IRQHandler(void);
void ADC1_COMP_IRQHandler(void);
void LPUART1_IRQHandler(void);
/* USER CODE BEGIN EFP */

View file

@ -8,6 +8,8 @@
#ifndef INC_XBEE_H_
#define INC_XBEE_H_
#include "main.h"
void XBEE_Init(void);
#endif /* INC_XBEE_H_ */

View file

@ -5,4 +5,121 @@
* Author: dimercur
*/
#include "main.h"
extern ADC_HandleTypeDef hadc;
uint8_t conversion_complete;
uint16_t adc_raw_value;
StaticTask_t xTaskBatterie;
/* Buffer that the task being created will use as its stack. Note this is
an array of StackType_t variables. The size of StackType_t is dependent on
the RTOS port. */
StackType_t xStackBatterie[ STACK_SIZE ];
TaskHandle_t xHandleBatterie = NULL;
TaskHandle_t task_handler;
TaskHandle_t charger_thread_handler;
void BATTERIE_VoltageThread(void* params);
void BATTERIE_Init(void) {
task_handler = NULL;
charger_thread_handler = NULL;
/* Create the task without using any dynamic memory allocation. */
xHandleBatterie = xTaskCreateStatic(
BATTERIE_VoltageThread, /* Function that implements the task. */
"BATTERIE Voltage", /* Text name for the task. */
STACK_SIZE, /* Number of indexes in the xStack array. */
NULL, /* Parameter passed into the task. */
PriorityLeds,/* Priority at which the task is created. */
xStackBatterie, /* Array to use as the task's stack. */
&xTaskBatterie); /* Variable to hold the task's data structure. */
vTaskResume(xHandleBatterie);
}
int BATTERIE_LireTension(uint16_t *val) {
uint32_t ulNotificationValue;
conversion_complete = 0;
adc_raw_value = 0;
task_handler = xTaskGetCurrentTaskHandle();
if (HAL_ADC_Start_IT(&hadc) != HAL_OK)
return -1;
ulNotificationValue = ulTaskNotifyTake( pdTRUE, pdMS_TO_TICKS(100)); // wait max 100 ms
if (ulNotificationValue == 1) {
/* The transmission ended as expected. */
*val = adc_raw_value;
} else {
/* The call to ulTaskNotifyTake() timed out. */
return -2;
}
task_handler = NULL;
return 0;
}
void BATTERIE_VoltageThread(void* params) {
static uint16_t tension;
while (1) {
if (BATTERIE_LireTension(&tension) ==0) {
MESSAGE_SendMailbox(SEQUENCEUR_Mailbox, MSG_ID_BAT_CHARGE, BATTERIE_Mailbox, (void*)&tension);
} else {
MESSAGE_SendMailbox(SEQUENCEUR_Mailbox, MSG_ID_BAT_ADC_ERR, BATTERIE_Mailbox, (void*)0x0);
}
vTaskDelay(pdMS_TO_TICKS(BATTERIE_PERIODE_SCRUTATION));
}
}
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
adc_raw_value = HAL_ADC_GetValue(hadc);
if (task_handler != NULL) {
/* Notify the task that an event has been emitted. */
vTaskNotifyGiveFromISR(task_handler, &xHigherPriorityTaskWoken );
/* There are no more eventin progress, so no tasks to notify. */
task_handler = NULL;
/* If xHigherPriorityTaskWoken is now set to pdTRUE then a context switch
should be performed to ensure the interrupt returns directly to the highest
priority task. The macro used for this purpose is dependent on the port in
use and may be called portEND_SWITCHING_ISR(). */
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
}
}
/**
* @brief This function handles EXTI line0 interrupt.
*/
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
if (GPIO_Pin == USB_SENSE_Pin) { // Le chargeur vient d'etre branché ou debranché
if (HAL_GPIO_ReadPin(GPIOB, GPIO_Pin)==GPIO_PIN_SET) // le chargeur est branché
MESSAGE_SendMailboxFromISR(SEQUENCEUR_Mailbox, MSG_ID_BAT_CHARGEUR_ON, BATTERIE_Mailbox, 0x0, &xHigherPriorityTaskWoken);
else
MESSAGE_SendMailboxFromISR(SEQUENCEUR_Mailbox, MSG_ID_BAT_CHARGEUR_OFF, BATTERIE_Mailbox, 0x0, &xHigherPriorityTaskWoken);
}
else if (GPIO_Pin == BUTTON_SENSE_Pin) { // on vient d'appuyer sur le bouton on/off
if (HAL_GPIO_ReadPin(GPIOB, GPIO_Pin)==GPIO_PIN_SET) // le chargeur est branché
MESSAGE_SendMailboxFromISR(SEQUENCEUR_Mailbox, MSG_ID_BUTTON_PRESSED, BATTERIE_Mailbox, 0x0, &xHigherPriorityTaskWoken);
}
if (xHigherPriorityTaskWoken) {
/* If xHigherPriorityTaskWoken is now set to pdTRUE then a context switch
should be performed to ensure the interrupt returns directly to the highest
priority task. The macro used for this purpose is dependent on the port in
use and may be called portEND_SWITCHING_ISR(). */
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
}
}

View file

@ -33,6 +33,7 @@ void LEDS_Init(void) {
LEDS_EteintRouge();
LEDS_Animation=leds_off;
LEDS_AnimationAncien =LEDS_Animation;
/* Mailbox is created in messages.c */
@ -48,9 +49,6 @@ void LEDS_Init(void) {
vTaskResume(xHandleLeds);
}
void LEDS_RegleAnimation(LEDS_State etat) {
LEDS_Animation=etat;
}
void LEDS_AnimationThread(void* params) {
MESSAGE_Typedef msg;

View file

@ -18,11 +18,9 @@
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include <sequenceur.h>
#include "main.h"
#include "cmsis_os.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "moteurs.h"
@ -50,14 +48,12 @@
/* Private variables ---------------------------------------------------------*/
ADC_HandleTypeDef hadc;
LPTIM_HandleTypeDef hlptim1;
UART_HandleTypeDef hlpuart1;
DMA_HandleTypeDef hdma_lpuart1_rx;
DMA_HandleTypeDef hdma_lpuart1_tx;
TIM_HandleTypeDef htim2;
TIM_HandleTypeDef htim3;
TIM_HandleTypeDef htim21;
TIM_HandleTypeDef htim22;
/* Definitions for defaultTask */
osThreadId_t defaultTaskHandle;
@ -73,12 +69,12 @@ const osThreadAttr_t defaultTask_attributes = {
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
static void MX_DMA_Init(void);
static void MX_LPTIM1_Init(void);
static void MX_ADC_Init(void);
static void MX_LPUART1_UART_Init(void);
static void MX_TIM2_Init(void);
static void MX_TIM3_Init(void);
static void MX_TIM21_Init(void);
static void MX_ADC_Init(void);
static void MX_TIM22_Init(void);
void StartDefaultTask(void *argument);
/* USER CODE BEGIN PFP */
@ -118,17 +114,21 @@ int main(void)
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_DMA_Init();
MX_LPTIM1_Init();
MX_ADC_Init();
MX_LPUART1_UART_Init();
MX_TIM2_Init();
MX_TIM3_Init();
MX_TIM21_Init();
MX_ADC_Init();
MX_TIM22_Init();
/* USER CODE BEGIN 2 */
/* Init des messages box */
MESSAGE_Init();
LEDS_Init();
XBEE_Init();
BATTERIE_Init();
MOTEURS_Init();
SEQUENCEUR_Init();
/*MOTEURS_Init();
MOTEURS_Test();*/
@ -221,10 +221,8 @@ void SystemClock_Config(void)
{
Error_Handler();
}
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_LPUART1|RCC_PERIPHCLK_LPTIM1;
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_LPUART1;
PeriphClkInit.Lpuart1ClockSelection = RCC_LPUART1CLKSOURCE_PCLK1;
PeriphClkInit.LptimClockSelection = RCC_LPTIM1CLKSOURCE_PCLK;
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
{
Error_Handler();
@ -285,40 +283,6 @@ static void MX_ADC_Init(void)
}
/**
* @brief LPTIM1 Initialization Function
* @param None
* @retval None
*/
static void MX_LPTIM1_Init(void)
{
/* USER CODE BEGIN LPTIM1_Init 0 */
/* USER CODE END LPTIM1_Init 0 */
/* USER CODE BEGIN LPTIM1_Init 1 */
/* USER CODE END LPTIM1_Init 1 */
hlptim1.Instance = LPTIM1;
hlptim1.Init.Clock.Source = LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC;
hlptim1.Init.Clock.Prescaler = LPTIM_PRESCALER_DIV1;
hlptim1.Init.UltraLowPowerClock.Polarity = LPTIM_CLOCKPOLARITY_RISING;
hlptim1.Init.UltraLowPowerClock.SampleTime = LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION;
hlptim1.Init.Trigger.Source = LPTIM_TRIGSOURCE_SOFTWARE;
hlptim1.Init.OutputPolarity = LPTIM_OUTPUTPOLARITY_HIGH;
hlptim1.Init.UpdateMode = LPTIM_UPDATE_IMMEDIATE;
hlptim1.Init.CounterSource = LPTIM_COUNTERSOURCE_EXTERNAL;
if (HAL_LPTIM_Init(&hlptim1) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN LPTIM1_Init 2 */
/* USER CODE END LPTIM1_Init 2 */
}
/**
* @brief LPUART1 Initialization Function
* @param None
@ -375,7 +339,7 @@ static void MX_TIM2_Init(void)
htim2.Instance = TIM2;
htim2.Init.Prescaler = 0;
htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
htim2.Init.Period = 255;
htim2.Init.Period = 65535;
htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
if (HAL_TIM_Base_Init(&htim2) != HAL_OK)
@ -409,14 +373,6 @@ static void MX_TIM2_Init(void)
{
Error_Handler();
}
if (HAL_TIM_PWM_ConfigChannel(&htim2, &sConfigOC, TIM_CHANNEL_3) != HAL_OK)
{
Error_Handler();
}
if (HAL_TIM_PWM_ConfigChannel(&htim2, &sConfigOC, TIM_CHANNEL_4) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN TIM2_Init 2 */
/* USER CODE END TIM2_Init 2 */
@ -424,6 +380,69 @@ static void MX_TIM2_Init(void)
}
/**
* @brief TIM3 Initialization Function
* @param None
* @retval None
*/
static void MX_TIM3_Init(void)
{
/* USER CODE BEGIN TIM3_Init 0 */
/* USER CODE END TIM3_Init 0 */
TIM_ClockConfigTypeDef sClockSourceConfig = {0};
TIM_MasterConfigTypeDef sMasterConfig = {0};
TIM_OC_InitTypeDef sConfigOC = {0};
/* USER CODE BEGIN TIM3_Init 1 */
/* USER CODE END TIM3_Init 1 */
htim3.Instance = TIM3;
htim3.Init.Prescaler = 0;
htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
htim3.Init.Period = 65535;
htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
if (HAL_TIM_Base_Init(&htim3) != HAL_OK)
{
Error_Handler();
}
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
if (HAL_TIM_ConfigClockSource(&htim3, &sClockSourceConfig) != HAL_OK)
{
Error_Handler();
}
if (HAL_TIM_PWM_Init(&htim3) != HAL_OK)
{
Error_Handler();
}
sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK)
{
Error_Handler();
}
sConfigOC.OCMode = TIM_OCMODE_PWM1;
sConfigOC.Pulse = 0;
sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_3) != HAL_OK)
{
Error_Handler();
}
if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_4) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN TIM3_Init 2 */
/* USER CODE END TIM3_Init 2 */
HAL_TIM_MspPostInit(&htim3);
}
/**
* @brief TIM21 Initialization Function
* @param None
@ -474,18 +493,51 @@ static void MX_TIM21_Init(void)
}
/**
* Enable DMA controller clock
* @brief TIM22 Initialization Function
* @param None
* @retval None
*/
static void MX_DMA_Init(void)
static void MX_TIM22_Init(void)
{
/* DMA controller clock enable */
__HAL_RCC_DMA1_CLK_ENABLE();
/* USER CODE BEGIN TIM22_Init 0 */
/* DMA interrupt init */
/* DMA1_Channel2_3_IRQn interrupt configuration */
HAL_NVIC_SetPriority(DMA1_Channel2_3_IRQn, 3, 0);
HAL_NVIC_EnableIRQ(DMA1_Channel2_3_IRQn);
/* USER CODE END TIM22_Init 0 */
TIM_Encoder_InitTypeDef sConfig = {0};
TIM_MasterConfigTypeDef sMasterConfig = {0};
/* USER CODE BEGIN TIM22_Init 1 */
/* USER CODE END TIM22_Init 1 */
htim22.Instance = TIM22;
htim22.Init.Prescaler = 0;
htim22.Init.CounterMode = TIM_COUNTERMODE_UP;
htim22.Init.Period = 65535;
htim22.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim22.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
sConfig.EncoderMode = TIM_ENCODERMODE_TI1;
sConfig.IC1Polarity = TIM_ICPOLARITY_RISING;
sConfig.IC1Selection = TIM_ICSELECTION_DIRECTTI;
sConfig.IC1Prescaler = TIM_ICPSC_DIV1;
sConfig.IC1Filter = 0;
sConfig.IC2Polarity = TIM_ICPOLARITY_RISING;
sConfig.IC2Selection = TIM_ICSELECTION_DIRECTTI;
sConfig.IC2Prescaler = TIM_ICPSC_DIV1;
sConfig.IC2Filter = 0;
if (HAL_TIM_Encoder_Init(&htim22, &sConfig) != HAL_OK)
{
Error_Handler();
}
sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
if (HAL_TIMEx_MasterConfigSynchronization(&htim22, &sMasterConfig) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN TIM22_Init 2 */
/* USER CODE END TIM22_Init 2 */
}
@ -499,16 +551,17 @@ static void MX_GPIO_Init(void)
GPIO_InitTypeDef GPIO_InitStruct = {0};
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOC_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOB, LED_ROUGE_Pin|LED_ORANGE_Pin|LED_VERTE_Pin|SHUTDOWN_ENCODERS_Pin
|SHUTDOWN_5V_Pin, GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOB, LED_ROUGE_Pin|LED_ORANGE_Pin|LED_VERTE_Pin|SHUTDOWN_5V_Pin, GPIO_PIN_RESET);
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(SHUTDOWN_GPIO_Port, SHUTDOWN_Pin, GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOB, SHUTDOWN_ENCODERS_Pin|SHUTDOWN_Pin, GPIO_PIN_SET);
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(XBEE_RESET_GPIO_Port, XBEE_RESET_Pin, GPIO_PIN_RESET);
/*Configure GPIO pins : LED_ROUGE_Pin LED_ORANGE_Pin LED_VERTE_Pin */
GPIO_InitStruct.Pin = LED_ROUGE_Pin|LED_ORANGE_Pin|LED_VERTE_Pin;
@ -517,18 +570,31 @@ static void MX_GPIO_Init(void)
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/*Configure GPIO pins : SHUTDOWN_ENCODERS_Pin SHUTDOWN_5V_Pin SHUTDOWN_Pin */
GPIO_InitStruct.Pin = SHUTDOWN_ENCODERS_Pin|SHUTDOWN_5V_Pin|SHUTDOWN_Pin;
/*Configure GPIO pins : SHUTDOWN_ENCODERS_Pin SHUTDOWN_5V_Pin */
GPIO_InitStruct.Pin = SHUTDOWN_ENCODERS_Pin|SHUTDOWN_5V_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/*Configure GPIO pins : BUTTON_SENSE_Pin USB_SENSE_Pin */
GPIO_InitStruct.Pin = BUTTON_SENSE_Pin|USB_SENSE_Pin;
/*Configure GPIO pin : XBEE_RESET_Pin */
GPIO_InitStruct.Pin = XBEE_RESET_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(XBEE_RESET_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pin : BUTTON_SENSE_Pin */
GPIO_InitStruct.Pin = BUTTON_SENSE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
HAL_GPIO_Init(BUTTON_SENSE_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pin : USB_SENSE_Pin */
GPIO_InitStruct.Pin = USB_SENSE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(USB_SENSE_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pins : CHARGER_ST2_Pin CHARGER_ST1_Pin */
GPIO_InitStruct.Pin = CHARGER_ST2_Pin|CHARGER_ST1_Pin;
@ -536,9 +602,20 @@ static void MX_GPIO_Init(void)
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/*Configure GPIO pin : SHUTDOWN_Pin */
GPIO_InitStruct.Pin = SHUTDOWN_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(SHUTDOWN_GPIO_Port, &GPIO_InitStruct);
/* EXTI interrupt init*/
HAL_NVIC_SetPriority(EXTI2_3_IRQn, 3, 0);
HAL_NVIC_EnableIRQ(EXTI2_3_IRQn);
HAL_NVIC_SetPriority(EXTI4_15_IRQn, 3, 0);
HAL_NVIC_EnableIRQ(EXTI4_15_IRQn);
}
/* USER CODE BEGIN 4 */

View file

@ -60,5 +60,17 @@ void MESSAGE_SendMailbox(QueueHandle_t mbx_dest, uint16_t id, QueueHandle_t mbx_
}
}
void MESSAGE_SendMailboxFromISR(QueueHandle_t mbx_dest, uint16_t id, QueueHandle_t mbx_sender, void *data, BaseType_t *xHigherPriorityTaskWoken) {
MESSAGE_Typedef msg;
msg.id=id;
msg.sender = &mbx_sender;
msg.data=data;
if (!xQueueSendFromISR( mbx_dest, &msg, xHigherPriorityTaskWoken)) { // envoi sans attendre
//printf("Failed to send data, Queue full.\r\n");
}
}

View file

@ -7,7 +7,7 @@
#include "main.h"
extern LPTIM_HandleTypeDef hlptim1;
//extern LPTIM_HandleTypeDef hlptim1;
extern TIM_HandleTypeDef htim2;
extern TIM_HandleTypeDef htim21;
@ -78,22 +78,23 @@ int16_t MOTEUR_LireEncodeursGauche(void) {
}
int16_t MOTEUR_LireEncodeursDroit(void) {
uint16_t loc_val= hlptim1.Instance->CNT;
uint32_t status = hlptim1.Instance->ISR;
int16_t val_end;
hlptim1.Instance->ICR=0xFF; // refait descendre les flags ISR
if (status & LPTIM_ISR_ARRM) {
val_end = 0xFFFF-loc_val + MOTEUR_DerniereValEncodeursD;
} else {
val_end = MOTEUR_DerniereValEncodeursD-loc_val;
}
val_end= -val_end;
MOTEUR_DerniereValEncodeursD = loc_val;
return val_end;
// uint16_t loc_val= hlptim1.Instance->CNT;
// uint32_t status = hlptim1.Instance->ISR;
// int16_t val_end;
//
// hlptim1.Instance->ICR=0xFF; // refait descendre les flags ISR
//
// if (status & LPTIM_ISR_ARRM) {
// val_end = 0xFFFF-loc_val + MOTEUR_DerniereValEncodeursD;
// } else {
// val_end = MOTEUR_DerniereValEncodeursD-loc_val;
// }
//
// val_end= -val_end;
//
// MOTEUR_DerniereValEncodeursD = loc_val;
// return val_end;
return 0;
}
/**
@ -103,13 +104,13 @@ void MOTEURS_Init(void) {
/* Desactive les alimentations des moteurs */
MOTEURS_DesactiveAlim();
/* Lance les timers (timers PWM + timers encodeurs) et regle tout à zero*/
hlptim1.Instance->CR = LPTIM_CR_ENABLE;
hlptim1.Instance->CR = LPTIM_CR_ENABLE | LPTIM_CR_CNTSTRT;
hlptim1.Instance->ARR = 65535;
hlptim1.Instance->CFGR = LPTIM_CFGR_ENC;
hlptim1.Instance->CNT = 0;
// /* Lance les timers (timers PWM + timers encodeurs) et regle tout à zero*/
// hlptim1.Instance->CR = LPTIM_CR_ENABLE;
// hlptim1.Instance->CR = LPTIM_CR_ENABLE | LPTIM_CR_CNTSTRT;
// hlptim1.Instance->ARR = 65535;
// hlptim1.Instance->CFGR = LPTIM_CFGR_ENC;
//
// hlptim1.Instance->CNT = 0;
htim21.Instance->ARR = 65535;
htim21.Instance->CR1 = htim21.Instance->CR1 | TIM_CR1_CEN| TIM_CR1_URS;

View file

@ -5,4 +5,61 @@
* Author: dimercur
*/
#include "sequenceur.h"
StaticTask_t xTaskSequenceurMain;
/* Buffer that the task being created will use as its stack. Note this is
an array of StackType_t variables. The size of StackType_t is dependent on
the RTOS port. */
StackType_t xStackSequenceurMain[ STACK_SIZE ];
TaskHandle_t xHandleSequenceurMain = NULL;
StaticTask_t xTaskSequenceurTimeout;
/* Buffer that the task being created will use as its stack. Note this is
an array of StackType_t variables. The size of StackType_t is dependent on
the RTOS port. */
StackType_t xStackSequenceurTimeout[ STACK_SIZE ];
TaskHandle_t xHandleSequenceurTimeout = NULL;
void SEQUENCEUR_MainThread(void* params);
void SEQUENCEUR_TimeoutThread(void* params);
uint16_t SEQUENCEUR_CntTimeout;
uint16_t SEQUENCEUR_CntPowerOff;
void SEQUENCEUR_Init(void) {
/* Create the task without using any dynamic memory allocation. */
xHandleSequenceurMain = xTaskCreateStatic(
SEQUENCEUR_MainThread, /* Function that implements the task. */
"SEQUENCEUR Main", /* Text name for the task. */
STACK_SIZE, /* Number of indexes in the xStack array. */
NULL, /* Parameter passed into the task. */
PrioritySequenceurMain,/* Priority at which the task is created. */
xStackSequenceurMain, /* Array to use as the task's stack. */
&xTaskSequenceurMain); /* Variable to hold the task's data structure. */
vTaskResume(xHandleSequenceurMain);
/* Create the task without using any dynamic memory allocation. */
xHandleSequenceurTimeout = xTaskCreateStatic(
SEQUENCEUR_TimeoutThread, /* Function that implements the task. */
"SEQUENCEUR Timeout", /* Text name for the task. */
STACK_SIZE, /* Number of indexes in the xStack array. */
NULL, /* Parameter passed into the task. */
PrioritySequenceurTimeout,/* Priority at which the task is created. */
xStackSequenceurTimeout, /* Array to use as the task's stack. */
&xTaskSequenceurTimeout); /* Variable to hold the task's data structure. */
vTaskResume(xHandleSequenceurTimeout);
SEQUENCEUR_CntTimeout =0;
SEQUENCEUR_CntPowerOff=0;
}
void SEQUENCEUR_MainThread(void* params) {
}
void SEQUENCEUR_TimeoutThread(void* params) {
}

View file

@ -24,9 +24,6 @@
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
extern DMA_HandleTypeDef hdma_lpuart1_rx;
extern DMA_HandleTypeDef hdma_lpuart1_tx;
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN TD */
@ -111,8 +108,8 @@ void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
HAL_GPIO_Init(BATTERY_SENSE_GPIO_Port, &GPIO_InitStruct);
/* ADC1 interrupt Init */
HAL_NVIC_SetPriority(ADC1_IRQn, 3, 0);
HAL_NVIC_EnableIRQ(ADC1_IRQn);
HAL_NVIC_SetPriority(ADC1_COMP_IRQn, 3, 0);
HAL_NVIC_EnableIRQ(ADC1_COMP_IRQn);
/* USER CODE BEGIN ADC1_MspInit 1 */
/* USER CODE END ADC1_MspInit 1 */
@ -142,7 +139,7 @@ void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
HAL_GPIO_DeInit(BATTERY_SENSE_GPIO_Port, BATTERY_SENSE_Pin);
/* ADC1 interrupt DeInit */
HAL_NVIC_DisableIRQ(ADC1_IRQn);
HAL_NVIC_DisableIRQ(ADC1_COMP_IRQn);
/* USER CODE BEGIN ADC1_MspDeInit 1 */
/* USER CODE END ADC1_MspDeInit 1 */
@ -150,81 +147,6 @@ void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
}
/**
* @brief LPTIM MSP Initialization
* This function configures the hardware resources used in this example
* @param hlptim: LPTIM handle pointer
* @retval None
*/
void HAL_LPTIM_MspInit(LPTIM_HandleTypeDef* hlptim)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(hlptim->Instance==LPTIM1)
{
/* USER CODE BEGIN LPTIM1_MspInit 0 */
/* USER CODE END LPTIM1_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_LPTIM1_CLK_ENABLE();
__HAL_RCC_GPIOC_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
/**LPTIM1 GPIO Configuration
PC0 ------> LPTIM1_IN1
PA5 ------> LPTIM1_IN2
*/
GPIO_InitStruct.Pin = ENC_PHA_GAUCHE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF0_LPTIM1;
HAL_GPIO_Init(ENC_PHA_GAUCHE_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = ENC_PHB_GAUCHE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF1_LPTIM1;
HAL_GPIO_Init(ENC_PHB_GAUCHE_GPIO_Port, &GPIO_InitStruct);
/* USER CODE BEGIN LPTIM1_MspInit 1 */
/* USER CODE END LPTIM1_MspInit 1 */
}
}
/**
* @brief LPTIM MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param hlptim: LPTIM handle pointer
* @retval None
*/
void HAL_LPTIM_MspDeInit(LPTIM_HandleTypeDef* hlptim)
{
if(hlptim->Instance==LPTIM1)
{
/* USER CODE BEGIN LPTIM1_MspDeInit 0 */
/* USER CODE END LPTIM1_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_LPTIM1_CLK_DISABLE();
/**LPTIM1 GPIO Configuration
PC0 ------> LPTIM1_IN1
PA5 ------> LPTIM1_IN2
*/
HAL_GPIO_DeInit(ENC_PHA_GAUCHE_GPIO_Port, ENC_PHA_GAUCHE_Pin);
HAL_GPIO_DeInit(ENC_PHB_GAUCHE_GPIO_Port, ENC_PHB_GAUCHE_Pin);
/* USER CODE BEGIN LPTIM1_MspDeInit 1 */
/* USER CODE END LPTIM1_MspDeInit 1 */
}
}
/**
* @brief UART MSP Initialization
* This function configures the hardware resources used in this example
@ -247,48 +169,13 @@ void HAL_UART_MspInit(UART_HandleTypeDef* huart)
PB10 ------> LPUART1_TX
PB11 ------> LPUART1_RX
*/
GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11;
GPIO_InitStruct.Pin = USART_TX_Pin|USART_RX_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF6_LPUART1;
GPIO_InitStruct.Alternate = GPIO_AF4_LPUART1;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* LPUART1 DMA Init */
/* LPUART1_RX Init */
hdma_lpuart1_rx.Instance = DMA1_Channel3;
hdma_lpuart1_rx.Init.Request = DMA_REQUEST_5;
hdma_lpuart1_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
hdma_lpuart1_rx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_lpuart1_rx.Init.MemInc = DMA_MINC_ENABLE;
hdma_lpuart1_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
hdma_lpuart1_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
hdma_lpuart1_rx.Init.Mode = DMA_NORMAL;
hdma_lpuart1_rx.Init.Priority = DMA_PRIORITY_HIGH;
if (HAL_DMA_Init(&hdma_lpuart1_rx) != HAL_OK)
{
Error_Handler();
}
__HAL_LINKDMA(huart,hdmarx,hdma_lpuart1_rx);
/* LPUART1_TX Init */
hdma_lpuart1_tx.Instance = DMA1_Channel2;
hdma_lpuart1_tx.Init.Request = DMA_REQUEST_5;
hdma_lpuart1_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
hdma_lpuart1_tx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_lpuart1_tx.Init.MemInc = DMA_MINC_ENABLE;
hdma_lpuart1_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
hdma_lpuart1_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
hdma_lpuart1_tx.Init.Mode = DMA_NORMAL;
hdma_lpuart1_tx.Init.Priority = DMA_PRIORITY_HIGH;
if (HAL_DMA_Init(&hdma_lpuart1_tx) != HAL_OK)
{
Error_Handler();
}
__HAL_LINKDMA(huart,hdmatx,hdma_lpuart1_tx);
/* LPUART1 interrupt Init */
HAL_NVIC_SetPriority(LPUART1_IRQn, 3, 0);
HAL_NVIC_EnableIRQ(LPUART1_IRQn);
@ -319,11 +206,7 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
PB10 ------> LPUART1_TX
PB11 ------> LPUART1_RX
*/
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_10|GPIO_PIN_11);
/* LPUART1 DMA DeInit */
HAL_DMA_DeInit(huart->hdmarx);
HAL_DMA_DeInit(huart->hdmatx);
HAL_GPIO_DeInit(GPIOB, USART_TX_Pin|USART_RX_Pin);
/* LPUART1 interrupt DeInit */
HAL_NVIC_DisableIRQ(LPUART1_IRQn);
@ -353,6 +236,17 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base)
/* USER CODE END TIM2_MspInit 1 */
}
else if(htim_base->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspInit 0 */
/* USER CODE END TIM3_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM3_CLK_ENABLE();
/* USER CODE BEGIN TIM3_MspInit 1 */
/* USER CODE END TIM3_MspInit 1 */
}
}
@ -389,6 +283,30 @@ void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef* htim_encoder)
/* USER CODE END TIM21_MspInit 1 */
}
else if(htim_encoder->Instance==TIM22)
{
/* USER CODE BEGIN TIM22_MspInit 0 */
/* USER CODE END TIM22_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM22_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
/**TIM22 GPIO Configuration
PA6 ------> TIM22_CH1
PA7 ------> TIM22_CH2
*/
GPIO_InitStruct.Pin = ENC_PHB_GAUCHE_Pin|ENC_PHA_GAUCHE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF5_TIM22;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/* USER CODE BEGIN TIM22_MspInit 1 */
/* USER CODE END TIM22_MspInit 1 */
}
}
@ -400,33 +318,22 @@ void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim)
/* USER CODE BEGIN TIM2_MspPostInit 0 */
/* USER CODE END TIM2_MspPostInit 0 */
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**TIM2 GPIO Configuration
PA1 ------> TIM2_CH2
PB0 ------> TIM2_CH3
PB1 ------> TIM2_CH4
PA8 ------> TIM2_CH1
PA15 ------> TIM2_CH1
*/
GPIO_InitStruct.Pin = PWM_B_GAUCHE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF2_TIM2;
HAL_GPIO_Init(PWM_B_GAUCHE_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = PWM_A_DROIT_Pin|PWM_B_DROIT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF5_TIM2;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
GPIO_InitStruct.Pin = PWM_A_GAUCHE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF5_TIM2;
HAL_GPIO_Init(PWM_A_GAUCHE_GPIO_Port, &GPIO_InitStruct);
@ -434,6 +341,28 @@ void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim)
/* USER CODE END TIM2_MspPostInit 1 */
}
else if(htim->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspPostInit 0 */
/* USER CODE END TIM3_MspPostInit 0 */
__HAL_RCC_GPIOB_CLK_ENABLE();
/**TIM3 GPIO Configuration
PB0 ------> TIM3_CH3
PB1 ------> TIM3_CH4
*/
GPIO_InitStruct.Pin = PWM_A_DROIT_Pin|PWM_B_DROIT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF2_TIM3;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN TIM3_MspPostInit 1 */
/* USER CODE END TIM3_MspPostInit 1 */
}
}
/**
@ -455,6 +384,17 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* htim_base)
/* USER CODE END TIM2_MspDeInit 1 */
}
else if(htim_base->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspDeInit 0 */
/* USER CODE END TIM3_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM3_CLK_DISABLE();
/* USER CODE BEGIN TIM3_MspDeInit 1 */
/* USER CODE END TIM3_MspDeInit 1 */
}
}
@ -484,6 +424,24 @@ void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef* htim_encoder)
/* USER CODE END TIM21_MspDeInit 1 */
}
else if(htim_encoder->Instance==TIM22)
{
/* USER CODE BEGIN TIM22_MspDeInit 0 */
/* USER CODE END TIM22_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM22_CLK_DISABLE();
/**TIM22 GPIO Configuration
PA6 ------> TIM22_CH1
PA7 ------> TIM22_CH2
*/
HAL_GPIO_DeInit(GPIOA, ENC_PHB_GAUCHE_Pin|ENC_PHA_GAUCHE_Pin);
/* USER CODE BEGIN TIM22_MspDeInit 1 */
/* USER CODE END TIM22_MspDeInit 1 */
}
}

View file

@ -59,8 +59,6 @@
/* External variables --------------------------------------------------------*/
extern ADC_HandleTypeDef hadc;
extern DMA_HandleTypeDef hdma_lpuart1_rx;
extern DMA_HandleTypeDef hdma_lpuart1_tx;
extern UART_HandleTypeDef hlpuart1;
/* USER CODE BEGIN EV */
@ -143,32 +141,31 @@ void EXTI2_3_IRQHandler(void)
}
/**
* @brief This function handles DMA1 channel 2 and channel 3 interrupts.
* @brief This function handles EXTI line 4 to 15 interrupts.
*/
void DMA1_Channel2_3_IRQHandler(void)
void EXTI4_15_IRQHandler(void)
{
/* USER CODE BEGIN DMA1_Channel2_3_IRQn 0 */
/* USER CODE BEGIN EXTI4_15_IRQn 0 */
/* USER CODE END DMA1_Channel2_3_IRQn 0 */
HAL_DMA_IRQHandler(&hdma_lpuart1_tx);
HAL_DMA_IRQHandler(&hdma_lpuart1_rx);
/* USER CODE BEGIN DMA1_Channel2_3_IRQn 1 */
/* USER CODE END EXTI4_15_IRQn 0 */
HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_4);
/* USER CODE BEGIN EXTI4_15_IRQn 1 */
/* USER CODE END DMA1_Channel2_3_IRQn 1 */
/* USER CODE END EXTI4_15_IRQn 1 */
}
/**
* @brief This function handles ADC global interrupt.
* @brief This function handles ADC, COMP1 and COMP2 interrupts (COMP interrupts through EXTI lines 21 and 22).
*/
void ADC1_IRQHandler(void)
void ADC1_COMP_IRQHandler(void)
{
/* USER CODE BEGIN ADC1_IRQn 0 */
/* USER CODE BEGIN ADC1_COMP_IRQn 0 */
/* USER CODE END ADC1_IRQn 0 */
/* USER CODE END ADC1_COMP_IRQn 0 */
HAL_ADC_IRQHandler(&hadc);
/* USER CODE BEGIN ADC1_IRQn 1 */
/* USER CODE BEGIN ADC1_COMP_IRQn 1 */
/* USER CODE END ADC1_IRQn 1 */
/* USER CODE END ADC1_COMP_IRQn 1 */
}
/**

View file

@ -6,3 +6,55 @@
*/
#include "xbee.h"
StaticTask_t xTaskXbeeRX;
/* Buffer that the task being created will use as its stack. Note this is
an array of StackType_t variables. The size of StackType_t is dependent on
the RTOS port. */
StackType_t xStackXbeeRX[ STACK_SIZE ];
TaskHandle_t xHandleXbeeRX = NULL;
StaticTask_t xTaskXbeeTX;
/* Buffer that the task being created will use as its stack. Note this is
an array of StackType_t variables. The size of StackType_t is dependent on
the RTOS port. */
StackType_t xStackXbeeTX[ STACK_SIZE ];
TaskHandle_t xHandleXbeeTX = NULL;
void XBEE_RxThread(void* params);
void XBEE_TxThread(void* params);
void XBEE_Init(void) {
/* Create the task without using any dynamic memory allocation. */
xHandleXbeeTX = xTaskCreateStatic(
XBEE_TxThread, /* Function that implements the task. */
"XBEE Tx", /* Text name for the task. */
STACK_SIZE, /* Number of indexes in the xStack array. */
NULL, /* Parameter passed into the task. */
PriorityXbeeTX,/* Priority at which the task is created. */
xStackXbeeTX, /* Array to use as the task's stack. */
&xTaskXbeeTX); /* Variable to hold the task's data structure. */
vTaskResume(xHandleXbeeTX);
/* Create the task without using any dynamic memory allocation. */
xHandleXbeeRX = xTaskCreateStatic(
XBEE_RxThread, /* Function that implements the task. */
"XBEE Rx", /* Text name for the task. */
STACK_SIZE, /* Number of indexes in the xStack array. */
NULL, /* Parameter passed into the task. */
PriorityXbeeRX,/* Priority at which the task is created. */
xStackXbeeRX, /* Array to use as the task's stack. */
&xTaskXbeeRX); /* Variable to hold the task's data structure. */
vTaskResume(xHandleXbeeRX);
}
void XBEE_TxThread(void* params) {
}
void XBEE_RxThread(void* params) {
}

View file

@ -1,2 +0,0 @@
freertos.c:57:13:PreSleepProcessing 16 static
freertos.c:62:13:PostSleepProcessing 16 static

View file

@ -1,3 +0,0 @@
leds.c:30:6:LEDS_Init 24 static
leds.c:51:6:LEDS_RegleAnimation 16 static
leds.c:55:6:LEDS_AnimationThread 40 static

View file

@ -1,12 +0,0 @@
main.c:97:5:main 8 static
main.c:188:6:SystemClock_Config 112 static
main.c:239:13:MX_ADC_Init 16 static
main.c:293:13:MX_LPTIM1_Init 8 static
main.c:327:13:MX_LPUART1_UART_Init 8 static
main.c:361:13:MX_TIM2_Init 48 static
main.c:432:13:MX_TIM21_Init 64 static
main.c:479:13:MX_DMA_Init 16 static
main.c:497:13:MX_GPIO_Init 48 static
main.c:545:12:msToTicks 24 static
main.c:567:6:StartDefaultTask 32 static
main.c:590:6:Error_Handler 8 static,ignoring_inline_asm

View file

@ -1,4 +0,0 @@
messages.c:19:7:MESSAGE_Init 8 static
messages.c:27:17:MESSAGE_ReadMailbox 40 static
messages.c:42:17:MESSAGE_ReadMailboxNoDelay 40 static
messages.c:51:6:MESSAGE_SendMailbox 40 static

View file

@ -1,8 +0,0 @@
moteurs.c:43:6:MOTEURS_DesactiveAlim 8 static
moteurs.c:51:6:MOTEURS_ActiveAlim 8 static
moteurs.c:59:15:MOTEURS_EtatAlim 8 static
moteurs.c:63:9:MOTEUR_LireEncodeursGauche 16 static
moteurs.c:80:9:MOTEUR_LireEncodeursDroit 16 static
moteurs.c:102:6:MOTEURS_Init 8 static
moteurs.c:137:6:MOTEURS_Set 24 static
moteurs.c:170:6:MOTEURS_Test 16 static

View file

@ -1,12 +0,0 @@
stm32l0xx_hal_msp.c:69:6:HAL_MspInit 8 static
stm32l0xx_hal_msp.c:93:6:HAL_ADC_MspInit 48 static
stm32l0xx_hal_msp.c:129:6:HAL_ADC_MspDeInit 16 static
stm32l0xx_hal_msp.c:159:6:HAL_LPTIM_MspInit 56 static
stm32l0xx_hal_msp.c:203:6:HAL_LPTIM_MspDeInit 16 static
stm32l0xx_hal_msp.c:234:6:HAL_UART_MspInit 48 static
stm32l0xx_hal_msp.c:308:6:HAL_UART_MspDeInit 16 static
stm32l0xx_hal_msp.c:343:6:HAL_TIM_Base_MspInit 16 static
stm32l0xx_hal_msp.c:365:6:HAL_TIM_Encoder_MspInit 48 static
stm32l0xx_hal_msp.c:395:6:HAL_TIM_MspPostInit 56 static
stm32l0xx_hal_msp.c:445:6:HAL_TIM_Base_MspDeInit 16 static
stm32l0xx_hal_msp.c:467:6:HAL_TIM_Encoder_MspDeInit 16 static

View file

@ -1,7 +0,0 @@
stm32l0xx_it.c:75:6:NMI_Handler 8 static
stm32l0xx_it.c:90:6:HardFault_Handler 8 static
stm32l0xx_it.c:105:6:SysTick_Handler 8 static
stm32l0xx_it.c:134:6:EXTI2_3_IRQHandler 8 static
stm32l0xx_it.c:148:6:DMA1_Channel2_3_IRQHandler 8 static
stm32l0xx_it.c:163:6:ADC1_IRQHandler 8 static
stm32l0xx_it.c:177:6:LPUART1_IRQHandler 8 static

View file

@ -1,56 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Core/Src/batterie.c \
../Core/Src/freertos.c \
../Core/Src/leds.c \
../Core/Src/main.c \
../Core/Src/messages.c \
../Core/Src/moteurs.c \
../Core/Src/sequenceur.c \
../Core/Src/stm32l0xx_hal_msp.c \
../Core/Src/stm32l0xx_it.c \
../Core/Src/syscalls.c \
../Core/Src/sysmem.c \
../Core/Src/system_stm32l0xx.c \
../Core/Src/xbee.c
OBJS += \
./Core/Src/batterie.o \
./Core/Src/freertos.o \
./Core/Src/leds.o \
./Core/Src/main.o \
./Core/Src/messages.o \
./Core/Src/moteurs.o \
./Core/Src/sequenceur.o \
./Core/Src/stm32l0xx_hal_msp.o \
./Core/Src/stm32l0xx_it.o \
./Core/Src/syscalls.o \
./Core/Src/sysmem.o \
./Core/Src/system_stm32l0xx.o \
./Core/Src/xbee.o
C_DEPS += \
./Core/Src/batterie.d \
./Core/Src/freertos.d \
./Core/Src/leds.d \
./Core/Src/main.d \
./Core/Src/messages.d \
./Core/Src/moteurs.d \
./Core/Src/sequenceur.d \
./Core/Src/stm32l0xx_hal_msp.d \
./Core/Src/stm32l0xx_it.d \
./Core/Src/syscalls.d \
./Core/Src/sysmem.d \
./Core/Src/system_stm32l0xx.d \
./Core/Src/xbee.d
# Each subdirectory must supply rules for building sources it contributes
Core/Src/%.o: ../Core/Src/%.c Core/Src/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L010x6 -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"

View file

@ -1,18 +0,0 @@
syscalls.c:45:6:initialise_monitor_handles 8 static
syscalls.c:49:5:_getpid 8 static
syscalls.c:54:5:_kill 16 static
syscalls.c:60:6:_exit 16 static
syscalls.c:66:27:_read 32 static
syscalls.c:78:27:_write 32 static
syscalls.c:89:5:_close 16 static
syscalls.c:95:5:_fstat 16 static
syscalls.c:101:5:_isatty 16 static
syscalls.c:106:5:_lseek 24 static
syscalls.c:111:5:_open 20 static
syscalls.c:117:5:_wait 16 static
syscalls.c:123:5:_unlink 16 static
syscalls.c:129:5:_times 16 static
syscalls.c:134:5:_stat 16 static
syscalls.c:140:5:_link 16 static
syscalls.c:146:5:_fork 8 static
syscalls.c:152:5:_execve 24 static

View file

@ -1 +0,0 @@
sysmem.c:54:7:_sbrk 32 static

View file

@ -1,2 +0,0 @@
system_stm32l0xx.c:154:6:SystemInit 8 static
system_stm32l0xx.c:200:6:SystemCoreClockUpdate 32 static

View file

@ -1,20 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
S_SRCS += \
../Core/Startup/startup_stm32l010c6tx.s
OBJS += \
./Core/Startup/startup_stm32l010c6tx.o
S_DEPS += \
./Core/Startup/startup_stm32l010c6tx.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-m0plus -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"

View file

@ -1,31 +0,0 @@
stm32l0xx_hal.c:140:19:HAL_Init 16 static
stm32l0xx_hal.c:178:19:HAL_DeInit 8 static
stm32l0xx_hal.c:204:13:HAL_MspInit 8 static
stm32l0xx_hal.c:215:13:HAL_MspDeInit 8 static
stm32l0xx_hal.c:238:26:HAL_InitTick 24 static
stm32l0xx_hal.c:294:13:HAL_IncTick 8 static
stm32l0xx_hal.c:305:17:HAL_GetTick 8 static
stm32l0xx_hal.c:314:10:HAL_GetTickPrio 8 static
stm32l0xx_hal.c:323:19:HAL_SetTickFreq 40 static
stm32l0xx_hal.c:355:21:HAL_GetTickFreq 8 static
stm32l0xx_hal.c:371:13:HAL_Delay 24 static
stm32l0xx_hal.c:397:13:HAL_SuspendTick 8 static
stm32l0xx_hal.c:413:13:HAL_ResumeTick 8 static
stm32l0xx_hal.c:423:10:HAL_GetHalVersion 8 static
stm32l0xx_hal.c:432:10:HAL_GetREVID 8 static
stm32l0xx_hal.c:441:10:HAL_GetDEVID 8 static
stm32l0xx_hal.c:450:10:HAL_GetUIDw0 8 static
stm32l0xx_hal.c:459:10:HAL_GetUIDw1 8 static
stm32l0xx_hal.c:468:10:HAL_GetUIDw2 8 static
stm32l0xx_hal.c:497:6:HAL_DBGMCU_EnableDBGSleepMode 8 static
stm32l0xx_hal.c:506:6:HAL_DBGMCU_DisableDBGSleepMode 8 static
stm32l0xx_hal.c:515:6:HAL_DBGMCU_EnableDBGStopMode 8 static
stm32l0xx_hal.c:524:6:HAL_DBGMCU_DisableDBGStopMode 8 static
stm32l0xx_hal.c:533:6:HAL_DBGMCU_EnableDBGStandbyMode 8 static
stm32l0xx_hal.c:542:6:HAL_DBGMCU_DisableDBGStandbyMode 8 static
stm32l0xx_hal.c:556:6:HAL_DBGMCU_DBG_EnableLowPowerConfig 16 static
stm32l0xx_hal.c:573:6:HAL_DBGMCU_DBG_DisableLowPowerConfig 16 static
stm32l0xx_hal.c:610:11:HAL_SYSCFG_GetBootMode 8 static
stm32l0xx_hal.c:627:6:HAL_SYSCFG_VREFINT_OutputSelect 16 static
stm32l0xx_hal.c:641:6:HAL_SYSCFG_Enable_Lock_VREFINT 8 static
stm32l0xx_hal.c:651:6:HAL_SYSCFG_Disable_Lock_VREFINT 8 static

View file

@ -1,29 +0,0 @@
stm32l0xx_hal_adc.c:402:19:HAL_ADC_Init 16 static
stm32l0xx_hal_adc.c:648:19:HAL_ADC_DeInit 32 static
stm32l0xx_hal_adc.c:779:13:HAL_ADC_MspInit 16 static
stm32l0xx_hal_adc.c:794:13:HAL_ADC_MspDeInit 16 static
stm32l0xx_hal_adc.c:1032:19:HAL_ADC_Start 32 static
stm32l0xx_hal_adc.c:1098:19:HAL_ADC_Stop 32 static
stm32l0xx_hal_adc.c:1152:19:HAL_ADC_PollForConversion 24 static
stm32l0xx_hal_adc.c:1282:19:HAL_ADC_PollForEvent 32 static
stm32l0xx_hal_adc.c:1369:19:HAL_ADC_Start_IT 32 static
stm32l0xx_hal_adc.c:1450:19:HAL_ADC_Stop_IT 32 static
stm32l0xx_hal_adc.c:1500:19:HAL_ADC_Start_DMA 40 static
stm32l0xx_hal_adc.c:1590:19:HAL_ADC_Stop_DMA 32 static
stm32l0xx_hal_adc.c:1675:10:HAL_ADC_GetValue 16 static
stm32l0xx_hal_adc.c:1692:6:HAL_ADC_IRQHandler 16 static
stm32l0xx_hal_adc.c:1823:13:HAL_ADC_ConvCpltCallback 16 static
stm32l0xx_hal_adc.c:1838:13:HAL_ADC_ConvHalfCpltCallback 16 static
stm32l0xx_hal_adc.c:1853:13:HAL_ADC_LevelOutOfWindowCallback 16 static
stm32l0xx_hal_adc.c:1875:13:HAL_ADC_ErrorCallback 16 static
stm32l0xx_hal_adc.c:1926:19:HAL_ADC_ConfigChannel 16 static
stm32l0xx_hal_adc.c:2045:19:HAL_ADC_AnalogWDGConfig 32 static
stm32l0xx_hal_adc.c:2162:10:HAL_ADC_GetState 16 static
stm32l0xx_hal_adc.c:2176:10:HAL_ADC_GetError 16 static
stm32l0xx_hal_adc.c:2209:26:ADC_Enable 24 static
stm32l0xx_hal_adc.c:2271:26:ADC_Disable 24 static
stm32l0xx_hal_adc.c:2332:26:ADC_ConversionStop 24 static
stm32l0xx_hal_adc.c:2386:13:ADC_DMAConvCplt 24 static
stm32l0xx_hal_adc.c:2450:13:ADC_DMAHalfConvCplt 24 static
stm32l0xx_hal_adc.c:2468:13:ADC_DMAError 24 static
stm32l0xx_hal_adc.c:2492:13:ADC_DelayMicroSecond 24 static

View file

@ -1,7 +0,0 @@
stm32l0xx_hal_adc_ex.c:107:19:HAL_ADCEx_Calibration_Start 32 static
stm32l0xx_hal_adc_ex.c:192:10:HAL_ADCEx_Calibration_GetValue 16 static
stm32l0xx_hal_adc_ex.c:211:19:HAL_ADCEx_Calibration_SetValue 32 static
stm32l0xx_hal_adc_ex.c:259:19:HAL_ADCEx_EnableVREFINT 16 static
stm32l0xx_hal_adc_ex.c:291:6:HAL_ADCEx_DisableVREFINT 8 static
stm32l0xx_hal_adc_ex.c:306:19:HAL_ADCEx_EnableVREFINTTempSensor 16 static
stm32l0xx_hal_adc_ex.c:338:6:HAL_ADCEx_DisableVREFINTTempSensor 8 static

View file

@ -1,21 +0,0 @@
core_cm0plus.h:741:22:__NVIC_EnableIRQ 16 static
core_cm0plus.h:777:22:__NVIC_DisableIRQ 16 static,ignoring_inline_asm
core_cm0plus.h:796:26:__NVIC_GetPendingIRQ 16 static
core_cm0plus.h:815:22:__NVIC_SetPendingIRQ 16 static
core_cm0plus.h:830:22:__NVIC_ClearPendingIRQ 16 static
core_cm0plus.h:848:22:__NVIC_SetPriority 24 static
core_cm0plus.h:872:26:__NVIC_GetPriority 16 static
core_cm0plus.h:983:34:__NVIC_SystemReset 8 static,ignoring_inline_asm
core_cm0plus.h:1054:26:SysTick_Config 16 static
stm32l0xx_hal_cortex.c:132:6:HAL_NVIC_SetPriority 24 static
stm32l0xx_hal_cortex.c:148:6:HAL_NVIC_EnableIRQ 16 static
stm32l0xx_hal_cortex.c:164:6:HAL_NVIC_DisableIRQ 16 static
stm32l0xx_hal_cortex.c:177:6:HAL_NVIC_SystemReset 8 static
stm32l0xx_hal_cortex.c:190:10:HAL_SYSTICK_Config 16 static
stm32l0xx_hal_cortex.c:222:10:HAL_NVIC_GetPriority 16 static
stm32l0xx_hal_cortex.c:235:6:HAL_NVIC_SetPendingIRQ 16 static
stm32l0xx_hal_cortex.c:250:10:HAL_NVIC_GetPendingIRQ 16 static
stm32l0xx_hal_cortex.c:263:6:HAL_NVIC_ClearPendingIRQ 16 static
stm32l0xx_hal_cortex.c:278:6:HAL_SYSTICK_CLKSourceConfig 16 static
stm32l0xx_hal_cortex.c:296:6:HAL_SYSTICK_IRQHandler 8 static
stm32l0xx_hal_cortex.c:305:13:HAL_SYSTICK_Callback 8 static

View file

@ -1,13 +0,0 @@
stm32l0xx_hal_dma.c:139:19:HAL_DMA_Init 24 static
stm32l0xx_hal_dma.c:214:19:HAL_DMA_DeInit 16 static
stm32l0xx_hal_dma.c:294:19:HAL_DMA_Start 32 static
stm32l0xx_hal_dma.c:337:19:HAL_DMA_Start_IT 32 static
stm32l0xx_hal_dma.c:392:19:HAL_DMA_Abort 24 static
stm32l0xx_hal_dma.c:433:19:HAL_DMA_Abort_IT 24 static
stm32l0xx_hal_dma.c:478:19:HAL_DMA_PollForTransfer 32 static
stm32l0xx_hal_dma.c:579:6:HAL_DMA_IRQHandler 24 static
stm32l0xx_hal_dma.c:673:19:HAL_DMA_RegisterCallback 32 static
stm32l0xx_hal_dma.c:724:19:HAL_DMA_UnRegisterCallback 24 static
stm32l0xx_hal_dma.c:802:22:HAL_DMA_GetState 16 static
stm32l0xx_hal_dma.c:814:10:HAL_DMA_GetError 16 static
stm32l0xx_hal_dma.c:840:13:DMA_SetConfig 24 static

View file

@ -1,9 +0,0 @@
stm32l0xx_hal_exti.c:143:19:HAL_EXTI_SetConfigLine 32 static
stm32l0xx_hal_exti.c:238:19:HAL_EXTI_GetConfigLine 32 static
stm32l0xx_hal_exti.c:317:19:HAL_EXTI_ClearConfigLine 32 static
stm32l0xx_hal_exti.c:370:19:HAL_EXTI_RegisterCallback 32 static
stm32l0xx_hal_exti.c:395:19:HAL_EXTI_GetHandle 16 static
stm32l0xx_hal_exti.c:435:6:HAL_EXTI_IRQHandler 24 static
stm32l0xx_hal_exti.c:467:10:HAL_EXTI_GetPending 32 static
stm32l0xx_hal_exti.c:496:6:HAL_EXTI_ClearPending 24 static
stm32l0xx_hal_exti.c:517:6:HAL_EXTI_GenerateSWI 24 static

View file

@ -1,13 +0,0 @@
stm32l0xx_hal_flash.c:231:19:HAL_FLASH_Program 40 static
stm32l0xx_hal_flash.c:273:19:HAL_FLASH_Program_IT 32 static
stm32l0xx_hal_flash.c:304:6:HAL_FLASH_IRQHandler 16 static
stm32l0xx_hal_flash.c:428:13:HAL_FLASH_EndOfOperationCallback 16 static
stm32l0xx_hal_flash.c:445:13:HAL_FLASH_OperationErrorCallback 16 static
stm32l0xx_hal_flash.c:478:19:HAL_FLASH_Unlock 32 static,ignoring_inline_asm
stm32l0xx_hal_flash.c:527:19:HAL_FLASH_Lock 8 static
stm32l0xx_hal_flash.c:542:19:HAL_FLASH_OB_Unlock 24 static,ignoring_inline_asm
stm32l0xx_hal_flash.c:579:19:HAL_FLASH_OB_Lock 8 static
stm32l0xx_hal_flash.c:592:19:HAL_FLASH_OB_Launch 8 static
stm32l0xx_hal_flash.c:624:10:HAL_FLASH_GetError 8 static
stm32l0xx_hal_flash.c:646:19:FLASH_WaitForLastOperation 24 static
stm32l0xx_hal_flash.c:703:13:FLASH_SetErrorCode 16 static

View file

@ -1,25 +0,0 @@
stm32l0xx_hal_flash_ex.c:171:19:HAL_FLASHEx_Erase 32 static
stm32l0xx_hal_flash_ex.c:235:19:HAL_FLASHEx_Erase_IT 32 static
stm32l0xx_hal_flash_ex.c:327:19:HAL_FLASHEx_OBProgram 32 static
stm32l0xx_hal_flash_ex.c:410:6:HAL_FLASHEx_OBGetConfig 16 static
stm32l0xx_hal_flash_ex.c:443:19:HAL_FLASHEx_AdvOBProgram 32 static
stm32l0xx_hal_flash_ex.c:486:6:HAL_FLASHEx_AdvOBGetConfig 16 static
stm32l0xx_hal_flash_ex.c:526:19:HAL_FLASHEx_OB_SelectPCROP 40 static
stm32l0xx_hal_flash_ex.c:568:19:HAL_FLASHEx_OB_DeSelectPCROP 40 static
stm32l0xx_hal_flash_ex.c:634:19:HAL_FLASHEx_DATAEEPROM_Unlock 24 static,ignoring_inline_asm
stm32l0xx_hal_flash_ex.c:664:19:HAL_FLASHEx_DATAEEPROM_Lock 8 static
stm32l0xx_hal_flash_ex.c:682:19:HAL_FLASHEx_DATAEEPROM_Erase 32 static
stm32l0xx_hal_flash_ex.c:724:21:HAL_FLASHEx_DATAEEPROM_Program 40 static
stm32l0xx_hal_flash_ex.c:780:6:HAL_FLASHEx_DATAEEPROM_EnableFixedTimeProgram 8 static
stm32l0xx_hal_flash_ex.c:789:6:HAL_FLASHEx_DATAEEPROM_DisableFixedTimeProgram 8 static
stm32l0xx_hal_flash_ex.c:825:26:FLASH_OB_RDPConfig 40 static
stm32l0xx_hal_flash_ex.c:876:26:FLASH_OB_BORConfig 40 static
stm32l0xx_hal_flash_ex.c:918:27:FLASH_OB_BOOTBit1Config 40 static
stm32l0xx_hal_flash_ex.c:953:16:FLASH_OB_GetUser 8 static
stm32l0xx_hal_flash_ex.c:967:16:FLASH_OB_GetRDP 16 static
stm32l0xx_hal_flash_ex.c:985:16:FLASH_OB_GetBOR 8 static
stm32l0xx_hal_flash_ex.c:995:16:FLASH_OB_GetBOOTBit1 8 static
stm32l0xx_hal_flash_ex.c:1006:17:FLASH_OB_GetWRP 8 static
stm32l0xx_hal_flash_ex.c:1046:26:FLASH_OB_ProtectedSectorsConfig 40 static
stm32l0xx_hal_flash_ex.c:1140:26:FLASH_OB_UserConfig 40 static
stm32l0xx_hal_flash_ex.c:1246:6:FLASH_PageErase 16 static

View file

@ -1,6 +0,0 @@
stm32l0xx_hal_flash_ramfunc.c:115:30:HAL_FLASHEx_EnableRunPowerDown 8 static
stm32l0xx_hal_flash_ramfunc.c:128:30:HAL_FLASHEx_DisableRunPowerDown 8 static
stm32l0xx_hal_flash_ramfunc.c:305:30:HAL_FLASHEx_HalfPageProgram 32 static,ignoring_inline_asm
stm32l0xx_hal_flash_ramfunc.c:376:30:HAL_FLASHEx_GetError 16 static
stm32l0xx_hal_flash_ramfunc.c:458:37:FLASHRAM_WaitForLastOperation 16 static
stm32l0xx_hal_flash_ramfunc.c:398:37:FLASHRAM_SetErrorCode 16 static

View file

@ -1,8 +0,0 @@
stm32l0xx_hal_gpio.c:156:6:HAL_GPIO_Init 32 static
stm32l0xx_hal_gpio.c:286:6:HAL_GPIO_DeInit 32 static
stm32l0xx_hal_gpio.c:367:15:HAL_GPIO_ReadPin 24 static
stm32l0xx_hal_gpio.c:403:6:HAL_GPIO_WritePin 16 static
stm32l0xx_hal_gpio.c:427:6:HAL_GPIO_TogglePin 24 static
stm32l0xx_hal_gpio.c:454:19:HAL_GPIO_LockPin 24 static
stm32l0xx_hal_gpio.c:487:6:HAL_GPIO_EXTI_IRQHandler 16 static
stm32l0xx_hal_gpio.c:502:13:HAL_GPIO_EXTI_Callback 16 static

View file

@ -1,79 +0,0 @@
stm32l0xx_hal_i2c.c:522:19:HAL_I2C_Init 16 static
stm32l0xx_hal_i2c.c:632:19:HAL_I2C_DeInit 16 static
stm32l0xx_hal_i2c.c:678:13:HAL_I2C_MspInit 16 static
stm32l0xx_hal_i2c.c:694:13:HAL_I2C_MspDeInit 16 static
stm32l0xx_hal_i2c.c:1115:19:HAL_I2C_Master_Transmit 48 static
stm32l0xx_hal_i2c.c:1234:19:HAL_I2C_Master_Receive 48 static
stm32l0xx_hal_i2c.c:1352:19:HAL_I2C_Slave_Transmit 40 static
stm32l0xx_hal_i2c.c:1490:19:HAL_I2C_Slave_Receive 40 static
stm32l0xx_hal_i2c.c:1617:19:HAL_I2C_Master_Transmit_IT 48 static
stm32l0xx_hal_i2c.c:1688:19:HAL_I2C_Master_Receive_IT 48 static
stm32l0xx_hal_i2c.c:1757:19:HAL_I2C_Slave_Transmit_IT 24 static
stm32l0xx_hal_i2c.c:1807:19:HAL_I2C_Slave_Receive_IT 24 static
stm32l0xx_hal_i2c.c:1859:19:HAL_I2C_Master_Transmit_DMA 48 static
stm32l0xx_hal_i2c.c:2006:19:HAL_I2C_Master_Receive_DMA 48 static
stm32l0xx_hal_i2c.c:2151:19:HAL_I2C_Slave_Transmit_DMA 40 static
stm32l0xx_hal_i2c.c:2255:19:HAL_I2C_Slave_Receive_DMA 40 static
stm32l0xx_hal_i2c.c:2363:19:HAL_I2C_Mem_Write 48 static
stm32l0xx_hal_i2c.c:2500:19:HAL_I2C_Mem_Read 48 static
stm32l0xx_hal_i2c.c:2637:19:HAL_I2C_Mem_Write_IT 48 static
stm32l0xx_hal_i2c.c:2731:19:HAL_I2C_Mem_Read_IT 48 static
stm32l0xx_hal_i2c.c:2823:19:HAL_I2C_Mem_Write_DMA 56 static
stm32l0xx_hal_i2c.c:2970:19:HAL_I2C_Mem_Read_DMA 56 static
stm32l0xx_hal_i2c.c:3113:19:HAL_I2C_IsDeviceReady 48 static
stm32l0xx_hal_i2c.c:3255:19:HAL_I2C_Master_Seq_Transmit_IT 48 static
stm32l0xx_hal_i2c.c:3342:19:HAL_I2C_Master_Seq_Transmit_DMA 56 static
stm32l0xx_hal_i2c.c:3510:19:HAL_I2C_Master_Seq_Receive_IT 48 static
stm32l0xx_hal_i2c.c:3597:19:HAL_I2C_Master_Seq_Receive_DMA 56 static
stm32l0xx_hal_i2c.c:3763:19:HAL_I2C_Slave_Seq_Transmit_IT 24 static
stm32l0xx_hal_i2c.c:3859:19:HAL_I2C_Slave_Seq_Transmit_DMA 40 static
stm32l0xx_hal_i2c.c:4040:19:HAL_I2C_Slave_Seq_Receive_IT 24 static
stm32l0xx_hal_i2c.c:4136:19:HAL_I2C_Slave_Seq_Receive_DMA 40 static
stm32l0xx_hal_i2c.c:4313:19:HAL_I2C_EnableListen_IT 16 static
stm32l0xx_hal_i2c.c:4337:19:HAL_I2C_DisableListen_IT 24 static
stm32l0xx_hal_i2c.c:4370:19:HAL_I2C_Master_Abort_IT 24 static
stm32l0xx_hal_i2c.c:4432:6:HAL_I2C_EV_IRQHandler 24 static
stm32l0xx_hal_i2c.c:4451:6:HAL_I2C_ER_IRQHandler 32 static
stm32l0xx_hal_i2c.c:4503:13:HAL_I2C_MasterTxCpltCallback 16 static
stm32l0xx_hal_i2c.c:4519:13:HAL_I2C_MasterRxCpltCallback 16 static
stm32l0xx_hal_i2c.c:4534:13:HAL_I2C_SlaveTxCpltCallback 16 static
stm32l0xx_hal_i2c.c:4550:13:HAL_I2C_SlaveRxCpltCallback 16 static
stm32l0xx_hal_i2c.c:4568:13:HAL_I2C_AddrCallback 16 static
stm32l0xx_hal_i2c.c:4586:13:HAL_I2C_ListenCpltCallback 16 static
stm32l0xx_hal_i2c.c:4602:13:HAL_I2C_MemTxCpltCallback 16 static
stm32l0xx_hal_i2c.c:4618:13:HAL_I2C_MemRxCpltCallback 16 static
stm32l0xx_hal_i2c.c:4634:13:HAL_I2C_ErrorCallback 16 static
stm32l0xx_hal_i2c.c:4650:13:HAL_I2C_AbortCpltCallback 16 static
stm32l0xx_hal_i2c.c:4685:22:HAL_I2C_GetState 16 static
stm32l0xx_hal_i2c.c:4697:21:HAL_I2C_GetMode 16 static
stm32l0xx_hal_i2c.c:4708:10:HAL_I2C_GetError 16 static
stm32l0xx_hal_i2c.c:4733:26:I2C_Master_ISR_IT 48 static
stm32l0xx_hal_i2c.c:4879:26:I2C_Slave_ISR_IT 32 static
stm32l0xx_hal_i2c.c:5020:26:I2C_Master_ISR_DMA 48 static
stm32l0xx_hal_i2c.c:5160:26:I2C_Slave_ISR_DMA 40 static
stm32l0xx_hal_i2c.c:5305:26:I2C_RequestMemoryWrite 40 static
stm32l0xx_hal_i2c.c:5360:26:I2C_RequestMemoryRead 40 static
stm32l0xx_hal_i2c.c:5409:13:I2C_ITAddrCplt 32 static
stm32l0xx_hal_i2c.c:5504:13:I2C_ITMasterSeqCplt 16 static
stm32l0xx_hal_i2c.c:5557:13:I2C_ITSlaveSeqCplt 24 static
stm32l0xx_hal_i2c.c:5631:13:I2C_ITMasterCplt 32 static
stm32l0xx_hal_i2c.c:5774:13:I2C_ITSlaveCplt 32 static
stm32l0xx_hal_i2c.c:5933:13:I2C_ITListenCplt 16 static
stm32l0xx_hal_i2c.c:5984:13:I2C_ITError 24 static
stm32l0xx_hal_i2c.c:6096:13:I2C_TreatErrorCallback 16 static
stm32l0xx_hal_i2c.c:6134:13:I2C_Flush_TXDR 16 static
stm32l0xx_hal_i2c.c:6155:13:I2C_DMAMasterTransmitCplt 24 static
stm32l0xx_hal_i2c.c:6205:13:I2C_DMASlaveTransmitCplt 24 static
stm32l0xx_hal_i2c.c:6233:13:I2C_DMAMasterReceiveCplt 24 static
stm32l0xx_hal_i2c.c:6283:13:I2C_DMASlaveReceiveCplt 24 static
stm32l0xx_hal_i2c.c:6311:13:I2C_DMAError 24 static
stm32l0xx_hal_i2c.c:6329:13:I2C_DMAAbort 24 static
stm32l0xx_hal_i2c.c:6357:26:I2C_WaitOnFlagUntilTimeout 24 static
stm32l0xx_hal_i2c.c:6388:26:I2C_WaitOnTXISFlagUntilTimeout 24 static
stm32l0xx_hal_i2c.c:6426:26:I2C_WaitOnSTOPFlagUntilTimeout 24 static
stm32l0xx_hal_i2c.c:6461:26:I2C_WaitOnRXNEFlagUntilTimeout 24 static
stm32l0xx_hal_i2c.c:6525:26:I2C_IsAcknowledgeFailed 24 static
stm32l0xx_hal_i2c.c:6599:13:I2C_TransferConfig 32 static
stm32l0xx_hal_i2c.c:6624:13:I2C_Enable_IRQ 24 static
stm32l0xx_hal_i2c.c:6695:13:I2C_Disable_IRQ 24 static
stm32l0xx_hal_i2c.c:6758:13:I2C_ConvertOtherXferOptions 16 static

View file

@ -1,4 +0,0 @@
stm32l0xx_hal_i2c_ex.c:97:19:HAL_I2CEx_ConfigAnalogFilter 16 static
stm32l0xx_hal_i2c_ex.c:141:19:HAL_I2CEx_ConfigDigitalFilter 24 static
stm32l0xx_hal_i2c_ex.c:209:19:HAL_I2CEx_EnableWakeUp 16 static
stm32l0xx_hal_i2c_ex.c:248:19:HAL_I2CEx_DisableWakeUp 16 static

View file

@ -1,42 +0,0 @@
stm32l0xx_hal_lptim.c:220:19:HAL_LPTIM_Init 24 static
stm32l0xx_hal_lptim.c:341:19:HAL_LPTIM_DeInit 16 static
stm32l0xx_hal_lptim.c:388:13:HAL_LPTIM_MspInit 16 static
stm32l0xx_hal_lptim.c:403:13:HAL_LPTIM_MspDeInit 16 static
stm32l0xx_hal_lptim.c:452:19:HAL_LPTIM_PWM_Start 24 static
stm32l0xx_hal_lptim.c:507:19:HAL_LPTIM_PWM_Stop 16 static
stm32l0xx_hal_lptim.c:539:19:HAL_LPTIM_PWM_Start_IT 24 static
stm32l0xx_hal_lptim.c:624:19:HAL_LPTIM_PWM_Stop_IT 16 static
stm32l0xx_hal_lptim.c:675:19:HAL_LPTIM_OnePulse_Start 24 static
stm32l0xx_hal_lptim.c:730:19:HAL_LPTIM_OnePulse_Stop 16 static
stm32l0xx_hal_lptim.c:762:19:HAL_LPTIM_OnePulse_Start_IT 24 static
stm32l0xx_hal_lptim.c:847:19:HAL_LPTIM_OnePulse_Stop_IT 16 static
stm32l0xx_hal_lptim.c:898:19:HAL_LPTIM_SetOnce_Start 24 static
stm32l0xx_hal_lptim.c:953:19:HAL_LPTIM_SetOnce_Stop 16 static
stm32l0xx_hal_lptim.c:985:19:HAL_LPTIM_SetOnce_Start_IT 24 static
stm32l0xx_hal_lptim.c:1070:19:HAL_LPTIM_SetOnce_Stop_IT 16 static
stm32l0xx_hal_lptim.c:1119:19:HAL_LPTIM_Encoder_Start 24 static
stm32l0xx_hal_lptim.c:1178:19:HAL_LPTIM_Encoder_Stop 16 static
stm32l0xx_hal_lptim.c:1211:19:HAL_LPTIM_Encoder_Start_IT 24 static
stm32l0xx_hal_lptim.c:1288:19:HAL_LPTIM_Encoder_Stop_IT 16 static
stm32l0xx_hal_lptim.c:1331:19:HAL_LPTIM_TimeOut_Start 24 static
stm32l0xx_hal_lptim.c:1386:19:HAL_LPTIM_TimeOut_Stop 16 static
stm32l0xx_hal_lptim.c:1423:19:HAL_LPTIM_TimeOut_Start_IT 24 static
stm32l0xx_hal_lptim.c:1495:19:HAL_LPTIM_TimeOut_Stop_IT 16 static
stm32l0xx_hal_lptim.c:1534:19:HAL_LPTIM_Counter_Start 16 static
stm32l0xx_hal_lptim.c:1583:19:HAL_LPTIM_Counter_Stop 16 static
stm32l0xx_hal_lptim.c:1613:19:HAL_LPTIM_Counter_Start_IT 16 static
stm32l0xx_hal_lptim.c:1682:19:HAL_LPTIM_Counter_Stop_IT 16 static
stm32l0xx_hal_lptim.c:1737:10:HAL_LPTIM_ReadCounter 16 static
stm32l0xx_hal_lptim.c:1750:10:HAL_LPTIM_ReadAutoReload 16 static
stm32l0xx_hal_lptim.c:1763:10:HAL_LPTIM_ReadCompare 16 static
stm32l0xx_hal_lptim.c:1802:6:HAL_LPTIM_IRQHandler 16 static
stm32l0xx_hal_lptim.c:1929:13:HAL_LPTIM_CompareMatchCallback 16 static
stm32l0xx_hal_lptim.c:1944:13:HAL_LPTIM_AutoReloadMatchCallback 16 static
stm32l0xx_hal_lptim.c:1959:13:HAL_LPTIM_TriggerCallback 16 static
stm32l0xx_hal_lptim.c:1974:13:HAL_LPTIM_CompareWriteCallback 16 static
stm32l0xx_hal_lptim.c:1989:13:HAL_LPTIM_AutoReloadWriteCallback 16 static
stm32l0xx_hal_lptim.c:2004:13:HAL_LPTIM_DirectionUpCallback 16 static
stm32l0xx_hal_lptim.c:2019:13:HAL_LPTIM_DirectionDownCallback 16 static
stm32l0xx_hal_lptim.c:2273:24:HAL_LPTIM_GetState 16 static
stm32l0xx_hal_lptim.c:2320:26:LPTIM_WaitForFlag 24 static
stm32l0xx_hal_lptim.c:2345:6:LPTIM_Disable 40 static,ignoring_inline_asm

View file

@ -1,12 +0,0 @@
stm32l0xx_hal_pwr.c:80:6:HAL_PWR_DeInit 8 static
stm32l0xx_hal_pwr.c:327:6:HAL_PWR_EnableBkUpAccess 8 static
stm32l0xx_hal_pwr.c:340:6:HAL_PWR_DisableBkUpAccess 8 static
stm32l0xx_hal_pwr.c:425:6:HAL_PWR_EnableWakeUpPin 16 static
stm32l0xx_hal_pwr.c:442:6:HAL_PWR_DisableWakeUpPin 16 static
stm32l0xx_hal_pwr.c:465:6:HAL_PWR_EnterSLEEPMode 32 static,ignoring_inline_asm
stm32l0xx_hal_pwr.c:546:6:HAL_PWR_EnterSTOPMode 32 static,ignoring_inline_asm
stm32l0xx_hal_pwr.c:615:6:HAL_PWR_EnterSTANDBYMode 8 static,ignoring_inline_asm
stm32l0xx_hal_pwr.c:639:6:HAL_PWR_EnableSleepOnExit 8 static
stm32l0xx_hal_pwr.c:652:6:HAL_PWR_DisableSleepOnExit 8 static
stm32l0xx_hal_pwr.c:665:6:HAL_PWR_EnableSEVOnPend 8 static
stm32l0xx_hal_pwr.c:678:6:HAL_PWR_DisableSEVOnPend 8 static

View file

@ -1,7 +0,0 @@
stm32l0xx_hal_pwr_ex.c:70:10:HAL_PWREx_GetVoltageRange 8 static
stm32l0xx_hal_pwr_ex.c:83:6:HAL_PWREx_EnableFastWakeUp 8 static
stm32l0xx_hal_pwr_ex.c:93:6:HAL_PWREx_DisableFastWakeUp 8 static
stm32l0xx_hal_pwr_ex.c:103:6:HAL_PWREx_EnableUltraLowPower 8 static
stm32l0xx_hal_pwr_ex.c:113:6:HAL_PWREx_DisableUltraLowPower 8 static
stm32l0xx_hal_pwr_ex.c:131:6:HAL_PWREx_EnableLowPowerRunMode 8 static
stm32l0xx_hal_pwr_ex.c:146:19:HAL_PWREx_DisableLowPowerRunMode 16 static

View file

@ -1,13 +0,0 @@
stm32l0xx_hal_rcc.c:223:19:HAL_RCC_DeInit 32 static
stm32l0xx_hal_rcc.c:338:19:HAL_RCC_OscConfig 56 static
stm32l0xx_hal_rcc.c:859:19:HAL_RCC_ClockConfig 32 static
stm32l0xx_hal_rcc.c:1120:6:HAL_RCC_MCOConfig 64 static
stm32l0xx_hal_rcc.c:1177:6:HAL_RCC_EnableCSS 8 static
stm32l0xx_hal_rcc.c:1213:10:HAL_RCC_GetSysClockFreq 72 static
stm32l0xx_hal_rcc.c:1283:10:HAL_RCC_GetHCLKFreq 8 static
stm32l0xx_hal_rcc.c:1294:10:HAL_RCC_GetPCLK1Freq 8 static
stm32l0xx_hal_rcc.c:1306:10:HAL_RCC_GetPCLK2Freq 8 static
stm32l0xx_hal_rcc.c:1319:6:HAL_RCC_GetOscConfig 16 static
stm32l0xx_hal_rcc.c:1422:6:HAL_RCC_GetClockConfig 16 static
stm32l0xx_hal_rcc.c:1453:6:HAL_RCC_NMI_IRQHandler 8 static
stm32l0xx_hal_rcc.c:1470:13:HAL_RCC_CSSCallback 8 static

View file

@ -1,8 +0,0 @@
stm32l0xx_hal_rcc_ex.c:97:19:HAL_RCCEx_PeriphCLKConfig 32 static
stm32l0xx_hal_rcc_ex.c:296:6:HAL_RCCEx_GetPeriphCLKConfig 24 static
stm32l0xx_hal_rcc_ex.c:374:10:HAL_RCCEx_GetPeriphCLKFreq 32 static
stm32l0xx_hal_rcc_ex.c:744:6:HAL_RCCEx_EnableLSECSS 8 static
stm32l0xx_hal_rcc_ex.c:756:6:HAL_RCCEx_DisableLSECSS 8 static
stm32l0xx_hal_rcc_ex.c:770:6:HAL_RCCEx_EnableLSECSS_IT 8 static
stm32l0xx_hal_rcc_ex.c:787:6:HAL_RCCEx_LSECSS_IRQHandler 8 static
stm32l0xx_hal_rcc_ex.c:804:13:HAL_RCCEx_LSECSS_Callback 8 static

View file

@ -1,119 +0,0 @@
stm32l0xx_hal_tim.c:269:19:HAL_TIM_Base_Init 16 static
stm32l0xx_hal_tim.c:329:19:HAL_TIM_Base_DeInit 16 static
stm32l0xx_hal_tim.c:371:13:HAL_TIM_Base_MspInit 16 static
stm32l0xx_hal_tim.c:386:13:HAL_TIM_Base_MspDeInit 16 static
stm32l0xx_hal_tim.c:402:19:HAL_TIM_Base_Start 24 static
stm32l0xx_hal_tim.c:441:19:HAL_TIM_Base_Stop 16 static
stm32l0xx_hal_tim.c:461:19:HAL_TIM_Base_Start_IT 24 static
stm32l0xx_hal_tim.c:503:19:HAL_TIM_Base_Stop_IT 16 static
stm32l0xx_hal_tim.c:528:19:HAL_TIM_Base_Start_DMA 32 static
stm32l0xx_hal_tim.c:597:19:HAL_TIM_Base_Stop_DMA 16 static
stm32l0xx_hal_tim.c:652:19:HAL_TIM_OC_Init 16 static
stm32l0xx_hal_tim.c:712:19:HAL_TIM_OC_DeInit 16 static
stm32l0xx_hal_tim.c:754:13:HAL_TIM_OC_MspInit 16 static
stm32l0xx_hal_tim.c:769:13:HAL_TIM_OC_MspDeInit 16 static
stm32l0xx_hal_tim.c:790:19:HAL_TIM_OC_Start 24 static
stm32l0xx_hal_tim.c:838:19:HAL_TIM_OC_Stop 16 static
stm32l0xx_hal_tim.c:867:19:HAL_TIM_OC_Start_IT 24 static
stm32l0xx_hal_tim.c:954:19:HAL_TIM_OC_Stop_IT 24 static
stm32l0xx_hal_tim.c:1025:19:HAL_TIM_OC_Start_DMA 32 static
stm32l0xx_hal_tim.c:1182:19:HAL_TIM_OC_Stop_DMA 24 static
stm32l0xx_hal_tim.c:1279:19:HAL_TIM_PWM_Init 16 static
stm32l0xx_hal_tim.c:1339:19:HAL_TIM_PWM_DeInit 16 static
stm32l0xx_hal_tim.c:1381:13:HAL_TIM_PWM_MspInit 16 static
stm32l0xx_hal_tim.c:1396:13:HAL_TIM_PWM_MspDeInit 16 static
stm32l0xx_hal_tim.c:1417:19:HAL_TIM_PWM_Start 24 static
stm32l0xx_hal_tim.c:1465:19:HAL_TIM_PWM_Stop 16 static
stm32l0xx_hal_tim.c:1494:19:HAL_TIM_PWM_Start_IT 24 static
stm32l0xx_hal_tim.c:1581:19:HAL_TIM_PWM_Stop_IT 24 static
stm32l0xx_hal_tim.c:1652:19:HAL_TIM_PWM_Start_DMA 32 static
stm32l0xx_hal_tim.c:1808:19:HAL_TIM_PWM_Stop_DMA 24 static
stm32l0xx_hal_tim.c:1905:19:HAL_TIM_IC_Init 16 static
stm32l0xx_hal_tim.c:1965:19:HAL_TIM_IC_DeInit 16 static
stm32l0xx_hal_tim.c:2007:13:HAL_TIM_IC_MspInit 16 static
stm32l0xx_hal_tim.c:2022:13:HAL_TIM_IC_MspDeInit 16 static
stm32l0xx_hal_tim.c:2043:19:HAL_TIM_IC_Start 24 static
stm32l0xx_hal_tim.c:2092:19:HAL_TIM_IC_Stop 16 static
stm32l0xx_hal_tim.c:2121:19:HAL_TIM_IC_Start_IT 24 static
stm32l0xx_hal_tim.c:2210:19:HAL_TIM_IC_Stop_IT 24 static
stm32l0xx_hal_tim.c:2281:19:HAL_TIM_IC_Start_DMA 32 static
stm32l0xx_hal_tim.c:2436:19:HAL_TIM_IC_Stop_DMA 24 static
stm32l0xx_hal_tim.c:2540:19:HAL_TIM_OnePulse_Init 16 static
stm32l0xx_hal_tim.c:2608:19:HAL_TIM_OnePulse_DeInit 16 static
stm32l0xx_hal_tim.c:2651:13:HAL_TIM_OnePulse_MspInit 16 static
stm32l0xx_hal_tim.c:2666:13:HAL_TIM_OnePulse_MspDeInit 16 static
stm32l0xx_hal_tim.c:2686:19:HAL_TIM_OnePulse_Start 32 static
stm32l0xx_hal_tim.c:2731:19:HAL_TIM_OnePulse_Stop 16 static
stm32l0xx_hal_tim.c:2766:19:HAL_TIM_OnePulse_Start_IT 32 static
stm32l0xx_hal_tim.c:2817:19:HAL_TIM_OnePulse_Stop_IT 16 static
stm32l0xx_hal_tim.c:2888:19:HAL_TIM_Encoder_Init 32 static
stm32l0xx_hal_tim.c:3002:19:HAL_TIM_Encoder_DeInit 16 static
stm32l0xx_hal_tim.c:3045:13:HAL_TIM_Encoder_MspInit 16 static
stm32l0xx_hal_tim.c:3060:13:HAL_TIM_Encoder_MspDeInit 16 static
stm32l0xx_hal_tim.c:3080:19:HAL_TIM_Encoder_Start 24 static
stm32l0xx_hal_tim.c:3164:19:HAL_TIM_Encoder_Stop 16 static
stm32l0xx_hal_tim.c:3221:19:HAL_TIM_Encoder_Start_IT 24 static
stm32l0xx_hal_tim.c:3311:19:HAL_TIM_Encoder_Stop_IT 16 static
stm32l0xx_hal_tim.c:3373:19:HAL_TIM_Encoder_Start_DMA 32 static
stm32l0xx_hal_tim.c:3572:19:HAL_TIM_Encoder_Stop_DMA 16 static
stm32l0xx_hal_tim.c:3646:6:HAL_TIM_IRQHandler 16 static
stm32l0xx_hal_tim.c:3834:19:HAL_TIM_OC_ConfigChannel 32 static
stm32l0xx_hal_tim.c:3913:19:HAL_TIM_IC_ConfigChannel 32 static
stm32l0xx_hal_tim.c:4012:19:HAL_TIM_PWM_ConfigChannel 32 static
stm32l0xx_hal_tim.c:4126:19:HAL_TIM_OnePulse_ConfigChannel 48 static
stm32l0xx_hal_tim.c:4269:19:HAL_TIM_DMABurst_WriteStart 48 static
stm32l0xx_hal_tim.c:4321:19:HAL_TIM_DMABurst_MultiWriteStart 32 static
stm32l0xx_hal_tim.c:4487:19:HAL_TIM_DMABurst_WriteStop 24 static
stm32l0xx_hal_tim.c:4581:19:HAL_TIM_DMABurst_ReadStart 48 static
stm32l0xx_hal_tim.c:4632:19:HAL_TIM_DMABurst_MultiReadStart 32 static
stm32l0xx_hal_tim.c:4798:19:HAL_TIM_DMABurst_ReadStop 24 static
stm32l0xx_hal_tim.c:4871:19:HAL_TIM_GenerateEvent 16 static
stm32l0xx_hal_tim.c:4908:19:HAL_TIM_ConfigOCrefClear 32 static
stm32l0xx_hal_tim.c:5038:19:HAL_TIM_ConfigClockSource 24 static
stm32l0xx_hal_tim.c:5192:19:HAL_TIM_ConfigTI1Input 24 static
stm32l0xx_hal_tim.c:5224:19:HAL_TIM_SlaveConfigSynchro 16 static
stm32l0xx_hal_tim.c:5264:19:HAL_TIM_SlaveConfigSynchro_IT 16 static
stm32l0xx_hal_tim.c:5307:10:HAL_TIM_ReadCapturedValue 24 static
stm32l0xx_hal_tim.c:5391:13:HAL_TIM_PeriodElapsedCallback 16 static
stm32l0xx_hal_tim.c:5406:13:HAL_TIM_PeriodElapsedHalfCpltCallback 16 static
stm32l0xx_hal_tim.c:5421:13:HAL_TIM_OC_DelayElapsedCallback 16 static
stm32l0xx_hal_tim.c:5436:13:HAL_TIM_IC_CaptureCallback 16 static
stm32l0xx_hal_tim.c:5451:13:HAL_TIM_IC_CaptureHalfCpltCallback 16 static
stm32l0xx_hal_tim.c:5466:13:HAL_TIM_PWM_PulseFinishedCallback 16 static
stm32l0xx_hal_tim.c:5481:13:HAL_TIM_PWM_PulseFinishedHalfCpltCallback 16 static
stm32l0xx_hal_tim.c:5496:13:HAL_TIM_TriggerCallback 16 static
stm32l0xx_hal_tim.c:5511:13:HAL_TIM_TriggerHalfCpltCallback 16 static
stm32l0xx_hal_tim.c:5526:13:HAL_TIM_ErrorCallback 16 static
stm32l0xx_hal_tim.c:6011:22:HAL_TIM_Base_GetState 16 static
stm32l0xx_hal_tim.c:6021:22:HAL_TIM_OC_GetState 16 static
stm32l0xx_hal_tim.c:6031:22:HAL_TIM_PWM_GetState 16 static
stm32l0xx_hal_tim.c:6041:22:HAL_TIM_IC_GetState 16 static
stm32l0xx_hal_tim.c:6051:22:HAL_TIM_OnePulse_GetState 16 static
stm32l0xx_hal_tim.c:6061:22:HAL_TIM_Encoder_GetState 16 static
stm32l0xx_hal_tim.c:6071:23:HAL_TIM_GetActiveChannel 16 static
stm32l0xx_hal_tim.c:6089:29:HAL_TIM_GetChannelState 24 static
stm32l0xx_hal_tim.c:6106:30:HAL_TIM_DMABurstState 16 static
stm32l0xx_hal_tim.c:6131:6:TIM_DMAError 24 static
stm32l0xx_hal_tim.c:6174:13:TIM_DMADelayPulseCplt 24 static
stm32l0xx_hal_tim.c:6233:13:TIM_DMADelayPulseHalfCplt 24 static
stm32l0xx_hal_tim.c:6272:6:TIM_DMACaptureCplt 24 static
stm32l0xx_hal_tim.c:6331:6:TIM_DMACaptureHalfCplt 24 static
stm32l0xx_hal_tim.c:6370:13:TIM_DMAPeriodElapsedCplt 24 static
stm32l0xx_hal_tim.c:6391:13:TIM_DMAPeriodElapsedHalfCplt 24 static
stm32l0xx_hal_tim.c:6407:13:TIM_DMATriggerCplt 24 static
stm32l0xx_hal_tim.c:6428:13:TIM_DMATriggerHalfCplt 24 static
stm32l0xx_hal_tim.c:6445:13:TIM_Base_SetConfig 24 static
stm32l0xx_hal_tim.c:6487:13:TIM_OC1_SetConfig 32 static
stm32l0xx_hal_tim.c:6534:13:TIM_OC2_SetConfig 32 static
stm32l0xx_hal_tim.c:6582:13:TIM_OC3_SetConfig 32 static
stm32l0xx_hal_tim.c:6629:13:TIM_OC4_SetConfig 32 static
stm32l0xx_hal_tim.c:6677:26:TIM_SlaveTimer_SetConfig 32 static
stm32l0xx_hal_tim.c:6811:13:TIM_TI1_SetConfig 32 static
stm32l0xx_hal_tim.c:6858:13:TIM_TI1_ConfigInputStage 32 static
stm32l0xx_hal_tim.c:6901:13:TIM_TI2_SetConfig 32 static
stm32l0xx_hal_tim.c:6941:13:TIM_TI2_ConfigInputStage 32 static
stm32l0xx_hal_tim.c:6984:13:TIM_TI3_SetConfig 32 static
stm32l0xx_hal_tim.c:7032:13:TIM_TI4_SetConfig 32 static
stm32l0xx_hal_tim.c:7075:13:TIM_ITRx_SetConfig 24 static
stm32l0xx_hal_tim.c:7105:13:TIM_ETR_SetConfig 32 static
stm32l0xx_hal_tim.c:7135:13:TIM_CCxChannelCmd 32 static

View file

@ -1,2 +0,0 @@
stm32l0xx_hal_tim_ex.c:82:19:HAL_TIMEx_MasterConfigSynchronization 24 static
stm32l0xx_hal_tim_ex.c:394:19:HAL_TIMEx_RemapConfig 16 static

View file

@ -1,66 +0,0 @@
stm32l0xx_hal_uart.c:291:19:HAL_UART_Init 16 static
stm32l0xx_hal_uart.c:364:19:HAL_HalfDuplex_Init 16 static
stm32l0xx_hal_uart.c:437:19:HAL_LIN_Init 16 static
stm32l0xx_hal_uart.c:534:19:HAL_MultiProcessor_Init 24 static
stm32l0xx_hal_uart.c:608:19:HAL_UART_DeInit 16 static
stm32l0xx_hal_uart.c:654:13:HAL_UART_MspInit 16 static
stm32l0xx_hal_uart.c:669:13:HAL_UART_MspDeInit 16 static
stm32l0xx_hal_uart.c:1087:19:HAL_UART_Transmit 48 static
stm32l0xx_hal_uart.c:1188:19:HAL_UART_Receive 48 static
stm32l0xx_hal_uart.c:1290:19:HAL_UART_Transmit_IT 40 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1359:19:HAL_UART_Receive_IT 40 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1418:19:HAL_UART_Transmit_DMA 40 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1510:19:HAL_UART_Receive_DMA 40 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1559:19:HAL_UART_DMAPause 88 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1593:19:HAL_UART_DMAResume 80 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1625:19:HAL_UART_DMAStop 56 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1700:19:HAL_UART_Abort 96 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1795:19:HAL_UART_AbortTransmit 48 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1847:19:HAL_UART_AbortReceive 80 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:1914:19:HAL_UART_Abort_IT 104 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2060:19:HAL_UART_AbortTransmit_IT 48 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2144:19:HAL_UART_AbortReceive_IT 80 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2236:6:HAL_UART_IRQHandler 184 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2527:13:HAL_UART_TxCpltCallback 16 static
stm32l0xx_hal_uart.c:2542:13:HAL_UART_TxHalfCpltCallback 16 static
stm32l0xx_hal_uart.c:2557:13:HAL_UART_RxCpltCallback 16 static
stm32l0xx_hal_uart.c:2572:13:HAL_UART_RxHalfCpltCallback 16 static
stm32l0xx_hal_uart.c:2587:13:HAL_UART_ErrorCallback 16 static
stm32l0xx_hal_uart.c:2602:13:HAL_UART_AbortCpltCallback 16 static
stm32l0xx_hal_uart.c:2617:13:HAL_UART_AbortTransmitCpltCallback 16 static
stm32l0xx_hal_uart.c:2632:13:HAL_UART_AbortReceiveCpltCallback 16 static
stm32l0xx_hal_uart.c:2649:13:HAL_UARTEx_RxEventCallback 16 static
stm32l0xx_hal_uart.c:2697:6:HAL_UART_ReceiverTimeout_Config 16 static
stm32l0xx_hal_uart.c:2712:19:HAL_UART_EnableReceiverTimeout 16 static
stm32l0xx_hal_uart.c:2750:19:HAL_UART_DisableReceiverTimeout 16 static
stm32l0xx_hal_uart.c:2788:19:HAL_MultiProcessor_EnableMuteMode 32 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2808:19:HAL_MultiProcessor_DisableMuteMode 32 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2828:6:HAL_MultiProcessor_EnterMuteMode 16 static
stm32l0xx_hal_uart.c:2838:19:HAL_HalfDuplex_EnableTransmitter 48 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2861:19:HAL_HalfDuplex_EnableReceiver 48 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:2885:19:HAL_LIN_SendBreak 16 static
stm32l0xx_hal_uart.c:2930:23:HAL_UART_GetState 24 static
stm32l0xx_hal_uart.c:2946:10:HAL_UART_GetError 16 static
stm32l0xx_hal_uart.c:2990:19:UART_SetConfig 72 static
stm32l0xx_hal_uart.c:3214:6:UART_AdvFeatureConfig 16 static
stm32l0xx_hal_uart.c:3288:19:UART_CheckIdleState 32 static
stm32l0xx_hal_uart.c:3339:19:UART_WaitOnFlagUntilTimeout 88 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3401:19:UART_Start_Receive_IT 56 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3445:19:UART_Start_Receive_DMA 72 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3502:13:UART_EndTxTransfer 32 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3517:13:UART_EndRxTransfer 64 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3543:13:UART_DMATransmitCplt 56 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3577:13:UART_DMATxHalfCplt 24 static
stm32l0xx_hal_uart.c:3595:13:UART_DMAReceiveCplt 88 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3652:13:UART_DMARxHalfCplt 24 static
stm32l0xx_hal_uart.c:3686:13:UART_DMAError 32 static
stm32l0xx_hal_uart.c:3726:13:UART_DMAAbortOnError 24 static
stm32l0xx_hal_uart.c:3749:13:UART_DMATxAbortCallback 24 static
stm32l0xx_hal_uart.c:3799:13:UART_DMARxAbortCallback 24 static
stm32l0xx_hal_uart.c:3851:13:UART_DMATxOnlyAbortCallback 24 static
stm32l0xx_hal_uart.c:3879:13:UART_DMARxOnlyAbortCallback 24 static
stm32l0xx_hal_uart.c:3912:13:UART_TxISR_8BIT 48 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3941:13:UART_TxISR_16BIT 56 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3973:13:UART_EndTransmit_IT 32 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:3998:13:UART_RxISR_8BIT 72 static,ignoring_inline_asm
stm32l0xx_hal_uart.c:4075:13:UART_RxISR_16BIT 72 static,ignoring_inline_asm

View file

@ -1,12 +0,0 @@
stm32l0xx_hal_uart_ex.c:148:19:HAL_RS485Ex_Init 32 static
stm32l0xx_hal_uart_ex.c:250:13:HAL_UARTEx_WakeupCallback 16 static
stm32l0xx_hal_uart_ex.c:330:19:HAL_UARTEx_EnableClockStopMode 32 static,ignoring_inline_asm
stm32l0xx_hal_uart_ex.c:349:19:HAL_UARTEx_DisableClockStopMode 32 static,ignoring_inline_asm
stm32l0xx_hal_uart_ex.c:376:19:HAL_MultiProcessorEx_AddressLength_Set 16 static
stm32l0xx_hal_uart_ex.c:414:19:HAL_UARTEx_StopModeWakeUpSourceConfig 40 static
stm32l0xx_hal_uart_ex.c:469:19:HAL_UARTEx_EnableStopMode 32 static,ignoring_inline_asm
stm32l0xx_hal_uart_ex.c:488:19:HAL_UARTEx_DisableStopMode 32 static,ignoring_inline_asm
stm32l0xx_hal_uart_ex.c:524:19:HAL_UARTEx_ReceiveToIdle 40 static
stm32l0xx_hal_uart_ex.c:665:19:HAL_UARTEx_ReceiveToIdle_IT 56 static,ignoring_inline_asm
stm32l0xx_hal_uart_ex.c:743:19:HAL_UARTEx_ReceiveToIdle_DMA 56 static,ignoring_inline_asm
stm32l0xx_hal_uart_ex.c:817:13:UARTEx_Wakeup_AddressConfig 24 static

View file

@ -1,80 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc_ex.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_lptim.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c
OBJS += \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc_ex.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_lptim.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.o
C_DEPS += \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc_ex.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_lptim.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.d
# Each subdirectory must supply rules for building sources it contributes
Drivers/STM32L0xx_HAL_Driver/Src/%.o: ../Drivers/STM32L0xx_HAL_Driver/Src/%.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L010x6 -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"

Binary file not shown.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,66 +0,0 @@
cmsis_os2.c:168:22:SVC_Setup 8 static
cmsis_os2.c:185:12:osKernelInitialize 24 static,ignoring_inline_asm
cmsis_os2.c:206:12:osKernelGetInfo 24 static
cmsis_os2.c:224:17:osKernelGetState 16 static
cmsis_os2.c:249:12:osKernelStart 24 static,ignoring_inline_asm
cmsis_os2.c:272:9:osKernelLock 24 static,ignoring_inline_asm
cmsis_os2.c:299:9:osKernelUnlock 24 static,ignoring_inline_asm
cmsis_os2.c:331:9:osKernelRestoreLock 24 static,ignoring_inline_asm
cmsis_os2.c:367:10:osKernelGetTickCount 24 static,ignoring_inline_asm
cmsis_os2.c:379:10:osKernelGetTickFreq 8 static
cmsis_os2.c:383:10:osKernelGetSysTimerCount 24 static,ignoring_inline_asm
cmsis_os2.c:400:10:osKernelGetSysTimerFreq 8 static
cmsis_os2.c:406:14:osThreadNew 80 static,ignoring_inline_asm
cmsis_os2.c:470:13:osThreadGetName 32 static,ignoring_inline_asm
cmsis_os2.c:483:14:osThreadGetId 16 static
cmsis_os2.c:491:17:osThreadGetState 32 static,ignoring_inline_asm
cmsis_os2.c:513:10:osThreadGetStackSpace 32 static,ignoring_inline_asm
cmsis_os2.c:526:12:osThreadSetPriority 32 static,ignoring_inline_asm
cmsis_os2.c:544:14:osThreadGetPriority 32 static,ignoring_inline_asm
cmsis_os2.c:557:12:osThreadYield 24 static,ignoring_inline_asm
cmsis_os2.c:570:12:osThreadSuspend 32 static,ignoring_inline_asm
cmsis_os2.c:588:12:osThreadResume 32 static,ignoring_inline_asm
cmsis_os2.c:606:18:osThreadExit 8 static
cmsis_os2.c:613:12:osThreadTerminate 48 static,ignoring_inline_asm
cmsis_os2.c:642:10:osThreadGetCount 24 static,ignoring_inline_asm
cmsis_os2.c:654:10:osThreadEnumerate 40 static,ignoring_inline_asm
cmsis_os2.c:682:10:osThreadFlagsSet 48 static,ignoring_inline_asm
cmsis_os2.c:710:10:osThreadFlagsClear 40 static,ignoring_inline_asm
cmsis_os2.c:740:10:osThreadFlagsGet 24 static,ignoring_inline_asm
cmsis_os2.c:758:10:osThreadFlagsWait 64 static,ignoring_inline_asm
cmsis_os2.c:833:12:osDelay 32 static,ignoring_inline_asm
cmsis_os2.c:850:12:osDelayUntil 40 static,ignoring_inline_asm
cmsis_os2.c:880:13:TimerCallback 24 static
cmsis_os2.c:890:13:osTimerNew 64 static,ignoring_inline_asm
cmsis_os2.c:948:13:osTimerGetName 32 static,ignoring_inline_asm
cmsis_os2.c:961:12:osTimerStart 40 static,ignoring_inline_asm
cmsis_os2.c:982:12:osTimerStop 40 static,ignoring_inline_asm
cmsis_os2.c:1008:10:osTimerIsRunning 32 static,ignoring_inline_asm
cmsis_os2.c:1021:12:osTimerDelete 48 static,ignoring_inline_asm
cmsis_os2.c:1052:18:osEventFlagsNew 32 static,ignoring_inline_asm
cmsis_os2.c:1088:10:osEventFlagsSet 40 static,ignoring_inline_asm
cmsis_os2.c:1113:10:osEventFlagsClear 32 static,ignoring_inline_asm
cmsis_os2.c:1134:10:osEventFlagsGet 32 static,ignoring_inline_asm
cmsis_os2.c:1151:10:osEventFlagsWait 64 static,ignoring_inline_asm
cmsis_os2.c:1201:12:osEventFlagsDelete 32 static,ignoring_inline_asm
cmsis_os2.c:1225:13:osMutexNew 48 static,ignoring_inline_asm
cmsis_os2.c:1304:12:osMutexAcquire 40 static,ignoring_inline_asm
cmsis_os2.c:1345:12:osMutexRelease 40 static,ignoring_inline_asm
cmsis_os2.c:1378:14:osMutexGetOwner 32 static,ignoring_inline_asm
cmsis_os2.c:1393:12:osMutexDelete 32 static,ignoring_inline_asm
cmsis_os2.c:1422:17:osSemaphoreNew 56 static,ignoring_inline_asm
cmsis_os2.c:1489:12:osSemaphoreAcquire 40 static,ignoring_inline_asm
cmsis_os2.c:1526:12:osSemaphoreRelease 40 static,ignoring_inline_asm
cmsis_os2.c:1554:10:osSemaphoreGetCount 32 static,ignoring_inline_asm
cmsis_os2.c:1570:12:osSemaphoreDelete 32 static,ignoring_inline_asm
cmsis_os2.c:1598:20:osMessageQueueNew 64 static,ignoring_inline_asm
cmsis_os2.c:1651:12:osMessageQueuePut 48 static,ignoring_inline_asm
cmsis_os2.c:1692:12:osMessageQueueGet 48 static,ignoring_inline_asm
cmsis_os2.c:1733:10:osMessageQueueGetCapacity 24 static
cmsis_os2.c:1747:10:osMessageQueueGetMsgSize 24 static
cmsis_os2.c:1761:10:osMessageQueueGetCount 32 static,ignoring_inline_asm
cmsis_os2.c:1778:10:osMessageQueueGetSpace 40 static,ignoring_inline_asm
cmsis_os2.c:1801:12:osMessageQueueReset 32 static,ignoring_inline_asm
cmsis_os2.c:1819:12:osMessageQueueDelete 32 static,ignoring_inline_asm
cmsis_os2.c:1910:6:vApplicationGetIdleTaskMemory 24 static
cmsis_os2.c:1920:6:vApplicationGetTimerTaskMemory 24 static

View file

@ -1,20 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/%.o: ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/%.c Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L010x6 -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"

View file

@ -1,15 +0,0 @@
event_groups.c:93:21:xEventGroupCreateStatic 24 static,ignoring_inline_asm
event_groups.c:145:21:xEventGroupCreate 16 static
event_groups.c:191:13:xEventGroupSync 48 static,ignoring_inline_asm
event_groups.c:311:13:xEventGroupWaitBits 56 static,ignoring_inline_asm
event_groups.c:461:13:xEventGroupClearBits 24 static,ignoring_inline_asm
event_groups.c:490:13:xEventGroupClearBitsFromISR 24 static
event_groups.c:503:13:xEventGroupGetBitsFromISR 32 static
event_groups.c:519:13:xEventGroupSetBits 56 static,ignoring_inline_asm
event_groups.c:613:6:vEventGroupDelete 24 static,ignoring_inline_asm
event_groups.c:657:6:vEventGroupSetBitsCallback 16 static
event_groups.c:665:6:vEventGroupClearBitsCallback 16 static
event_groups.c:671:19:prvTestWaitCondition 32 static
event_groups.c:708:13:xEventGroupSetBitsFromISR 32 static
event_groups.c:723:14:uxEventGroupGetNumber 24 static
event_groups.c:745:7:vEventGroupSetNumber 16 static

View file

@ -1,5 +0,0 @@
list.c:37:6:vListInitialise 16 static
list.c:62:6:vListInitialiseItem 16 static
list.c:74:6:vListInsertEnd 24 static
list.c:103:6:vListInsert 24 static
list.c:170:13:uxListRemove 24 static

View file

@ -1,15 +0,0 @@
port.c:133:14:pxPortInitialiseStack 24 static
port.c:151:13:prvTaskExitError 16 static,ignoring_inline_asm
port.c:176:6:SVC_Handler 8 static
port.c:183:6:vPortStartFirstTask 0 static,ignoring_inline_asm
port.c:214:12:xPortStartScheduler 8 static
port.c:244:6:vPortEndScheduler 8 static,ignoring_inline_asm
port.c:252:6:vPortYield 8 static,ignoring_inline_asm
port.c:264:6:vPortEnterCritical 8 static,ignoring_inline_asm
port.c:273:6:vPortExitCritical 8 static,ignoring_inline_asm
port.c:284:10:ulSetInterruptMaskFromISR 0 static,ignoring_inline_asm
port.c:302:6:vClearInterruptMaskFromISR 0 static,ignoring_inline_asm
port.c:319:6:PendSV_Handler 0 static,ignoring_inline_asm
port.c:368:6:xPortSysTickHandler 16 static
port.c:387:29:vPortSuppressTicksAndSleep 40 static,ignoring_inline_asm
port.c:541:6:prvSetupTimerInterrupt 8 static

View file

@ -1,20 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/%.o: ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/%.c Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L010x6 -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"

View file

@ -1,7 +0,0 @@
heap_4.c:113:7:pvPortMalloc 32 static,ignoring_inline_asm
heap_4.c:263:6:vPortFree 24 static,ignoring_inline_asm
heap_4.c:311:8:xPortGetFreeHeapSize 8 static
heap_4.c:317:8:xPortGetMinimumEverFreeHeapSize 8 static
heap_4.c:323:6:vPortInitialiseBlocks 8 static
heap_4.c:329:13:prvHeapInit 24 static
heap_4.c:377:13:prvInsertBlockIntoFreeList 24 static

View file

@ -1,20 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.o: ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.c Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L010x6 -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"

View file

@ -1,40 +0,0 @@
queue.c:255:12:xQueueGenericReset 24 static,ignoring_inline_asm
queue.c:310:16:xQueueGenericCreateStatic 48 static,ignoring_inline_asm
queue.c:368:16:xQueueGenericCreate 56 static,ignoring_inline_asm
queue.c:429:13:prvInitialiseNewQueue 24 static
queue.c:473:14:prvInitialiseMutex 16 static
queue.c:503:16:xQueueCreateMutex 32 static
queue.c:519:16:xQueueCreateMutexStatic 40 static
queue.c:539:15:xQueueGetMutexHolder 24 static
queue.c:570:15:xQueueGetMutexHolderFromISR 24 static,ignoring_inline_asm
queue.c:596:13:xQueueGiveMutexRecursive 32 static,ignoring_inline_asm
queue.c:651:13:xQueueTakeMutexRecursive 32 static,ignoring_inline_asm
queue.c:693:16:xQueueCreateCountingSemaphoreStatic 40 static,ignoring_inline_asm
queue.c:721:16:xQueueCreateCountingSemaphore 24 static,ignoring_inline_asm
queue.c:747:12:xQueueGenericSend 48 static,ignoring_inline_asm
queue.c:957:12:xQueueGenericSendFromISR 48 static,ignoring_inline_asm
queue.c:1108:12:xQueueGiveFromISR 40 static,ignoring_inline_asm
queue.c:1273:12:xQueueReceive 48 static,ignoring_inline_asm
queue.c:1414:12:xQueueSemaphoreTake 48 static,ignoring_inline_asm
queue.c:1632:12:xQueuePeek 48 static,ignoring_inline_asm
queue.c:1781:12:xQueueReceiveFromISR 56 static,ignoring_inline_asm
queue.c:1872:12:xQueuePeekFromISR 32 static,ignoring_inline_asm
queue.c:1926:13:uxQueueMessagesWaiting 24 static,ignoring_inline_asm
queue.c:1942:13:uxQueueSpacesAvailable 24 static,ignoring_inline_asm
queue.c:1959:13:uxQueueMessagesWaitingFromISR 24 static,ignoring_inline_asm
queue.c:1971:6:vQueueDelete 24 static,ignoring_inline_asm
queue.c:2015:14:uxQueueGetQueueNumber 16 static
queue.c:2025:7:vQueueSetQueueNumber 16 static
queue.c:2035:10:ucQueueGetQueueType 16 static
queue.c:2045:21:prvGetDisinheritPriorityAfterTimeout 24 static
queue.c:2070:19:prvCopyDataToQueue 32 static
queue.c:2149:13:prvCopyDataFromQueue 16 static
queue.c:2167:13:prvUnlockQueue 24 static
queue.c:2287:19:prvIsQueueEmpty 24 static
queue.c:2308:12:xQueueIsQueueEmptyFromISR 24 static,ignoring_inline_asm
queue.c:2327:19:prvIsQueueFull 24 static
queue.c:2348:12:xQueueIsQueueFullFromISR 24 static,ignoring_inline_asm
queue.c:2644:7:vQueueAddToRegistry 24 static
queue.c:2673:14:pcQueueGetName 24 static
queue.c:2701:7:vQueueUnregisterQueue 24 static
queue.c:2733:7:vQueueWaitForMessageRestricted 32 static

View file

@ -1,25 +0,0 @@
stream_buffer.c:219:23:xStreamBufferGenericCreate 48 static,ignoring_inline_asm
stream_buffer.c:283:23:xStreamBufferGenericCreateStatic 56 static,ignoring_inline_asm
stream_buffer.c:359:6:vStreamBufferDelete 24 static,ignoring_inline_asm
stream_buffer.c:392:12:xStreamBufferReset 48 static,ignoring_inline_asm
stream_buffer.c:441:12:xStreamBufferSetTriggerLevel 24 static,ignoring_inline_asm
stream_buffer.c:470:8:xStreamBufferSpacesAvailable 24 static,ignoring_inline_asm
stream_buffer.c:494:8:xStreamBufferBytesAvailable 24 static,ignoring_inline_asm
stream_buffer.c:506:8:xStreamBufferSend 64 static,ignoring_inline_asm
stream_buffer.c:610:8:xStreamBufferSendFromISR 64 static,ignoring_inline_asm
stream_buffer.c:661:15:prvWriteMessageToBuffer 32 static
stream_buffer.c:713:8:xStreamBufferReceive 56 static,ignoring_inline_asm
stream_buffer.c:817:8:xStreamBufferNextMessageLengthBytes 40 static,ignoring_inline_asm
stream_buffer.c:861:8:xStreamBufferReceiveFromISR 64 static,ignoring_inline_asm
stream_buffer.c:918:15:prvReadMessageFromBuffer 40 static
stream_buffer.c:970:12:xStreamBufferIsEmpty 32 static,ignoring_inline_asm
stream_buffer.c:993:12:xStreamBufferIsFull 32 static,ignoring_inline_asm
stream_buffer.c:1028:12:xStreamBufferSendCompletedFromISR 40 static,ignoring_inline_asm
stream_buffer.c:1058:12:xStreamBufferReceiveCompletedFromISR 40 static,ignoring_inline_asm
stream_buffer.c:1088:15:prvWriteBytesToBuffer 32 static,ignoring_inline_asm
stream_buffer.c:1134:15:prvReadBytesFromBuffer 40 static,ignoring_inline_asm
stream_buffer.c:1189:15:prvBytesInBuffer 24 static
stream_buffer.c:1209:13:prvInitialiseNewStreamBuffer 32 static,ignoring_inline_asm
stream_buffer.c:1237:14:uxStreamBufferGetStreamBufferNumber 16 static
stream_buffer.c:1247:7:vStreamBufferSetStreamBufferNumber 16 static
stream_buffer.c:1257:10:ucStreamBufferGetStreamBufferType 16 static

View file

@ -1,38 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/croutine.c \
../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c \
../Middlewares/Third_Party/FreeRTOS/Source/list.c \
../Middlewares/Third_Party/FreeRTOS/Source/queue.c \
../Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c \
../Middlewares/Third_Party/FreeRTOS/Source/tasks.c \
../Middlewares/Third_Party/FreeRTOS/Source/timers.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/croutine.o \
./Middlewares/Third_Party/FreeRTOS/Source/event_groups.o \
./Middlewares/Third_Party/FreeRTOS/Source/list.o \
./Middlewares/Third_Party/FreeRTOS/Source/queue.o \
./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.o \
./Middlewares/Third_Party/FreeRTOS/Source/tasks.o \
./Middlewares/Third_Party/FreeRTOS/Source/timers.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/croutine.d \
./Middlewares/Third_Party/FreeRTOS/Source/event_groups.d \
./Middlewares/Third_Party/FreeRTOS/Source/list.d \
./Middlewares/Third_Party/FreeRTOS/Source/queue.d \
./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.d \
./Middlewares/Third_Party/FreeRTOS/Source/tasks.d \
./Middlewares/Third_Party/FreeRTOS/Source/timers.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/%.o: ../Middlewares/Third_Party/FreeRTOS/Source/%.c Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L010x6 -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"

View file

@ -1,66 +0,0 @@
tasks.c:578:15:xTaskCreateStatic 64 static,ignoring_inline_asm
tasks.c:730:13:xTaskCreate 64 static
tasks.c:821:13:prvInitialiseNewTask 32 static,ignoring_inline_asm
tasks.c:1072:13:prvAddNewTaskToReadyList 16 static
tasks.c:1157:7:vTaskDelete 24 static,ignoring_inline_asm
tasks.c:1249:7:vTaskDelayUntil 32 static,ignoring_inline_asm
tasks.c:1333:7:vTaskDelay 24 static,ignoring_inline_asm
tasks.c:1378:13:eTaskGetState 40 static,ignoring_inline_asm
tasks.c:1470:14:uxTaskPriorityGet 24 static
tasks.c:1492:14:uxTaskPriorityGetFromISR 32 static
tasks.c:1532:7:vTaskPrioritySet 32 static,ignoring_inline_asm
tasks.c:1696:7:vTaskSuspend 24 static,ignoring_inline_asm
tasks.c:1797:20:prvTaskIsTaskSuspended 24 static,ignoring_inline_asm
tasks.c:1843:7:vTaskResume 24 static,ignoring_inline_asm
tasks.c:1897:13:xTaskResumeFromISR 32 static,ignoring_inline_asm
tasks.c:1967:6:vTaskStartScheduler 48 static,ignoring_inline_asm
tasks.c:2089:6:vTaskEndScheduler 8 static,ignoring_inline_asm
tasks.c:2100:6:vTaskSuspendAll 8 static,ignoring_inline_asm
tasks.c:2113:20:prvGetExpectedIdleTime 16 static
tasks.c:2174:12:xTaskResumeAll 24 static,ignoring_inline_asm
tasks.c:2284:12:xTaskGetTickCount 16 static
tasks.c:2299:12:xTaskGetTickCountFromISR 16 static
tasks.c:2330:13:uxTaskGetNumberOfTasks 8 static
tasks.c:2338:7:pcTaskGetName 24 static,ignoring_inline_asm
tasks.c:2352:16:prvSearchForNameWithinSingleList 56 static
tasks.c:2420:15:xTaskGetHandle 24 static,ignoring_inline_asm
tasks.c:2485:14:uxTaskGetSystemState 32 static
tasks.c:2576:7:vTaskStepTick 16 static,ignoring_inline_asm
tasks.c:2591:13:xTaskAbortDelay 24 static,ignoring_inline_asm
tasks.c:2665:12:xTaskIncrementTick 32 static,ignoring_inline_asm
tasks.c:2947:6:vTaskSwitchContext 16 static,ignoring_inline_asm
tasks.c:3020:6:vTaskPlaceOnEventList 16 static,ignoring_inline_asm
tasks.c:3037:6:vTaskPlaceOnUnorderedEventList 24 static,ignoring_inline_asm
tasks.c:3063:7:vTaskPlaceOnEventListRestricted 24 static,ignoring_inline_asm
tasks.c:3094:12:xTaskRemoveFromEventList 24 static,ignoring_inline_asm
tasks.c:3162:6:vTaskRemoveFromUnorderedEventList 24 static,ignoring_inline_asm
tasks.c:3196:6:vTaskSetTimeOutState 16 static,ignoring_inline_asm
tasks.c:3208:6:vTaskInternalSetTimeOutState 16 static
tasks.c:3216:12:xTaskCheckForTimeOut 32 static,ignoring_inline_asm
tasks.c:3279:6:vTaskMissedYield 8 static
tasks.c:3287:14:uxTaskGetTaskNumber 24 static
tasks.c:3310:7:vTaskSetTaskNumber 24 static
tasks.c:3334:8:prvIdleTask 24 static,ignoring_inline_asm
tasks.c:3453:19:eTaskConfirmSleepModeStatus 16 static
tasks.c:3546:13:prvInitialiseTaskLists 16 static
tasks.c:3578:13:prvCheckTasksWaitingTermination 16 static
tasks.c:3609:7:vTaskGetInfo 32 static
tasks.c:3705:21:prvListTasksWithinSingleList 48 static
tasks.c:3738:32:prvTaskCheckFreeStackSpace 24 static
tasks.c:3798:14:uxTaskGetStackHighWaterMark 32 static
tasks.c:3826:14:prvDeleteTCB 16 static,ignoring_inline_asm
tasks.c:3880:13:prvResetNextTaskUnblockTime 16 static
tasks.c:3906:15:xTaskGetCurrentTaskHandle 16 static
tasks.c:3923:13:xTaskGetSchedulerState 16 static
tasks.c:3951:13:xTaskPriorityInherit 24 static
tasks.c:4038:13:xTaskPriorityDisinherit 24 static,ignoring_inline_asm
tasks.c:4118:7:vTaskPriorityDisinheritAfterTimeout 32 static,ignoring_inline_asm
tasks.c:4533:12:uxTaskResetEventItemValue 16 static
tasks.c:4549:15:pvTaskIncrementMutexHeldCount 8 static
tasks.c:4566:11:ulTaskNotifyTake 24 static
tasks.c:4634:13:xTaskNotifyWait 32 static
tasks.c:4714:13:xTaskGenericNotify 40 static,ignoring_inline_asm
tasks.c:4828:13:xTaskGenericNotifyFromISR 40 static,ignoring_inline_asm
tasks.c:4957:7:vTaskNotifyGiveFromISR 32 static,ignoring_inline_asm
tasks.c:5044:13:xTaskNotifyStateClear 24 static
tasks.c:5081:13:prvAddCurrentTaskToDelayedList 24 static

View file

@ -1,26 +0,0 @@
timers.c:227:12:xTimerCreateTimerTask 48 static,ignoring_inline_asm
timers.c:282:16:xTimerCreate 48 static
timers.c:309:16:xTimerCreateStatic 48 static,ignoring_inline_asm
timers.c:349:13:prvInitialiseNewTimer 24 static,ignoring_inline_asm
timers.c:381:12:xTimerGenericCommand 56 static,ignoring_inline_asm
timers.c:424:14:xTimerGetTimerDaemonTaskHandle 8 static,ignoring_inline_asm
timers.c:433:12:xTimerGetPeriod 24 static,ignoring_inline_asm
timers.c:442:6:vTimerSetReloadMode 24 static,ignoring_inline_asm
timers.c:462:12:xTimerGetExpiryTime 24 static,ignoring_inline_asm
timers.c:473:14:pcTimerGetName 24 static,ignoring_inline_asm
timers.c:482:13:prvProcessExpiredTimer 32 static,ignoring_inline_asm
timers.c:523:8:prvTimerTask 24 static
timers.c:559:13:prvProcessTimerOrBlockTask 24 static
timers.c:619:19:prvGetNextExpireTime 24 static
timers.c:645:19:prvSampleTimeNow 24 static
timers.c:668:19:prvInsertTimerInActiveList 32 static
timers.c:709:13:prvProcessReceivedCommands 64 static,ignoring_inline_asm
timers.c:857:13:prvSwitchTimerLists 40 static,ignoring_inline_asm
timers.c:916:13:prvCheckForValidListAndQueue 16 static
timers.c:967:12:xTimerIsTimerActive 24 static,ignoring_inline_asm
timers.c:992:7:pvTimerGetTimerID 24 static,ignoring_inline_asm
timers.c:1009:6:vTimerSetTimerID 24 static,ignoring_inline_asm
timers.c:1025:13:xTimerPendFunctionCallFromISR 48 static
timers.c:1049:13:xTimerPendFunctionCall 48 static,ignoring_inline_asm
timers.c:1078:14:uxTimerGetTimerNumber 16 static
timers.c:1088:7:vTimerSetTimerNumber 16 static

View file

@ -1,104 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
-include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
-include Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
-include Core/Startup/subdir.mk
-include Core/Src/subdir.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(S_DEPS)),)
-include $(S_DEPS)
endif
ifneq ($(strip $(S_UPPER_DEPS)),)
-include $(S_UPPER_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
OPTIONAL_TOOL_DEPS := \
$(wildcard ../makefile.defs) \
$(wildcard ../makefile.init) \
$(wildcard ../makefile.targets) \
BUILD_ARTIFACT_NAME := Dumber3
BUILD_ARTIFACT_EXTENSION := elf
BUILD_ARTIFACT_PREFIX :=
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
# Add inputs and outputs from these tool invocations to the build variables
EXECUTABLES += \
Dumber3.elf \
SIZE_OUTPUT += \
default.size.stdout \
OBJDUMP_LIST += \
Dumber3.list \
OBJCOPY_BIN += \
Dumber3.bin \
# All Target
all: main-build
# Main-build Target
main-build: Dumber3.elf secondary-outputs
# Tool invocations
Dumber3.elf: $(OBJS) $(USER_OBJS) /home/dimercur/Travail/git/dumber/software/dumber3/STM32L010C6TX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-gcc -o "Dumber3.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m0plus -T"/home/dimercur/Travail/git/dumber/software/dumber3/STM32L010C6TX_FLASH.ld" --specs=nosys.specs -Wl,-Map="Dumber3.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
@echo 'Finished building target: $@'
@echo ' '
default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-size $(EXECUTABLES)
@echo 'Finished building: $@'
@echo ' '
Dumber3.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "Dumber3.list"
@echo 'Finished building: $@'
@echo ' '
Dumber3.bin: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
arm-none-eabi-objcopy -O binary $(EXECUTABLES) "Dumber3.bin"
@echo 'Finished building: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(SIZE_OUTPUT)$(OBJDUMP_LIST)$(EXECUTABLES)$(OBJS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS)$(OBJCOPY_BIN) Dumber3.elf
-@echo ' '
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
fail-specified-linker-script-missing:
@echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
@exit 2
warn-no-linker-script-specified:
@echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
.PHONY: all clean dependents fail-specified-linker-script-missing warn-no-linker-script-specified
-include ../makefile.targets

View file

@ -1,45 +0,0 @@
"./Core/Src/batterie.o"
"./Core/Src/freertos.o"
"./Core/Src/leds.o"
"./Core/Src/main.o"
"./Core/Src/messages.o"
"./Core/Src/moteurs.o"
"./Core/Src/sequenceur.o"
"./Core/Src/stm32l0xx_hal_msp.o"
"./Core/Src/stm32l0xx_it.o"
"./Core/Src/syscalls.o"
"./Core/Src/sysmem.o"
"./Core/Src/system_stm32l0xx.o"
"./Core/Src/xbee.o"
"./Core/Startup/startup_stm32l010c6tx.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc_ex.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_lptim.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.o"
"./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.o"
"./Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.o"
"./Middlewares/Third_Party/FreeRTOS/Source/croutine.o"
"./Middlewares/Third_Party/FreeRTOS/Source/event_groups.o"
"./Middlewares/Third_Party/FreeRTOS/Source/list.o"
"./Middlewares/Third_Party/FreeRTOS/Source/queue.o"
"./Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.o"
"./Middlewares/Third_Party/FreeRTOS/Source/tasks.o"
"./Middlewares/Third_Party/FreeRTOS/Source/timers.o"
"./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.o"
"./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o"

View file

@ -1,9 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
USER_OBJS :=
LIBS :=

View file

@ -1,30 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
ELF_SRCS :=
OBJ_SRCS :=
S_SRCS :=
C_SRCS :=
S_UPPER_SRCS :=
O_SRCS :=
SIZE_OUTPUT :=
OBJDUMP_LIST :=
EXECUTABLES :=
OBJS :=
S_DEPS :=
S_UPPER_DEPS :=
C_DEPS :=
OBJCOPY_BIN :=
# Every subdirectory with source files must be described here
SUBDIRS := \
Core/Src \
Core/Startup \
Drivers/STM32L0xx_HAL_Driver/Src \
Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 \
Middlewares/Third_Party/FreeRTOS/Source \
Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 \
Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang \

View file

@ -1,772 +0,0 @@
/**
******************************************************************************
* @file stm32l0xx_hal_lptim.h
* @author MCD Application Team
* @brief Header file of LPTIM HAL module.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef STM32L0xx_HAL_LPTIM_H
#define STM32L0xx_HAL_LPTIM_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32l0xx_hal_def.h"
/** @addtogroup STM32L0xx_HAL_Driver
* @{
*/
#if defined (LPTIM1)
/** @addtogroup LPTIM
* @{
*/
/* Exported types ------------------------------------------------------------*/
/** @defgroup LPTIM_Exported_Types LPTIM Exported Types
* @{
*/
#define LPTIM_EXTI_LINE_WAKEUPTIMER_EVENT EXTI_IMR_IM29 /*!< External interrupt line 29 Connected to the LPTIM EXTI Line */
/**
* @brief LPTIM Clock configuration definition
*/
typedef struct
{
uint32_t Source; /*!< Selects the clock source.
This parameter can be a value of @ref LPTIM_Clock_Source */
uint32_t Prescaler; /*!< Specifies the counter clock Prescaler.
This parameter can be a value of @ref LPTIM_Clock_Prescaler */
} LPTIM_ClockConfigTypeDef;
/**
* @brief LPTIM Clock configuration definition
*/
typedef struct
{
uint32_t Polarity; /*!< Selects the polarity of the active edge for the counter unit
if the ULPTIM input is selected.
Note: This parameter is used only when Ultra low power clock source is used.
Note: If the polarity is configured on 'both edges', an auxiliary clock
(one of the Low power oscillator) must be active.
This parameter can be a value of @ref LPTIM_Clock_Polarity */
uint32_t SampleTime; /*!< Selects the clock sampling time to configure the clock glitch filter.
Note: This parameter is used only when Ultra low power clock source is used.
This parameter can be a value of @ref LPTIM_Clock_Sample_Time */
} LPTIM_ULPClockConfigTypeDef;
/**
* @brief LPTIM Trigger configuration definition
*/
typedef struct
{
uint32_t Source; /*!< Selects the Trigger source.
This parameter can be a value of @ref LPTIM_Trigger_Source */
uint32_t ActiveEdge; /*!< Selects the Trigger active edge.
Note: This parameter is used only when an external trigger is used.
This parameter can be a value of @ref LPTIM_External_Trigger_Polarity */
uint32_t SampleTime; /*!< Selects the trigger sampling time to configure the clock glitch filter.
Note: This parameter is used only when an external trigger is used.
This parameter can be a value of @ref LPTIM_Trigger_Sample_Time */
} LPTIM_TriggerConfigTypeDef;
/**
* @brief LPTIM Initialization Structure definition
*/
typedef struct
{
LPTIM_ClockConfigTypeDef Clock; /*!< Specifies the clock parameters */
LPTIM_ULPClockConfigTypeDef UltraLowPowerClock;/*!< Specifies the Ultra Low Power clock parameters */
LPTIM_TriggerConfigTypeDef Trigger; /*!< Specifies the Trigger parameters */
uint32_t OutputPolarity; /*!< Specifies the Output polarity.
This parameter can be a value of @ref LPTIM_Output_Polarity */
uint32_t UpdateMode; /*!< Specifies whether the update of the autoreload and the compare
values is done immediately or after the end of current period.
This parameter can be a value of @ref LPTIM_Updating_Mode */
uint32_t CounterSource; /*!< Specifies whether the counter is incremented each internal event
or each external event.
This parameter can be a value of @ref LPTIM_Counter_Source */
} LPTIM_InitTypeDef;
/**
* @brief HAL LPTIM State structure definition
*/
typedef enum
{
HAL_LPTIM_STATE_RESET = 0x00U, /*!< Peripheral not yet initialized or disabled */
HAL_LPTIM_STATE_READY = 0x01U, /*!< Peripheral Initialized and ready for use */
HAL_LPTIM_STATE_BUSY = 0x02U, /*!< An internal process is ongoing */
HAL_LPTIM_STATE_TIMEOUT = 0x03U, /*!< Timeout state */
HAL_LPTIM_STATE_ERROR = 0x04U /*!< Internal Process is ongoing */
} HAL_LPTIM_StateTypeDef;
/**
* @brief LPTIM handle Structure definition
*/
#if (USE_HAL_LPTIM_REGISTER_CALLBACKS == 1)
typedef struct __LPTIM_HandleTypeDef
#else
typedef struct
#endif /* USE_HAL_LPTIM_REGISTER_CALLBACKS */
{
LPTIM_TypeDef *Instance; /*!< Register base address */
LPTIM_InitTypeDef Init; /*!< LPTIM required parameters */
HAL_StatusTypeDef Status; /*!< LPTIM peripheral status */
HAL_LockTypeDef Lock; /*!< LPTIM locking object */
__IO HAL_LPTIM_StateTypeDef State; /*!< LPTIM peripheral state */
#if (USE_HAL_LPTIM_REGISTER_CALLBACKS == 1)
void (* MspInitCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< LPTIM Base Msp Init Callback */
void (* MspDeInitCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< LPTIM Base Msp DeInit Callback */
void (* CompareMatchCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< Compare match Callback */
void (* AutoReloadMatchCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< Auto-reload match Callback */
void (* TriggerCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< External trigger event detection Callback */
void (* CompareWriteCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< Compare register write complete Callback */
void (* AutoReloadWriteCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< Auto-reload register write complete Callback */
void (* DirectionUpCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< Up-counting direction change Callback */
void (* DirectionDownCallback)(struct __LPTIM_HandleTypeDef *hlptim); /*!< Down-counting direction change Callback */
#endif /* USE_HAL_LPTIM_REGISTER_CALLBACKS */
} LPTIM_HandleTypeDef;
#if (USE_HAL_LPTIM_REGISTER_CALLBACKS == 1)
/**
* @brief HAL LPTIM Callback ID enumeration definition
*/
typedef enum
{
HAL_LPTIM_MSPINIT_CB_ID = 0x00U, /*!< LPTIM Base Msp Init Callback ID */
HAL_LPTIM_MSPDEINIT_CB_ID = 0x01U, /*!< LPTIM Base Msp DeInit Callback ID */
HAL_LPTIM_COMPARE_MATCH_CB_ID = 0x02U, /*!< Compare match Callback ID */
HAL_LPTIM_AUTORELOAD_MATCH_CB_ID = 0x03U, /*!< Auto-reload match Callback ID */
HAL_LPTIM_TRIGGER_CB_ID = 0x04U, /*!< External trigger event detection Callback ID */
HAL_LPTIM_COMPARE_WRITE_CB_ID = 0x05U, /*!< Compare register write complete Callback ID */
HAL_LPTIM_AUTORELOAD_WRITE_CB_ID = 0x06U, /*!< Auto-reload register write complete Callback ID */
HAL_LPTIM_DIRECTION_UP_CB_ID = 0x07U, /*!< Up-counting direction change Callback ID */
HAL_LPTIM_DIRECTION_DOWN_CB_ID = 0x08U, /*!< Down-counting direction change Callback ID */
} HAL_LPTIM_CallbackIDTypeDef;
/**
* @brief HAL TIM Callback pointer definition
*/
typedef void (*pLPTIM_CallbackTypeDef)(LPTIM_HandleTypeDef *hlptim); /*!< pointer to the LPTIM callback function */
#endif /* USE_HAL_LPTIM_REGISTER_CALLBACKS */
/**
* @}
*/
/* Exported constants --------------------------------------------------------*/
/** @defgroup LPTIM_Exported_Constants LPTIM Exported Constants
* @{
*/
/** @defgroup LPTIM_Clock_Source LPTIM Clock Source
* @{
*/
#define LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC 0x00000000U
#define LPTIM_CLOCKSOURCE_ULPTIM LPTIM_CFGR_CKSEL
/**
* @}
*/
/** @defgroup LPTIM_Clock_Prescaler LPTIM Clock Prescaler
* @{
*/
#define LPTIM_PRESCALER_DIV1 0x00000000U
#define LPTIM_PRESCALER_DIV2 LPTIM_CFGR_PRESC_0
#define LPTIM_PRESCALER_DIV4 LPTIM_CFGR_PRESC_1
#define LPTIM_PRESCALER_DIV8 (LPTIM_CFGR_PRESC_0 | LPTIM_CFGR_PRESC_1)
#define LPTIM_PRESCALER_DIV16 LPTIM_CFGR_PRESC_2
#define LPTIM_PRESCALER_DIV32 (LPTIM_CFGR_PRESC_0 | LPTIM_CFGR_PRESC_2)
#define LPTIM_PRESCALER_DIV64 (LPTIM_CFGR_PRESC_1 | LPTIM_CFGR_PRESC_2)
#define LPTIM_PRESCALER_DIV128 LPTIM_CFGR_PRESC
/**
* @}
*/
/** @defgroup LPTIM_Output_Polarity LPTIM Output Polarity
* @{
*/
#define LPTIM_OUTPUTPOLARITY_HIGH 0x00000000U
#define LPTIM_OUTPUTPOLARITY_LOW LPTIM_CFGR_WAVPOL
/**
* @}
*/
/** @defgroup LPTIM_Clock_Sample_Time LPTIM Clock Sample Time
* @{
*/
#define LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION 0x00000000U
#define LPTIM_CLOCKSAMPLETIME_2TRANSITIONS LPTIM_CFGR_CKFLT_0
#define LPTIM_CLOCKSAMPLETIME_4TRANSITIONS LPTIM_CFGR_CKFLT_1
#define LPTIM_CLOCKSAMPLETIME_8TRANSITIONS LPTIM_CFGR_CKFLT
/**
* @}
*/
/** @defgroup LPTIM_Clock_Polarity LPTIM Clock Polarity
* @{
*/
#define LPTIM_CLOCKPOLARITY_RISING 0x00000000U
#define LPTIM_CLOCKPOLARITY_FALLING LPTIM_CFGR_CKPOL_0
#define LPTIM_CLOCKPOLARITY_RISING_FALLING LPTIM_CFGR_CKPOL_1
/**
* @}
*/
/** @defgroup LPTIM_Trigger_Source LPTIM Trigger Source
* @{
*/
#define LPTIM_TRIGSOURCE_SOFTWARE 0x0000FFFFU
#define LPTIM_TRIGSOURCE_0 0x00000000U
#define LPTIM_TRIGSOURCE_1 LPTIM_CFGR_TRIGSEL_0
#define LPTIM_TRIGSOURCE_2 LPTIM_CFGR_TRIGSEL_1
#define LPTIM_TRIGSOURCE_3 (LPTIM_CFGR_TRIGSEL_0 | LPTIM_CFGR_TRIGSEL_1)
#define LPTIM_TRIGSOURCE_4 LPTIM_CFGR_TRIGSEL_2
#define LPTIM_TRIGSOURCE_5 (LPTIM_CFGR_TRIGSEL_0 | LPTIM_CFGR_TRIGSEL_2)
#define LPTIM_TRIGSOURCE_6 (LPTIM_CFGR_TRIGSEL_1 | LPTIM_CFGR_TRIGSEL_2)
#define LPTIM_TRIGSOURCE_7 LPTIM_CFGR_TRIGSEL
/**
* @}
*/
/** @defgroup LPTIM_External_Trigger_Polarity LPTIM External Trigger Polarity
* @{
*/
#define LPTIM_ACTIVEEDGE_RISING LPTIM_CFGR_TRIGEN_0
#define LPTIM_ACTIVEEDGE_FALLING LPTIM_CFGR_TRIGEN_1
#define LPTIM_ACTIVEEDGE_RISING_FALLING LPTIM_CFGR_TRIGEN
/**
* @}
*/
/** @defgroup LPTIM_Trigger_Sample_Time LPTIM Trigger Sample Time
* @{
*/
#define LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION 0x00000000U
#define LPTIM_TRIGSAMPLETIME_2TRANSITIONS LPTIM_CFGR_TRGFLT_0
#define LPTIM_TRIGSAMPLETIME_4TRANSITIONS LPTIM_CFGR_TRGFLT_1
#define LPTIM_TRIGSAMPLETIME_8TRANSITIONS LPTIM_CFGR_TRGFLT
/**
* @}
*/
/** @defgroup LPTIM_Updating_Mode LPTIM Updating Mode
* @{
*/
#define LPTIM_UPDATE_IMMEDIATE 0x00000000U
#define LPTIM_UPDATE_ENDOFPERIOD LPTIM_CFGR_PRELOAD
/**
* @}
*/
/** @defgroup LPTIM_Counter_Source LPTIM Counter Source
* @{
*/
#define LPTIM_COUNTERSOURCE_INTERNAL 0x00000000U
#define LPTIM_COUNTERSOURCE_EXTERNAL LPTIM_CFGR_COUNTMODE
/**
* @}
*/
/** @defgroup LPTIM_Flag_Definition LPTIM Flags Definition
* @{
*/
#define LPTIM_FLAG_DOWN LPTIM_ISR_DOWN
#define LPTIM_FLAG_UP LPTIM_ISR_UP
#define LPTIM_FLAG_ARROK LPTIM_ISR_ARROK
#define LPTIM_FLAG_CMPOK LPTIM_ISR_CMPOK
#define LPTIM_FLAG_EXTTRIG LPTIM_ISR_EXTTRIG
#define LPTIM_FLAG_ARRM LPTIM_ISR_ARRM
#define LPTIM_FLAG_CMPM LPTIM_ISR_CMPM
/**
* @}
*/
/** @defgroup LPTIM_Interrupts_Definition LPTIM Interrupts Definition
* @{
*/
#define LPTIM_IT_DOWN LPTIM_IER_DOWNIE
#define LPTIM_IT_UP LPTIM_IER_UPIE
#define LPTIM_IT_ARROK LPTIM_IER_ARROKIE
#define LPTIM_IT_CMPOK LPTIM_IER_CMPOKIE
#define LPTIM_IT_EXTTRIG LPTIM_IER_EXTTRIGIE
#define LPTIM_IT_ARRM LPTIM_IER_ARRMIE
#define LPTIM_IT_CMPM LPTIM_IER_CMPMIE
/**
* @}
*/
/**
* @}
*/
/* Exported macros -----------------------------------------------------------*/
/** @defgroup LPTIM_Exported_Macros LPTIM Exported Macros
* @{
*/
/** @brief Reset LPTIM handle state.
* @param __HANDLE__ LPTIM handle
* @retval None
*/
#if (USE_HAL_LPTIM_REGISTER_CALLBACKS == 1)
#define __HAL_LPTIM_RESET_HANDLE_STATE(__HANDLE__) do { \
(__HANDLE__)->State = HAL_LPTIM_STATE_RESET; \
(__HANDLE__)->MspInitCallback = NULL; \
(__HANDLE__)->MspDeInitCallback = NULL; \
} while(0)
#else
#define __HAL_LPTIM_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_LPTIM_STATE_RESET)
#endif /* USE_HAL_LPTIM_REGISTER_CALLBACKS */
/**
* @brief Enable the LPTIM peripheral.
* @param __HANDLE__ LPTIM handle
* @retval None
*/
#define __HAL_LPTIM_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (LPTIM_CR_ENABLE))
/**
* @brief Disable the LPTIM peripheral.
* @param __HANDLE__ LPTIM handle
* @note The following sequence is required to solve LPTIM disable HW limitation.
* Please check Errata Sheet ES0335 for more details under "MCU may remain
* stuck in LPTIM interrupt when entering Stop mode" section.
* @note Please call @ref HAL_LPTIM_GetState() after a call to __HAL_LPTIM_DISABLE to
* check for TIMEOUT.
* @retval None
*/
#define __HAL_LPTIM_DISABLE(__HANDLE__) LPTIM_Disable(__HANDLE__)
/**
* @brief Start the LPTIM peripheral in Continuous mode.
* @param __HANDLE__ LPTIM handle
* @retval None
*/
#define __HAL_LPTIM_START_CONTINUOUS(__HANDLE__) ((__HANDLE__)->Instance->CR |= LPTIM_CR_CNTSTRT)
/**
* @brief Start the LPTIM peripheral in single mode.
* @param __HANDLE__ LPTIM handle
* @retval None
*/
#define __HAL_LPTIM_START_SINGLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= LPTIM_CR_SNGSTRT)
/**
* @brief Write the passed parameter in the Autoreload register.
* @param __HANDLE__ LPTIM handle
* @param __VALUE__ Autoreload value
* @retval None
* @note The ARR register can only be modified when the LPTIM instance is enabled.
*/
#define __HAL_LPTIM_AUTORELOAD_SET(__HANDLE__ , __VALUE__) ((__HANDLE__)->Instance->ARR = (__VALUE__))
/**
* @brief Write the passed parameter in the Compare register.
* @param __HANDLE__ LPTIM handle
* @param __VALUE__ Compare value
* @retval None
* @note The CMP register can only be modified when the LPTIM instance is enabled.
*/
#define __HAL_LPTIM_COMPARE_SET(__HANDLE__ , __VALUE__) ((__HANDLE__)->Instance->CMP = (__VALUE__))
/**
* @brief Check whether the specified LPTIM flag is set or not.
* @param __HANDLE__ LPTIM handle
* @param __FLAG__ LPTIM flag to check
* This parameter can be a value of:
* @arg LPTIM_FLAG_DOWN : Counter direction change up Flag.
* @arg LPTIM_FLAG_UP : Counter direction change down to up Flag.
* @arg LPTIM_FLAG_ARROK : Autoreload register update OK Flag.
* @arg LPTIM_FLAG_CMPOK : Compare register update OK Flag.
* @arg LPTIM_FLAG_EXTTRIG : External trigger edge event Flag.
* @arg LPTIM_FLAG_ARRM : Autoreload match Flag.
* @arg LPTIM_FLAG_CMPM : Compare match Flag.
* @retval The state of the specified flag (SET or RESET).
*/
#define __HAL_LPTIM_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->ISR &(__FLAG__)) == (__FLAG__))
/**
* @brief Clear the specified LPTIM flag.
* @param __HANDLE__ LPTIM handle.
* @param __FLAG__ LPTIM flag to clear.
* This parameter can be a value of:
* @arg LPTIM_FLAG_DOWN : Counter direction change up Flag.
* @arg LPTIM_FLAG_UP : Counter direction change down to up Flag.
* @arg LPTIM_FLAG_ARROK : Autoreload register update OK Flag.
* @arg LPTIM_FLAG_CMPOK : Compare register update OK Flag.
* @arg LPTIM_FLAG_EXTTRIG : External trigger edge event Flag.
* @arg LPTIM_FLAG_ARRM : Autoreload match Flag.
* @arg LPTIM_FLAG_CMPM : Compare match Flag.
* @retval None.
*/
#define __HAL_LPTIM_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__))
/**
* @brief Enable the specified LPTIM interrupt.
* @param __HANDLE__ LPTIM handle.
* @param __INTERRUPT__ LPTIM interrupt to set.
* This parameter can be a value of:
* @arg LPTIM_IT_DOWN : Counter direction change up Interrupt.
* @arg LPTIM_IT_UP : Counter direction change down to up Interrupt.
* @arg LPTIM_IT_ARROK : Autoreload register update OK Interrupt.
* @arg LPTIM_IT_CMPOK : Compare register update OK Interrupt.
* @arg LPTIM_IT_EXTTRIG : External trigger edge event Interrupt.
* @arg LPTIM_IT_ARRM : Autoreload match Interrupt.
* @arg LPTIM_IT_CMPM : Compare match Interrupt.
* @retval None.
* @note The LPTIM interrupts can only be enabled when the LPTIM instance is disabled.
*/
#define __HAL_LPTIM_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER |= (__INTERRUPT__))
/**
* @brief Disable the specified LPTIM interrupt.
* @param __HANDLE__ LPTIM handle.
* @param __INTERRUPT__ LPTIM interrupt to set.
* This parameter can be a value of:
* @arg LPTIM_IT_DOWN : Counter direction change up Interrupt.
* @arg LPTIM_IT_UP : Counter direction change down to up Interrupt.
* @arg LPTIM_IT_ARROK : Autoreload register update OK Interrupt.
* @arg LPTIM_IT_CMPOK : Compare register update OK Interrupt.
* @arg LPTIM_IT_EXTTRIG : External trigger edge event Interrupt.
* @arg LPTIM_IT_ARRM : Autoreload match Interrupt.
* @arg LPTIM_IT_CMPM : Compare match Interrupt.
* @retval None.
* @note The LPTIM interrupts can only be disabled when the LPTIM instance is disabled.
*/
#define __HAL_LPTIM_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER &= (~(__INTERRUPT__)))
/**
* @brief Check whether the specified LPTIM interrupt source is enabled or not.
* @param __HANDLE__ LPTIM handle.
* @param __INTERRUPT__ LPTIM interrupt to check.
* This parameter can be a value of:
* @arg LPTIM_IT_DOWN : Counter direction change up Interrupt.
* @arg LPTIM_IT_UP : Counter direction change down to up Interrupt.
* @arg LPTIM_IT_ARROK : Autoreload register update OK Interrupt.
* @arg LPTIM_IT_CMPOK : Compare register update OK Interrupt.
* @arg LPTIM_IT_EXTTRIG : External trigger edge event Interrupt.
* @arg LPTIM_IT_ARRM : Autoreload match Interrupt.
* @arg LPTIM_IT_CMPM : Compare match Interrupt.
* @retval Interrupt status.
*/
#define __HAL_LPTIM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->IER\
& (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
/**
* @brief Enable interrupt on the LPTIM Wake-up Timer associated Exti line.
* @retval None
*/
#define __HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_IT() (EXTI->IMR\
|= LPTIM_EXTI_LINE_WAKEUPTIMER_EVENT)
/**
* @brief Disable interrupt on the LPTIM Wake-up Timer associated Exti line.
* @retval None
*/
#define __HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_IT() (EXTI->IMR\
&= ~(LPTIM_EXTI_LINE_WAKEUPTIMER_EVENT))
/**
* @brief Enable event on the LPTIM Wake-up Timer associated Exti line.
* @retval None.
*/
#define __HAL_LPTIM_WAKEUPTIMER_EXTI_ENABLE_EVENT() (EXTI->EMR\
|= LPTIM_EXTI_LINE_WAKEUPTIMER_EVENT)
/**
* @brief Disable event on the LPTIM Wake-up Timer associated Exti line.
* @retval None.
*/
#define __HAL_LPTIM_WAKEUPTIMER_EXTI_DISABLE_EVENT() (EXTI->EMR\
&= ~(LPTIM_EXTI_LINE_WAKEUPTIMER_EVENT))
/**
* @}
*/
/* Exported functions --------------------------------------------------------*/
/** @defgroup LPTIM_Exported_Functions LPTIM Exported Functions
* @{
*/
/** @addtogroup LPTIM_Exported_Functions_Group1
* @brief Initialization and Configuration functions.
* @{
*/
/* Initialization/de-initialization functions ********************************/
HAL_StatusTypeDef HAL_LPTIM_Init(LPTIM_HandleTypeDef *hlptim);
HAL_StatusTypeDef HAL_LPTIM_DeInit(LPTIM_HandleTypeDef *hlptim);
/* MSP functions *************************************************************/
void HAL_LPTIM_MspInit(LPTIM_HandleTypeDef *hlptim);
void HAL_LPTIM_MspDeInit(LPTIM_HandleTypeDef *hlptim);
/**
* @}
*/
/** @addtogroup LPTIM_Exported_Functions_Group2
* @brief Start-Stop operation functions.
* @{
*/
/* Start/Stop operation functions *********************************************/
/* ################################# PWM Mode ################################*/
/* Blocking mode: Polling */
HAL_StatusTypeDef HAL_LPTIM_PWM_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse);
HAL_StatusTypeDef HAL_LPTIM_PWM_Stop(LPTIM_HandleTypeDef *hlptim);
/* Non-Blocking mode: Interrupt */
HAL_StatusTypeDef HAL_LPTIM_PWM_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse);
HAL_StatusTypeDef HAL_LPTIM_PWM_Stop_IT(LPTIM_HandleTypeDef *hlptim);
/* ############################# One Pulse Mode ##############################*/
/* Blocking mode: Polling */
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse);
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop(LPTIM_HandleTypeDef *hlptim);
/* Non-Blocking mode: Interrupt */
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse);
HAL_StatusTypeDef HAL_LPTIM_OnePulse_Stop_IT(LPTIM_HandleTypeDef *hlptim);
/* ############################## Set once Mode ##############################*/
/* Blocking mode: Polling */
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse);
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop(LPTIM_HandleTypeDef *hlptim);
/* Non-Blocking mode: Interrupt */
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Pulse);
HAL_StatusTypeDef HAL_LPTIM_SetOnce_Stop_IT(LPTIM_HandleTypeDef *hlptim);
/* ############################### Encoder Mode ##############################*/
/* Blocking mode: Polling */
HAL_StatusTypeDef HAL_LPTIM_Encoder_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period);
HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop(LPTIM_HandleTypeDef *hlptim);
/* Non-Blocking mode: Interrupt */
HAL_StatusTypeDef HAL_LPTIM_Encoder_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period);
HAL_StatusTypeDef HAL_LPTIM_Encoder_Stop_IT(LPTIM_HandleTypeDef *hlptim);
/* ############################# Time out Mode ##############################*/
/* Blocking mode: Polling */
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout);
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop(LPTIM_HandleTypeDef *hlptim);
/* Non-Blocking mode: Interrupt */
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period, uint32_t Timeout);
HAL_StatusTypeDef HAL_LPTIM_TimeOut_Stop_IT(LPTIM_HandleTypeDef *hlptim);
/* ############################## Counter Mode ###############################*/
/* Blocking mode: Polling */
HAL_StatusTypeDef HAL_LPTIM_Counter_Start(LPTIM_HandleTypeDef *hlptim, uint32_t Period);
HAL_StatusTypeDef HAL_LPTIM_Counter_Stop(LPTIM_HandleTypeDef *hlptim);
/* Non-Blocking mode: Interrupt */
HAL_StatusTypeDef HAL_LPTIM_Counter_Start_IT(LPTIM_HandleTypeDef *hlptim, uint32_t Period);
HAL_StatusTypeDef HAL_LPTIM_Counter_Stop_IT(LPTIM_HandleTypeDef *hlptim);
/**
* @}
*/
/** @addtogroup LPTIM_Exported_Functions_Group3
* @brief Read operation functions.
* @{
*/
/* Reading operation functions ************************************************/
uint32_t HAL_LPTIM_ReadCounter(LPTIM_HandleTypeDef *hlptim);
uint32_t HAL_LPTIM_ReadAutoReload(LPTIM_HandleTypeDef *hlptim);
uint32_t HAL_LPTIM_ReadCompare(LPTIM_HandleTypeDef *hlptim);
/**
* @}
*/
/** @addtogroup LPTIM_Exported_Functions_Group4
* @brief LPTIM IRQ handler and callback functions.
* @{
*/
/* LPTIM IRQ functions *******************************************************/
void HAL_LPTIM_IRQHandler(LPTIM_HandleTypeDef *hlptim);
/* CallBack functions ********************************************************/
void HAL_LPTIM_CompareMatchCallback(LPTIM_HandleTypeDef *hlptim);
void HAL_LPTIM_AutoReloadMatchCallback(LPTIM_HandleTypeDef *hlptim);
void HAL_LPTIM_TriggerCallback(LPTIM_HandleTypeDef *hlptim);
void HAL_LPTIM_CompareWriteCallback(LPTIM_HandleTypeDef *hlptim);
void HAL_LPTIM_AutoReloadWriteCallback(LPTIM_HandleTypeDef *hlptim);
void HAL_LPTIM_DirectionUpCallback(LPTIM_HandleTypeDef *hlptim);
void HAL_LPTIM_DirectionDownCallback(LPTIM_HandleTypeDef *hlptim);
/* Callbacks Register/UnRegister functions ***********************************/
#if (USE_HAL_LPTIM_REGISTER_CALLBACKS == 1)
HAL_StatusTypeDef HAL_LPTIM_RegisterCallback(LPTIM_HandleTypeDef *lphtim, HAL_LPTIM_CallbackIDTypeDef CallbackID,
pLPTIM_CallbackTypeDef pCallback);
HAL_StatusTypeDef HAL_LPTIM_UnRegisterCallback(LPTIM_HandleTypeDef *lphtim, HAL_LPTIM_CallbackIDTypeDef CallbackID);
#endif /* USE_HAL_LPTIM_REGISTER_CALLBACKS */
/**
* @}
*/
/** @addtogroup LPTIM_Group5
* @brief Peripheral State functions.
* @{
*/
/* Peripheral State functions ************************************************/
HAL_LPTIM_StateTypeDef HAL_LPTIM_GetState(LPTIM_HandleTypeDef *hlptim);
/**
* @}
*/
/**
* @}
*/
/* Private types -------------------------------------------------------------*/
/** @defgroup LPTIM_Private_Types LPTIM Private Types
* @{
*/
/**
* @}
*/
/* Private variables ---------------------------------------------------------*/
/** @defgroup LPTIM_Private_Variables LPTIM Private Variables
* @{
*/
/**
* @}
*/
/* Private constants ---------------------------------------------------------*/
/** @defgroup LPTIM_Private_Constants LPTIM Private Constants
* @{
*/
/**
* @}
*/
/* Private macros ------------------------------------------------------------*/
/** @defgroup LPTIM_Private_Macros LPTIM Private Macros
* @{
*/
#define IS_LPTIM_CLOCK_SOURCE(__SOURCE__) (((__SOURCE__) == LPTIM_CLOCKSOURCE_ULPTIM) || \
((__SOURCE__) == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC))
#define IS_LPTIM_CLOCK_PRESCALER(__PRESCALER__) (((__PRESCALER__) == LPTIM_PRESCALER_DIV1 ) || \
((__PRESCALER__) == LPTIM_PRESCALER_DIV2 ) || \
((__PRESCALER__) == LPTIM_PRESCALER_DIV4 ) || \
((__PRESCALER__) == LPTIM_PRESCALER_DIV8 ) || \
((__PRESCALER__) == LPTIM_PRESCALER_DIV16 ) || \
((__PRESCALER__) == LPTIM_PRESCALER_DIV32 ) || \
((__PRESCALER__) == LPTIM_PRESCALER_DIV64 ) || \
((__PRESCALER__) == LPTIM_PRESCALER_DIV128))
#define IS_LPTIM_CLOCK_PRESCALERDIV1(__PRESCALER__) ((__PRESCALER__) == LPTIM_PRESCALER_DIV1)
#define IS_LPTIM_OUTPUT_POLARITY(__POLARITY__) (((__POLARITY__) == LPTIM_OUTPUTPOLARITY_LOW ) || \
((__POLARITY__) == LPTIM_OUTPUTPOLARITY_HIGH))
#define IS_LPTIM_CLOCK_SAMPLE_TIME(__SAMPLETIME__) (((__SAMPLETIME__) == LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION) || \
((__SAMPLETIME__) == LPTIM_CLOCKSAMPLETIME_2TRANSITIONS) || \
((__SAMPLETIME__) == LPTIM_CLOCKSAMPLETIME_4TRANSITIONS) || \
((__SAMPLETIME__) == LPTIM_CLOCKSAMPLETIME_8TRANSITIONS))
#define IS_LPTIM_CLOCK_POLARITY(__POLARITY__) (((__POLARITY__) == LPTIM_CLOCKPOLARITY_RISING) || \
((__POLARITY__) == LPTIM_CLOCKPOLARITY_FALLING) || \
((__POLARITY__) == LPTIM_CLOCKPOLARITY_RISING_FALLING))
#define IS_LPTIM_TRG_SOURCE(__TRIG__) (((__TRIG__) == LPTIM_TRIGSOURCE_SOFTWARE) || \
((__TRIG__) == LPTIM_TRIGSOURCE_0) || \
((__TRIG__) == LPTIM_TRIGSOURCE_1) || \
((__TRIG__) == LPTIM_TRIGSOURCE_2) || \
((__TRIG__) == LPTIM_TRIGSOURCE_3) || \
((__TRIG__) == LPTIM_TRIGSOURCE_4) || \
((__TRIG__) == LPTIM_TRIGSOURCE_5) || \
((__TRIG__) == LPTIM_TRIGSOURCE_6) || \
((__TRIG__) == LPTIM_TRIGSOURCE_7))
#define IS_LPTIM_EXT_TRG_POLARITY(__POLARITY__) (((__POLARITY__) == LPTIM_ACTIVEEDGE_RISING ) || \
((__POLARITY__) == LPTIM_ACTIVEEDGE_FALLING ) || \
((__POLARITY__) == LPTIM_ACTIVEEDGE_RISING_FALLING ))
#define IS_LPTIM_TRIG_SAMPLE_TIME(__SAMPLETIME__) (((__SAMPLETIME__) == LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION) || \
((__SAMPLETIME__) == LPTIM_TRIGSAMPLETIME_2TRANSITIONS ) || \
((__SAMPLETIME__) == LPTIM_TRIGSAMPLETIME_4TRANSITIONS ) || \
((__SAMPLETIME__) == LPTIM_TRIGSAMPLETIME_8TRANSITIONS ))
#define IS_LPTIM_UPDATE_MODE(__MODE__) (((__MODE__) == LPTIM_UPDATE_IMMEDIATE) || \
((__MODE__) == LPTIM_UPDATE_ENDOFPERIOD))
#define IS_LPTIM_COUNTER_SOURCE(__SOURCE__) (((__SOURCE__) == LPTIM_COUNTERSOURCE_INTERNAL) || \
((__SOURCE__) == LPTIM_COUNTERSOURCE_EXTERNAL))
#define IS_LPTIM_AUTORELOAD(__AUTORELOAD__) ((__AUTORELOAD__) <= 0x0000FFFFUL)
#define IS_LPTIM_COMPARE(__COMPARE__) ((__COMPARE__) <= 0x0000FFFFUL)
#define IS_LPTIM_PERIOD(__PERIOD__) ((__PERIOD__) <= 0x0000FFFFUL)
#define IS_LPTIM_PULSE(__PULSE__) ((__PULSE__) <= 0x0000FFFFUL)
/**
* @}
*/
/* Private functions ---------------------------------------------------------*/
/** @defgroup LPTIM_Private_Functions LPTIM Private Functions
* @{
*/
void LPTIM_Disable(LPTIM_HandleTypeDef *hlptim);
/**
* @}
*/
/**
* @}
*/
#endif /* LPTIM1 */
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* STM32L0xx_HAL_LPTIM_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View file

@ -2,27 +2,6 @@
ADC.IPParameters=SamplingTime,Resolution
ADC.Resolution=ADC_RESOLUTION_8B
ADC.SamplingTime=ADC_SAMPLETIME_160CYCLES_5
Dma.LPUART1_RX.0.Direction=DMA_PERIPH_TO_MEMORY
Dma.LPUART1_RX.0.Instance=DMA1_Channel3
Dma.LPUART1_RX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE
Dma.LPUART1_RX.0.MemInc=DMA_MINC_ENABLE
Dma.LPUART1_RX.0.Mode=DMA_NORMAL
Dma.LPUART1_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
Dma.LPUART1_RX.0.PeriphInc=DMA_PINC_DISABLE
Dma.LPUART1_RX.0.Priority=DMA_PRIORITY_HIGH
Dma.LPUART1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
Dma.LPUART1_TX.1.Direction=DMA_MEMORY_TO_PERIPH
Dma.LPUART1_TX.1.Instance=DMA1_Channel2
Dma.LPUART1_TX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE
Dma.LPUART1_TX.1.MemInc=DMA_MINC_ENABLE
Dma.LPUART1_TX.1.Mode=DMA_NORMAL
Dma.LPUART1_TX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
Dma.LPUART1_TX.1.PeriphInc=DMA_PINC_DISABLE
Dma.LPUART1_TX.1.Priority=DMA_PRIORITY_HIGH
Dma.LPUART1_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
Dma.Request0=LPUART1_RX
Dma.Request1=LPUART1_TX
Dma.RequestsNb=2
FREERTOS.INCLUDE_pcTaskGetTaskName=1
FREERTOS.INCLUDE_xEventGroupSetBitFromISR=1
FREERTOS.INCLUDE_xTaskAbortDelay=1
@ -30,8 +9,8 @@ FREERTOS.INCLUDE_xTaskGetCurrentTaskHandle=1
FREERTOS.INCLUDE_xTaskGetHandle=1
FREERTOS.IPParameters=Tasks01,configTICK_RATE_HZ,configUSE_TICKLESS_IDLE,INCLUDE_xTaskGetHandle,INCLUDE_xTaskAbortDelay,INCLUDE_xEventGroupSetBitFromISR,INCLUDE_pcTaskGetTaskName,INCLUDE_xTaskGetCurrentTaskHandle,configTOTAL_HEAP_SIZE
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL
FREERTOS.configTICK_RATE_HZ=100
FREERTOS.configTOTAL_HEAP_SIZE=2048
FREERTOS.configTICK_RATE_HZ=1000
FREERTOS.configTOTAL_HEAP_SIZE=1024
FREERTOS.configUSE_TICKLESS_IDLE=1
File.Version=6
GPIO.groupedBy=Group By Peripherals
@ -41,53 +20,55 @@ LPUART1.IPParameters=BaudRate,WordLength
LPUART1.WordLength=UART_WORDLENGTH_8B
Mcu.Family=STM32L0
Mcu.IP0=ADC
Mcu.IP1=DMA
Mcu.IP2=FREERTOS
Mcu.IP3=LPTIM1
Mcu.IP4=LPUART1
Mcu.IP5=NVIC
Mcu.IP6=RCC
Mcu.IP7=SYS
Mcu.IP8=TIM2
Mcu.IP9=TIM21
Mcu.IP1=FREERTOS
Mcu.IP2=LPUART1
Mcu.IP3=NVIC
Mcu.IP4=RCC
Mcu.IP5=SYS
Mcu.IP6=TIM2
Mcu.IP7=TIM3
Mcu.IP8=TIM21
Mcu.IP9=TIM22
Mcu.IPNb=10
Mcu.Name=STM32L010C6Tx
Mcu.Name=STM32L071C(B-Z)Tx
Mcu.Package=LQFP48
Mcu.Pin0=PC0
Mcu.Pin1=PA0
Mcu.Pin0=PA0
Mcu.Pin1=PA1
Mcu.Pin10=PB12
Mcu.Pin11=PB13
Mcu.Pin12=PB14
Mcu.Pin13=PB15
Mcu.Pin14=PA8
Mcu.Pin14=PA10
Mcu.Pin15=PA13
Mcu.Pin16=PA14
Mcu.Pin17=PB3
Mcu.Pin18=PB4
Mcu.Pin19=PB6
Mcu.Pin2=PA1
Mcu.Pin20=PB7
Mcu.Pin21=PB8
Mcu.Pin22=PB9
Mcu.Pin23=VP_FREERTOS_VS_CMSIS_V2
Mcu.Pin24=VP_SYS_VS_Systick
Mcu.Pin25=VP_TIM2_VS_ClockSourceINT
Mcu.Pin3=PA2
Mcu.Pin4=PA3
Mcu.Pin5=PA5
Mcu.Pin17=PA15
Mcu.Pin18=PB3
Mcu.Pin19=PB4
Mcu.Pin2=PA2
Mcu.Pin20=PB6
Mcu.Pin21=PB7
Mcu.Pin22=PB8
Mcu.Pin23=PB9
Mcu.Pin24=VP_FREERTOS_VS_CMSIS_V2
Mcu.Pin25=VP_SYS_VS_Systick
Mcu.Pin26=VP_TIM2_VS_ClockSourceINT
Mcu.Pin27=VP_TIM3_VS_ClockSourceINT
Mcu.Pin3=PA3
Mcu.Pin4=PA6
Mcu.Pin5=PA7
Mcu.Pin6=PB0
Mcu.Pin7=PB1
Mcu.Pin8=PB10
Mcu.Pin9=PB11
Mcu.PinsNb=26
Mcu.PinsNb=28
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32L010C6Tx
Mcu.UserName=STM32L071CBTx
MxCube.Version=6.3.0
MxDb.Version=DB.6.0.30
NVIC.ADC1_IRQn=true\:3\:0\:false\:false\:true\:true\:true\:true
NVIC.DMA1_Channel2_3_IRQn=true\:3\:0\:false\:false\:true\:true\:false\:true
NVIC.EXTI2_3_IRQn=true\:3\:0\:false\:false\:true\:false\:true\:true
NVIC.ADC1_COMP_IRQn=true\:3\:0\:false\:false\:true\:true\:true\:true
NVIC.EXTI2_3_IRQn=true\:3\:0\:false\:false\:true\:true\:true\:true
NVIC.EXTI4_15_IRQn=true\:3\:0\:false\:false\:true\:true\:true\:true
NVIC.ForceEnableDMAVector=true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.LPUART1_IRQn=true\:3\:0\:false\:false\:true\:true\:true\:true
@ -102,40 +83,62 @@ PA0.GPIOParameters=GPIO_Label
PA0.GPIO_Label=BATTERY_SENSE
PA0.Mode=IN0
PA0.Signal=ADC_IN0
PA1.GPIOParameters=GPIO_Label
PA1.GPIOParameters=GPIO_Speed,GPIO_Label
PA1.GPIO_Label=PWM_B_GAUCHE
PA1.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
PA1.Signal=S_TIM2_CH2
PA10.GPIOParameters=GPIO_Label
PA10.GPIO_Label=XBEE_RESET
PA10.Locked=true
PA10.Signal=GPIO_Output
PA13.Mode=Serial_Wire
PA13.Signal=SYS_SWDIO
PA14.Mode=Serial_Wire
PA14.Signal=SYS_SWCLK
PA15.GPIOParameters=GPIO_Speed,GPIO_Label
PA15.GPIO_Label=PWM_A_GAUCHE
PA15.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
PA15.Locked=true
PA15.Signal=S_TIM2_CH1
PA2.GPIOParameters=GPIO_Label
PA2.GPIO_Label=ENC_PHA_DROIT
PA2.Locked=true
PA2.Signal=S_TIM21_CH1
PA3.GPIOParameters=GPIO_Label
PA3.GPIO_Label=ENC_PHB_DROIT
PA3.Locked=true
PA3.Signal=S_TIM21_CH2
PA5.GPIOParameters=GPIO_Label
PA5.GPIO_Label=ENC_PHB_GAUCHE
PA5.Mode=Encoder_mode_occur1
PA5.Signal=LPTIM1_IN2
PA8.GPIOParameters=GPIO_Label
PA8.GPIO_Label=PWM_A_GAUCHE
PA8.Signal=S_TIM2_CH1
PB0.GPIOParameters=GPIO_Label
PA6.GPIOParameters=GPIO_Label
PA6.GPIO_Label=ENC_PHB_GAUCHE
PA6.Signal=S_TIM22_CH1
PA7.GPIOParameters=GPIO_Label
PA7.GPIO_Label=ENC_PHA_GAUCHE
PA7.Signal=S_TIM22_CH2
PB0.GPIOParameters=GPIO_Speed,GPIO_Label
PB0.GPIO_Label=PWM_A_DROIT
PB0.Signal=S_TIM2_CH3
PB1.GPIOParameters=GPIO_Label
PB0.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
PB0.Locked=true
PB0.Signal=S_TIM3_CH3
PB1.GPIOParameters=GPIO_Speed,GPIO_Label
PB1.GPIO_Label=PWM_B_DROIT
PB1.Signal=S_TIM2_CH4
PB1.GPIO_Speed=GPIO_SPEED_FREQ_HIGH
PB1.Locked=true
PB1.Signal=S_TIM3_CH4
PB10.GPIOParameters=GPIO_Label
PB10.GPIO_Label=USART_TX
PB10.Locked=true
PB10.Mode=Asynchronous
PB10.Signal=LPUART1_TX
PB11.GPIOParameters=GPIO_Label
PB11.GPIO_Label=USART_RX
PB11.Locked=true
PB11.Mode=Asynchronous
PB11.Signal=LPUART1_RX
PB12.GPIOParameters=GPIO_Speed,GPIO_Label
PB12.GPIOParameters=GPIO_Speed,PinState,GPIO_Label
PB12.GPIO_Label=LED_ROUGE
PB12.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
PB12.Locked=true
PB12.PinState=GPIO_PIN_RESET
PB12.Signal=GPIO_Output
PB13.GPIOParameters=GPIO_Speed,GPIO_Label
PB13.GPIO_Label=LED_ORANGE
@ -145,17 +148,20 @@ PB13.Signal=GPIO_Output
PB14.GPIOParameters=GPIO_Speed,GPIO_Label
PB14.GPIO_Label=LED_VERTE
PB14.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
PB14.Locked=true
PB14.Signal=GPIO_Output
PB15.GPIOParameters=GPIO_Label
PB15.GPIOParameters=PinState,GPIO_Label
PB15.GPIO_Label=SHUTDOWN_ENCODERS
PB15.Locked=true
PB15.PinState=GPIO_PIN_SET
PB15.Signal=GPIO_Output
PB3.GPIOParameters=GPIO_Label
PB3.GPIO_Label=BUTTON_SENSE
PB3.Locked=true
PB3.Signal=GPXTI3
PB4.GPIOParameters=GPIO_Label
PB4.GPIOParameters=GPIO_Label,GPIO_ModeDefaultEXTI
PB4.GPIO_Label=USB_SENSE
PB4.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_RISING_FALLING
PB4.Locked=true
PB4.Signal=GPXTI4
PB6.GPIOParameters=GPIO_Label
@ -170,16 +176,12 @@ PB8.GPIOParameters=GPIO_Label
PB8.GPIO_Label=SHUTDOWN_5V
PB8.Locked=true
PB8.Signal=GPIO_Output
PB9.GPIOParameters=PinState,GPIO_Label
PB9.GPIOParameters=PinState,GPIO_Label,GPIO_ModeDefaultOutputPP
PB9.GPIO_Label=SHUTDOWN
PB9.GPIO_ModeDefaultOutputPP=GPIO_MODE_OUTPUT_OD
PB9.Locked=true
PB9.PinState=GPIO_PIN_SET
PB9.Signal=GPIO_Output
PC0.GPIOParameters=GPIO_Label
PC0.GPIO_Label=ENC_PHA_GAUCHE
PC0.Locked=true
PC0.Mode=Encoder_mode_occur1
PC0.Signal=LPTIM1_IN1
PinOutPanel.RotationAngle=0
ProjectManager.AskForMigrate=true
ProjectManager.BackupPrevious=false
@ -189,11 +191,11 @@ ProjectManager.CoupleFile=false
ProjectManager.CustomerFirmwarePackage=
ProjectManager.DefaultFWLocation=true
ProjectManager.DeletePrevious=true
ProjectManager.DeviceId=STM32L010C6Tx
ProjectManager.DeviceId=STM32L071CBTx
ProjectManager.FirmwarePackage=STM32Cube FW_L0 V1.12.1
ProjectManager.FreePins=false
ProjectManager.HalAssertFull=false
ProjectManager.HeapSize=0x200
ProjectManager.HeapSize=0x0
ProjectManager.KeepUserCode=true
ProjectManager.LastFirmware=true
ProjectManager.LibraryCopy=1
@ -204,11 +206,11 @@ ProjectManager.ProjectBuild=false
ProjectManager.ProjectFileName=Dumber3.ioc
ProjectManager.ProjectName=Dumber3
ProjectManager.RegisterCallBack=
ProjectManager.StackSize=0x400
ProjectManager.StackSize=0x200
ProjectManager.TargetToolchain=STM32CubeIDE
ProjectManager.ToolChainLocation=
ProjectManager.UnderRoot=true
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_DMA_Init-DMA-false-HAL-true,4-MX_LPTIM1_Init-LPTIM1-false-HAL-true,5-MX_LPUART1_UART_Init-LPUART1-false-HAL-true,6-MX_TIM2_Init-TIM2-false-HAL-true,7-MX_TIM21_Init-TIM21-false-HAL-true,8-MX_ADC_Init-ADC-false-HAL-true
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_ADC_Init-ADC-false-HAL-true,4-MX_LPUART1_UART_Init-LPUART1-false-HAL-true,5-MX_TIM2_Init-TIM2-false-HAL-true,6-MX_TIM3_Init-TIM3-false-HAL-true,7-MX_TIM21_Init-TIM21-false-HAL-true,8-MX_TIM22_Init-TIM22-false-HAL-true
RCC.ADCFreq_Value=4000000
RCC.AHBFreq_Value=6000000
RCC.APB1Freq_Value=6000000
@ -223,7 +225,8 @@ RCC.HSI16_VALUE=16000000
RCC.HSIRCDiv=4
RCC.HSI_VALUE=4000000
RCC.I2C1Freq_Value=6000000
RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI16_VALUE,HSIRCDiv,HSI_VALUE,I2C1Freq_Value,LPTIMFreq_Value,LPUARTFreq_Value,LSE_VALUE,LSI_VALUE,MCOPinFreq_Value,MSI_VALUE,PLLCLKFreq_Value,PWRFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIMFreq_Value,TimerFreq_Value,USART2Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,WatchDogFreq_Value
RCC.I2C3Freq_Value=6000000
RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI16_VALUE,HSIRCDiv,HSI_VALUE,I2C1Freq_Value,I2C3Freq_Value,LPTIMFreq_Value,LPUARTFreq_Value,LSE_VALUE,LSI_VALUE,MCOPinFreq_Value,MSI_VALUE,PLLCLKFreq_Value,PWRFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIMFreq_Value,TimerFreq_Value,USART1Freq_Value,USART2Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,WatchDogFreq_Value
RCC.LPTIMFreq_Value=6000000
RCC.LPUARTFreq_Value=6000000
RCC.LSE_VALUE=32768
@ -238,6 +241,7 @@ RCC.SYSCLKFreq_VALUE=6000000
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.TIMFreq_Value=6000000
RCC.TimerFreq_Value=6000000
RCC.USART1Freq_Value=6000000
RCC.USART2Freq_Value=6000000
RCC.VCOInputFreq_Value=4000000
RCC.VCOOutputFreq_Value=12000000
@ -250,25 +254,31 @@ SH.S_TIM21_CH1.0=TIM21_CH1,Encoder_Interface
SH.S_TIM21_CH1.ConfNb=1
SH.S_TIM21_CH2.0=TIM21_CH2,Encoder_Interface
SH.S_TIM21_CH2.ConfNb=1
SH.S_TIM22_CH1.0=TIM22_CH1,Encoder_Interface
SH.S_TIM22_CH1.ConfNb=1
SH.S_TIM22_CH2.0=TIM22_CH2,Encoder_Interface
SH.S_TIM22_CH2.ConfNb=1
SH.S_TIM2_CH1.0=TIM2_CH1,PWM Generation1 CH1
SH.S_TIM2_CH1.ConfNb=1
SH.S_TIM2_CH2.0=TIM2_CH2,PWM Generation2 CH2
SH.S_TIM2_CH2.ConfNb=1
SH.S_TIM2_CH3.0=TIM2_CH3,PWM Generation3 CH3
SH.S_TIM2_CH3.ConfNb=1
SH.S_TIM2_CH4.0=TIM2_CH4,PWM Generation4 CH4
SH.S_TIM2_CH4.ConfNb=1
SH.S_TIM3_CH3.0=TIM3_CH3,PWM Generation3 CH3
SH.S_TIM3_CH3.ConfNb=1
SH.S_TIM3_CH4.0=TIM3_CH4,PWM Generation4 CH4
SH.S_TIM3_CH4.ConfNb=1
TIM2.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
TIM2.Channel-PWM\ Generation2\ CH2=TIM_CHANNEL_2
TIM2.Channel-PWM\ Generation3\ CH3=TIM_CHANNEL_3
TIM2.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4
TIM2.IPParameters=Channel-PWM Generation1 CH1,Channel-PWM Generation2 CH2,Channel-PWM Generation3 CH3,Channel-PWM Generation4 CH4,Period
TIM2.Period=255
TIM2.IPParameters=Channel-PWM Generation1 CH1,Channel-PWM Generation2 CH2
TIM3.Channel-PWM\ Generation3\ CH3=TIM_CHANNEL_3
TIM3.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4
TIM3.IPParameters=Channel-PWM Generation3 CH3,Channel-PWM Generation4 CH4
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
VP_SYS_VS_Systick.Mode=SysTick
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
VP_TIM2_VS_ClockSourceINT.Mode=Internal
VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT
VP_TIM3_VS_ClockSourceINT.Mode=Internal
VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT
board=custom
isbadioc=false

View file

@ -5,9 +5,9 @@
**
** @author : Auto-generated by STM32CubeIDE
**
** @brief : Linker script for STM32L010C6Tx Device from STM32L0 series
** 32Kbytes FLASH
** 8Kbytes RAM
** @brief : Linker script for STM32L071CBTx Device from STM32L0 series
** 128Kbytes FLASH
** 20Kbytes RAM
**
** Set heap size, stack size and stack location according
** to application requirements.
@ -39,14 +39,14 @@ ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = ORIGIN(RAM) + LENGTH(RAM); /* end of "RAM" Ram type memory */
_Min_Heap_Size = 0x200 ; /* required amount of heap */
_Min_Stack_Size = 0x400 ; /* required amount of stack */
_Min_Heap_Size = 0x0; /* required amount of heap */
_Min_Stack_Size = 0x200; /* required amount of stack */
/* Memories definition */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 32K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 20K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K
}
/* Sections */

View file

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<ScratchFile FileVersion="3.0">
<FileVersion>3.0</FileVersion>
<Workspace>
<WorkspaceType>Single-project</WorkspaceType>
<WorkspacePath>/home/dimercur/Travail/git/dumber/software/dumber3/</WorkspacePath>
<underRoot>true</underRoot>
<TrustZone>0</TrustZone>
<HAL_Driver>/home/dimercur/STM32Cube/Repository//STM32Cube_FW_L0_V1.12.1</HAL_Driver>
<CMSIS>Drivers/CMSIS</CMSIS>
<Toolchain>STM32CubeIDE</Toolchain>
<IocFile>Dumber3.ioc</IocFile>
<Project>
<ProjectName>Dumber3</ProjectName>
<ProjectNature>C</ProjectNature>
<Secure />
<filestoremove />
<sourceEntriesToRemove>
<sourceEntry />
</sourceEntriesToRemove>
<configs>
<config>
<name>Dumber3</name>
<mainSourceRepo>Core</mainSourceRepo>
<sourceStructure>Advanced</sourceStructure>
<device>STM32L071CBTx</device>
<cpucore>Arm Cortex-M0+</cpucore>
<fpu>None</fpu>
<memories>
<memory access="xrw" name="RAM" size="20" start="0x20000000" />
<memory access="rx" name="FLASH" size="128" start="0x8000000" />
</memories>
<startup>/home/dimercur/STM32Cube/Repository/STM32Cube_FW_L0_V1.12.1/Drivers/CMSIS/Device\ST\STM32L0xx\Source\Templates\gcc\startup_stm32l071xx.s</startup>
<LinkSettings>
<LinkAdditionalLibs />
</LinkSettings>
<heapSize>0x0</heapSize>
<stackSize>0x200</stackSize>
<board>custom</board>
<debugprobe>swd</debugprobe>
<optimization />
<Aincludes>
<include />
</Aincludes>
<Adefines />
<Cdefines>
<define>USE_HAL_DRIVER</define>
<define>STM32L071xx</define>
</Cdefines>
<Ldefines />
<Cincludes>
<include>Core/Inc</include>
<include>Drivers/STM32L0xx_HAL_Driver/Inc</include>
<include>Drivers/STM32L0xx_HAL_Driver/Inc/Legacy</include>
<include>Middlewares/Third_Party/FreeRTOS/Source/include</include>
<include>Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2</include>
<include>Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0</include>
<include>Drivers/CMSIS/Device/ST/STM32L0xx/Include</include>
<include>Drivers/CMSIS/Include</include>
</Cincludes>
<definestoremove>
<Adefines />
<Cdefines>
<define>USE_FULL_LL_DRIVER</define>
<define>MBEDTLS_CONFIG_FILE="mbedtls_config.h"</define>
<define>USE_FULL_ASSERT=1U</define>
</Cdefines>
<Ldefines />
</definestoremove>
<inctoremove>
<Aincludes>
<include />
</Aincludes>
<Cincludes />
</inctoremove>
</config>
</configs>
<copyAsReference>false</copyAsReference>
<sourceEntries>
<sourceEntry>
<name>Core</name>
</sourceEntry>
<sourceEntry>
<name>Drivers</name>
</sourceEntry>
<sourceEntry>
<name>Middlewares</name>
</sourceEntry>
</sourceEntries>
<Groups />
</Project>
</Workspace>
</ScratchFile>