diff --git a/fw/.cproject b/fw/.cproject
index a34ddb9..e5db677 100644
--- a/fw/.cproject
+++ b/fw/.cproject
@@ -47,7 +47,7 @@
-
+
@@ -75,7 +75,27 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -88,8 +108,6 @@
-
-
@@ -201,7 +219,7 @@
-
+
@@ -227,7 +245,27 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -240,8 +278,6 @@
-
-
diff --git a/fw/.mxproject b/fw/.mxproject
index 95a213c..ad2456a 100644
--- a/fw/.mxproject
+++ b/fw/.mxproject
@@ -1,25 +1,23 @@
[PreviousLibFiles]
-LibFiles=Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h;Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.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_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.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_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.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_cortex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h;Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l011xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/tz_context.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_armv8mbl.h;
+LibFiles=Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.c;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l011xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/tz_context.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_armv8mbl.h;
[PreviousUsedCubeIDEFiles]
-SourceFiles=Core/Src/main.c;Core/Src/stm32l0xx_it.c;Core/Src/stm32l0xx_hal_msp.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.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_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.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_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.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_cortex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c;Core/Src/system_stm32l0xx.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.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_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.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_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.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_cortex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c;Core/Src/system_stm32l0xx.c;Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c;;
-HeaderPath=Drivers/STM32L0xx_HAL_Driver/Inc;Drivers/STM32L0xx_HAL_Driver/Inc/Legacy;Drivers/CMSIS/Device/ST/STM32L0xx/Include;Drivers/CMSIS/Include;Core/Inc;
-CDefines=USE_FULL_LL_DRIVER;USE_HAL_DRIVER;STM32L011xx;USE_FULL_LL_DRIVER;USE_HAL_DRIVER;USE_HAL_DRIVER;
+SourceFiles=Core/Src/main.c;Core/Src/stm32l0xx_it.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.c;Core/Src/system_stm32l0xx.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.c;Core/Src/system_stm32l0xx.c;Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c;;
+HeaderPath=Drivers/STM32L0xx_HAL_Driver/Inc;Drivers/CMSIS/Device/ST/STM32L0xx/Include;Drivers/CMSIS/Include;Core/Inc;
+CDefines=USE_FULL_LL_DRIVER;HSE_VALUE:8000000;HSE_STARTUP_TIMEOUT:100;LSE_STARTUP_TIMEOUT:5000;LSE_VALUE:32768;MSI_VALUE:2097000;HSI_VALUE:16000000;LSI_VALUE:37000;VDD_VALUE:3300;PREFETCH_ENABLE:0;INSTRUCTION_CACHE_ENABLE:1;DATA_CACHE_ENABLE:1;STM32L011xx;USE_FULL_LL_DRIVER;HSE_VALUE:8000000;HSE_STARTUP_TIMEOUT:100;LSE_STARTUP_TIMEOUT:5000;LSE_VALUE:32768;MSI_VALUE:2097000;HSI_VALUE:16000000;LSI_VALUE:37000;VDD_VALUE:3300;PREFETCH_ENABLE:0;INSTRUCTION_CACHE_ENABLE:1;DATA_CACHE_ENABLE:1;
[PreviousGenFiles]
AdvancedFolderStructure=true
-HeaderFileListSize=4
+HeaderFileListSize=3
HeaderFiles#0=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Inc/stm32l0xx_it.h
HeaderFiles#1=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Inc/stm32_assert.h
-HeaderFiles#2=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Inc/stm32l0xx_hal_conf.h
-HeaderFiles#3=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Inc/main.h
+HeaderFiles#2=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Inc/main.h
HeaderFolderListSize=1
HeaderPath#0=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Inc
HeaderFiles=;
-SourceFileListSize=3
+SourceFileListSize=2
SourceFiles#0=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Src/stm32l0xx_it.c
-SourceFiles#1=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Src/stm32l0xx_hal_msp.c
-SourceFiles#2=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Src/main.c
+SourceFiles#1=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Src/main.c
SourceFolderListSize=1
SourcePath#0=/home/david/Personal/Projects/HDIoT/Smart_Household/Wired_Sensors/iaq_wired_sensor/fw/Core/Src
SourceFiles=;
diff --git a/fw/Core/Inc/main.h b/fw/Core/Inc/main.h
index 716c334..8468db1 100644
--- a/fw/Core/Inc/main.h
+++ b/fw/Core/Inc/main.h
@@ -28,19 +28,23 @@ extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
-#include "stm32l0xx_hal.h"
#include "stm32l0xx_ll_dma.h"
#include "stm32l0xx.h"
#include "stm32l0xx_ll_i2c.h"
#include "stm32l0xx_ll_lpuart.h"
#include "stm32l0xx_ll_rcc.h"
-#include "stm32l0xx_ll_system.h"
-#include "stm32l0xx_ll_gpio.h"
-#include "stm32l0xx_ll_exti.h"
+#include "stm32l0xx_ll_crs.h"
#include "stm32l0xx_ll_bus.h"
+#include "stm32l0xx_ll_system.h"
+#include "stm32l0xx_ll_exti.h"
#include "stm32l0xx_ll_cortex.h"
#include "stm32l0xx_ll_utils.h"
#include "stm32l0xx_ll_pwr.h"
+#include "stm32l0xx_ll_gpio.h"
+
+#if defined(USE_FULL_ASSERT)
+#include "stm32_assert.h"
+#endif /* USE_FULL_ASSERT */
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
@@ -75,6 +79,18 @@ void Error_Handler(void);
#define LED_G_GPIO_Port GPIOA
#define LED_R_Pin LL_GPIO_PIN_7
#define LED_R_GPIO_Port GPIOA
+#ifndef NVIC_PRIORITYGROUP_0
+#define NVIC_PRIORITYGROUP_0 ((uint32_t)0x00000007) /*!< 0 bit for pre-emption priority,
+ 4 bits for subpriority */
+#define NVIC_PRIORITYGROUP_1 ((uint32_t)0x00000006) /*!< 1 bit for pre-emption priority,
+ 3 bits for subpriority */
+#define NVIC_PRIORITYGROUP_2 ((uint32_t)0x00000005) /*!< 2 bits for pre-emption priority,
+ 2 bits for subpriority */
+#define NVIC_PRIORITYGROUP_3 ((uint32_t)0x00000004) /*!< 3 bits for pre-emption priority,
+ 1 bit for subpriority */
+#define NVIC_PRIORITYGROUP_4 ((uint32_t)0x00000003) /*!< 4 bits for pre-emption priority,
+ 0 bit for subpriority */
+#endif
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
diff --git a/fw/Core/Inc/stm32l0xx_hal_conf.h b/fw/Core/Inc/stm32l0xx_hal_conf.h
deleted file mode 100644
index 30c4584..0000000
--- a/fw/Core/Inc/stm32l0xx_hal_conf.h
+++ /dev/null
@@ -1,330 +0,0 @@
-/**
- ******************************************************************************
- * @file stm32l0xx_hal_conf.h
- * @author MCD Application Team
- * @brief HAL configuration template file.
- * This file should be copied to the application folder and renamed
- * to stm32l0xx_hal_conf.h.
- ******************************************************************************
- * @attention
- *
- *
© Copyright (c) 2016 STMicroelectronics.
- * All rights reserved.
- *
- * 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_CONF_H
-#define __STM32L0xx_HAL_CONF_H
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-/* Exported types ------------------------------------------------------------*/
-/* Exported constants --------------------------------------------------------*/
-
-/* ########################## Module Selection ############################## */
-/**
- * @brief This is the list of modules to be used in the HAL driver
- */
-
-#define HAL_MODULE_ENABLED
- /*#define HAL_ADC_MODULE_ENABLED */
-/*#define HAL_CRYP_MODULE_ENABLED */
-/*#define HAL_COMP_MODULE_ENABLED */
-/*#define HAL_CRC_MODULE_ENABLED */
-/*#define HAL_CRYP_MODULE_ENABLED */
-/*#define HAL_DAC_MODULE_ENABLED */
-/*#define HAL_FIREWALL_MODULE_ENABLED */
-/*#define HAL_I2S_MODULE_ENABLED */
-/*#define HAL_IWDG_MODULE_ENABLED */
-/*#define HAL_LCD_MODULE_ENABLED */
-/*#define HAL_LPTIM_MODULE_ENABLED */
-/*#define HAL_RNG_MODULE_ENABLED */
-/*#define HAL_RTC_MODULE_ENABLED */
-/*#define HAL_SPI_MODULE_ENABLED */
-/*#define HAL_TIM_MODULE_ENABLED */
-/*#define HAL_TSC_MODULE_ENABLED */
-/*#define HAL_UART_MODULE_ENABLED */
-/*#define HAL_USART_MODULE_ENABLED */
-/*#define HAL_IRDA_MODULE_ENABLED */
-/*#define HAL_SMARTCARD_MODULE_ENABLED */
-/*#define HAL_SMBUS_MODULE_ENABLED */
-/*#define HAL_WWDG_MODULE_ENABLED */
-/*#define HAL_PCD_MODULE_ENABLED */
-#define HAL_GPIO_MODULE_ENABLED
-#define HAL_EXTI_MODULE_ENABLED
-#define HAL_DMA_MODULE_ENABLED
-#define HAL_I2C_MODULE_ENABLED
-#define HAL_RCC_MODULE_ENABLED
-#define HAL_FLASH_MODULE_ENABLED
-#define HAL_PWR_MODULE_ENABLED
-#define HAL_CORTEX_MODULE_ENABLED
-
-/* ########################## Oscillator Values adaptation ####################*/
-/**
- * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
- * This value is used by the RCC HAL module to compute the system frequency
- * (when HSE is used as system clock source, directly or through the PLL).
- */
-#if !defined (HSE_VALUE)
- #define HSE_VALUE ((uint32_t)8000000U) /*!< Value of the External oscillator in Hz */
-#endif /* HSE_VALUE */
-
-#if !defined (HSE_STARTUP_TIMEOUT)
- #define HSE_STARTUP_TIMEOUT ((uint32_t)100U) /*!< Time out for HSE start up, in ms */
-#endif /* HSE_STARTUP_TIMEOUT */
-
-/**
- * @brief Internal Multiple Speed oscillator (MSI) default value.
- * This value is the default MSI range value after Reset.
- */
-#if !defined (MSI_VALUE)
- #define MSI_VALUE ((uint32_t)2097000U) /*!< Value of the Internal oscillator in Hz*/
-#endif /* MSI_VALUE */
-
-/**
- * @brief Internal High Speed oscillator (HSI) value.
- * This value is used by the RCC HAL module to compute the system frequency
- * (when HSI is used as system clock source, directly or through the PLL).
- */
-#if !defined (HSI_VALUE)
- #define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
-#endif /* HSI_VALUE */
-
-/**
- * @brief Internal High Speed oscillator for USB (HSI48) value.
- */
-#if !defined (HSI48_VALUE)
-#define HSI48_VALUE ((uint32_t)48000000U) /*!< Value of the Internal High Speed oscillator for USB in Hz.
- The real value may vary depending on the variations
- in voltage and temperature. */
-#endif /* HSI48_VALUE */
-
-/**
- * @brief Internal Low Speed oscillator (LSI) value.
- */
-#if !defined (LSI_VALUE)
- #define LSI_VALUE ((uint32_t)37000U) /*!< LSI Typical Value in Hz*/
-#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
- The real value may vary depending on the variations
- in voltage and temperature.*/
-/**
- * @brief External Low Speed oscillator (LSE) value.
- * This value is used by the UART, RTC HAL module to compute the system frequency
- */
-#if !defined (LSE_VALUE)
- #define LSE_VALUE ((uint32_t)32768U) /*!< Value of the External oscillator in Hz*/
-#endif /* LSE_VALUE */
-
-#if !defined (LSE_STARTUP_TIMEOUT)
- #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
-#endif /* LSE_STARTUP_TIMEOUT */
-
-/* Tip: To avoid modifying this file each time you need to use different HSE,
- === you can define the HSE value in your toolchain compiler preprocessor. */
-
-/* ########################### System Configuration ######################### */
-/**
- * @brief This is the HAL system configuration section
- */
-#define VDD_VALUE ((uint32_t)3300U) /*!< Value of VDD in mv */
-#define TICK_INT_PRIORITY ((uint32_t)0U) /*!< tick interrupt priority */
-#define USE_RTOS 0U
-#define PREFETCH_ENABLE 0U
-#define PREREAD_ENABLE 1U
-#define BUFFER_CACHE_DISABLE 0U
-
-/* ########################## Assert Selection ############################## */
-/**
- * @brief Uncomment the line below to expanse the "assert_param" macro in the
- * HAL drivers code
- */
-/* #define USE_FULL_ASSERT 1U */
-
-/* ################## Register callback feature configuration ############### */
-/**
- * @brief Set below the peripheral configuration to "1U" to add the support
- * of HAL callback registration/deregistration feature for the HAL
- * driver(s). This allows user application to provide specific callback
- * functions thanks to HAL_PPP_RegisterCallback() rather than overwriting
- * the default weak callback functions (see each stm32l0xx_hal_ppp.h file
- * for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
- * for each PPP peripheral).
- */
-#define USE_HAL_ADC_REGISTER_CALLBACKS 0U
-#define USE_HAL_COMP_REGISTER_CALLBACKS 0U
-#define USE_HAL_DAC_REGISTER_CALLBACKS 0U
-#define USE_HAL_I2C_REGISTER_CALLBACKS 0U
-#define USE_HAL_I2S_REGISTER_CALLBACKS 0U
-#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
-#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U
-#define USE_HAL_PCD_REGISTER_CALLBACKS 0U
-#define USE_HAL_RNG_REGISTER_CALLBACKS 0U
-#define USE_HAL_RTC_REGISTER_CALLBACKS 0U
-#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
-#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U
-#define USE_HAL_SPI_REGISTER_CALLBACKS 0U
-#define USE_HAL_TIM_REGISTER_CALLBACKS 0U
-#define USE_HAL_TSC_REGISTER_CALLBACKS 0U
-#define USE_HAL_UART_REGISTER_CALLBACKS 0U
-#define USE_HAL_USART_REGISTER_CALLBACKS 0U
-#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
-
-/* Includes ------------------------------------------------------------------*/
-/**
- * @brief Include module's header file
- */
-
-#ifdef HAL_RCC_MODULE_ENABLED
- #include "stm32l0xx_hal_rcc.h"
-#endif /* HAL_RCC_MODULE_ENABLED */
-
-#ifdef HAL_EXTI_MODULE_ENABLED
- #include "stm32l0xx_hal_exti.h"
-#endif /* HAL_EXTI_MODULE_ENABLED */
-
-#ifdef HAL_GPIO_MODULE_ENABLED
- #include "stm32l0xx_hal_gpio.h"
-#endif /* HAL_GPIO_MODULE_ENABLED */
-
-#ifdef HAL_DMA_MODULE_ENABLED
- #include "stm32l0xx_hal_dma.h"
-#endif /* HAL_DMA_MODULE_ENABLED */
-
-#ifdef HAL_CORTEX_MODULE_ENABLED
- #include "stm32l0xx_hal_cortex.h"
-#endif /* HAL_CORTEX_MODULE_ENABLED */
-
-#ifdef HAL_ADC_MODULE_ENABLED
- #include "stm32l0xx_hal_adc.h"
-#endif /* HAL_ADC_MODULE_ENABLED */
-
-#ifdef HAL_COMP_MODULE_ENABLED
- #include "stm32l0xx_hal_comp.h"
-#endif /* HAL_COMP_MODULE_ENABLED */
-
-#ifdef HAL_CRC_MODULE_ENABLED
- #include "stm32l0xx_hal_crc.h"
-#endif /* HAL_CRC_MODULE_ENABLED */
-
-#ifdef HAL_CRYP_MODULE_ENABLED
- #include "stm32l0xx_hal_cryp.h"
-#endif /* HAL_CRYP_MODULE_ENABLED */
-
-#ifdef HAL_DAC_MODULE_ENABLED
- #include "stm32l0xx_hal_dac.h"
-#endif /* HAL_DAC_MODULE_ENABLED */
-
-#ifdef HAL_FIREWALL_MODULE_ENABLED
- #include "stm32l0xx_hal_firewall.h"
-#endif /* HAL_FIREWALL_MODULE_ENABLED */
-
-#ifdef HAL_FLASH_MODULE_ENABLED
- #include "stm32l0xx_hal_flash.h"
-#endif /* HAL_FLASH_MODULE_ENABLED */
-
-#ifdef HAL_I2C_MODULE_ENABLED
- #include "stm32l0xx_hal_i2c.h"
-#endif /* HAL_I2C_MODULE_ENABLED */
-
-#ifdef HAL_I2S_MODULE_ENABLED
- #include "stm32l0xx_hal_i2s.h"
-#endif /* HAL_I2S_MODULE_ENABLED */
-
-#ifdef HAL_IWDG_MODULE_ENABLED
- #include "stm32l0xx_hal_iwdg.h"
-#endif /* HAL_IWDG_MODULE_ENABLED */
-
-#ifdef HAL_LCD_MODULE_ENABLED
- #include "stm32l0xx_hal_lcd.h"
-#endif /* HAL_LCD_MODULE_ENABLED */
-
-#ifdef HAL_LPTIM_MODULE_ENABLED
-#include "stm32l0xx_hal_lptim.h"
-#endif /* HAL_LPTIM_MODULE_ENABLED */
-
-#ifdef HAL_PWR_MODULE_ENABLED
- #include "stm32l0xx_hal_pwr.h"
-#endif /* HAL_PWR_MODULE_ENABLED */
-
-#ifdef HAL_RNG_MODULE_ENABLED
- #include "stm32l0xx_hal_rng.h"
-#endif /* HAL_RNG_MODULE_ENABLED */
-
-#ifdef HAL_RTC_MODULE_ENABLED
- #include "stm32l0xx_hal_rtc.h"
-
-#endif /* HAL_RTC_MODULE_ENABLED */
-
-#ifdef HAL_SPI_MODULE_ENABLED
- #include "stm32l0xx_hal_spi.h"
-#endif /* HAL_SPI_MODULE_ENABLED */
-
-#ifdef HAL_TIM_MODULE_ENABLED
- #include "stm32l0xx_hal_tim.h"
-#endif /* HAL_TIM_MODULE_ENABLED */
-
-#ifdef HAL_TSC_MODULE_ENABLED
- #include "stm32l0xx_hal_tsc.h"
-#endif /* HAL_TSC_MODULE_ENABLED */
-
-#ifdef HAL_UART_MODULE_ENABLED
- #include "stm32l0xx_hal_uart.h"
-#endif /* HAL_UART_MODULE_ENABLED */
-
-#ifdef HAL_USART_MODULE_ENABLED
- #include "stm32l0xx_hal_usart.h"
-#endif /* HAL_USART_MODULE_ENABLED */
-
-#ifdef HAL_IRDA_MODULE_ENABLED
- #include "stm32l0xx_hal_irda.h"
-#endif /* HAL_IRDA_MODULE_ENABLED */
-
-#ifdef HAL_SMARTCARD_MODULE_ENABLED
- #include "stm32l0xx_hal_smartcard.h"
-#endif /* HAL_SMARTCARD_MODULE_ENABLED */
-
-#ifdef HAL_SMBUS_MODULE_ENABLED
- #include "stm32l0xx_hal_smbus.h"
-#endif /* HAL_SMBUS_MODULE_ENABLED */
-
-#ifdef HAL_WWDG_MODULE_ENABLED
- #include "stm32l0xx_hal_wwdg.h"
-#endif /* HAL_WWDG_MODULE_ENABLED */
-
-#ifdef HAL_PCD_MODULE_ENABLED
- #include "stm32l0xx_hal_pcd.h"
-#endif /* HAL_PCD_MODULE_ENABLED */
-
-/* Exported macro ------------------------------------------------------------*/
-#ifdef USE_FULL_ASSERT
-/**
- * @brief The assert_param macro is used for function's parameters check.
- * @param expr: If expr is false, it calls assert_failed function
- * which reports the name of the source file and the source
- * line number of the call that failed.
- * If expr is true, it returns no value.
- * @retval None
- */
- #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
-/* Exported functions ------------------------------------------------------- */
- void assert_failed(uint8_t* file, uint32_t line);
-#else
- #define assert_param(expr) ((void)0U)
-#endif /* USE_FULL_ASSERT */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __STM32L0xx_HAL_CONF_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw/Core/Src/main.c b/fw/Core/Src/main.c
index da15cd1..b93ecbd 100644
--- a/fw/Core/Src/main.c
+++ b/fw/Core/Src/main.c
@@ -73,7 +73,11 @@ int main(void)
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
- HAL_Init();
+
+ LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_SYSCFG);
+ LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR);
+
+ /* System interrupt init*/
/* USER CODE BEGIN Init */
@@ -101,7 +105,6 @@ int main(void)
while (1)
{
/* USER CODE END WHILE */
-
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
@@ -113,45 +116,36 @@ int main(void)
*/
void SystemClock_Config(void)
{
- RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
+ LL_FLASH_SetLatency(LL_FLASH_LATENCY_0);
+ while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_0)
+ {
+ }
+ LL_PWR_SetRegulVoltageScaling(LL_PWR_REGU_VOLTAGE_SCALE1);
+ LL_RCC_MSI_Enable();
- /** Configure the main internal regulator output voltage
- */
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- /** Initializes the RCC Oscillators according to the specified parameters
- * in the RCC_OscInitTypeDef structure.
- */
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_MSI;
- RCC_OscInitStruct.MSIState = RCC_MSI_ON;
- RCC_OscInitStruct.MSICalibrationValue = 0;
- RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_5;
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
+ /* Wait till MSI is ready */
+ while(LL_RCC_MSI_IsReady() != 1)
{
- Error_Handler();
- }
- /** Initializes the CPU, AHB and APB buses clocks
- */
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_MSI;
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
- {
- Error_Handler();
}
- PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_LPUART1|RCC_PERIPHCLK_I2C1;
- PeriphClkInit.Lpuart1ClockSelection = RCC_LPUART1CLKSOURCE_PCLK1;
- PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_PCLK1;
- if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
+ LL_RCC_MSI_SetRange(LL_RCC_MSIRANGE_5);
+ LL_RCC_MSI_SetCalibTrimming(0);
+ LL_RCC_SetAHBPrescaler(LL_RCC_SYSCLK_DIV_1);
+ LL_RCC_SetAPB1Prescaler(LL_RCC_APB1_DIV_1);
+ LL_RCC_SetAPB2Prescaler(LL_RCC_APB2_DIV_1);
+ LL_RCC_SetSysClkSource(LL_RCC_SYS_CLKSOURCE_MSI);
+
+ /* Wait till System clock is ready */
+ while(LL_RCC_GetSysClkSource() != LL_RCC_SYS_CLKSOURCE_STATUS_MSI)
{
- Error_Handler();
+
}
+
+ LL_Init1msTick(2097000);
+
+ LL_SetSystemCoreClock(2097000);
+ LL_RCC_SetLPUARTClockSource(LL_RCC_LPUART1_CLKSOURCE_PCLK1);
+ LL_RCC_SetI2CClockSource(LL_RCC_I2C1_CLKSOURCE_PCLK1);
}
/**
diff --git a/fw/Core/Src/stm32l0xx_hal_msp.c b/fw/Core/Src/stm32l0xx_hal_msp.c
deleted file mode 100644
index f614d4a..0000000
--- a/fw/Core/Src/stm32l0xx_hal_msp.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file stm32l0xx_hal_msp.c
- * @brief This file provides code for the MSP Initialization
- * and de-Initialization codes.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2021 STMicroelectronics.
- * All rights reserved.
- *
- * 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
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Private typedef -----------------------------------------------------------*/
-/* USER CODE BEGIN TD */
-
-/* USER CODE END TD */
-
-/* Private define ------------------------------------------------------------*/
-/* USER CODE BEGIN Define */
-
-/* USER CODE END Define */
-
-/* Private macro -------------------------------------------------------------*/
-/* USER CODE BEGIN Macro */
-
-/* USER CODE END Macro */
-
-/* Private variables ---------------------------------------------------------*/
-/* USER CODE BEGIN PV */
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-/* USER CODE BEGIN PFP */
-
-/* USER CODE END PFP */
-
-/* External functions --------------------------------------------------------*/
-/* USER CODE BEGIN ExternalFunctions */
-
-/* USER CODE END ExternalFunctions */
-
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-/**
- * Initializes the Global MSP.
- */
-void HAL_MspInit(void)
-{
- /* USER CODE BEGIN MspInit 0 */
-
- /* USER CODE END MspInit 0 */
-
- __HAL_RCC_SYSCFG_CLK_ENABLE();
- __HAL_RCC_PWR_CLK_ENABLE();
-
- /* System interrupt init*/
-
- /* USER CODE BEGIN MspInit 1 */
-
- /* USER CODE END MspInit 1 */
-}
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw/Core/Src/stm32l0xx_it.c b/fw/Core/Src/stm32l0xx_it.c
index 28664a1..b44f078 100644
--- a/fw/Core/Src/stm32l0xx_it.c
+++ b/fw/Core/Src/stm32l0xx_it.c
@@ -128,7 +128,7 @@ void SysTick_Handler(void)
/* USER CODE BEGIN SysTick_IRQn 0 */
/* USER CODE END SysTick_IRQn 0 */
- HAL_IncTick();
+
/* USER CODE BEGIN SysTick_IRQn 1 */
/* USER CODE END SysTick_IRQn 1 */
}
diff --git a/fw/Debug/Core/Src/main.d b/fw/Debug/Core/Src/main.d
index 29d4f24..a36c859 100644
--- a/fw/Debug/Core/Src/main.d
+++ b/fw/Debug/Core/Src/main.d
@@ -1,8 +1,5 @@
Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l011xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
@@ -10,41 +7,21 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h
../Core/Inc/main.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h:
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
@@ -60,52 +37,24 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h:
-
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h:
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h:
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h:
+
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h:
+
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h:
+
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h:
diff --git a/fw/Debug/Core/Src/main.o b/fw/Debug/Core/Src/main.o
index d8390c4..7b3bce9 100644
Binary files a/fw/Debug/Core/Src/main.o and b/fw/Debug/Core/Src/main.o differ
diff --git a/fw/Debug/Core/Src/main.su b/fw/Debug/Core/Src/main.su
index 31270b6..4bddfea 100644
--- a/fw/Debug/Core/Src/main.su
+++ b/fw/Debug/Core/Src/main.su
@@ -1,4 +1,5 @@
+stm32l0xx_ll_bus.h:440:22:LL_APB1_GRP1_EnableClock 8 static
stm32l0xx_ll_bus.h:987:22:LL_IOP_GRP1_EnableClock 8 static
-main.c:129:6:SystemClock_Config 104 static,ignoring_inline_asm
+main.c:117:6:SystemClock_Config 8 static
main.c:67:5:main 88 static
-main.c:398:6:Error_Handler 0 static,ignoring_inline_asm
+main.c:377:6:Error_Handler 0 static,ignoring_inline_asm
diff --git a/fw/Debug/Core/Src/stm32l0xx_hal_msp.o b/fw/Debug/Core/Src/stm32l0xx_hal_msp.o
deleted file mode 100644
index ed5c468..0000000
Binary files a/fw/Debug/Core/Src/stm32l0xx_hal_msp.o and /dev/null differ
diff --git a/fw/Debug/Core/Src/stm32l0xx_it.d b/fw/Debug/Core/Src/stm32l0xx_it.d
index 69cb03a..5e5bafa 100644
--- a/fw/Debug/Core/Src/stm32l0xx_it.d
+++ b/fw/Debug/Core/Src/stm32l0xx_it.d
@@ -1,8 +1,5 @@
Core/Src/stm32l0xx_it.o: ../Core/Src/stm32l0xx_it.c ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l011xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
@@ -10,42 +7,22 @@ Core/Src/stm32l0xx_it.o: ../Core/Src/stm32l0xx_it.c ../Core/Inc/main.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h \
+ ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h \
../Core/Inc/stm32l0xx_it.h
../Core/Inc/main.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h:
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
@@ -61,54 +38,26 @@ Core/Src/stm32l0xx_it.o: ../Core/Src/stm32l0xx_it.c ../Core/Inc/main.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h:
-
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lpuart.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h:
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_crs.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h:
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h:
+
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h:
+
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_cortex.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h:
+../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h:
+
../Core/Inc/stm32l0xx_it.h:
diff --git a/fw/Debug/Core/Src/stm32l0xx_it.o b/fw/Debug/Core/Src/stm32l0xx_it.o
index e53ac03..4e0b80a 100644
Binary files a/fw/Debug/Core/Src/stm32l0xx_it.o and b/fw/Debug/Core/Src/stm32l0xx_it.o differ
diff --git a/fw/Debug/Core/Src/stm32l0xx_it.su b/fw/Debug/Core/Src/stm32l0xx_it.su
index af75b7b..10bb9d0 100644
--- a/fw/Debug/Core/Src/stm32l0xx_it.su
+++ b/fw/Debug/Core/Src/stm32l0xx_it.su
@@ -2,5 +2,5 @@ stm32l0xx_it.c:70:6:NMI_Handler 0 static
stm32l0xx_it.c:85:6:HardFault_Handler 0 static
stm32l0xx_it.c:100:6:SVC_Handler 0 static
stm32l0xx_it.c:113:6:PendSV_Handler 0 static
-stm32l0xx_it.c:126:6:SysTick_Handler 8 static
+stm32l0xx_it.c:126:6:SysTick_Handler 0 static
stm32l0xx_it.c:146:6:DMA1_Channel2_3_IRQHandler 0 static
diff --git a/fw/Debug/Core/Src/subdir.mk b/fw/Debug/Core/Src/subdir.mk
index 8b0d555..6c1e66f 100644
--- a/fw/Debug/Core/Src/subdir.mk
+++ b/fw/Debug/Core/Src/subdir.mk
@@ -6,7 +6,6 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Core/Src/main.c \
-../Core/Src/stm32l0xx_hal_msp.c \
../Core/Src/stm32l0xx_it.c \
../Core/Src/syscalls.c \
../Core/Src/sysmem.c \
@@ -14,7 +13,6 @@ C_SRCS += \
OBJS += \
./Core/Src/main.o \
-./Core/Src/stm32l0xx_hal_msp.o \
./Core/Src/stm32l0xx_it.o \
./Core/Src/syscalls.o \
./Core/Src/sysmem.o \
@@ -22,7 +20,6 @@ OBJS += \
C_DEPS += \
./Core/Src/main.d \
-./Core/Src/stm32l0xx_hal_msp.d \
./Core/Src/stm32l0xx_it.d \
./Core/Src/syscalls.d \
./Core/Src/sysmem.d \
@@ -31,15 +28,13 @@ C_DEPS += \
# Each subdirectory must supply rules for building sources it contributes
Core/Src/main.o: ../Core/Src/main.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/main.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Core/Src/stm32l0xx_hal_msp.o: ../Core/Src/stm32l0xx_hal_msp.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32l0xx_hal_msp.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/main.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Core/Src/stm32l0xx_it.o: ../Core/Src/stm32l0xx_it.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32l0xx_it.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32l0xx_it.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Core/Src/syscalls.o: ../Core/Src/syscalls.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/syscalls.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/syscalls.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Core/Src/sysmem.o: ../Core/Src/sysmem.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/sysmem.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/sysmem.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Core/Src/system_stm32l0xx.o: ../Core/Src/system_stm32l0xx.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/system_stm32l0xx.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/system_stm32l0xx.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
diff --git a/fw/Debug/Core/Src/syscalls.o b/fw/Debug/Core/Src/syscalls.o
index de72b01..b0ef4b4 100644
Binary files a/fw/Debug/Core/Src/syscalls.o and b/fw/Debug/Core/Src/syscalls.o differ
diff --git a/fw/Debug/Core/Src/sysmem.o b/fw/Debug/Core/Src/sysmem.o
index c1f7cb8..acba301 100644
Binary files a/fw/Debug/Core/Src/sysmem.o and b/fw/Debug/Core/Src/sysmem.o differ
diff --git a/fw/Debug/Core/Src/system_stm32l0xx.d b/fw/Debug/Core/Src/system_stm32l0xx.d
index a40be12..92dd183 100644
--- a/fw/Debug/Core/Src/system_stm32l0xx.d
+++ b/fw/Debug/Core/Src/system_stm32l0xx.d
@@ -5,25 +5,7 @@ Core/Src/system_stm32l0xx.o: ../Core/Src/system_stm32l0xx.c \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h
+ ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
@@ -38,39 +20,3 @@ Core/Src/system_stm32l0xx.o: ../Core/Src/system_stm32l0xx.c \
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
diff --git a/fw/Debug/Core/Src/system_stm32l0xx.o b/fw/Debug/Core/Src/system_stm32l0xx.o
index c6cd1f1..99fa31a 100644
Binary files a/fw/Debug/Core/Src/system_stm32l0xx.o and b/fw/Debug/Core/Src/system_stm32l0xx.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o
deleted file mode 100644
index c098b18..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o
deleted file mode 100644
index 2b4e0ee..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o
deleted file mode 100644
index 454136b..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o
deleted file mode 100644
index 0472394..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o
deleted file mode 100644
index b1d6d7e..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o
deleted file mode 100644
index 52b7b72..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o
deleted file mode 100644
index 3b46d67..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o
deleted file mode 100644
index 5b74693..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o
deleted file mode 100644
index 802181e..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o
deleted file mode 100644
index e509582..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o
deleted file mode 100644
index f2cca91..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o
deleted file mode 100644
index 7b463b8..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o
deleted file mode 100644
index aaf9636..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o
deleted file mode 100644
index 07132d2..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o
deleted file mode 100644
index dba2695..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o
deleted file mode 100644
index bf36455..0000000
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o and /dev/null differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.d b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.d
index 47760b1..737ad9a 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.d
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.d
@@ -8,24 +8,6 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.o: \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_dma.h:
@@ -44,40 +26,4 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.o: \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h:
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.o
index e18332f..28b4bd9 100644
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.o and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.d b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.d
index a8b7a20..2cc017f 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.d
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.d
@@ -7,25 +7,7 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o: \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h
+ ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_exti.h:
@@ -42,39 +24,3 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o: \
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o
index c54f927..bf76e61 100644
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.d b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.d
index b01e799..84a1bfe 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.d
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.d
@@ -8,24 +8,6 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o: \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h:
@@ -44,40 +26,4 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o: \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h:
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o
index 0e34ffb..23f8214 100644
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.d b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.d
index f0883c0..94e870b 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.d
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.d
@@ -8,24 +8,6 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o: \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_i2c.h:
@@ -44,40 +26,4 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o: \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h:
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o
index 88f5eed..b6f0046 100644
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.d b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.d
index 3b2c8f9..45688ed 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.d
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.d
@@ -8,24 +8,6 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o: \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h
@@ -45,42 +27,6 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o: \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h:
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o
index f6406bb..fabf774 100644
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.o
new file mode 100644
index 0000000..e423123
Binary files /dev/null and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.su b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.su
index c2f6d7c..68038bc 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.su
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.su
@@ -1,3 +1 @@
-stm32l0xx_ll_bus.h:595:22:LL_APB1_GRP1_ForceReset 16 static
-stm32l0xx_ll_bus.h:646:22:LL_APB1_GRP1_ReleaseReset 16 static
-stm32l0xx_ll_pwr.c:56:13:LL_PWR_DeInit 8 static
+stm32l0xx_ll_pwr.c:56:13:LL_PWR_DeInit 0 static
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.d b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.d
index 58f601e..748ea46 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.d
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.d
@@ -7,25 +7,7 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o: \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h
+ ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h:
@@ -42,39 +24,3 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o: \
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o
index 5cf0e08..1cd68e3 100644
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.d b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.d
index 4917ee8..577cc36 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.d
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.d
@@ -8,24 +8,6 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o: \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h \
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h
@@ -46,42 +28,6 @@ Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o: \
../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h:
../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h:
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o
index ba0cf0e..07a2e90 100644
Binary files a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o and b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o differ
diff --git a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
index bd42155..40b8c42 100644
--- a/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
+++ b/fw/Debug/Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
@@ -5,126 +5,51 @@
# 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_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_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_ll_dma.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c \
+../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c \
../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c
OBJS += \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.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_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_ll_dma.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o \
+./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o
C_DEPS += \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.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_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_ll_dma.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.d \
+./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.d \
./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.d
# Each subdirectory must supply rules for building sources it contributes
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_dma.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_exti.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_i2c.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lpuart.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_pwr.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.o: ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32L011xx -DDEBUG -DUSE_FULL_LL_DRIVER '-DHSE_VALUE=8000000' '-DHSE_STARTUP_TIMEOUT=100' '-DLSE_STARTUP_TIMEOUT=5000' '-DLSE_VALUE=32768' '-DMSI_VALUE=2097000' '-DHSI_VALUE=16000000' '-DLSI_VALUE=37000' '-DVDD_VALUE=3300' '-DPREFETCH_ENABLE=0' '-DINSTRUCTION_CACHE_ENABLE=1' '-DDATA_CACHE_ENABLE=1' -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.d" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
diff --git a/fw/Debug/iaq_wired_sensor.bin b/fw/Debug/iaq_wired_sensor.bin
index 292d6f9..2d695a6 100755
Binary files a/fw/Debug/iaq_wired_sensor.bin and b/fw/Debug/iaq_wired_sensor.bin differ
diff --git a/fw/Debug/iaq_wired_sensor.elf b/fw/Debug/iaq_wired_sensor.elf
index 09eee6f..83a4fd1 100755
Binary files a/fw/Debug/iaq_wired_sensor.elf and b/fw/Debug/iaq_wired_sensor.elf differ
diff --git a/fw/Debug/iaq_wired_sensor.list b/fw/Debug/iaq_wired_sensor.list
index 120fdcf..1335e08 100644
--- a/fw/Debug/iaq_wired_sensor.list
+++ b/fw/Debug/iaq_wired_sensor.list
@@ -5,47 +5,47 @@ Sections:
Idx Name Size VMA LMA File off Algn
0 .isr_vector 000000c0 08000000 08000000 00010000 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 1 .text 00001540 080000c0 080000c0 000100c0 2**2
+ 1 .text 00000b6c 080000c0 080000c0 000100c0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .rodata 00000024 08001600 08001600 00011600 2**0
+ 2 .rodata 00000024 08000c2c 08000c2c 00010c2c 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 .ARM.extab 00000000 08001624 08001624 0002000c 2**0
+ 3 .ARM.extab 00000000 08000c50 08000c50 00020004 2**0
CONTENTS
- 4 .ARM 00000008 08001624 08001624 00011624 2**2
+ 4 .ARM 00000008 08000c50 08000c50 00010c50 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 5 .preinit_array 00000000 0800162c 0800162c 0002000c 2**0
+ 5 .preinit_array 00000000 08000c58 08000c58 00020004 2**0
CONTENTS, ALLOC, LOAD, DATA
- 6 .init_array 00000004 0800162c 0800162c 0001162c 2**2
+ 6 .init_array 00000004 08000c58 08000c58 00010c58 2**2
CONTENTS, ALLOC, LOAD, DATA
- 7 .fini_array 00000004 08001630 08001630 00011630 2**2
+ 7 .fini_array 00000004 08000c5c 08000c5c 00010c5c 2**2
CONTENTS, ALLOC, LOAD, DATA
- 8 .data 0000000c 20000000 08001634 00020000 2**2
+ 8 .data 00000004 20000000 08000c60 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
- 9 .bss 00000020 2000000c 08001640 0002000c 2**2
+ 9 .bss 0000001c 20000004 08000c64 00020004 2**2
ALLOC
- 10 ._user_heap_stack 00000604 2000002c 08001640 0002002c 2**0
+ 10 ._user_heap_stack 00000600 20000020 08000c64 00020020 2**0
ALLOC
- 11 .ARM.attributes 00000028 00000000 00000000 0002000c 2**0
+ 11 .ARM.attributes 00000028 00000000 00000000 00020004 2**0
CONTENTS, READONLY
- 12 .debug_info 00006c2d 00000000 00000000 00020034 2**0
+ 12 .debug_info 00004cb8 00000000 00000000 0002002c 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 13 .debug_abbrev 00001b63 00000000 00000000 00026c61 2**0
+ 13 .debug_abbrev 00001265 00000000 00000000 00024ce4 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 14 .debug_loc 00002331 00000000 00000000 000287c4 2**0
+ 14 .debug_loc 00001a38 00000000 00000000 00025f49 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 15 .debug_aranges 00000430 00000000 00000000 0002aaf8 2**3
+ 15 .debug_aranges 00000220 00000000 00000000 00027988 2**3
CONTENTS, READONLY, DEBUGGING, OCTETS
- 16 .debug_ranges 00000a18 00000000 00000000 0002af28 2**3
+ 16 .debug_ranges 000009f0 00000000 00000000 00027ba8 2**3
CONTENTS, READONLY, DEBUGGING, OCTETS
- 17 .debug_macro 0001133a 00000000 00000000 0002b940 2**0
+ 17 .debug_macro 0000b1c4 00000000 00000000 00028598 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 18 .debug_line 00007f60 00000000 00000000 0003cc7a 2**0
+ 18 .debug_line 000042f0 00000000 00000000 0003375c 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 19 .debug_str 00062aa3 00000000 00000000 00044bda 2**0
+ 19 .debug_str 00039213 00000000 00000000 00037a4c 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 20 .comment 00000053 00000000 00000000 000a767d 2**0
+ 20 .comment 00000053 00000000 00000000 00070c5f 2**0
CONTENTS, READONLY
- 21 .debug_frame 0000091c 00000000 00000000 000a76d0 2**2
+ 21 .debug_frame 000004a8 00000000 00000000 00070cb4 2**2
CONTENTS, READONLY, DEBUGGING, OCTETS
Disassembly of section .text:
@@ -65,9 +65,9 @@ Disassembly of section .text:
80000d6: 2301 movs r3, #1
80000d8: 7023 strb r3, [r4, #0]
80000da: bd10 pop {r4, pc}
- 80000dc: 2000000c .word 0x2000000c
+ 80000dc: 20000004 .word 0x20000004
80000e0: 00000000 .word 0x00000000
- 80000e4: 080015e8 .word 0x080015e8
+ 80000e4: 08000c14 .word 0x08000c14
080000e8 :
80000e8: 4b04 ldr r3, [pc, #16] ; (80000fc )
@@ -81,8 +81,8 @@ Disassembly of section .text:
80000f8: bd10 pop {r4, pc}
80000fa: 46c0 nop ; (mov r8, r8)
80000fc: 00000000 .word 0x00000000
- 8000100: 20000010 .word 0x20000010
- 8000104: 080015e8 .word 0x080015e8
+ 8000100: 20000008 .word 0x20000008
+ 8000104: 08000c14 .word 0x08000c14
08000108 <__udivsi3>:
8000108: 2200 movs r2, #0
@@ -253,7 +253,7 @@ Disassembly of section .text:
800024a: 4668 mov r0, sp
800024c: b501 push {r0, lr}
800024e: 9802 ldr r0, [sp, #8]
- 8000250: f000 f82e bl 80002b0 <__udivmoddi4>
+ 8000250: f000 f806 bl 8000260 <__udivmoddi4>
8000254: 9b01 ldr r3, [sp, #4]
8000256: 469e mov lr, r3
8000258: b002 add sp, #8
@@ -261,3478 +261,1871 @@ Disassembly of section .text:
800025c: 4770 bx lr
800025e: 46c0 nop ; (mov r8, r8)
-08000260 <__aeabi_lmul>:
+08000260 <__udivmoddi4>:
8000260: b5f0 push {r4, r5, r6, r7, lr}
- 8000262: 0415 lsls r5, r2, #16
- 8000264: 0c2d lsrs r5, r5, #16
- 8000266: 000f movs r7, r1
- 8000268: 0001 movs r1, r0
- 800026a: 002e movs r6, r5
- 800026c: 46c6 mov lr, r8
- 800026e: 4684 mov ip, r0
- 8000270: 0400 lsls r0, r0, #16
- 8000272: 0c14 lsrs r4, r2, #16
- 8000274: 0c00 lsrs r0, r0, #16
- 8000276: 0c09 lsrs r1, r1, #16
- 8000278: 4346 muls r6, r0
- 800027a: 434d muls r5, r1
- 800027c: 4360 muls r0, r4
- 800027e: 4361 muls r1, r4
- 8000280: 1940 adds r0, r0, r5
- 8000282: 0c34 lsrs r4, r6, #16
- 8000284: 1824 adds r4, r4, r0
- 8000286: b500 push {lr}
- 8000288: 42a5 cmp r5, r4
- 800028a: d903 bls.n 8000294 <__aeabi_lmul+0x34>
- 800028c: 2080 movs r0, #128 ; 0x80
- 800028e: 0240 lsls r0, r0, #9
- 8000290: 4680 mov r8, r0
- 8000292: 4441 add r1, r8
- 8000294: 0c25 lsrs r5, r4, #16
- 8000296: 186d adds r5, r5, r1
- 8000298: 4661 mov r1, ip
- 800029a: 4359 muls r1, r3
- 800029c: 437a muls r2, r7
- 800029e: 0430 lsls r0, r6, #16
- 80002a0: 1949 adds r1, r1, r5
- 80002a2: 0424 lsls r4, r4, #16
- 80002a4: 0c00 lsrs r0, r0, #16
- 80002a6: 1820 adds r0, r4, r0
- 80002a8: 1889 adds r1, r1, r2
- 80002aa: bc80 pop {r7}
- 80002ac: 46b8 mov r8, r7
- 80002ae: bdf0 pop {r4, r5, r6, r7, pc}
-
-080002b0 <__udivmoddi4>:
- 80002b0: b5f0 push {r4, r5, r6, r7, lr}
- 80002b2: 4657 mov r7, sl
- 80002b4: 464e mov r6, r9
- 80002b6: 4645 mov r5, r8
- 80002b8: 46de mov lr, fp
- 80002ba: b5e0 push {r5, r6, r7, lr}
- 80002bc: 0004 movs r4, r0
- 80002be: 000d movs r5, r1
- 80002c0: 4692 mov sl, r2
- 80002c2: 4699 mov r9, r3
- 80002c4: b083 sub sp, #12
- 80002c6: 428b cmp r3, r1
- 80002c8: d830 bhi.n 800032c <__udivmoddi4+0x7c>
- 80002ca: d02d beq.n 8000328 <__udivmoddi4+0x78>
- 80002cc: 4649 mov r1, r9
- 80002ce: 4650 mov r0, sl
- 80002d0: f000 f8ba bl 8000448 <__clzdi2>
- 80002d4: 0029 movs r1, r5
- 80002d6: 0006 movs r6, r0
- 80002d8: 0020 movs r0, r4
- 80002da: f000 f8b5 bl 8000448 <__clzdi2>
- 80002de: 1a33 subs r3, r6, r0
- 80002e0: 4698 mov r8, r3
- 80002e2: 3b20 subs r3, #32
- 80002e4: 469b mov fp, r3
- 80002e6: d433 bmi.n 8000350 <__udivmoddi4+0xa0>
- 80002e8: 465a mov r2, fp
- 80002ea: 4653 mov r3, sl
- 80002ec: 4093 lsls r3, r2
- 80002ee: 4642 mov r2, r8
- 80002f0: 001f movs r7, r3
- 80002f2: 4653 mov r3, sl
- 80002f4: 4093 lsls r3, r2
- 80002f6: 001e movs r6, r3
- 80002f8: 42af cmp r7, r5
- 80002fa: d83a bhi.n 8000372 <__udivmoddi4+0xc2>
- 80002fc: 42af cmp r7, r5
- 80002fe: d100 bne.n 8000302 <__udivmoddi4+0x52>
- 8000300: e078 b.n 80003f4 <__udivmoddi4+0x144>
- 8000302: 465b mov r3, fp
- 8000304: 1ba4 subs r4, r4, r6
- 8000306: 41bd sbcs r5, r7
- 8000308: 2b00 cmp r3, #0
- 800030a: da00 bge.n 800030e <__udivmoddi4+0x5e>
- 800030c: e075 b.n 80003fa <__udivmoddi4+0x14a>
- 800030e: 2200 movs r2, #0
- 8000310: 2300 movs r3, #0
- 8000312: 9200 str r2, [sp, #0]
- 8000314: 9301 str r3, [sp, #4]
- 8000316: 2301 movs r3, #1
- 8000318: 465a mov r2, fp
+ 8000262: 4657 mov r7, sl
+ 8000264: 464e mov r6, r9
+ 8000266: 4645 mov r5, r8
+ 8000268: 46de mov lr, fp
+ 800026a: b5e0 push {r5, r6, r7, lr}
+ 800026c: 0004 movs r4, r0
+ 800026e: 000d movs r5, r1
+ 8000270: 4692 mov sl, r2
+ 8000272: 4699 mov r9, r3
+ 8000274: b083 sub sp, #12
+ 8000276: 428b cmp r3, r1
+ 8000278: d830 bhi.n 80002dc <__udivmoddi4+0x7c>
+ 800027a: d02d beq.n 80002d8 <__udivmoddi4+0x78>
+ 800027c: 4649 mov r1, r9
+ 800027e: 4650 mov r0, sl
+ 8000280: f000 f8ba bl 80003f8 <__clzdi2>
+ 8000284: 0029 movs r1, r5
+ 8000286: 0006 movs r6, r0
+ 8000288: 0020 movs r0, r4
+ 800028a: f000 f8b5 bl 80003f8 <__clzdi2>
+ 800028e: 1a33 subs r3, r6, r0
+ 8000290: 4698 mov r8, r3
+ 8000292: 3b20 subs r3, #32
+ 8000294: 469b mov fp, r3
+ 8000296: d433 bmi.n 8000300 <__udivmoddi4+0xa0>
+ 8000298: 465a mov r2, fp
+ 800029a: 4653 mov r3, sl
+ 800029c: 4093 lsls r3, r2
+ 800029e: 4642 mov r2, r8
+ 80002a0: 001f movs r7, r3
+ 80002a2: 4653 mov r3, sl
+ 80002a4: 4093 lsls r3, r2
+ 80002a6: 001e movs r6, r3
+ 80002a8: 42af cmp r7, r5
+ 80002aa: d83a bhi.n 8000322 <__udivmoddi4+0xc2>
+ 80002ac: 42af cmp r7, r5
+ 80002ae: d100 bne.n 80002b2 <__udivmoddi4+0x52>
+ 80002b0: e078 b.n 80003a4 <__udivmoddi4+0x144>
+ 80002b2: 465b mov r3, fp
+ 80002b4: 1ba4 subs r4, r4, r6
+ 80002b6: 41bd sbcs r5, r7
+ 80002b8: 2b00 cmp r3, #0
+ 80002ba: da00 bge.n 80002be <__udivmoddi4+0x5e>
+ 80002bc: e075 b.n 80003aa <__udivmoddi4+0x14a>
+ 80002be: 2200 movs r2, #0
+ 80002c0: 2300 movs r3, #0
+ 80002c2: 9200 str r2, [sp, #0]
+ 80002c4: 9301 str r3, [sp, #4]
+ 80002c6: 2301 movs r3, #1
+ 80002c8: 465a mov r2, fp
+ 80002ca: 4093 lsls r3, r2
+ 80002cc: 9301 str r3, [sp, #4]
+ 80002ce: 2301 movs r3, #1
+ 80002d0: 4642 mov r2, r8
+ 80002d2: 4093 lsls r3, r2
+ 80002d4: 9300 str r3, [sp, #0]
+ 80002d6: e028 b.n 800032a <__udivmoddi4+0xca>
+ 80002d8: 4282 cmp r2, r0
+ 80002da: d9cf bls.n 800027c <__udivmoddi4+0x1c>
+ 80002dc: 2200 movs r2, #0
+ 80002de: 2300 movs r3, #0
+ 80002e0: 9200 str r2, [sp, #0]
+ 80002e2: 9301 str r3, [sp, #4]
+ 80002e4: 9b0c ldr r3, [sp, #48] ; 0x30
+ 80002e6: 2b00 cmp r3, #0
+ 80002e8: d001 beq.n 80002ee <__udivmoddi4+0x8e>
+ 80002ea: 601c str r4, [r3, #0]
+ 80002ec: 605d str r5, [r3, #4]
+ 80002ee: 9800 ldr r0, [sp, #0]
+ 80002f0: 9901 ldr r1, [sp, #4]
+ 80002f2: b003 add sp, #12
+ 80002f4: bcf0 pop {r4, r5, r6, r7}
+ 80002f6: 46bb mov fp, r7
+ 80002f8: 46b2 mov sl, r6
+ 80002fa: 46a9 mov r9, r5
+ 80002fc: 46a0 mov r8, r4
+ 80002fe: bdf0 pop {r4, r5, r6, r7, pc}
+ 8000300: 4642 mov r2, r8
+ 8000302: 2320 movs r3, #32
+ 8000304: 1a9b subs r3, r3, r2
+ 8000306: 4652 mov r2, sl
+ 8000308: 40da lsrs r2, r3
+ 800030a: 4641 mov r1, r8
+ 800030c: 0013 movs r3, r2
+ 800030e: 464a mov r2, r9
+ 8000310: 408a lsls r2, r1
+ 8000312: 0017 movs r7, r2
+ 8000314: 4642 mov r2, r8
+ 8000316: 431f orrs r7, r3
+ 8000318: 4653 mov r3, sl
800031a: 4093 lsls r3, r2
- 800031c: 9301 str r3, [sp, #4]
- 800031e: 2301 movs r3, #1
- 8000320: 4642 mov r2, r8
- 8000322: 4093 lsls r3, r2
- 8000324: 9300 str r3, [sp, #0]
- 8000326: e028 b.n 800037a <__udivmoddi4+0xca>
- 8000328: 4282 cmp r2, r0
- 800032a: d9cf bls.n 80002cc <__udivmoddi4+0x1c>
- 800032c: 2200 movs r2, #0
- 800032e: 2300 movs r3, #0
- 8000330: 9200 str r2, [sp, #0]
- 8000332: 9301 str r3, [sp, #4]
- 8000334: 9b0c ldr r3, [sp, #48] ; 0x30
- 8000336: 2b00 cmp r3, #0
- 8000338: d001 beq.n 800033e <__udivmoddi4+0x8e>
- 800033a: 601c str r4, [r3, #0]
- 800033c: 605d str r5, [r3, #4]
- 800033e: 9800 ldr r0, [sp, #0]
- 8000340: 9901 ldr r1, [sp, #4]
- 8000342: b003 add sp, #12
- 8000344: bcf0 pop {r4, r5, r6, r7}
- 8000346: 46bb mov fp, r7
- 8000348: 46b2 mov sl, r6
- 800034a: 46a9 mov r9, r5
- 800034c: 46a0 mov r8, r4
- 800034e: bdf0 pop {r4, r5, r6, r7, pc}
- 8000350: 4642 mov r2, r8
- 8000352: 2320 movs r3, #32
- 8000354: 1a9b subs r3, r3, r2
- 8000356: 4652 mov r2, sl
- 8000358: 40da lsrs r2, r3
- 800035a: 4641 mov r1, r8
- 800035c: 0013 movs r3, r2
- 800035e: 464a mov r2, r9
- 8000360: 408a lsls r2, r1
- 8000362: 0017 movs r7, r2
- 8000364: 4642 mov r2, r8
- 8000366: 431f orrs r7, r3
- 8000368: 4653 mov r3, sl
- 800036a: 4093 lsls r3, r2
- 800036c: 001e movs r6, r3
- 800036e: 42af cmp r7, r5
- 8000370: d9c4 bls.n 80002fc <__udivmoddi4+0x4c>
- 8000372: 2200 movs r2, #0
- 8000374: 2300 movs r3, #0
- 8000376: 9200 str r2, [sp, #0]
- 8000378: 9301 str r3, [sp, #4]
- 800037a: 4643 mov r3, r8
- 800037c: 2b00 cmp r3, #0
- 800037e: d0d9 beq.n 8000334 <__udivmoddi4+0x84>
- 8000380: 07fb lsls r3, r7, #31
- 8000382: 0872 lsrs r2, r6, #1
- 8000384: 431a orrs r2, r3
- 8000386: 4646 mov r6, r8
- 8000388: 087b lsrs r3, r7, #1
- 800038a: e00e b.n 80003aa <__udivmoddi4+0xfa>
- 800038c: 42ab cmp r3, r5
- 800038e: d101 bne.n 8000394 <__udivmoddi4+0xe4>
- 8000390: 42a2 cmp r2, r4
- 8000392: d80c bhi.n 80003ae <__udivmoddi4+0xfe>
- 8000394: 1aa4 subs r4, r4, r2
- 8000396: 419d sbcs r5, r3
- 8000398: 2001 movs r0, #1
- 800039a: 1924 adds r4, r4, r4
- 800039c: 416d adcs r5, r5
- 800039e: 2100 movs r1, #0
- 80003a0: 3e01 subs r6, #1
- 80003a2: 1824 adds r4, r4, r0
- 80003a4: 414d adcs r5, r1
- 80003a6: 2e00 cmp r6, #0
- 80003a8: d006 beq.n 80003b8 <__udivmoddi4+0x108>
- 80003aa: 42ab cmp r3, r5
- 80003ac: d9ee bls.n 800038c <__udivmoddi4+0xdc>
- 80003ae: 3e01 subs r6, #1
- 80003b0: 1924 adds r4, r4, r4
- 80003b2: 416d adcs r5, r5
- 80003b4: 2e00 cmp r6, #0
- 80003b6: d1f8 bne.n 80003aa <__udivmoddi4+0xfa>
- 80003b8: 9800 ldr r0, [sp, #0]
- 80003ba: 9901 ldr r1, [sp, #4]
- 80003bc: 465b mov r3, fp
- 80003be: 1900 adds r0, r0, r4
- 80003c0: 4169 adcs r1, r5
- 80003c2: 2b00 cmp r3, #0
- 80003c4: db24 blt.n 8000410 <__udivmoddi4+0x160>
- 80003c6: 002b movs r3, r5
- 80003c8: 465a mov r2, fp
- 80003ca: 4644 mov r4, r8
- 80003cc: 40d3 lsrs r3, r2
- 80003ce: 002a movs r2, r5
- 80003d0: 40e2 lsrs r2, r4
- 80003d2: 001c movs r4, r3
- 80003d4: 465b mov r3, fp
- 80003d6: 0015 movs r5, r2
- 80003d8: 2b00 cmp r3, #0
- 80003da: db2a blt.n 8000432 <__udivmoddi4+0x182>
- 80003dc: 0026 movs r6, r4
- 80003de: 409e lsls r6, r3
- 80003e0: 0033 movs r3, r6
- 80003e2: 0026 movs r6, r4
- 80003e4: 4647 mov r7, r8
- 80003e6: 40be lsls r6, r7
- 80003e8: 0032 movs r2, r6
- 80003ea: 1a80 subs r0, r0, r2
- 80003ec: 4199 sbcs r1, r3
- 80003ee: 9000 str r0, [sp, #0]
- 80003f0: 9101 str r1, [sp, #4]
- 80003f2: e79f b.n 8000334 <__udivmoddi4+0x84>
- 80003f4: 42a3 cmp r3, r4
- 80003f6: d8bc bhi.n 8000372 <__udivmoddi4+0xc2>
- 80003f8: e783 b.n 8000302 <__udivmoddi4+0x52>
- 80003fa: 4642 mov r2, r8
- 80003fc: 2320 movs r3, #32
- 80003fe: 2100 movs r1, #0
- 8000400: 1a9b subs r3, r3, r2
- 8000402: 2200 movs r2, #0
- 8000404: 9100 str r1, [sp, #0]
- 8000406: 9201 str r2, [sp, #4]
- 8000408: 2201 movs r2, #1
- 800040a: 40da lsrs r2, r3
- 800040c: 9201 str r2, [sp, #4]
- 800040e: e786 b.n 800031e <__udivmoddi4+0x6e>
- 8000410: 4642 mov r2, r8
- 8000412: 2320 movs r3, #32
- 8000414: 1a9b subs r3, r3, r2
- 8000416: 002a movs r2, r5
- 8000418: 4646 mov r6, r8
- 800041a: 409a lsls r2, r3
- 800041c: 0023 movs r3, r4
- 800041e: 40f3 lsrs r3, r6
- 8000420: 4644 mov r4, r8
- 8000422: 4313 orrs r3, r2
- 8000424: 002a movs r2, r5
- 8000426: 40e2 lsrs r2, r4
- 8000428: 001c movs r4, r3
- 800042a: 465b mov r3, fp
- 800042c: 0015 movs r5, r2
- 800042e: 2b00 cmp r3, #0
- 8000430: dad4 bge.n 80003dc <__udivmoddi4+0x12c>
- 8000432: 4642 mov r2, r8
- 8000434: 002f movs r7, r5
- 8000436: 2320 movs r3, #32
- 8000438: 0026 movs r6, r4
- 800043a: 4097 lsls r7, r2
- 800043c: 1a9b subs r3, r3, r2
- 800043e: 40de lsrs r6, r3
- 8000440: 003b movs r3, r7
- 8000442: 4333 orrs r3, r6
- 8000444: e7cd b.n 80003e2 <__udivmoddi4+0x132>
- 8000446: 46c0 nop ; (mov r8, r8)
+ 800031c: 001e movs r6, r3
+ 800031e: 42af cmp r7, r5
+ 8000320: d9c4 bls.n 80002ac <__udivmoddi4+0x4c>
+ 8000322: 2200 movs r2, #0
+ 8000324: 2300 movs r3, #0
+ 8000326: 9200 str r2, [sp, #0]
+ 8000328: 9301 str r3, [sp, #4]
+ 800032a: 4643 mov r3, r8
+ 800032c: 2b00 cmp r3, #0
+ 800032e: d0d9 beq.n 80002e4 <__udivmoddi4+0x84>
+ 8000330: 07fb lsls r3, r7, #31
+ 8000332: 0872 lsrs r2, r6, #1
+ 8000334: 431a orrs r2, r3
+ 8000336: 4646 mov r6, r8
+ 8000338: 087b lsrs r3, r7, #1
+ 800033a: e00e b.n 800035a <__udivmoddi4+0xfa>
+ 800033c: 42ab cmp r3, r5
+ 800033e: d101 bne.n 8000344 <__udivmoddi4+0xe4>
+ 8000340: 42a2 cmp r2, r4
+ 8000342: d80c bhi.n 800035e <__udivmoddi4+0xfe>
+ 8000344: 1aa4 subs r4, r4, r2
+ 8000346: 419d sbcs r5, r3
+ 8000348: 2001 movs r0, #1
+ 800034a: 1924 adds r4, r4, r4
+ 800034c: 416d adcs r5, r5
+ 800034e: 2100 movs r1, #0
+ 8000350: 3e01 subs r6, #1
+ 8000352: 1824 adds r4, r4, r0
+ 8000354: 414d adcs r5, r1
+ 8000356: 2e00 cmp r6, #0
+ 8000358: d006 beq.n 8000368 <__udivmoddi4+0x108>
+ 800035a: 42ab cmp r3, r5
+ 800035c: d9ee bls.n 800033c <__udivmoddi4+0xdc>
+ 800035e: 3e01 subs r6, #1
+ 8000360: 1924 adds r4, r4, r4
+ 8000362: 416d adcs r5, r5
+ 8000364: 2e00 cmp r6, #0
+ 8000366: d1f8 bne.n 800035a <__udivmoddi4+0xfa>
+ 8000368: 9800 ldr r0, [sp, #0]
+ 800036a: 9901 ldr r1, [sp, #4]
+ 800036c: 465b mov r3, fp
+ 800036e: 1900 adds r0, r0, r4
+ 8000370: 4169 adcs r1, r5
+ 8000372: 2b00 cmp r3, #0
+ 8000374: db24 blt.n 80003c0 <__udivmoddi4+0x160>
+ 8000376: 002b movs r3, r5
+ 8000378: 465a mov r2, fp
+ 800037a: 4644 mov r4, r8
+ 800037c: 40d3 lsrs r3, r2
+ 800037e: 002a movs r2, r5
+ 8000380: 40e2 lsrs r2, r4
+ 8000382: 001c movs r4, r3
+ 8000384: 465b mov r3, fp
+ 8000386: 0015 movs r5, r2
+ 8000388: 2b00 cmp r3, #0
+ 800038a: db2a blt.n 80003e2 <__udivmoddi4+0x182>
+ 800038c: 0026 movs r6, r4
+ 800038e: 409e lsls r6, r3
+ 8000390: 0033 movs r3, r6
+ 8000392: 0026 movs r6, r4
+ 8000394: 4647 mov r7, r8
+ 8000396: 40be lsls r6, r7
+ 8000398: 0032 movs r2, r6
+ 800039a: 1a80 subs r0, r0, r2
+ 800039c: 4199 sbcs r1, r3
+ 800039e: 9000 str r0, [sp, #0]
+ 80003a0: 9101 str r1, [sp, #4]
+ 80003a2: e79f b.n 80002e4 <__udivmoddi4+0x84>
+ 80003a4: 42a3 cmp r3, r4
+ 80003a6: d8bc bhi.n 8000322 <__udivmoddi4+0xc2>
+ 80003a8: e783 b.n 80002b2 <__udivmoddi4+0x52>
+ 80003aa: 4642 mov r2, r8
+ 80003ac: 2320 movs r3, #32
+ 80003ae: 2100 movs r1, #0
+ 80003b0: 1a9b subs r3, r3, r2
+ 80003b2: 2200 movs r2, #0
+ 80003b4: 9100 str r1, [sp, #0]
+ 80003b6: 9201 str r2, [sp, #4]
+ 80003b8: 2201 movs r2, #1
+ 80003ba: 40da lsrs r2, r3
+ 80003bc: 9201 str r2, [sp, #4]
+ 80003be: e786 b.n 80002ce <__udivmoddi4+0x6e>
+ 80003c0: 4642 mov r2, r8
+ 80003c2: 2320 movs r3, #32
+ 80003c4: 1a9b subs r3, r3, r2
+ 80003c6: 002a movs r2, r5
+ 80003c8: 4646 mov r6, r8
+ 80003ca: 409a lsls r2, r3
+ 80003cc: 0023 movs r3, r4
+ 80003ce: 40f3 lsrs r3, r6
+ 80003d0: 4644 mov r4, r8
+ 80003d2: 4313 orrs r3, r2
+ 80003d4: 002a movs r2, r5
+ 80003d6: 40e2 lsrs r2, r4
+ 80003d8: 001c movs r4, r3
+ 80003da: 465b mov r3, fp
+ 80003dc: 0015 movs r5, r2
+ 80003de: 2b00 cmp r3, #0
+ 80003e0: dad4 bge.n 800038c <__udivmoddi4+0x12c>
+ 80003e2: 4642 mov r2, r8
+ 80003e4: 002f movs r7, r5
+ 80003e6: 2320 movs r3, #32
+ 80003e8: 0026 movs r6, r4
+ 80003ea: 4097 lsls r7, r2
+ 80003ec: 1a9b subs r3, r3, r2
+ 80003ee: 40de lsrs r6, r3
+ 80003f0: 003b movs r3, r7
+ 80003f2: 4333 orrs r3, r6
+ 80003f4: e7cd b.n 8000392 <__udivmoddi4+0x132>
+ 80003f6: 46c0 nop ; (mov r8, r8)
-08000448 <__clzdi2>:
- 8000448: b510 push {r4, lr}
- 800044a: 2900 cmp r1, #0
- 800044c: d103 bne.n 8000456 <__clzdi2+0xe>
- 800044e: f000 f807 bl 8000460 <__clzsi2>
- 8000452: 3020 adds r0, #32
- 8000454: e002 b.n 800045c <__clzdi2+0x14>
- 8000456: 1c08 adds r0, r1, #0
- 8000458: f000 f802 bl 8000460 <__clzsi2>
- 800045c: bd10 pop {r4, pc}
- 800045e: 46c0 nop ; (mov r8, r8)
+080003f8 <__clzdi2>:
+ 80003f8: b510 push {r4, lr}
+ 80003fa: 2900 cmp r1, #0
+ 80003fc: d103 bne.n 8000406 <__clzdi2+0xe>
+ 80003fe: f000 f807 bl 8000410 <__clzsi2>
+ 8000402: 3020 adds r0, #32
+ 8000404: e002 b.n 800040c <__clzdi2+0x14>
+ 8000406: 1c08 adds r0, r1, #0
+ 8000408: f000 f802 bl 8000410 <__clzsi2>
+ 800040c: bd10 pop {r4, pc}
+ 800040e: 46c0 nop ; (mov r8, r8)
-08000460 <__clzsi2>:
- 8000460: 211c movs r1, #28
- 8000462: 2301 movs r3, #1
- 8000464: 041b lsls r3, r3, #16
- 8000466: 4298 cmp r0, r3
- 8000468: d301 bcc.n 800046e <__clzsi2+0xe>
- 800046a: 0c00 lsrs r0, r0, #16
- 800046c: 3910 subs r1, #16
- 800046e: 0a1b lsrs r3, r3, #8
- 8000470: 4298 cmp r0, r3
- 8000472: d301 bcc.n 8000478 <__clzsi2+0x18>
- 8000474: 0a00 lsrs r0, r0, #8
- 8000476: 3908 subs r1, #8
- 8000478: 091b lsrs r3, r3, #4
- 800047a: 4298 cmp r0, r3
- 800047c: d301 bcc.n 8000482 <__clzsi2+0x22>
- 800047e: 0900 lsrs r0, r0, #4
- 8000480: 3904 subs r1, #4
- 8000482: a202 add r2, pc, #8 ; (adr r2, 800048c <__clzsi2+0x2c>)
- 8000484: 5c10 ldrb r0, [r2, r0]
- 8000486: 1840 adds r0, r0, r1
- 8000488: 4770 bx lr
- 800048a: 46c0 nop ; (mov r8, r8)
- 800048c: 02020304 .word 0x02020304
- 8000490: 01010101 .word 0x01010101
+08000410 <__clzsi2>:
+ 8000410: 211c movs r1, #28
+ 8000412: 2301 movs r3, #1
+ 8000414: 041b lsls r3, r3, #16
+ 8000416: 4298 cmp r0, r3
+ 8000418: d301 bcc.n 800041e <__clzsi2+0xe>
+ 800041a: 0c00 lsrs r0, r0, #16
+ 800041c: 3910 subs r1, #16
+ 800041e: 0a1b lsrs r3, r3, #8
+ 8000420: 4298 cmp r0, r3
+ 8000422: d301 bcc.n 8000428 <__clzsi2+0x18>
+ 8000424: 0a00 lsrs r0, r0, #8
+ 8000426: 3908 subs r1, #8
+ 8000428: 091b lsrs r3, r3, #4
+ 800042a: 4298 cmp r0, r3
+ 800042c: d301 bcc.n 8000432 <__clzsi2+0x22>
+ 800042e: 0900 lsrs r0, r0, #4
+ 8000430: 3904 subs r1, #4
+ 8000432: a202 add r2, pc, #8 ; (adr r2, 800043c <__clzsi2+0x2c>)
+ 8000434: 5c10 ldrb r0, [r2, r0]
+ 8000436: 1840 adds r0, r0, r1
+ 8000438: 4770 bx lr
+ 800043a: 46c0 nop ; (mov r8, r8)
+ 800043c: 02020304 .word 0x02020304
+ 8000440: 01010101 .word 0x01010101
...
-0800049c :
+0800044c :
+ * @retval None
+*/
+__STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs)
+{
+ __IO uint32_t tmpreg;
+ SET_BIT(RCC->APB1ENR, Periphs);
+ 800044c: 4b05 ldr r3, [pc, #20] ; (8000464 )
+{
+ 800044e: b082 sub sp, #8
+ SET_BIT(RCC->APB1ENR, Periphs);
+ 8000450: 6b9a ldr r2, [r3, #56] ; 0x38
+ 8000452: 4302 orrs r2, r0
+ 8000454: 639a str r2, [r3, #56] ; 0x38
+ /* Delay after an RCC peripheral clock enabling */
+ tmpreg = READ_BIT(RCC->APB1ENR, Periphs);
+ 8000456: 6b9b ldr r3, [r3, #56] ; 0x38
+ 8000458: 4018 ands r0, r3
+ 800045a: 9001 str r0, [sp, #4]
+ (void)tmpreg;
+ 800045c: 9b01 ldr r3, [sp, #4]
+}
+ 800045e: b002 add sp, #8
+ 8000460: 4770 bx lr
+ 8000462: 46c0 nop ; (mov r8, r8)
+ 8000464: 40021000 .word 0x40021000
+
+08000468 :
* @retval None
*/
__STATIC_INLINE void LL_IOP_GRP1_EnableClock(uint32_t Periphs)
{
__IO uint32_t tmpreg;
SET_BIT(RCC->IOPENR, Periphs);
- 800049c: 4b05 ldr r3, [pc, #20] ; (80004b4 )
+ 8000468: 4b05 ldr r3, [pc, #20] ; (8000480 )
{
- 800049e: b082 sub sp, #8
+ 800046a: b082 sub sp, #8
SET_BIT(RCC->IOPENR, Periphs);
- 80004a0: 6ada ldr r2, [r3, #44] ; 0x2c
- 80004a2: 4302 orrs r2, r0
- 80004a4: 62da str r2, [r3, #44] ; 0x2c
+ 800046c: 6ada ldr r2, [r3, #44] ; 0x2c
+ 800046e: 4302 orrs r2, r0
+ 8000470: 62da str r2, [r3, #44] ; 0x2c
/* Delay after an RCC peripheral clock enabling */
tmpreg = READ_BIT(RCC->IOPENR, Periphs);
- 80004a6: 6adb ldr r3, [r3, #44] ; 0x2c
- 80004a8: 4018 ands r0, r3
- 80004aa: 9001 str r0, [sp, #4]
+ 8000472: 6adb ldr r3, [r3, #44] ; 0x2c
+ 8000474: 4018 ands r0, r3
+ 8000476: 9001 str r0, [sp, #4]
(void)tmpreg;
- 80004ac: 9b01 ldr r3, [sp, #4]
+ 8000478: 9b01 ldr r3, [sp, #4]
}
- 80004ae: b002 add sp, #8
- 80004b0: 4770 bx lr
- 80004b2: 46c0 nop ; (mov r8, r8)
- 80004b4: 40021000 .word 0x40021000
+ 800047a: b002 add sp, #8
+ 800047c: 4770 bx lr
+ 800047e: 46c0 nop ; (mov r8, r8)
+ 8000480: 40021000 .word 0x40021000
-080004b8 :
+08000484 :
+ * @arg @ref LL_FLASH_LATENCY_1
+ * @retval None
+ */
+__STATIC_INLINE void LL_FLASH_SetLatency(uint32_t Latency)
+{
+ MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency);
+ 8000484: 2201 movs r2, #1
+ 8000486: 4b24 ldr r3, [pc, #144] ; (8000518 )
/**
* @brief System Clock Configuration
* @retval None
*/
void SystemClock_Config(void)
{
- 80004b8: b500 push {lr}
- 80004ba: b099 sub sp, #100 ; 0x64
- RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- 80004bc: 2230 movs r2, #48 ; 0x30
- 80004be: 2100 movs r1, #0
- 80004c0: a80c add r0, sp, #48 ; 0x30
- 80004c2: f001 f889 bl 80015d8
- RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- 80004c6: 2214 movs r2, #20
- 80004c8: 2100 movs r1, #0
- 80004ca: 4668 mov r0, sp
- 80004cc: f001 f884 bl 80015d8
- RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
- 80004d0: 2218 movs r2, #24
- 80004d2: 2100 movs r1, #0
- 80004d4: a805 add r0, sp, #20
- 80004d6: f001 f87f bl 80015d8
-
- /** Configure the main internal regulator output voltage
+ 8000488: b510 push {r4, lr}
+ 800048a: 6819 ldr r1, [r3, #0]
+ 800048c: 4391 bics r1, r2
+ 800048e: 6019 str r1, [r3, #0]
+ * @arg @ref LL_FLASH_LATENCY_0
+ * @arg @ref LL_FLASH_LATENCY_1
*/
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- 80004da: 4919 ldr r1, [pc, #100] ; (8000540 )
- 80004dc: 4a19 ldr r2, [pc, #100] ; (8000544 )
- 80004de: 680b ldr r3, [r1, #0]
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_MSI;
- RCC_OscInitStruct.MSIState = RCC_MSI_ON;
- RCC_OscInitStruct.MSICalibrationValue = 0;
- RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_5;
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- 80004e0: a80b add r0, sp, #44 ; 0x2c
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- 80004e2: 401a ands r2, r3
- 80004e4: 2380 movs r3, #128 ; 0x80
- 80004e6: 011b lsls r3, r3, #4
- 80004e8: 4313 orrs r3, r2
- 80004ea: 600b str r3, [r1, #0]
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_MSI;
- 80004ec: 2310 movs r3, #16
- RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_5;
- 80004ee: 22a0 movs r2, #160 ; 0xa0
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_MSI;
- 80004f0: 930b str r3, [sp, #44] ; 0x2c
- RCC_OscInitStruct.MSIState = RCC_MSI_ON;
- 80004f2: 3b0f subs r3, #15
- 80004f4: 9311 str r3, [sp, #68] ; 0x44
- RCC_OscInitStruct.MSICalibrationValue = 0;
- 80004f6: 2300 movs r3, #0
- RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_5;
- 80004f8: 0212 lsls r2, r2, #8
- RCC_OscInitStruct.MSICalibrationValue = 0;
- 80004fa: 9312 str r3, [sp, #72] ; 0x48
- RCC_OscInitStruct.MSIClockRange = RCC_MSIRANGE_5;
- 80004fc: 9213 str r2, [sp, #76] ; 0x4c
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
- 80004fe: 9314 str r3, [sp, #80] ; 0x50
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- 8000500: f000 faec bl 8000adc
- 8000504: 1e01 subs r1, r0, #0
- 8000506: d001 beq.n 800050c
- \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- Can only be executed in Privileged modes.
- */
-__STATIC_FORCEINLINE void __disable_irq(void)
+__STATIC_INLINE uint32_t LL_FLASH_GetLatency(void)
{
- __ASM volatile ("cpsid i" : : : "memory");
- 8000508: b672 cpsid i
-void Error_Handler(void)
+ return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY));
+ 8000490: 6819 ldr r1, [r3, #0]
+ LL_FLASH_SetLatency(LL_FLASH_LATENCY_0);
+ while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_0)
+ 8000492: 4211 tst r1, r2
+ 8000494: d1fc bne.n 8000490
+ * @arg @ref LL_PWR_REGU_VOLTAGE_SCALE3
+ * @retval None
+ */
+__STATIC_INLINE void LL_PWR_SetRegulVoltageScaling(uint32_t VoltageScaling)
{
- /* USER CODE BEGIN Error_Handler_Debug */
- /* User can add his own implementation to report the HAL error return state */
- __disable_irq();
- while (1)
- 800050a: e7fe b.n 800050a
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- 800050c: 230f movs r3, #15
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_MSI;
- 800050e: 9001 str r0, [sp, #4]
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- 8000510: 9002 str r0, [sp, #8]
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
- 8000512: 9003 str r0, [sp, #12]
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
- 8000514: 9004 str r0, [sp, #16]
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
- 8000516: 4668 mov r0, sp
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- 8000518: 9300 str r3, [sp, #0]
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
- 800051a: f000 fd2f bl 8000f7c
- 800051e: 2800 cmp r0, #0
- 8000520: d001 beq.n 8000526
- 8000522: b672 cpsid i
- while (1)
- 8000524: e7fe b.n 8000524
- PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_LPUART1|RCC_PERIPHCLK_I2C1;
- 8000526: 230c movs r3, #12
- PeriphClkInit.Lpuart1ClockSelection = RCC_LPUART1CLKSOURCE_PCLK1;
- 8000528: 9008 str r0, [sp, #32]
- PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_PCLK1;
- 800052a: 9009 str r0, [sp, #36] ; 0x24
- if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- 800052c: a805 add r0, sp, #20
- PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_LPUART1|RCC_PERIPHCLK_I2C1;
- 800052e: 9305 str r3, [sp, #20]
- if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- 8000530: f000 fdf2 bl 8001118
- 8000534: 2800 cmp r0, #0
- 8000536: d001 beq.n 800053c
- 8000538: b672 cpsid i
- while (1)
- 800053a: e7fe b.n 800053a
-}
- 800053c: b019 add sp, #100 ; 0x64
- 800053e: bd00 pop {pc}
- 8000540: 40007000 .word 0x40007000
- 8000544: ffffe7ff .word 0xffffe7ff
+ MODIFY_REG(PWR->CR, PWR_CR_VOS, VoltageScaling);
+ 8000496: 4921 ldr r1, [pc, #132] ; (800051c )
+ 8000498: 4a21 ldr r2, [pc, #132] ; (8000520 )
+ 800049a: 680b ldr r3, [r1, #0]
+ * @rmtoll CR MSION LL_RCC_MSI_Enable
+ * @retval None
+ */
+__STATIC_INLINE void LL_RCC_MSI_Enable(void)
+{
+ SET_BIT(RCC->CR, RCC_CR_MSION);
+ 800049c: 4c21 ldr r4, [pc, #132] ; (8000524 )
+ 800049e: 401a ands r2, r3
+ 80004a0: 2380 movs r3, #128 ; 0x80
+ 80004a2: 011b lsls r3, r3, #4
+ 80004a4: 4313 orrs r3, r2
+ 80004a6: 600b str r3, [r1, #0]
+ 80004a8: 2380 movs r3, #128 ; 0x80
+ 80004aa: 6822 ldr r2, [r4, #0]
+ 80004ac: 005b lsls r3, r3, #1
+ 80004ae: 4313 orrs r3, r2
+ 80004b0: 6023 str r3, [r4, #0]
+ * @rmtoll CR MSIRDY LL_RCC_MSI_IsReady
+ * @retval State of bit (1 or 0).
+ */
+__STATIC_INLINE uint32_t LL_RCC_MSI_IsReady(void)
+{
+ return ((READ_BIT(RCC->CR, RCC_CR_MSIRDY) == RCC_CR_MSIRDY) ? 1UL : 0UL);
+ 80004b2: 2380 movs r3, #128 ; 0x80
+ 80004b4: 009b lsls r3, r3, #2
+ 80004b6: 6822 ldr r2, [r4, #0]
+ 80004b8: 421a tst r2, r3
+ 80004ba: d0fc beq.n 80004b6
+ * @arg @ref LL_RCC_MSIRANGE_6
+ * @retval None
+ */
+__STATIC_INLINE void LL_RCC_MSI_SetRange(uint32_t Range)
+{
+ MODIFY_REG(RCC->ICSCR, RCC_ICSCR_MSIRANGE, Range);
+ 80004bc: 6863 ldr r3, [r4, #4]
+ 80004be: 4a1a ldr r2, [pc, #104] ; (8000528 )
+ 80004c0: 401a ands r2, r3
+ 80004c2: 23a0 movs r3, #160 ; 0xa0
+ 80004c4: 021b lsls r3, r3, #8
+ 80004c6: 4313 orrs r3, r2
+ * @arg @ref LL_RCC_SYSCLK_DIV_512
+ * @retval None
+ */
+__STATIC_INLINE void LL_RCC_SetAHBPrescaler(uint32_t Prescaler)
+{
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, Prescaler);
+ 80004c8: 22f0 movs r2, #240 ; 0xf0
+ MODIFY_REG(RCC->ICSCR, RCC_ICSCR_MSIRANGE, Range);
+ 80004ca: 6063 str r3, [r4, #4]
+ MODIFY_REG(RCC->ICSCR, RCC_ICSCR_MSITRIM, Value << RCC_ICSCR_MSITRIM_Pos);
+ 80004cc: 6863 ldr r3, [r4, #4]
+ 80004ce: 021b lsls r3, r3, #8
+ 80004d0: 0a1b lsrs r3, r3, #8
+ 80004d2: 6063 str r3, [r4, #4]
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, Prescaler);
+ 80004d4: 68e3 ldr r3, [r4, #12]
+ 80004d6: 4393 bics r3, r2
+ 80004d8: 60e3 str r3, [r4, #12]
+ * @arg @ref LL_RCC_APB1_DIV_16
+ * @retval None
+ */
+__STATIC_INLINE void LL_RCC_SetAPB1Prescaler(uint32_t Prescaler)
+{
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, Prescaler);
+ 80004da: 68e3 ldr r3, [r4, #12]
+ 80004dc: 4a13 ldr r2, [pc, #76] ; (800052c )
+ 80004de: 4013 ands r3, r2
+ 80004e0: 60e3 str r3, [r4, #12]
+ * @arg @ref LL_RCC_APB2_DIV_16
+ * @retval None
+ */
+__STATIC_INLINE void LL_RCC_SetAPB2Prescaler(uint32_t Prescaler)
+{
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, Prescaler);
+ 80004e2: 68e3 ldr r3, [r4, #12]
+ 80004e4: 4a12 ldr r2, [pc, #72] ; (8000530 )
+ 80004e6: 4013 ands r3, r2
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source);
+ 80004e8: 2203 movs r2, #3
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, Prescaler);
+ 80004ea: 60e3 str r3, [r4, #12]
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source);
+ 80004ec: 68e3 ldr r3, [r4, #12]
+ 80004ee: 4393 bics r3, r2
+ 80004f0: 60e3 str r3, [r4, #12]
+ return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_SWS));
+ 80004f2: 230c movs r3, #12
+ 80004f4: 68e2 ldr r2, [r4, #12]
+ LL_RCC_SetAPB1Prescaler(LL_RCC_APB1_DIV_1);
+ LL_RCC_SetAPB2Prescaler(LL_RCC_APB2_DIV_1);
+ LL_RCC_SetSysClkSource(LL_RCC_SYS_CLKSOURCE_MSI);
-08000548 :
+ /* Wait till System clock is ready */
+ while(LL_RCC_GetSysClkSource() != LL_RCC_SYS_CLKSOURCE_STATUS_MSI)
+ 80004f6: 421a tst r2, r3
+ 80004f8: d1fc bne.n 80004f4
+ {
+
+ }
+
+ LL_Init1msTick(2097000);
+ 80004fa: 480e ldr r0, [pc, #56] ; (8000534 )
+ 80004fc: f000 fb48 bl 8000b90
+
+ LL_SetSystemCoreClock(2097000);
+ 8000500: 480c ldr r0, [pc, #48] ; (8000534 )
+ 8000502: f000 fb55 bl 8000bb0
+ * @arg @ref LL_RCC_LPUART1_CLKSOURCE_LSE
+ * @retval None
+ */
+__STATIC_INLINE void LL_RCC_SetLPUARTClockSource(uint32_t LPUARTxSource)
{
- 8000548: b5f0 push {r4, r5, r6, r7, lr}
- 800054a: b091 sub sp, #68 ; 0x44
- HAL_Init();
- 800054c: f000 fa02 bl 8000954
- SystemClock_Config();
- 8000550: f7ff ffb2 bl 80004b8
- LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
- 8000554: 2218 movs r2, #24
- 8000556: 2100 movs r1, #0
- 8000558: a809 add r0, sp, #36 ; 0x24
- 800055a: f001 f83d bl 80015d8
- LL_IOP_GRP1_EnableClock(LL_IOP_GRP1_PERIPH_GPIOA);
- 800055e: 2001 movs r0, #1
- 8000560: f7ff ff9c bl 800049c
+ MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPUART1SEL, LPUARTxSource);
+ 8000506: 6ce3 ldr r3, [r4, #76] ; 0x4c
+ 8000508: 4a0b ldr r2, [pc, #44] ; (8000538 )
+ 800050a: 4013 ands r3, r2
+ 800050c: 64e3 str r3, [r4, #76] ; 0x4c
+ * (*) value not defined in all devices.
+ * @retval None
+ */
+__STATIC_INLINE void LL_RCC_SetI2CClockSource(uint32_t I2CxSource)
+{
+ MODIFY_REG(RCC->CCIPR, ((I2CxSource >> 4U) & 0x000FF000U), ((I2CxSource << 4U) & 0x000FF000U));
+ 800050e: 6ce3 ldr r3, [r4, #76] ; 0x4c
+ 8000510: 4a0a ldr r2, [pc, #40] ; (800053c )
+ 8000512: 4013 ands r3, r2
+ 8000514: 64e3 str r3, [r4, #76] ; 0x4c
+ LL_RCC_SetLPUARTClockSource(LL_RCC_LPUART1_CLKSOURCE_PCLK1);
+ LL_RCC_SetI2CClockSource(LL_RCC_I2C1_CLKSOURCE_PCLK1);
+}
+ 8000516: bd10 pop {r4, pc}
+ 8000518: 40022000 .word 0x40022000
+ 800051c: 40007000 .word 0x40007000
+ 8000520: ffffe7ff .word 0xffffe7ff
+ 8000524: 40021000 .word 0x40021000
+ 8000528: ffff1fff .word 0xffff1fff
+ 800052c: fffff8ff .word 0xfffff8ff
+ 8000530: ffffc7ff .word 0xffffc7ff
+ 8000534: 001fff68 .word 0x001fff68
+ 8000538: fffff3ff .word 0xfffff3ff
+ 800053c: ffffcfff .word 0xffffcfff
+
+08000540 :
+{
+ 8000540: b5f0 push {r4, r5, r6, r7, lr}
+ SET_BIT(RCC->APB2ENR, Periphs);
+ 8000542: 2501 movs r5, #1
+ LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR);
+ 8000544: 2080 movs r0, #128 ; 0x80
+ 8000546: 4e9b ldr r6, [pc, #620] ; (80007b4 )
+{
+ 8000548: b091 sub sp, #68 ; 0x44
+ 800054a: 6b73 ldr r3, [r6, #52] ; 0x34
+ LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR);
+ 800054c: 0540 lsls r0, r0, #21
+ 800054e: 432b orrs r3, r5
+ 8000550: 6373 str r3, [r6, #52] ; 0x34
+ tmpreg = READ_BIT(RCC->APB2ENR, Periphs);
+ 8000552: 6b73 ldr r3, [r6, #52] ; 0x34
* @arg @ref LL_GPIO_PIN_ALL
* @retval None
*/
__STATIC_INLINE void LL_GPIO_SetOutputPin(GPIO_TypeDef *GPIOx, uint32_t PinMask)
{
WRITE_REG(GPIOx->BSRR, PinMask);
- 8000564: 25a0 movs r5, #160 ; 0xa0
+ 8000554: 27a0 movs r7, #160 ; 0xa0
+ 8000556: 402b ands r3, r5
+ 8000558: 9301 str r3, [sp, #4]
+ (void)tmpreg;
+ 800055a: 9b01 ldr r3, [sp, #4]
+ 800055c: f7ff ff76 bl 800044c
+ SystemClock_Config();
+ 8000560: f7ff ff90 bl 8000484
+ * @param None
+ * @retval None
+ */
+static void MX_GPIO_Init(void)
+{
+ LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
+ 8000564: 2218 movs r2, #24
+ 8000566: 2100 movs r1, #0
+ 8000568: a809 add r0, sp, #36 ; 0x24
+ 800056a: f000 fb4b bl 8000c04
+
+ /* GPIO Ports Clock Enable */
+ LL_IOP_GRP1_EnableClock(LL_IOP_GRP1_PERIPH_GPIOA);
+ 800056e: 0028 movs r0, r5
+ 8000570: f7ff ff7a bl 8000468
LL_IOP_GRP1_EnableClock(LL_IOP_GRP1_PERIPH_GPIOB);
- 8000566: 2002 movs r0, #2
- 8000568: f7ff ff98 bl 800049c
- 800056c: 2780 movs r7, #128 ; 0x80
- 800056e: 2320 movs r3, #32
- 8000570: 2240 movs r2, #64 ; 0x40
- GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
- 8000572: 2400 movs r4, #0
- GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
- 8000574: 2601 movs r6, #1
- 8000576: 05ed lsls r5, r5, #23
- LL_GPIO_Init(LED_B_GPIO_Port, &GPIO_InitStruct);
- 8000578: a809 add r0, sp, #36 ; 0x24
- 800057a: 61ab str r3, [r5, #24]
- 800057c: 0001 movs r1, r0
- 800057e: 61aa str r2, [r5, #24]
- 8000580: 0028 movs r0, r5
- 8000582: 61af str r7, [r5, #24]
+ 8000574: 2002 movs r0, #2
+ 8000576: f7ff ff77 bl 8000468
+ 800057a: 2320 movs r3, #32
+ 800057c: 2240 movs r2, #64 ; 0x40
+ 800057e: 2180 movs r1, #128 ; 0x80
+ LL_GPIO_SetOutputPin(LED_R_GPIO_Port, LED_R_Pin);
+
+ /**/
GPIO_InitStruct.Pin = LED_B_Pin;
- 8000584: 9309 str r3, [sp, #36] ; 0x24
GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
- 8000586: 960a str r6, [sp, #40] ; 0x28
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
- 8000588: 940b str r4, [sp, #44] ; 0x2c
+ 8000580: 2400 movs r4, #0
+ 8000582: 05ff lsls r7, r7, #23
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
- 800058a: 940c str r4, [sp, #48] ; 0x30
GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
- 800058c: 940d str r4, [sp, #52] ; 0x34
LL_GPIO_Init(LED_B_GPIO_Port, &GPIO_InitStruct);
- 800058e: f000 fe7f bl 8001290
- GPIO_InitStruct.Pin = LED_G_Pin;
- 8000592: 2240 movs r2, #64 ; 0x40
- LL_GPIO_Init(LED_G_GPIO_Port, &GPIO_InitStruct);
- 8000594: a909 add r1, sp, #36 ; 0x24
- 8000596: 0028 movs r0, r5
- GPIO_InitStruct.Pin = LED_G_Pin;
- 8000598: 9209 str r2, [sp, #36] ; 0x24
+ 8000584: a809 add r0, sp, #36 ; 0x24
+ 8000586: 61bb str r3, [r7, #24]
+ 8000588: 61ba str r2, [r7, #24]
+ 800058a: 61b9 str r1, [r7, #24]
+ 800058c: 0001 movs r1, r0
+ 800058e: 0038 movs r0, r7
+ GPIO_InitStruct.Pin = LED_B_Pin;
+ 8000590: 9309 str r3, [sp, #36] ; 0x24
+ GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
+ 8000592: 950a str r5, [sp, #40] ; 0x28
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
+ 8000594: 940b str r4, [sp, #44] ; 0x2c
+ GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
+ 8000596: 940c str r4, [sp, #48] ; 0x30
+ GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
+ 8000598: 940d str r4, [sp, #52] ; 0x34
+ LL_GPIO_Init(LED_B_GPIO_Port, &GPIO_InitStruct);
+ 800059a: f000 f97a bl 8000892
+
+ /**/
+ GPIO_InitStruct.Pin = LED_G_Pin;
+ 800059e: 2040 movs r0, #64 ; 0x40
GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
- 800059a: 960a str r6, [sp, #40] ; 0x28
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
- 800059c: 940b str r4, [sp, #44] ; 0x2c
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
- 800059e: 940c str r4, [sp, #48] ; 0x30
GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
- 80005a0: 940d str r4, [sp, #52] ; 0x34
LL_GPIO_Init(LED_G_GPIO_Port, &GPIO_InitStruct);
- 80005a2: f000 fe75 bl 8001290
+ 80005a0: aa09 add r2, sp, #36 ; 0x24
+ 80005a2: 0011 movs r1, r2
+ GPIO_InitStruct.Pin = LED_G_Pin;
+ 80005a4: 9009 str r0, [sp, #36] ; 0x24
+ LL_GPIO_Init(LED_G_GPIO_Port, &GPIO_InitStruct);
+ 80005a6: 0038 movs r0, r7
+ GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
+ 80005a8: 950a str r5, [sp, #40] ; 0x28
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
+ 80005aa: 940b str r4, [sp, #44] ; 0x2c
+ GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
+ 80005ac: 940c str r4, [sp, #48] ; 0x30
+ GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
+ 80005ae: 940d str r4, [sp, #52] ; 0x34
+ LL_GPIO_Init(LED_G_GPIO_Port, &GPIO_InitStruct);
+ 80005b0: f000 f96f bl 8000892
+
+ /**/
GPIO_InitStruct.Pin = LED_R_Pin;
- 80005a6: 9709 str r7, [sp, #36] ; 0x24
- LL_GPIO_Init(LED_R_GPIO_Port, &GPIO_InitStruct);
- 80005a8: a809 add r0, sp, #36 ; 0x24
- SET_BIT(RCC->AHBENR, Periphs);
- 80005aa: 4f98 ldr r7, [pc, #608] ; (800080c )
- 80005ac: 0001 movs r1, r0
- 80005ae: 0028 movs r0, r5
+ 80005b4: 2280 movs r2, #128 ; 0x80
+ 80005b6: 9209 str r2, [sp, #36] ; 0x24
GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
- 80005b0: 960a str r6, [sp, #40] ; 0x28
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
- 80005b2: 940b str r4, [sp, #44] ; 0x2c
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
- 80005b4: 940c str r4, [sp, #48] ; 0x30
GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
- 80005b6: 940d str r4, [sp, #52] ; 0x34
LL_GPIO_Init(LED_R_GPIO_Port, &GPIO_InitStruct);
- 80005b8: f000 fe6a bl 8001290
- 80005bc: 6b3b ldr r3, [r7, #48] ; 0x30
+ 80005b8: aa09 add r2, sp, #36 ; 0x24
+ 80005ba: 0011 movs r1, r2
+ 80005bc: 0038 movs r0, r7
+ GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
+ 80005be: 950a str r5, [sp, #40] ; 0x28
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
+ 80005c0: 940b str r4, [sp, #44] ; 0x2c
+ GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
+ 80005c2: 940c str r4, [sp, #48] ; 0x30
+ GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
+ 80005c4: 940d str r4, [sp, #52] ; 0x34
+ LL_GPIO_Init(LED_R_GPIO_Port, &GPIO_InitStruct);
+ 80005c6: f000 f964 bl 8000892
+ SET_BIT(RCC->AHBENR, Periphs);
+ 80005ca: 6b33 ldr r3, [r6, #48] ; 0x30
*/
__STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
{
if ((int32_t)(IRQn) >= 0)
{
NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 80005be: 21c2 movs r1, #194 ; 0xc2
- 80005c0: 4333 orrs r3, r6
- 80005c2: 633b str r3, [r7, #48] ; 0x30
+ 80005cc: 21c2 movs r1, #194 ; 0xc2
+ 80005ce: 432b orrs r3, r5
+ 80005d0: 6333 str r3, [r6, #48] ; 0x30
tmpreg = READ_BIT(RCC->AHBENR, Periphs);
- 80005c4: 6b3b ldr r3, [r7, #48] ; 0x30
- 80005c6: 0089 lsls r1, r1, #2
- 80005c8: 4033 ands r3, r6
+ 80005d2: 6b33 ldr r3, [r6, #48] ; 0x30
NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 80005ca: 2680 movs r6, #128 ; 0x80
- 80005cc: 9300 str r3, [sp, #0]
+ 80005d4: 2680 movs r6, #128 ; 0x80
+ 80005d6: 402b ands r3, r5
+ 80005d8: 9302 str r3, [sp, #8]
(void)tmpreg;
- 80005ce: 9b00 ldr r3, [sp, #0]
+ 80005da: 9b02 ldr r3, [sp, #8]
NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 80005d0: 4b8f ldr r3, [pc, #572] ; (8000810 )
- 80005d2: 4890 ldr r0, [pc, #576] ; (8000814 )
- 80005d4: 585a ldr r2, [r3, r1]
+ 80005dc: 4b76 ldr r3, [pc, #472] ; (80007b8 )
+ 80005de: 0089 lsls r1, r1, #2
+ 80005e0: 585a ldr r2, [r3, r1]
+ 80005e2: 4876 ldr r0, [pc, #472] ; (80007bc )
NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 80005d6: 00f6 lsls r6, r6, #3
+ 80005e4: 00f6 lsls r6, r6, #3
NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 80005d8: 4002 ands r2, r0
- 80005da: 505a str r2, [r3, r1]
+ 80005e6: 4002 ands r2, r0
+ 80005e8: 505a str r2, [r3, r1]
LL_I2C_InitTypeDef I2C_InitStruct = {0};
- 80005dc: a809 add r0, sp, #36 ; 0x24
+ 80005ea: a809 add r0, sp, #36 ; 0x24
NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 80005de: 601e str r6, [r3, #0]
- 80005e0: 221c movs r2, #28
- 80005e2: 0021 movs r1, r4
- 80005e4: f000 fff8 bl 80015d8
+ 80005ec: 601e str r6, [r3, #0]
+ 80005ee: 0021 movs r1, r4
+ 80005f0: 221c movs r2, #28
+ 80005f2: f000 fb07 bl 8000c04
LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
- 80005e8: 2218 movs r2, #24
- 80005ea: 0021 movs r1, r4
- 80005ec: a803 add r0, sp, #12
- 80005ee: f000 fff3 bl 80015d8
+ 80005f6: 0021 movs r1, r4
+ 80005f8: 2218 movs r2, #24
+ 80005fa: a803 add r0, sp, #12
+ 80005fc: f000 fb02 bl 8000c04
LL_IOP_GRP1_EnableClock(LL_IOP_GRP1_PERIPH_GPIOA);
- 80005f2: 2001 movs r0, #1
- 80005f4: f7ff ff52 bl 800049c
+ 8000600: 0028 movs r0, r5
+ 8000602: f7ff ff31 bl 8000468
GPIO_InitStruct.Pin = LL_GPIO_PIN_9;
- 80005f8: 2380 movs r3, #128 ; 0x80
+ 8000606: 2380 movs r3, #128 ; 0x80
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 80005fa: 2103 movs r1, #3
- GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_OPENDRAIN;
- 80005fc: 2201 movs r2, #1
+ 8000608: 2203 movs r2, #3
GPIO_InitStruct.Pin = LL_GPIO_PIN_9;
- 80005fe: 009b lsls r3, r3, #2
- 8000600: 9303 str r3, [sp, #12]
+ 800060a: 009b lsls r3, r3, #2
+ 800060c: 9303 str r3, [sp, #12]
LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 8000602: a803 add r0, sp, #12
+ 800060e: a803 add r0, sp, #12
GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 8000604: 3bff subs r3, #255 ; 0xff
- 8000606: 3bff subs r3, #255 ; 0xff
+ 8000610: 3bff subs r3, #255 ; 0xff
+ LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 8000612: 0001 movs r1, r0
+ GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
+ 8000614: 3bff subs r3, #255 ; 0xff
+ LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 8000616: 0038 movs r0, r7
+ GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
+ 8000618: 9304 str r3, [sp, #16]
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 8000608: 9105 str r1, [sp, #20]
- LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 800060a: 0001 movs r1, r0
- 800060c: 0028 movs r0, r5
- GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 800060e: 9304 str r3, [sp, #16]
+ 800061a: 9205 str r2, [sp, #20]
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_OPENDRAIN;
- 8000610: 9206 str r2, [sp, #24]
+ 800061c: 9506 str r5, [sp, #24]
GPIO_InitStruct.Pull = LL_GPIO_PULL_UP;
- 8000612: 9207 str r2, [sp, #28]
+ 800061e: 9507 str r5, [sp, #28]
GPIO_InitStruct.Alternate = LL_GPIO_AF_1;
- 8000614: 9208 str r2, [sp, #32]
+ 8000620: 9508 str r5, [sp, #32]
LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 8000616: f000 fe3b bl 8001290
- GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 800061a: 2103 movs r1, #3
- GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_OPENDRAIN;
- 800061c: 2201 movs r2, #1
+ 8000622: f000 f936 bl 8000892
GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 800061e: 2302 movs r3, #2
+ 8000626: 2302 movs r3, #2
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
+ 8000628: 2203 movs r2, #3
GPIO_InitStruct.Pin = LL_GPIO_PIN_10;
- 8000620: 9603 str r6, [sp, #12]
+ 800062a: 9603 str r6, [sp, #12]
LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 8000622: ae03 add r6, sp, #12
- GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 8000624: 9105 str r1, [sp, #20]
- LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 8000626: 0028 movs r0, r5
- 8000628: 0031 movs r1, r6
+ 800062c: ae03 add r6, sp, #12
+ 800062e: 0031 movs r1, r6
+ 8000630: 0038 movs r0, r7
GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 800062a: 9304 str r3, [sp, #16]
+ 8000632: 9304 str r3, [sp, #16]
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
+ 8000634: 9205 str r2, [sp, #20]
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_OPENDRAIN;
- 800062c: 9206 str r2, [sp, #24]
+ 8000636: 9506 str r5, [sp, #24]
GPIO_InitStruct.Pull = LL_GPIO_PULL_UP;
- 800062e: 9207 str r2, [sp, #28]
+ 8000638: 9507 str r5, [sp, #28]
GPIO_InitStruct.Alternate = LL_GPIO_AF_1;
- 8000630: 9208 str r2, [sp, #32]
+ 800063a: 9508 str r5, [sp, #32]
LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 8000632: f000 fe2d bl 8001290
- SET_BIT(RCC->APB1ENR, Periphs);
- 8000636: 2180 movs r1, #128 ; 0x80
- 8000638: 6bba ldr r2, [r7, #56] ; 0x38
- 800063a: 0389 lsls r1, r1, #14
- 800063c: 430a orrs r2, r1
- 800063e: 63ba str r2, [r7, #56] ; 0x38
- tmpreg = READ_BIT(RCC->APB1ENR, Periphs);
- 8000640: 6bbb ldr r3, [r7, #56] ; 0x38
+ 800063c: f000 f929 bl 8000892
+ LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_I2C1);
+ 8000640: 2080 movs r0, #128 ; 0x80
+ 8000642: 0380 lsls r0, r0, #14
+ 8000644: f7ff ff02 bl 800044c
* @param I2Cx I2C Instance.
* @retval None
*/
__STATIC_INLINE void LL_I2C_EnableAutoEndMode(I2C_TypeDef *I2Cx)
{
SET_BIT(I2Cx->CR2, I2C_CR2_AUTOEND);
- 8000642: 4e75 ldr r6, [pc, #468] ; (8000818 )
- 8000644: 400b ands r3, r1
- 8000646: 9301 str r3, [sp, #4]
- (void)tmpreg;
- 8000648: 9b01 ldr r3, [sp, #4]
- 800064a: 2380 movs r3, #128 ; 0x80
- 800064c: 6872 ldr r2, [r6, #4]
- 800064e: 049b lsls r3, r3, #18
- 8000650: 4313 orrs r3, r2
- 8000652: 6073 str r3, [r6, #4]
+ 8000648: 2380 movs r3, #128 ; 0x80
+ 800064a: 4e5d ldr r6, [pc, #372] ; (80007c0 )
+ 800064c: 049b lsls r3, r3, #18
+ 800064e: 6872 ldr r2, [r6, #4]
CLEAR_BIT(I2Cx->OAR2, I2C_OAR2_OA2EN);
- 8000654: 68f3 ldr r3, [r6, #12]
- 8000656: 4871 ldr r0, [pc, #452] ; (800081c )
+ 8000650: 485c ldr r0, [pc, #368] ; (80007c4 )
+ SET_BIT(I2Cx->CR2, I2C_CR2_AUTOEND);
+ 8000652: 4313 orrs r3, r2
+ 8000654: 6073 str r3, [r6, #4]
+ CLEAR_BIT(I2Cx->OAR2, I2C_OAR2_OA2EN);
+ 8000656: 68f3 ldr r3, [r6, #12]
CLEAR_BIT(I2Cx->CR1, I2C_CR1_GCEN);
- 8000658: 4a71 ldr r2, [pc, #452] ; (8000820 )
+ 8000658: 4a5b ldr r2, [pc, #364] ; (80007c8 )
CLEAR_BIT(I2Cx->OAR2, I2C_OAR2_OA2EN);
800065a: 4003 ands r3, r0
800065c: 60f3 str r3, [r6, #12]
CLEAR_BIT(I2Cx->CR1, I2C_CR1_GCEN);
800065e: 6833 ldr r3, [r6, #0]
LL_I2C_Init(I2C1, &I2C_InitStruct);
- 8000660: 0030 movs r0, r6
+ 8000660: a909 add r1, sp, #36 ; 0x24
8000662: 4013 ands r3, r2
8000664: 6033 str r3, [r6, #0]
CLEAR_BIT(I2Cx->CR1, I2C_CR1_NOSTRETCH);
8000666: 6833 ldr r3, [r6, #0]
- 8000668: 4a6e ldr r2, [pc, #440] ; (8000824 )
- 800066a: 4013 ands r3, r2
- 800066c: 6033 str r3, [r6, #0]
+ 8000668: 4a58 ldr r2, [pc, #352] ; (80007cc )
+ 800066a: 0030 movs r0, r6
+ 800066c: 4013 ands r3, r2
+ 800066e: 6033 str r3, [r6, #0]
I2C_InitStruct.Timing = 0x00000708;
- 800066e: 23e1 movs r3, #225 ; 0xe1
- LL_I2C_Init(I2C1, &I2C_InitStruct);
- 8000670: aa09 add r2, sp, #36 ; 0x24
- 8000672: 0011 movs r1, r2
- I2C_InitStruct.Timing = 0x00000708;
- 8000674: 00db lsls r3, r3, #3
- 8000676: 930a str r3, [sp, #40] ; 0x28
+ 8000670: 23e1 movs r3, #225 ; 0xe1
+ 8000672: 00db lsls r3, r3, #3
I2C_InitStruct.PeripheralMode = LL_I2C_MODE_I2C;
- 8000678: 9409 str r4, [sp, #36] ; 0x24
+ 8000674: 9409 str r4, [sp, #36] ; 0x24
+ I2C_InitStruct.Timing = 0x00000708;
+ 8000676: 930a str r3, [sp, #40] ; 0x28
I2C_InitStruct.AnalogFilter = LL_I2C_ANALOGFILTER_ENABLE;
- 800067a: 940b str r4, [sp, #44] ; 0x2c
+ 8000678: 940b str r4, [sp, #44] ; 0x2c
I2C_InitStruct.DigitalFilter = 0;
- 800067c: 940c str r4, [sp, #48] ; 0x30
+ 800067a: 940c str r4, [sp, #48] ; 0x30
I2C_InitStruct.OwnAddress1 = 0;
- 800067e: 940d str r4, [sp, #52] ; 0x34
+ 800067c: 940d str r4, [sp, #52] ; 0x34
I2C_InitStruct.TypeAcknowledge = LL_I2C_ACK;
- 8000680: 940e str r4, [sp, #56] ; 0x38
+ 800067e: 940e str r4, [sp, #56] ; 0x38
I2C_InitStruct.OwnAddrSize = LL_I2C_OWNADDRESS1_7BIT;
- 8000682: 940f str r4, [sp, #60] ; 0x3c
+ 8000680: 940f str r4, [sp, #60] ; 0x3c
LL_I2C_Init(I2C1, &I2C_InitStruct);
- 8000684: f000 fe56 bl 8001334
+ 8000682: f000 f957 bl 8000934
MODIFY_REG(I2Cx->OAR2, I2C_OAR2_OA2 | I2C_OAR2_OA2MSK, OwnAddress2 | OwnAddrMask);
- 8000688: 68f3 ldr r3, [r6, #12]
- 800068a: 4a67 ldr r2, [pc, #412] ; (8000828 )
+ 8000686: 68f3 ldr r3, [r6, #12]
+ 8000688: 4a51 ldr r2, [pc, #324] ; (80007d0 )
LL_LPUART_InitTypeDef LPUART_InitStruct = {0};
- 800068c: 0021 movs r1, r4
- 800068e: 4013 ands r3, r2
- 8000690: 60f3 str r3, [r6, #12]
- 8000692: ae03 add r6, sp, #12
- 8000694: 2218 movs r2, #24
- 8000696: 0030 movs r0, r6
+ 800068a: 0021 movs r1, r4
+ 800068c: 4013 ands r3, r2
+ 800068e: 60f3 str r3, [r6, #12]
+ 8000690: 2218 movs r2, #24
+ 8000692: a803 add r0, sp, #12
+ 8000694: f000 fab6 bl 8000c04
LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
- 8000698: ae09 add r6, sp, #36 ; 0x24
- LL_LPUART_InitTypeDef LPUART_InitStruct = {0};
- 800069a: f000 ff9d bl 80015d8
- LL_GPIO_InitTypeDef GPIO_InitStruct = {0};
- 800069e: 2218 movs r2, #24
- 80006a0: 0021 movs r1, r4
- 80006a2: 0030 movs r0, r6
- 80006a4: f000 ff98 bl 80015d8
- SET_BIT(RCC->APB1ENR, Periphs);
- 80006a8: 2180 movs r1, #128 ; 0x80
- 80006aa: 6bba ldr r2, [r7, #56] ; 0x38
- 80006ac: 02c9 lsls r1, r1, #11
- 80006ae: 430a orrs r2, r1
- 80006b0: 63ba str r2, [r7, #56] ; 0x38
- tmpreg = READ_BIT(RCC->APB1ENR, Periphs);
- 80006b2: 6bbb ldr r3, [r7, #56] ; 0x38
+ 8000698: 0021 movs r1, r4
+ 800069a: 2218 movs r2, #24
+ 800069c: a809 add r0, sp, #36 ; 0x24
+ 800069e: f000 fab1 bl 8000c04
+ LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_LPUART1);
+ 80006a2: 2080 movs r0, #128 ; 0x80
+ 80006a4: 02c0 lsls r0, r0, #11
+ 80006a6: f7ff fed1 bl 800044c
LL_IOP_GRP1_EnableClock(LL_IOP_GRP1_PERIPH_GPIOA);
- 80006b4: 2001 movs r0, #1
- 80006b6: 400b ands r3, r1
- 80006b8: 9302 str r3, [sp, #8]
- (void)tmpreg;
- 80006ba: 9b02 ldr r3, [sp, #8]
- 80006bc: f7ff feee bl 800049c
+ 80006aa: 0028 movs r0, r5
+ 80006ac: f7ff fedc bl 8000468
LL_IOP_GRP1_EnableClock(LL_IOP_GRP1_PERIPH_GPIOB);
- 80006c0: 2002 movs r0, #2
- 80006c2: f7ff feeb bl 800049c
+ 80006b0: 2002 movs r0, #2
+ 80006b2: f7ff fed9 bl 8000468
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 80006c6: 2103 movs r1, #3
+ 80006b6: 2203 movs r2, #3
+ GPIO_InitStruct.Alternate = LL_GPIO_AF_6;
+ 80006b8: 2106 movs r1, #6
+ GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
+ 80006ba: 2302 movs r3, #2
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
+ 80006bc: 920b str r2, [sp, #44] ; 0x2c
+ LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 80006be: aa09 add r2, sp, #36 ; 0x24
+ 80006c0: 0038 movs r0, r7
+ GPIO_InitStruct.Alternate = LL_GPIO_AF_6;
+ 80006c2: 910e str r1, [sp, #56] ; 0x38
+ LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 80006c4: 0011 movs r1, r2
GPIO_InitStruct.Pin = LL_GPIO_PIN_0;
- 80006c8: 2701 movs r7, #1
+ 80006c6: 9509 str r5, [sp, #36] ; 0x24
GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 80006ca: 2302 movs r3, #2
- GPIO_InitStruct.Alternate = LL_GPIO_AF_6;
- 80006cc: 2606 movs r6, #6
- LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 80006ce: aa09 add r2, sp, #36 ; 0x24
- GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 80006d0: 910b str r1, [sp, #44] ; 0x2c
- LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 80006d2: 0028 movs r0, r5
- 80006d4: 0011 movs r1, r2
- GPIO_InitStruct.Pin = LL_GPIO_PIN_0;
- 80006d6: 9709 str r7, [sp, #36] ; 0x24
- GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 80006d8: 930a str r3, [sp, #40] ; 0x28
- GPIO_InitStruct.Alternate = LL_GPIO_AF_6;
- 80006da: 960e str r6, [sp, #56] ; 0x38
+ 80006c8: 930a str r3, [sp, #40] ; 0x28
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
- 80006dc: 940c str r4, [sp, #48] ; 0x30
+ 80006ca: 940c str r4, [sp, #48] ; 0x30
GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
- 80006de: 940d str r4, [sp, #52] ; 0x34
+ 80006cc: 940d str r4, [sp, #52] ; 0x34
LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 80006e0: f000 fdd6 bl 8001290
- GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 80006e4: 2103 movs r1, #3
- GPIO_InitStruct.Pin = LL_GPIO_PIN_1;
- 80006e6: 2302 movs r3, #2
+ 80006ce: f000 f8e0 bl 8000892
GPIO_InitStruct.Alternate = LL_GPIO_AF_6;
- 80006e8: 960e str r6, [sp, #56] ; 0x38
- LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 80006ea: ae09 add r6, sp, #36 ; 0x24
- GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 80006ec: 910b str r1, [sp, #44] ; 0x2c
- LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 80006ee: 0028 movs r0, r5
- 80006f0: 0031 movs r1, r6
+ 80006d2: 2106 movs r1, #6
GPIO_InitStruct.Pin = LL_GPIO_PIN_1;
- 80006f2: 9309 str r3, [sp, #36] ; 0x24
+ 80006d4: 2302 movs r3, #2
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
+ 80006d6: 2203 movs r2, #3
+ LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 80006d8: 0038 movs r0, r7
+ GPIO_InitStruct.Alternate = LL_GPIO_AF_6;
+ 80006da: 910e str r1, [sp, #56] ; 0x38
+ LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 80006dc: a909 add r1, sp, #36 ; 0x24
+ GPIO_InitStruct.Pin = LL_GPIO_PIN_1;
+ 80006de: 9309 str r3, [sp, #36] ; 0x24
GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 80006f4: 930a str r3, [sp, #40] ; 0x28
- GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
- 80006f6: 940c str r4, [sp, #48] ; 0x30
- GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
- 80006f8: 940d str r4, [sp, #52] ; 0x34
- LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 80006fa: f000 fdc9 bl 8001290
- GPIO_InitStruct.Pin = LL_GPIO_PIN_1;
- 80006fe: 2302 movs r3, #2
+ 80006e0: 930a str r3, [sp, #40] ; 0x28
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 8000700: 2103 movs r1, #3
+ 80006e2: 920b str r2, [sp, #44] ; 0x2c
+ GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
+ 80006e4: 940c str r4, [sp, #48] ; 0x30
+ GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
+ 80006e6: 940d str r4, [sp, #52] ; 0x34
+ LL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 80006e8: f000 f8d3 bl 8000892
+ GPIO_InitStruct.Pin = LL_GPIO_PIN_1;
+ 80006ec: 2302 movs r3, #2
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
+ 80006ee: 2203 movs r2, #3
LL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 8000702: ae09 add r6, sp, #36 ; 0x24
+ 80006f0: af09 add r7, sp, #36 ; 0x24
+ 80006f2: 0039 movs r1, r7
GPIO_InitStruct.Pin = LL_GPIO_PIN_1;
- 8000704: 9309 str r3, [sp, #36] ; 0x24
+ 80006f4: 9309 str r3, [sp, #36] ; 0x24
GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE;
- 8000706: 930a str r3, [sp, #40] ; 0x28
- GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
- 8000708: 910b str r1, [sp, #44] ; 0x2c
+ 80006f6: 930a str r3, [sp, #40] ; 0x28
+ LL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+ 80006f8: 4836 ldr r0, [pc, #216] ; (80007d4 )
GPIO_InitStruct.Alternate = LL_GPIO_AF_4;
- 800070a: 18db adds r3, r3, r3
- LL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 800070c: 0031 movs r1, r6
- 800070e: 4847 ldr r0, [pc, #284] ; (800082c )
- GPIO_InitStruct.Alternate = LL_GPIO_AF_4;
- 8000710: 930e str r3, [sp, #56] ; 0x38
+ 80006fa: 18db adds r3, r3, r3
+ GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_VERY_HIGH;
+ 80006fc: 920b str r2, [sp, #44] ; 0x2c
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
- 8000712: 940c str r4, [sp, #48] ; 0x30
+ 80006fe: 940c str r4, [sp, #48] ; 0x30
GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
- 8000714: 940d str r4, [sp, #52] ; 0x34
+ 8000700: 940d str r4, [sp, #52] ; 0x34
+ GPIO_InitStruct.Alternate = LL_GPIO_AF_4;
+ 8000702: 930e str r3, [sp, #56] ; 0x38
LL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 8000716: f000 fdbb bl 8001290
+ 8000704: f000 f8c5 bl 8000892
* @arg @ref LL_DMA_REQUEST_15
* @retval None
*/
__STATIC_INLINE void LL_DMA_SetPeriphRequest(DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Request)
{
MODIFY_REG(((DMA_Request_TypeDef *)((uint32_t)((uint32_t)DMAx + DMA_CSELR_OFFSET)))->CSELR,
- 800071a: 4945 ldr r1, [pc, #276] ; (8000830 )
- 800071c: 4a45 ldr r2, [pc, #276] ; (8000834 )
- 800071e: 680b ldr r3, [r1, #0]
+ 8000708: 4933 ldr r1, [pc, #204] ; (80007d8 )
+ 800070a: 4a34 ldr r2, [pc, #208] ; (80007dc )
+ 800070c: 680b ldr r3, [r1, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_PINC,
- 8000720: 2040 movs r0, #64 ; 0x40
+ 800070e: 2040 movs r0, #64 ; 0x40
MODIFY_REG(((DMA_Request_TypeDef *)((uint32_t)((uint32_t)DMAx + DMA_CSELR_OFFSET)))->CSELR,
- 8000722: 401a ands r2, r3
- 8000724: 23a0 movs r3, #160 ; 0xa0
- 8000726: 00db lsls r3, r3, #3
- 8000728: 4313 orrs r3, r2
- 800072a: 600b str r3, [r1, #0]
+ 8000710: 401a ands r2, r3
+ 8000712: 23a0 movs r3, #160 ; 0xa0
+ 8000714: 00db lsls r3, r3, #3
+ 8000716: 4313 orrs r3, r2
+ 8000718: 600b str r3, [r1, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR,
- 800072c: 4b42 ldr r3, [pc, #264] ; (8000838 )
- 800072e: 4943 ldr r1, [pc, #268] ; (800083c )
- 8000730: 681a ldr r2, [r3, #0]
- LL_LPUART_Init(LPUART1, &LPUART_InitStruct);
- 8000732: 4e43 ldr r6, [pc, #268] ; (8000840 )
- 8000734: 400a ands r2, r1
- 8000736: 601a str r2, [r3, #0]
+ 800071a: 4b31 ldr r3, [pc, #196] ; (80007e0 )
+ 800071c: 4931 ldr r1, [pc, #196] ; (80007e4 )
+ 800071e: 681a ldr r2, [r3, #0]
+ 8000720: 400a ands r2, r1
+ 8000722: 601a str r2, [r3, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_PL,
- 8000738: 681a ldr r2, [r3, #0]
- 800073a: 4942 ldr r1, [pc, #264] ; (8000844 )
- 800073c: 4011 ands r1, r2
- 800073e: 2280 movs r2, #128 ; 0x80
- 8000740: 0152 lsls r2, r2, #5
- 8000742: 430a orrs r2, r1
+ 8000724: 681a ldr r2, [r3, #0]
+ 8000726: 4930 ldr r1, [pc, #192] ; (80007e8 )
+ 8000728: 4011 ands r1, r2
+ 800072a: 2280 movs r2, #128 ; 0x80
+ 800072c: 0152 lsls r2, r2, #5
+ 800072e: 430a orrs r2, r1
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_CIRC,
- 8000744: 2120 movs r1, #32
+ 8000730: 2120 movs r1, #32
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_PL,
- 8000746: 601a str r2, [r3, #0]
+ 8000732: 601a str r2, [r3, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_CIRC,
- 8000748: 681a ldr r2, [r3, #0]
- 800074a: 438a bics r2, r1
- 800074c: 430a orrs r2, r1
- 800074e: 601a str r2, [r3, #0]
+ 8000734: 681a ldr r2, [r3, #0]
+ 8000736: 438a bics r2, r1
+ 8000738: 430a orrs r2, r1
+ 800073a: 601a str r2, [r3, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_PINC,
- 8000750: 681a ldr r2, [r3, #0]
+ 800073c: 681a ldr r2, [r3, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_MINC,
- 8000752: 3160 adds r1, #96 ; 0x60
+ 800073e: 3160 adds r1, #96 ; 0x60
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_PINC,
- 8000754: 4382 bics r2, r0
- 8000756: 601a str r2, [r3, #0]
+ 8000740: 4382 bics r2, r0
+ 8000742: 601a str r2, [r3, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_MINC,
- 8000758: 681a ldr r2, [r3, #0]
- 800075a: 0030 movs r0, r6
- 800075c: 438a bics r2, r1
- 800075e: 430a orrs r2, r1
- 8000760: 601a str r2, [r3, #0]
+ 8000744: 681a ldr r2, [r3, #0]
+ 8000746: 438a bics r2, r1
+ 8000748: 430a orrs r2, r1
+ 800074a: 601a str r2, [r3, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_PSIZE,
- 8000762: 681a ldr r2, [r3, #0]
- 8000764: 4938 ldr r1, [pc, #224] ; (8000848 )
- 8000766: 400a ands r2, r1
- 8000768: 601a str r2, [r3, #0]
+ 800074c: 681a ldr r2, [r3, #0]
+ 800074e: 4927 ldr r1, [pc, #156] ; (80007ec )
+ 8000750: 400a ands r2, r1
+ 8000752: 601a str r2, [r3, #0]
MODIFY_REG(((DMA_Channel_TypeDef *)((uint32_t)((uint32_t)DMAx + CHANNEL_OFFSET_TAB[Channel - 1U])))->CCR, DMA_CCR_MSIZE,
- 800076a: 681a ldr r2, [r3, #0]
- 800076c: 4937 ldr r1, [pc, #220] ; (800084c )
- 800076e: 400a ands r2, r1
- 8000770: 601a str r2, [r3, #0]
+ 8000754: 681a ldr r2, [r3, #0]
+ 8000756: 4926 ldr r1, [pc, #152] ; (80007f0 )
+ 8000758: 400a ands r2, r1
+ 800075a: 601a str r2, [r3, #0]
LPUART_InitStruct.BaudRate = 115200;
- 8000772: 23e1 movs r3, #225 ; 0xe1
- 8000774: 025b lsls r3, r3, #9
- 8000776: 9303 str r3, [sp, #12]
+ 800075c: 23e1 movs r3, #225 ; 0xe1
+ 800075e: 025b lsls r3, r3, #9
+ 8000760: 9303 str r3, [sp, #12]
LPUART_InitStruct.TransferDirection = LL_LPUART_DIRECTION_TX_RX;
- 8000778: 230c movs r3, #12
- LL_LPUART_Init(LPUART1, &LPUART_InitStruct);
- 800077a: a903 add r1, sp, #12
- LPUART_InitStruct.TransferDirection = LL_LPUART_DIRECTION_TX_RX;
- 800077c: 9307 str r3, [sp, #28]
+ 8000762: 230c movs r3, #12
LPUART_InitStruct.DataWidth = LL_LPUART_DATAWIDTH_8B;
- 800077e: 9404 str r4, [sp, #16]
+ 8000764: 9404 str r4, [sp, #16]
LPUART_InitStruct.StopBits = LL_LPUART_STOPBITS_1;
- 8000780: 9405 str r4, [sp, #20]
+ 8000766: 9405 str r4, [sp, #20]
LPUART_InitStruct.Parity = LL_LPUART_PARITY_NONE;
- 8000782: 9406 str r4, [sp, #24]
+ 8000768: 9406 str r4, [sp, #24]
LPUART_InitStruct.HardwareFlowControl = LL_LPUART_HWCONTROL_NONE;
- 8000784: 9408 str r4, [sp, #32]
+ 800076a: 9408 str r4, [sp, #32]
LL_LPUART_Init(LPUART1, &LPUART_InitStruct);
- 8000786: f000 fe0f bl 80013a8
+ 800076c: 4c21 ldr r4, [pc, #132] ; (80007f4 )
+ 800076e: a903 add r1, sp, #12
+ 8000770: 0020 movs r0, r4
+ LPUART_InitStruct.TransferDirection = LL_LPUART_DIRECTION_TX_RX;
+ 8000772: 9307 str r3, [sp, #28]
+ LL_LPUART_Init(LPUART1, &LPUART_InitStruct);
+ 8000774: f000 f918 bl 80009a8
* @param LPUARTx LPUART Instance
* @retval None
*/
__STATIC_INLINE void LL_LPUART_EnableDEMode(USART_TypeDef *LPUARTx)
{
SET_BIT(LPUARTx->CR3, USART_CR3_DEM);
- 800078a: 2380 movs r3, #128 ; 0x80
- 800078c: 68b2 ldr r2, [r6, #8]
- 800078e: 01db lsls r3, r3, #7
- 8000790: 4313 orrs r3, r2
- 8000792: 60b3 str r3, [r6, #8]
+ 8000778: 2380 movs r3, #128 ; 0x80
+ 800077a: 68a2 ldr r2, [r4, #8]
+ 800077c: 01db lsls r3, r3, #7
+ 800077e: 4313 orrs r3, r2
+ 8000780: 60a3 str r3, [r4, #8]
* @arg @ref LL_LPUART_DE_POLARITY_LOW
* @retval None
*/
__STATIC_INLINE void LL_LPUART_SetDESignalPolarity(USART_TypeDef *LPUARTx, uint32_t Polarity)
{
MODIFY_REG(LPUARTx->CR3, USART_CR3_DEP, Polarity);
- 8000794: 68b3 ldr r3, [r6, #8]
- 8000796: 4821 ldr r0, [pc, #132] ; (800081c )
+ 8000782: 68a3 ldr r3, [r4, #8]
+ 8000784: 480f ldr r0, [pc, #60] ; (80007c4 )
MODIFY_REG(LPUARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos);
- 8000798: 4a2d ldr r2, [pc, #180] ; (8000850 )
+ 8000786: 4a1c ldr r2, [pc, #112] ; (80007f8 )
MODIFY_REG(LPUARTx->CR3, USART_CR3_DEP, Polarity);
- 800079a: 4003 ands r3, r0
- 800079c: 60b3 str r3, [r6, #8]
+ 8000788: 4003 ands r3, r0
+ 800078a: 60a3 str r3, [r4, #8]
MODIFY_REG(LPUARTx->CR1, USART_CR1_DEAT, Time << USART_CR1_DEAT_Pos);
- 800079e: 6833 ldr r3, [r6, #0]
- 80007a0: 401a ands r2, r3
- 80007a2: 23a0 movs r3, #160 ; 0xa0
- 80007a4: 049b lsls r3, r3, #18
- 80007a6: 4313 orrs r3, r2
- 80007a8: 6033 str r3, [r6, #0]
+ 800078c: 6823 ldr r3, [r4, #0]
+ 800078e: 401a ands r2, r3
+ 8000790: 23a0 movs r3, #160 ; 0xa0
+ 8000792: 049b lsls r3, r3, #18
+ 8000794: 4313 orrs r3, r2
+ 8000796: 6023 str r3, [r4, #0]
MODIFY_REG(LPUARTx->CR1, USART_CR1_DEDT, Time << USART_CR1_DEDT_Pos);
- 80007aa: 6833 ldr r3, [r6, #0]
- 80007ac: 4a29 ldr r2, [pc, #164] ; (8000854 )
- 80007ae: 401a ands r2, r3
- 80007b0: 23a0 movs r3, #160 ; 0xa0
- 80007b2: 035b lsls r3, r3, #13
- 80007b4: 4313 orrs r3, r2
- 80007b6: 6033 str r3, [r6, #0]
+ 8000798: 6823 ldr r3, [r4, #0]
+ 800079a: 4a18 ldr r2, [pc, #96] ; (80007fc )
+ 800079c: 401a ands r2, r3
+ 800079e: 23a0 movs r3, #160 ; 0xa0
+ 80007a0: 035b lsls r3, r3, #13
+ 80007a2: 4313 orrs r3, r2
+ 80007a4: 6023 str r3, [r4, #0]
+ SET_BIT(I2Cx->CR1, I2C_CR1_PE);
+ 80007a6: 6833 ldr r3, [r6, #0]
+ 80007a8: 432b orrs r3, r5
+ 80007aa: 6033 str r3, [r6, #0]
SET_BIT(LPUARTx->CR1, USART_CR1_UE);
- 80007b8: 6833 ldr r3, [r6, #0]
- 80007ba: 433b orrs r3, r7
- 80007bc: 6033 str r3, [r6, #0]
- * @retval None
- */
-__STATIC_INLINE void LL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint32_t PinMask)
-{
- uint32_t odr = READ_REG(GPIOx->ODR);
- WRITE_REG(GPIOx->BSRR, ((odr & PinMask) << 16u) | (~odr & PinMask));
- 80007be: 377f adds r7, #127 ; 0x7f
- 80007c0: 2180 movs r1, #128 ; 0x80
- uint32_t odr = READ_REG(GPIOx->ODR);
- 80007c2: 696a ldr r2, [r5, #20]
- WRITE_REG(GPIOx->BSRR, ((odr & PinMask) << 16u) | (~odr & PinMask));
- 80007c4: 0409 lsls r1, r1, #16
- 80007c6: 0413 lsls r3, r2, #16
- 80007c8: 400b ands r3, r1
- 80007ca: 0039 movs r1, r7
- 80007cc: 4391 bics r1, r2
- 80007ce: 2280 movs r2, #128 ; 0x80
- 80007d0: 430b orrs r3, r1
- 80007d2: 61ab str r3, [r5, #24]
- uint32_t odr = READ_REG(GPIOx->ODR);
- 80007d4: 6969 ldr r1, [r5, #20]
- WRITE_REG(GPIOx->BSRR, ((odr & PinMask) << 16u) | (~odr & PinMask));
- 80007d6: 03d2 lsls r2, r2, #15
- 80007d8: 040b lsls r3, r1, #16
- 80007da: 4013 ands r3, r2
- 80007dc: 2240 movs r2, #64 ; 0x40
- 80007de: 438a bics r2, r1
- 80007e0: 4313 orrs r3, r2
- 80007e2: 2280 movs r2, #128 ; 0x80
- 80007e4: 61ab str r3, [r5, #24]
- uint32_t odr = READ_REG(GPIOx->ODR);
- 80007e6: 6969 ldr r1, [r5, #20]
- WRITE_REG(GPIOx->BSRR, ((odr & PinMask) << 16u) | (~odr & PinMask));
- 80007e8: 0392 lsls r2, r2, #14
- 80007ea: 040b lsls r3, r1, #16
- 80007ec: 4013 ands r3, r2
- 80007ee: 2220 movs r2, #32
- 80007f0: 438a bics r2, r1
- 80007f2: 4313 orrs r3, r2
- 80007f4: 61ab str r3, [r5, #24]
- * @param LPUARTx LPUART Instance
- * @retval State of bit (1 or 0).
- */
-__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TXE(USART_TypeDef *LPUARTx)
-{
- return ((READ_BIT(LPUARTx->ISR, USART_ISR_TXE) == (USART_ISR_TXE)) ? 1UL : 0UL);
- 80007f6: 69f3 ldr r3, [r6, #28]
- 80007f8: 423b tst r3, r7
- 80007fa: d0fc beq.n 80007f6
- HAL_Delay(1000);
- 80007fc: 20fa movs r0, #250 ; 0xfa
- * @param Value between Min_Data=0x00 and Max_Data=0xFF
- * @retval None
- */
-__STATIC_INLINE void LL_LPUART_TransmitData8(USART_TypeDef *LPUARTx, uint8_t Value)
-{
- LPUARTx->TDR = Value;
- 80007fe: 62b4 str r4, [r6, #40] ; 0x28
- 8000800: 0080 lsls r0, r0, #2
- i++;
- 8000802: 3401 adds r4, #1
- 8000804: b2e4 uxtb r4, r4
- HAL_Delay(1000);
- 8000806: f000 f8cb bl 80009a0
- LL_GPIO_TogglePin(LED_R_GPIO_Port, LED_R_Pin);
- 800080a: e7d9 b.n 80007c0
- 800080c: 40021000 .word 0x40021000
- 8000810: e000e100 .word 0xe000e100
- 8000814: ff00ffff .word 0xff00ffff
- 8000818: 40005400 .word 0x40005400
- 800081c: ffff7fff .word 0xffff7fff
- 8000820: fff7ffff .word 0xfff7ffff
- 8000824: fffdffff .word 0xfffdffff
- 8000828: fffff801 .word 0xfffff801
- 800082c: 50000400 .word 0x50000400
- 8000830: 400200a8 .word 0x400200a8
- 8000834: fffff0ff .word 0xfffff0ff
- 8000838: 40020030 .word 0x40020030
- 800083c: ffffbfef .word 0xffffbfef
- 8000840: 40004800 .word 0x40004800
- 8000844: ffffcfff .word 0xffffcfff
- 8000848: fffffcff .word 0xfffffcff
- 800084c: fffff3ff .word 0xfffff3ff
- 8000850: fc1fffff .word 0xfc1fffff
- 8000854: ffe0ffff .word 0xffe0ffff
+ 80007ac: 6823 ldr r3, [r4, #0]
+ 80007ae: 431d orrs r5, r3
+ 80007b0: 6025 str r5, [r4, #0]
+ while (1)
+ 80007b2: e7fe b.n 80007b2
+ 80007b4: 40021000 .word 0x40021000
+ 80007b8: e000e100 .word 0xe000e100
+ 80007bc: ff00ffff .word 0xff00ffff
+ 80007c0: 40005400 .word 0x40005400
+ 80007c4: ffff7fff .word 0xffff7fff
+ 80007c8: fff7ffff .word 0xfff7ffff
+ 80007cc: fffdffff .word 0xfffdffff
+ 80007d0: fffff801 .word 0xfffff801
+ 80007d4: 50000400 .word 0x50000400
+ 80007d8: 400200a8 .word 0x400200a8
+ 80007dc: fffff0ff .word 0xfffff0ff
+ 80007e0: 40020030 .word 0x40020030
+ 80007e4: ffffbfef .word 0xffffbfef
+ 80007e8: ffffcfff .word 0xffffcfff
+ 80007ec: fffffcff .word 0xfffffcff
+ 80007f0: fffff3ff .word 0xfffff3ff
+ 80007f4: 40004800 .word 0x40004800
+ 80007f8: fc1fffff .word 0xfc1fffff
+ 80007fc: ffe0ffff .word 0xffe0ffff
-08000858 :
-{
- /* USER CODE BEGIN MspInit 0 */
-
- /* USER CODE END MspInit 0 */
-
- __HAL_RCC_SYSCFG_CLK_ENABLE();
- 8000858: 2201 movs r2, #1
- 800085a: 4b05 ldr r3, [pc, #20] ; (8000870 )
- 800085c: 6b59 ldr r1, [r3, #52] ; 0x34
- 800085e: 430a orrs r2, r1
- 8000860: 635a str r2, [r3, #52] ; 0x34
- __HAL_RCC_PWR_CLK_ENABLE();
- 8000862: 2280 movs r2, #128 ; 0x80
- 8000864: 6b99 ldr r1, [r3, #56] ; 0x38
- 8000866: 0552 lsls r2, r2, #21
- 8000868: 430a orrs r2, r1
- 800086a: 639a str r2, [r3, #56] ; 0x38
- /* System interrupt init*/
-
- /* USER CODE BEGIN MspInit 1 */
-
- /* USER CODE END MspInit 1 */
-}
- 800086c: 4770 bx lr
- 800086e: 46c0 nop ; (mov r8, r8)
- 8000870: 40021000 .word 0x40021000
-
-08000874 :
+08000800 :
{
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
/* USER CODE END NonMaskableInt_IRQn 0 */
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
while (1)
- 8000874: e7fe b.n 8000874
+ 8000800: e7fe b.n 8000800
-08000876 :
+08000802 :
void HardFault_Handler(void)
{
/* USER CODE BEGIN HardFault_IRQn 0 */
/* USER CODE END HardFault_IRQn 0 */
while (1)
- 8000876: e7fe b.n 8000876
+ 8000802: e7fe b.n 8000802
-08000878 :
+08000804 :
/* USER CODE END SVC_IRQn 0 */
/* USER CODE BEGIN SVC_IRQn 1 */
/* USER CODE END SVC_IRQn 1 */
}
- 8000878: 4770 bx lr
+ 8000804: 4770 bx lr
-0800087a :
- 800087a: 4770 bx lr
+08000806 :
+ 8000806: 4770 bx lr
-0800087c :
+08000808 :
+ 8000808: 4770 bx lr
-/**
- * @brief This function handles System tick timer.
- */
-void SysTick_Handler(void)
-{
- 800087c: b510 push {r4, lr}
- /* USER CODE BEGIN SysTick_IRQn 0 */
+0800080a :
+ 800080a: 4770 bx lr
- /* USER CODE END SysTick_IRQn 0 */
- HAL_IncTick();
- 800087e: f000 f87d bl 800097c
- /* USER CODE BEGIN SysTick_IRQn 1 */
- /* USER CODE END SysTick_IRQn 1 */
-}
- 8000882: bd10 pop {r4, pc}
-
-08000884 :
- 8000884: 4770 bx lr
-
-08000886 :
+0800080c :
{
/* Configure the Vector Table location add offset address ------------------*/
#if defined (USER_VECT_TAB_ADDRESS)
SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
#endif /* USER_VECT_TAB_ADDRESS */
}
- 8000886: 4770 bx lr
+ 800080c: 4770 bx lr
+ ...
-08000888 :
+08000810 :
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
ldr r0, =_estack
- 8000888: 4813 ldr r0, [pc, #76] ; (80008d8 )
+ 8000810: 4813 ldr r0, [pc, #76] ; (8000860 )
mov sp, r0 /* set stack pointer */
- 800088a: 4685 mov sp, r0
+ 8000812: 4685 mov sp, r0
/*Check if boot space corresponds to system memory*/
LDR R0,=0x00000004
- 800088c: 4813 ldr r0, [pc, #76] ; (80008dc )
+ 8000814: 4813 ldr r0, [pc, #76] ; (8000864 )
LDR R1, [R0]
- 800088e: 6801 ldr r1, [r0, #0]
+ 8000816: 6801 ldr r1, [r0, #0]
LSRS R1, R1, #24
- 8000890: 0e09 lsrs r1, r1, #24
+ 8000818: 0e09 lsrs r1, r1, #24
LDR R2,=0x1F
- 8000892: 4a13 ldr r2, [pc, #76] ; (80008e0 )
+ 800081a: 4a13 ldr r2, [pc, #76] ; (8000868 )
CMP R1, R2
- 8000894: 4291 cmp r1, r2
+ 800081c: 4291 cmp r1, r2
BNE ApplicationStart
- 8000896: d105 bne.n 80008a4
+ 800081e: d105 bne.n 800082c
/*SYSCFG clock enable*/
LDR R0,=0x40021034
- 8000898: 4812 ldr r0, [pc, #72] ; (80008e4 )
+ 8000820: 4812 ldr r0, [pc, #72] ; (800086c )
LDR R1,=0x00000001
- 800089a: 4913 ldr r1, [pc, #76] ; (80008e8 )
+ 8000822: 4913 ldr r1, [pc, #76] ; (8000870 )
STR R1, [R0]
- 800089c: 6001 str r1, [r0, #0]
+ 8000824: 6001 str r1, [r0, #0]
/*Set CFGR1 register with flash memory remap at address 0*/
LDR R0,=0x40010000
- 800089e: 4813 ldr r0, [pc, #76] ; (80008ec )
+ 8000826: 4813 ldr r0, [pc, #76] ; (8000874 )
LDR R1,=0x00000000
- 80008a0: 4913 ldr r1, [pc, #76] ; (80008f0 )
+ 8000828: 4913 ldr r1, [pc, #76] ; (8000878 )
STR R1, [R0]
- 80008a2: 6001 str r1, [r0, #0]
+ 800082a: 6001 str r1, [r0, #0]
-080008a4 :
+0800082c :
ApplicationStart:
/* Copy the data segment initializers from flash to SRAM */
ldr r0, =_sdata
- 80008a4: 4813 ldr r0, [pc, #76] ; (80008f4 )
+ 800082c: 4813 ldr r0, [pc, #76] ; (800087c )
ldr r1, =_edata
- 80008a6: 4914 ldr r1, [pc, #80] ; (80008f8 )
+ 800082e: 4914 ldr r1, [pc, #80] ; (8000880 )
ldr r2, =_sidata
- 80008a8: 4a14 ldr r2, [pc, #80] ; (80008fc )
+ 8000830: 4a14 ldr r2, [pc, #80] ; (8000884 )
movs r3, #0
- 80008aa: 2300 movs r3, #0
+ 8000832: 2300 movs r3, #0
b LoopCopyDataInit
- 80008ac: e002 b.n 80008b4
+ 8000834: e002 b.n 800083c
-080008ae :
+08000836 :
CopyDataInit:
ldr r4, [r2, r3]
- 80008ae: 58d4 ldr r4, [r2, r3]
+ 8000836: 58d4 ldr r4, [r2, r3]
str r4, [r0, r3]
- 80008b0: 50c4 str r4, [r0, r3]
+ 8000838: 50c4 str r4, [r0, r3]
adds r3, r3, #4
- 80008b2: 3304 adds r3, #4
+ 800083a: 3304 adds r3, #4
-080008b4 :
+0800083c :
LoopCopyDataInit:
adds r4, r0, r3
- 80008b4: 18c4 adds r4, r0, r3
+ 800083c: 18c4 adds r4, r0, r3
cmp r4, r1
- 80008b6: 428c cmp r4, r1
+ 800083e: 428c cmp r4, r1
bcc CopyDataInit
- 80008b8: d3f9 bcc.n 80008ae
+ 8000840: d3f9 bcc.n 8000836
/* Zero fill the bss segment. */
ldr r2, =_sbss
- 80008ba: 4a11 ldr r2, [pc, #68] ; (8000900 )
+ 8000842: 4a11 ldr r2, [pc, #68] ; (8000888 )
ldr r4, =_ebss
- 80008bc: 4c11 ldr r4, [pc, #68] ; (8000904 )
+ 8000844: 4c11 ldr r4, [pc, #68] ; (800088c )
movs r3, #0
- 80008be: 2300 movs r3, #0
+ 8000846: 2300 movs r3, #0
b LoopFillZerobss
- 80008c0: e001 b.n 80008c6
+ 8000848: e001 b.n 800084e
-080008c2 :
+0800084a :
FillZerobss:
str r3, [r2]
- 80008c2: 6013 str r3, [r2, #0]
+ 800084a: 6013 str r3, [r2, #0]
adds r2, r2, #4
- 80008c4: 3204 adds r2, #4
+ 800084c: 3204 adds r2, #4
-080008c6 :
+0800084e :
LoopFillZerobss:
cmp r2, r4
- 80008c6: 42a2 cmp r2, r4
+ 800084e: 42a2 cmp r2, r4
bcc FillZerobss
- 80008c8: d3fb bcc.n 80008c2
+ 8000850: d3fb bcc.n 800084a
/* Call the clock system intitialization function.*/
bl SystemInit
- 80008ca: f7ff ffdc bl 8000886
+ 8000852: f7ff ffdb bl 800080c
/* Call static constructors */
bl __libc_init_array
- 80008ce: f000 fe5f bl 8001590 <__libc_init_array>
+ 8000856: f000 f9b1 bl 8000bbc <__libc_init_array>
/* Call the application's entry point.*/
bl main
- 80008d2: f7ff fe39 bl 8000548
+ 800085a: f7ff fe71 bl 8000540
-080008d6 :
+0800085e :
LoopForever:
b LoopForever
- 80008d6: e7fe b.n 80008d6
+ 800085e: e7fe b.n 800085e
ldr r0, =_estack
- 80008d8: 20000800 .word 0x20000800
+ 8000860: 20000800 .word 0x20000800
LDR R0,=0x00000004
- 80008dc: 00000004 .word 0x00000004
+ 8000864: 00000004 .word 0x00000004
LDR R2,=0x1F
- 80008e0: 0000001f .word 0x0000001f
+ 8000868: 0000001f .word 0x0000001f
LDR R0,=0x40021034
- 80008e4: 40021034 .word 0x40021034
+ 800086c: 40021034 .word 0x40021034
LDR R1,=0x00000001
- 80008e8: 00000001 .word 0x00000001
+ 8000870: 00000001 .word 0x00000001
LDR R0,=0x40010000
- 80008ec: 40010000 .word 0x40010000
+ 8000874: 40010000 .word 0x40010000
LDR R1,=0x00000000
- 80008f0: 00000000 .word 0x00000000
+ 8000878: 00000000 .word 0x00000000
ldr r0, =_sdata
- 80008f4: 20000000 .word 0x20000000
+ 800087c: 20000000 .word 0x20000000
ldr r1, =_edata
- 80008f8: 2000000c .word 0x2000000c
+ 8000880: 20000004 .word 0x20000004
ldr r2, =_sidata
- 80008fc: 08001634 .word 0x08001634
+ 8000884: 08000c60 .word 0x08000c60
ldr r2, =_sbss
- 8000900: 2000000c .word 0x2000000c
+ 8000888: 20000004 .word 0x20000004
ldr r4, =_ebss
- 8000904: 2000002c .word 0x2000002c
+ 800088c: 20000020 .word 0x20000020
-08000908 :
+08000890 :
* @retval : None
*/
.section .text.Default_Handler,"ax",%progbits
Default_Handler:
Infinite_Loop:
b Infinite_Loop
- 8000908: e7fe b.n 8000908
- ...
+ 8000890: e7fe b.n 8000890
-0800090c :
- * implementation in user file.
- * @param TickPriority Tick interrupt priority.
- * @retval HAL status
- */
-__weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
-{
- 800090c: b570 push {r4, r5, r6, lr}
- 800090e: 0005 movs r5, r0
- /* Configure the SysTick to have interrupt in 1ms time basis*/
- if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U)
- 8000910: 20fa movs r0, #250 ; 0xfa
- 8000912: 4b0d ldr r3, [pc, #52] ; (8000948 )
- 8000914: 0080 lsls r0, r0, #2
- 8000916: 7819 ldrb r1, [r3, #0]
- 8000918: f7ff fbf6 bl 8000108 <__udivsi3>
- 800091c: 4b0b ldr r3, [pc, #44] ; (800094c )
- 800091e: 0001 movs r1, r0
- 8000920: 6818 ldr r0, [r3, #0]
- 8000922: f7ff fbf1 bl 8000108 <__udivsi3>
- 8000926: f000 f877 bl 8000a18
- 800092a: 0004 movs r4, r0
- {
- return HAL_ERROR;
- 800092c: 2001 movs r0, #1
- if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U)
- 800092e: 2c00 cmp r4, #0
- 8000930: d109 bne.n 8000946
- }
-
- /* Configure the SysTick IRQ priority */
- if (TickPriority < (1UL << __NVIC_PRIO_BITS))
- 8000932: 2d03 cmp r5, #3
- 8000934: d807 bhi.n 8000946
- {
- HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U);
- 8000936: 3802 subs r0, #2
- 8000938: 0022 movs r2, r4
- 800093a: 0029 movs r1, r5
- 800093c: f000 f842 bl 80009c4
- uwTickPrio = TickPriority;
- 8000940: 0020 movs r0, r4
- 8000942: 4b03 ldr r3, [pc, #12] ; (8000950 )
- 8000944: 601d str r5, [r3, #0]
- return HAL_ERROR;
- }
-
- /* Return function status */
- return HAL_OK;
-}
- 8000946: bd70 pop {r4, r5, r6, pc}
- 8000948: 20000004 .word 0x20000004
- 800094c: 20000000 .word 0x20000000
- 8000950: 20000008 .word 0x20000008
-
-08000954 :
- __HAL_FLASH_PREREAD_BUFFER_ENABLE();
- 8000954: 2340 movs r3, #64 ; 0x40
- 8000956: 4a08 ldr r2, [pc, #32] ; (8000978 )
-{
- 8000958: b510 push {r4, lr}
- __HAL_FLASH_PREREAD_BUFFER_ENABLE();
- 800095a: 6811 ldr r1, [r2, #0]
- if (HAL_InitTick(TICK_INT_PRIORITY) != HAL_OK)
- 800095c: 2000 movs r0, #0
- __HAL_FLASH_PREREAD_BUFFER_ENABLE();
- 800095e: 430b orrs r3, r1
- 8000960: 6013 str r3, [r2, #0]
- if (HAL_InitTick(TICK_INT_PRIORITY) != HAL_OK)
- 8000962: f7ff ffd3 bl 800090c
- 8000966: 1e04 subs r4, r0, #0
- 8000968: d103 bne.n 8000972
- HAL_MspInit();
- 800096a: f7ff ff75 bl 8000858
-}
- 800096e: 0020 movs r0, r4
- 8000970: bd10 pop {r4, pc}
- status = HAL_ERROR;
- 8000972: 2401 movs r4, #1
- 8000974: e7fb b.n 800096e
- 8000976: 46c0 nop ; (mov r8, r8)
- 8000978: 40022000 .word 0x40022000
-
-0800097c :
- * implementations in user file.
- * @retval None
- */
-__weak void HAL_IncTick(void)
-{
- uwTick += uwTickFreq;
- 800097c: 4a03 ldr r2, [pc, #12] ; (800098c )
- 800097e: 4b04 ldr r3, [pc, #16] ; (8000990 )
- 8000980: 6811 ldr r1, [r2, #0]
- 8000982: 781b ldrb r3, [r3, #0]
- 8000984: 185b adds r3, r3, r1
- 8000986: 6013 str r3, [r2, #0]
-}
- 8000988: 4770 bx lr
- 800098a: 46c0 nop ; (mov r8, r8)
- 800098c: 20000028 .word 0x20000028
- 8000990: 20000004 .word 0x20000004
-
-08000994 :
- * implementations in user file.
- * @retval tick value
- */
-__weak uint32_t HAL_GetTick(void)
-{
- return uwTick;
- 8000994: 4b01 ldr r3, [pc, #4] ; (800099c )
- 8000996: 6818 ldr r0, [r3, #0]
-}
- 8000998: 4770 bx lr
- 800099a: 46c0 nop ; (mov r8, r8)
- 800099c: 20000028 .word 0x20000028
-
-080009a0 :
- * implementations in user file.
- * @param Delay specifies the delay time length, in milliseconds.
- * @retval None
- */
-__weak void HAL_Delay(uint32_t Delay)
-{
- 80009a0: b570 push {r4, r5, r6, lr}
- 80009a2: 0004 movs r4, r0
- uint32_t tickstart = HAL_GetTick();
- 80009a4: f7ff fff6 bl 8000994
- 80009a8: 0005 movs r5, r0
- uint32_t wait = Delay;
-
- /* Add a freq to guarantee minimum wait */
- if (wait < HAL_MAX_DELAY)
- 80009aa: 1c63 adds r3, r4, #1
- 80009ac: d002 beq.n 80009b4
- {
- wait += (uint32_t)(uwTickFreq);
- 80009ae: 4b04 ldr r3, [pc, #16] ; (80009c0 )
- 80009b0: 781b ldrb r3, [r3, #0]
- 80009b2: 18e4 adds r4, r4, r3
- }
-
- while((HAL_GetTick() - tickstart) < wait)
- 80009b4: f7ff ffee bl 8000994
- 80009b8: 1b40 subs r0, r0, r5
- 80009ba: 42a0 cmp r0, r4
- 80009bc: d3fa bcc.n 80009b4
- {
- }
-}
- 80009be: bd70 pop {r4, r5, r6, pc}
- 80009c0: 20000004 .word 0x20000004
-
-080009c4 :
- * with stm32l0xx devices, this parameter is a dummy value and it is ignored, because
- * no subpriority supported in Cortex M0+ based products.
- * @retval None
- */
-void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
-{
- 80009c4: b530 push {r4, r5, lr}
- 80009c6: 25ff movs r5, #255 ; 0xff
- 80009c8: 2403 movs r4, #3
- 80009ca: 002a movs r2, r5
- 80009cc: 4004 ands r4, r0
- 80009ce: 00e4 lsls r4, r4, #3
- 80009d0: 40a2 lsls r2, r4
- 80009d2: 0189 lsls r1, r1, #6
- 80009d4: 4029 ands r1, r5
- 80009d6: 43d2 mvns r2, r2
- 80009d8: 40a1 lsls r1, r4
- 80009da: b2c3 uxtb r3, r0
- if ((int32_t)(IRQn) >= 0)
- 80009dc: 2800 cmp r0, #0
- 80009de: db0a blt.n 80009f6
- NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 80009e0: 24c0 movs r4, #192 ; 0xc0
- 80009e2: 4b0b ldr r3, [pc, #44] ; (8000a10 )
- 80009e4: 0880 lsrs r0, r0, #2
- 80009e6: 0080 lsls r0, r0, #2
- 80009e8: 18c0 adds r0, r0, r3
- 80009ea: 00a4 lsls r4, r4, #2
- 80009ec: 5903 ldr r3, [r0, r4]
- 80009ee: 401a ands r2, r3
- 80009f0: 4311 orrs r1, r2
- 80009f2: 5101 str r1, [r0, r4]
- /* Check the parameters */
- assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
- NVIC_SetPriority(IRQn,PreemptPriority);
-}
- 80009f4: bd30 pop {r4, r5, pc}
- (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn)));
- }
- else
- {
- SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 80009f6: 200f movs r0, #15
- 80009f8: 4003 ands r3, r0
- 80009fa: 3b08 subs r3, #8
- 80009fc: 4805 ldr r0, [pc, #20] ; (8000a14 )
- 80009fe: 089b lsrs r3, r3, #2
- 8000a00: 009b lsls r3, r3, #2
- 8000a02: 181b adds r3, r3, r0
- 8000a04: 69d8 ldr r0, [r3, #28]
- 8000a06: 4002 ands r2, r0
- 8000a08: 4311 orrs r1, r2
- 8000a0a: 61d9 str r1, [r3, #28]
- 8000a0c: e7f2 b.n 80009f4
- 8000a0e: 46c0 nop ; (mov r8, r8)
- 8000a10: e000e100 .word 0xe000e100
- 8000a14: e000ed00 .word 0xe000ed00
-
-08000a18 :
- function SysTick_Config is not included. In this case, the file device.h
- must contain a vendor-specific implementation of this function.
- */
-__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
-{
- if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
- 8000a18: 2280 movs r2, #128 ; 0x80
- 8000a1a: 1e43 subs r3, r0, #1
- 8000a1c: 0452 lsls r2, r2, #17
- {
- return (1UL); /* Reload value impossible */
- 8000a1e: 2001 movs r0, #1
- if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
- 8000a20: 4293 cmp r3, r2
- 8000a22: d20d bcs.n 8000a40
- SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 8000a24: 21c0 movs r1, #192 ; 0xc0
- }
-
- SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
- 8000a26: 4a07 ldr r2, [pc, #28] ; (8000a44 )
- SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 8000a28: 4807 ldr r0, [pc, #28] ; (8000a48 )
- SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
- 8000a2a: 6053 str r3, [r2, #4]
- SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) |
- 8000a2c: 6a03 ldr r3, [r0, #32]
- 8000a2e: 0609 lsls r1, r1, #24
- 8000a30: 021b lsls r3, r3, #8
- 8000a32: 0a1b lsrs r3, r3, #8
- 8000a34: 430b orrs r3, r1
- 8000a36: 6203 str r3, [r0, #32]
- NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
- SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
- 8000a38: 2000 movs r0, #0
- SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
- 8000a3a: 2307 movs r3, #7
- SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
- 8000a3c: 6090 str r0, [r2, #8]
- SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
- 8000a3e: 6013 str r3, [r2, #0]
- * - 1 Function failed.
- */
-uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
-{
- return SysTick_Config(TicksNumb);
-}
- 8000a40: 4770 bx lr
- 8000a42: 46c0 nop ; (mov r8, r8)
- 8000a44: e000e010 .word 0xe000e010
- 8000a48: e000ed00 .word 0xe000ed00
-
-08000a4c :
- uint32_t sysclockfreq;
-
- tmpreg = RCC->CFGR;
-
- /* Get SYSCLK source -------------------------------------------------------*/
- switch (tmpreg & RCC_CFGR_SWS)
- 8000a4c: 220c movs r2, #12
- tmpreg = RCC->CFGR;
- 8000a4e: 4b1d ldr r3, [pc, #116] ; (8000ac4 )
-{
- 8000a50: b570 push {r4, r5, r6, lr}
- tmpreg = RCC->CFGR;
- 8000a52: 68dc ldr r4, [r3, #12]
- switch (tmpreg & RCC_CFGR_SWS)
- 8000a54: 4022 ands r2, r4
- 8000a56: 2a08 cmp r2, #8
- 8000a58: d031 beq.n 8000abe
- 8000a5a: 2a0c cmp r2, #12
- 8000a5c: d009 beq.n 8000a72
- 8000a5e: 2a04 cmp r2, #4
- 8000a60: d125 bne.n 8000aae
- {
- case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */
- {
- if ((RCC->CR & RCC_CR_HSIDIVF) != 0U)
- 8000a62: 6818 ldr r0, [r3, #0]
- {
- sysclockfreq = (HSI_VALUE >> 2);
- }
- else
- {
- sysclockfreq = HSI_VALUE;
- 8000a64: 4b18 ldr r3, [pc, #96] ; (8000ac8 )
- if ((RCC->CR & RCC_CR_HSIDIVF) != 0U)
- 8000a66: 06c0 lsls r0, r0, #27
- sysclockfreq = HSI_VALUE;
- 8000a68: 17c0 asrs r0, r0, #31
- 8000a6a: 4018 ands r0, r3
- 8000a6c: 4b17 ldr r3, [pc, #92] ; (8000acc )
- 8000a6e: 18c0 adds r0, r0, r3
- sysclockfreq = (32768U * (1UL << (msiclkrange + 1U)));
- break;
- }
- }
- return sysclockfreq;
-}
- 8000a70: bd70 pop {r4, r5, r6, pc}
- pllm = PLLMulTable[(uint32_t)(tmpreg & RCC_CFGR_PLLMUL) >> RCC_CFGR_PLLMUL_Pos];
- 8000a72: 02a2 lsls r2, r4, #10
- 8000a74: 4816 ldr r0, [pc, #88] ; (8000ad0 )
- 8000a76: 0f12 lsrs r2, r2, #28
- 8000a78: 5c80 ldrb r0, [r0, r2]
- if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI)
- 8000a7a: 2280 movs r2, #128 ; 0x80
- plld = ((uint32_t)(tmpreg & RCC_CFGR_PLLDIV) >> RCC_CFGR_PLLDIV_Pos) + 1U;
- 8000a7c: 0224 lsls r4, r4, #8
- if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI)
- 8000a7e: 68d9 ldr r1, [r3, #12]
- plld = ((uint32_t)(tmpreg & RCC_CFGR_PLLDIV) >> RCC_CFGR_PLLDIV_Pos) + 1U;
- 8000a80: 0fa4 lsrs r4, r4, #30
- if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI)
- 8000a82: 0252 lsls r2, r2, #9
- plld = ((uint32_t)(tmpreg & RCC_CFGR_PLLDIV) >> RCC_CFGR_PLLDIV_Pos) + 1U;
- 8000a84: 3401 adds r4, #1
- if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI)
- 8000a86: 4211 tst r1, r2
- 8000a88: d009 beq.n 8000a9e