diff --git a/.cproject b/.cproject
index a7dba08..040c259 100644
--- a/.cproject
+++ b/.cproject
@@ -21,7 +21,8 @@
-
+
+
@@ -98,7 +99,8 @@
-
+
+
@@ -167,4 +169,5 @@
+
\ No newline at end of file
diff --git a/.mxproject b/.mxproject
index 46b3341..bd2be51 100644
--- a/.mxproject
+++ b/.mxproject
@@ -1,8 +1,8 @@
[PreviousLibFiles]
-LibFiles=Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_can.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_can.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f042x6.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h;
+LibFiles=Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f042x6.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h;
[PreviousUsedCubeIDEFiles]
-SourceFiles=Core\Src\main.c;Core\Src\stm32f0xx_it.c;Core\Src\stm32f0xx_hal_msp.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;;;
+SourceFiles=Core\Src\main.c;Core\Src\stm32f0xx_it.c;Core\Src\stm32f0xx_hal_msp.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;;;
HeaderPath=Drivers\STM32F0xx_HAL_Driver\Inc;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32F0xx\Include;Drivers\CMSIS\Include;Core\Inc;
CDefines=USE_HAL_DRIVER;STM32F042x6;USE_HAL_DRIVER;USE_HAL_DRIVER;
diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml
index 3304fdb..8e167a4 100644
--- a/.settings/language.settings.xml
+++ b/.settings/language.settings.xml
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
diff --git a/.settings/stm32cubeide.project.prefs b/.settings/stm32cubeide.project.prefs
index fbcffac..eef2fa9 100644
--- a/.settings/stm32cubeide.project.prefs
+++ b/.settings/stm32cubeide.project.prefs
@@ -1,4 +1,4 @@
66BE74F758C12D739921AEA421D593D3=1
-8DF89ED150041C4CBC7CB9A9CAA90856=9B79D692DAF3AFF2A990D749AB4FB917
-DC22A860405A8BF2F2C095E5B6529F12=9B79D692DAF3AFF2A990D749AB4FB917
+8DF89ED150041C4CBC7CB9A9CAA90856=9DE2FCFB40F1F476F89BEBD54CEB8D6D
+DC22A860405A8BF2F2C095E5B6529F12=9DE2FCFB40F1F476F89BEBD54CEB8D6D
eclipse.preferences.version=1
diff --git a/Core/Inc/stm32f0xx_hal_conf.h b/Core/Inc/stm32f0xx_hal_conf.h
index 771e04d..0dda61e 100644
--- a/Core/Inc/stm32f0xx_hal_conf.h
+++ b/Core/Inc/stm32f0xx_hal_conf.h
@@ -35,7 +35,7 @@
#define HAL_MODULE_ENABLED
/*#define HAL_ADC_MODULE_ENABLED */
/*#define HAL_CRYP_MODULE_ENABLED */
-#define HAL_CAN_MODULE_ENABLED
+/*#define HAL_CAN_MODULE_ENABLED */
/*#define HAL_CEC_MODULE_ENABLED */
/*#define HAL_COMP_MODULE_ENABLED */
/*#define HAL_CRC_MODULE_ENABLED */
diff --git a/Core/Src/HTPA_32x32d.c b/Core/Src/HTPA_32x32d.c
index 2d01ccd..385d715 100644
--- a/Core/Src/HTPA_32x32d.c
+++ b/Core/Src/HTPA_32x32d.c
@@ -55,7 +55,7 @@ uint16_t blockData[128];
void HTPA_Init(I2C_HandleTypeDef *hi2c){
i2c_handle = *hi2c;
// Berechnung für clk / sample aus I2C parametern?
- HTPA_WriteRegister(HTPA_SENSOR_CONFIG, 0x01); // Wakeup
+ HTPA_WriteRegister(HTPA_SENSOR_CONFIG, 0x01); // wakeup
HTPA_WriteRegister(HTPA_SENSOR_TRIM_1, 0x0C);
HTPA_WriteRegister(HTPA_SENSOR_TRIM_2, 0x0C);
HTPA_WriteRegister(HTPA_SENSOR_TRIM_3, 0x0C);
@@ -63,6 +63,7 @@ void HTPA_Init(I2C_HandleTypeDef *hi2c){
HTPA_WriteRegister(HTPA_SENSOR_TRIM_5, 0x0C);
HTPA_WriteRegister(HTPA_SENSOR_TRIM_6, 0x0C);
HTPA_WriteRegister(HTPA_SENSOR_TRIM_7, 0x88);
+ HTPA_WriteRegister(HTPA_SENSOR_CONFIG, 0x09); // start sensor
}
/**
@@ -110,6 +111,7 @@ void HTPA_WriteRegister(uint8_t register_address, uint8_t byte){
* @return HTPA_Status: status register struct
*/
HTPA_Status HTPA_GetStatus(void){
+ HAL_StatusTypeDef i2c_status;
HTPA_Status status_return;
uint8_t i2c_data = HTPA_SENSOR_STATUS;
uint8_t i2c_address = (HTPA_SENSOR_ADDRESS << 1);
@@ -117,7 +119,7 @@ HTPA_Status HTPA_GetStatus(void){
i2c_address &= 0xFE; // set read/write bit 0 to write (0)
HAL_I2C_Master_Transmit(&i2c_handle, i2c_address, &i2c_data, 1, I2C_MAX_DELAY);
i2c_address |= 0x01; // set read/write bit 0 to read (1)
- HAL_I2C_Master_Receive(&i2c_handle, i2c_address, &i2c_readData, 1, I2C_MAX_DELAY);
+ i2c_status = HAL_I2C_Master_Receive(&i2c_handle, i2c_address, &i2c_readData, 1, I2C_MAX_DELAY);
status_return.block = (i2c_readData >> 4) && 0xFC;
status_return.vdd_meas = (i2c_readData >> 2) && 0xFE;
status_return.blind = (i2c_readData >> 1) && 0xFE;
diff --git a/Core/Src/main.c b/Core/Src/main.c
index 8ea1c01..9783a9b 100644
--- a/Core/Src/main.c
+++ b/Core/Src/main.c
@@ -21,6 +21,7 @@
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
+#include
#include "HTPA_32x32d.h"
/* USER CODE END Includes */
@@ -40,18 +41,16 @@
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
-CAN_HandleTypeDef hcan;
-
I2C_HandleTypeDef hi2c1;
/* USER CODE BEGIN PV */
+HTPA_Status temp_status;
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
-static void MX_CAN_Init(void);
static void MX_I2C1_Init(void);
/* USER CODE BEGIN PFP */
@@ -90,9 +89,9 @@ int main(void)
/* Initialize all configured peripherals */
MX_GPIO_Init();
- MX_CAN_Init();
MX_I2C1_Init();
/* USER CODE BEGIN 2 */
+ HTPA_Init(&hi2c1);
/* USER CODE END 2 */
@@ -100,6 +99,8 @@ int main(void)
/* USER CODE BEGIN WHILE */
while (1)
{
+ temp_status = HTPA_GetStatus();
+ HAL_Delay(1000);
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
@@ -123,7 +124,10 @@ void SystemClock_Config(void)
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
+ RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
+ RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL2;
+ RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV1;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
@@ -133,7 +137,7 @@ void SystemClock_Config(void)
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
@@ -142,50 +146,13 @@ void SystemClock_Config(void)
Error_Handler();
}
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_I2C1;
- PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_HSI;
+ PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_SYSCLK;
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
{
Error_Handler();
}
}
-/**
- * @brief CAN Initialization Function
- * @param None
- * @retval None
- */
-static void MX_CAN_Init(void)
-{
-
- /* USER CODE BEGIN CAN_Init 0 */
-
- /* USER CODE END CAN_Init 0 */
-
- /* USER CODE BEGIN CAN_Init 1 */
-
- /* USER CODE END CAN_Init 1 */
- hcan.Instance = CAN;
- hcan.Init.Prescaler = 16;
- hcan.Init.Mode = CAN_MODE_NORMAL;
- hcan.Init.SyncJumpWidth = CAN_SJW_1TQ;
- hcan.Init.TimeSeg1 = CAN_BS1_1TQ;
- hcan.Init.TimeSeg2 = CAN_BS2_1TQ;
- hcan.Init.TimeTriggeredMode = DISABLE;
- hcan.Init.AutoBusOff = DISABLE;
- hcan.Init.AutoWakeUp = DISABLE;
- hcan.Init.AutoRetransmission = DISABLE;
- hcan.Init.ReceiveFifoLocked = DISABLE;
- hcan.Init.TransmitFifoPriority = DISABLE;
- if (HAL_CAN_Init(&hcan) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN CAN_Init 2 */
-
- /* USER CODE END CAN_Init 2 */
-
-}
-
/**
* @brief I2C1 Initialization Function
* @param None
@@ -202,7 +169,7 @@ static void MX_I2C1_Init(void)
/* USER CODE END I2C1_Init 1 */
hi2c1.Instance = I2C1;
- hi2c1.Init.Timing = 0x2000090E;
+ hi2c1.Init.Timing = 0x00000107;
hi2c1.Init.OwnAddress1 = 0;
hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
@@ -228,6 +195,10 @@ static void MX_I2C1_Init(void)
{
Error_Handler();
}
+
+ /** I2C Fast mode Plus enable
+ */
+ __HAL_SYSCFG_FASTMODEPLUS_ENABLE(I2C_FASTMODEPLUS_I2C1);
/* USER CODE BEGIN I2C1_Init 2 */
/* USER CODE END I2C1_Init 2 */
@@ -241,12 +212,15 @@ static void MX_I2C1_Init(void)
*/
static void MX_GPIO_Init(void)
{
+/* USER CODE BEGIN MX_GPIO_Init_1 */
+/* USER CODE END MX_GPIO_Init_1 */
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOF_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
- __HAL_RCC_GPIOB_CLK_ENABLE();
+/* USER CODE BEGIN MX_GPIO_Init_2 */
+/* USER CODE END MX_GPIO_Init_2 */
}
/* USER CODE BEGIN 4 */
diff --git a/Core/Src/stm32f0xx_hal_msp.c b/Core/Src/stm32f0xx_hal_msp.c
index 07e2996..288476d 100644
--- a/Core/Src/stm32f0xx_hal_msp.c
+++ b/Core/Src/stm32f0xx_hal_msp.c
@@ -20,6 +20,7 @@
/* Includes ------------------------------------------------------------------*/
#include "main.h"
+
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
@@ -76,71 +77,6 @@ void HAL_MspInit(void)
/* USER CODE END MspInit 1 */
}
-/**
-* @brief CAN MSP Initialization
-* This function configures the hardware resources used in this example
-* @param hcan: CAN handle pointer
-* @retval None
-*/
-void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(hcan->Instance==CAN)
- {
- /* USER CODE BEGIN CAN_MspInit 0 */
-
- /* USER CODE END CAN_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_CAN1_CLK_ENABLE();
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**CAN GPIO Configuration
- PA11 ------> CAN_RX
- PA12 ------> CAN_TX
- */
- GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- GPIO_InitStruct.Alternate = GPIO_AF4_CAN;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN CAN_MspInit 1 */
-
- /* USER CODE END CAN_MspInit 1 */
- }
-
-}
-
-/**
-* @brief CAN MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param hcan: CAN handle pointer
-* @retval None
-*/
-void HAL_CAN_MspDeInit(CAN_HandleTypeDef* hcan)
-{
- if(hcan->Instance==CAN)
- {
- /* USER CODE BEGIN CAN_MspDeInit 0 */
-
- /* USER CODE END CAN_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_CAN1_CLK_DISABLE();
-
- /**CAN GPIO Configuration
- PA11 ------> CAN_RX
- PA12 ------> CAN_TX
- */
- HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
-
- /* USER CODE BEGIN CAN_MspDeInit 1 */
-
- /* USER CODE END CAN_MspDeInit 1 */
- }
-
-}
-
/**
* @brief I2C MSP Initialization
* This function configures the hardware resources used in this example
@@ -156,17 +92,17 @@ void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
/* USER CODE END I2C1_MspInit 0 */
- __HAL_RCC_GPIOB_CLK_ENABLE();
+ __HAL_RCC_GPIOF_CLK_ENABLE();
/**I2C1 GPIO Configuration
- PB7 ------> I2C1_SDA
- PB8 ------> I2C1_SCL
+ PF0-OSC_IN ------> I2C1_SDA
+ PF1-OSC_OUT ------> I2C1_SCL
*/
- GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_8;
+ GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF1_I2C1;
- HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+ HAL_GPIO_Init(GPIOF, &GPIO_InitStruct);
/* Peripheral clock enable */
__HAL_RCC_I2C1_CLK_ENABLE();
@@ -194,12 +130,12 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
__HAL_RCC_I2C1_CLK_DISABLE();
/**I2C1 GPIO Configuration
- PB7 ------> I2C1_SDA
- PB8 ------> I2C1_SCL
+ PF0-OSC_IN ------> I2C1_SDA
+ PF1-OSC_OUT ------> I2C1_SCL
*/
- HAL_GPIO_DeInit(GPIOB, GPIO_PIN_7);
+ HAL_GPIO_DeInit(GPIOF, GPIO_PIN_0);
- HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8);
+ HAL_GPIO_DeInit(GPIOF, GPIO_PIN_1);
/* USER CODE BEGIN I2C1_MspDeInit 1 */
diff --git a/Debug/Core/Src/HTPA_32x32d.d b/Debug/Core/Src/HTPA_32x32d.d
index 54ce929..6887a09 100644
--- a/Debug/Core/Src/HTPA_32x32d.d
+++ b/Debug/Core/Src/HTPA_32x32d.d
@@ -18,7 +18,6 @@ Core/Src/HTPA_32x32d.o: ../Core/Src/HTPA_32x32d.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -46,7 +45,6 @@ Core/Src/HTPA_32x32d.o: ../Core/Src/HTPA_32x32d.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/HTPA_32x32d.o b/Debug/Core/Src/HTPA_32x32d.o
index ce3bea4..38712be 100644
Binary files a/Debug/Core/Src/HTPA_32x32d.o and b/Debug/Core/Src/HTPA_32x32d.o differ
diff --git a/Debug/Core/Src/HTPA_32x32d.su b/Debug/Core/Src/HTPA_32x32d.su
index 8560964..2f1cb63 100644
--- a/Debug/Core/Src/HTPA_32x32d.su
+++ b/Debug/Core/Src/HTPA_32x32d.su
@@ -1,4 +1,4 @@
-../Core/Src/HTPA_32x32d.c:37:6:HTPA_Init 16 static
-../Core/Src/HTPA_32x32d.c:50:6:HTPA_ReadBlock 24 static
-../Core/Src/HTPA_32x32d.c:56:6:HTPA_WriteRegister 40 static
-../Core/Src/HTPA_32x32d.c:65:13:HTPA_GetStatus 40 static
+../Core/Src/HTPA_32x32d.c:55:6:HTPA_Init 16 static
+../Core/Src/HTPA_32x32d.c:80:6:HTPA_ReadBlock 24 static
+../Core/Src/HTPA_32x32d.c:96:6:HTPA_WriteRegister 40 static
+../Core/Src/HTPA_32x32d.c:113:13:HTPA_GetStatus 40 static
diff --git a/Debug/Core/Src/main.d b/Debug/Core/Src/main.d
index 36ce446..512d28e 100644
--- a/Debug/Core/Src/main.d
+++ b/Debug/Core/Src/main.d
@@ -18,7 +18,6 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -46,7 +45,6 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/main.o b/Debug/Core/Src/main.o
index 8dcdb99..16189cb 100644
Binary files a/Debug/Core/Src/main.o and b/Debug/Core/Src/main.o differ
diff --git a/Debug/Core/Src/main.su b/Debug/Core/Src/main.su
index f13c0b1..d2fa84c 100644
--- a/Debug/Core/Src/main.su
+++ b/Debug/Core/Src/main.su
@@ -1,6 +1,5 @@
-../Core/Src/main.c:69:5:main 8 static
-../Core/Src/main.c:114:6:SystemClock_Config 112 static
-../Core/Src/main.c:157:13:MX_CAN_Init 8 static
-../Core/Src/main.c:194:13:MX_I2C1_Init 8 static
-../Core/Src/main.c:242:13:MX_GPIO_Init 24 static
-../Core/Src/main.c:260:6:Error_Handler 8 static,ignoring_inline_asm
+../Core/Src/main.c:68:5:main 8 static
+../Core/Src/main.c:115:6:SystemClock_Config 112 static
+../Core/Src/main.c:161:13:MX_I2C1_Init 8 static
+../Core/Src/main.c:213:13:MX_GPIO_Init 24 static
+../Core/Src/main.c:235:6:Error_Handler 8 static,ignoring_inline_asm
diff --git a/Debug/Core/Src/stm32f0xx_hal_msp.d b/Debug/Core/Src/stm32f0xx_hal_msp.d
index 99d3552..aa2ce6e 100644
--- a/Debug/Core/Src/stm32f0xx_hal_msp.d
+++ b/Debug/Core/Src/stm32f0xx_hal_msp.d
@@ -18,7 +18,6 @@ Core/Src/stm32f0xx_hal_msp.o: ../Core/Src/stm32f0xx_hal_msp.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Core/Src/stm32f0xx_hal_msp.o: ../Core/Src/stm32f0xx_hal_msp.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/stm32f0xx_hal_msp.o b/Debug/Core/Src/stm32f0xx_hal_msp.o
index 466e424..913b052 100644
Binary files a/Debug/Core/Src/stm32f0xx_hal_msp.o and b/Debug/Core/Src/stm32f0xx_hal_msp.o differ
diff --git a/Debug/Core/Src/stm32f0xx_hal_msp.su b/Debug/Core/Src/stm32f0xx_hal_msp.su
index 291bcf0..163cd39 100644
--- a/Debug/Core/Src/stm32f0xx_hal_msp.su
+++ b/Debug/Core/Src/stm32f0xx_hal_msp.su
@@ -1,5 +1,3 @@
../Core/Src/stm32f0xx_hal_msp.c:63:6:HAL_MspInit 16 static
-../Core/Src/stm32f0xx_hal_msp.c:85:6:HAL_CAN_MspInit 56 static
-../Core/Src/stm32f0xx_hal_msp.c:121:6:HAL_CAN_MspDeInit 16 static
-../Core/Src/stm32f0xx_hal_msp.c:150:6:HAL_I2C_MspInit 56 static
-../Core/Src/stm32f0xx_hal_msp.c:186:6:HAL_I2C_MspDeInit 16 static
+../Core/Src/stm32f0xx_hal_msp.c:85:6:HAL_I2C_MspInit 56 static
+../Core/Src/stm32f0xx_hal_msp.c:121:6:HAL_I2C_MspDeInit 16 static
diff --git a/Debug/Core/Src/stm32f0xx_it.d b/Debug/Core/Src/stm32f0xx_it.d
index 22d3fe8..2cad3de 100644
--- a/Debug/Core/Src/stm32f0xx_it.d
+++ b/Debug/Core/Src/stm32f0xx_it.d
@@ -18,7 +18,6 @@ Core/Src/stm32f0xx_it.o: ../Core/Src/stm32f0xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -46,7 +45,6 @@ Core/Src/stm32f0xx_it.o: ../Core/Src/stm32f0xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/stm32f0xx_it.o b/Debug/Core/Src/stm32f0xx_it.o
index 5394313..de2e70a 100644
Binary files a/Debug/Core/Src/stm32f0xx_it.o and b/Debug/Core/Src/stm32f0xx_it.o differ
diff --git a/Debug/Core/Src/subdir.mk b/Debug/Core/Src/subdir.mk
index d2d4b7a..069bf4e 100644
--- a/Debug/Core/Src/subdir.mk
+++ b/Debug/Core/Src/subdir.mk
@@ -33,13 +33,13 @@ C_DEPS += \
# Each subdirectory must supply rules for building sources it contributes
-Core/Src/%.o Core/Src/%.su: ../Core/Src/%.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F042x6 -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F042x6 -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Core-2f-Src
clean-Core-2f-Src:
- -$(RM) ./Core/Src/HTPA_32x32d.d ./Core/Src/HTPA_32x32d.o ./Core/Src/HTPA_32x32d.su ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f0xx_hal_msp.d ./Core/Src/stm32f0xx_hal_msp.o ./Core/Src/stm32f0xx_hal_msp.su ./Core/Src/stm32f0xx_it.d ./Core/Src/stm32f0xx_it.o ./Core/Src/stm32f0xx_it.su ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32f0xx.d ./Core/Src/system_stm32f0xx.o ./Core/Src/system_stm32f0xx.su
+ -$(RM) ./Core/Src/HTPA_32x32d.cyclo ./Core/Src/HTPA_32x32d.d ./Core/Src/HTPA_32x32d.o ./Core/Src/HTPA_32x32d.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f0xx_hal_msp.cyclo ./Core/Src/stm32f0xx_hal_msp.d ./Core/Src/stm32f0xx_hal_msp.o ./Core/Src/stm32f0xx_hal_msp.su ./Core/Src/stm32f0xx_it.cyclo ./Core/Src/stm32f0xx_it.d ./Core/Src/stm32f0xx_it.o ./Core/Src/stm32f0xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32f0xx.cyclo ./Core/Src/system_stm32f0xx.d ./Core/Src/system_stm32f0xx.o ./Core/Src/system_stm32f0xx.su
.PHONY: clean-Core-2f-Src
diff --git a/Debug/Core/Src/syscalls.o b/Debug/Core/Src/syscalls.o
index 4d3bcc1..d718fe3 100644
Binary files a/Debug/Core/Src/syscalls.o and b/Debug/Core/Src/syscalls.o differ
diff --git a/Debug/Core/Src/sysmem.o b/Debug/Core/Src/sysmem.o
index e340820..53b327d 100644
Binary files a/Debug/Core/Src/sysmem.o and b/Debug/Core/Src/sysmem.o differ
diff --git a/Debug/Core/Src/system_stm32f0xx.d b/Debug/Core/Src/system_stm32f0xx.d
index 1b67c45..241a6c1 100644
--- a/Debug/Core/Src/system_stm32f0xx.d
+++ b/Debug/Core/Src/system_stm32f0xx.d
@@ -18,7 +18,6 @@ Core/Src/system_stm32f0xx.o: ../Core/Src/system_stm32f0xx.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -44,7 +43,6 @@ Core/Src/system_stm32f0xx.o: ../Core/Src/system_stm32f0xx.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/system_stm32f0xx.o b/Debug/Core/Src/system_stm32f0xx.o
index 23fc063..514c986 100644
Binary files a/Debug/Core/Src/system_stm32f0xx.o and b/Debug/Core/Src/system_stm32f0xx.o differ
diff --git a/Debug/Core/Startup/startup_stm32f042k6tx.o b/Debug/Core/Startup/startup_stm32f042k6tx.o
index 17c3157..55f5ff3 100644
Binary files a/Debug/Core/Startup/startup_stm32f042k6tx.o and b/Debug/Core/Startup/startup_stm32f042k6tx.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d
index 25aa308..f405599 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
index 0758ed8..906f34c 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o
deleted file mode 100644
index 20c71b7..0000000
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o and /dev/null differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.su b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.su
deleted file mode 100644
index 2c996aa..0000000
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.su
+++ /dev/null
@@ -1,36 +0,0 @@
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:274:19:HAL_CAN_Init 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:459:19:HAL_CAN_DeInit 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:506:13:HAL_CAN_MspInit 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:522:13:HAL_CAN_MspDeInit 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:839:19:HAL_CAN_ConfigFilter 32 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:989:19:HAL_CAN_Start 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1041:19:HAL_CAN_Stop 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1096:19:HAL_CAN_RequestSleep 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1127:19:HAL_CAN_WakeUp 32 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1176:10:HAL_CAN_IsSleepActive 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1207:19:HAL_CAN_AddTxMessage 40 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1307:19:HAL_CAN_AbortTxRequest 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1356:10:HAL_CAN_GetTxMailboxesFreeLevel 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1399:10:HAL_CAN_IsTxMessagePending 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1431:10:HAL_CAN_GetTxTimestamp 32 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1477:19:HAL_CAN_GetRxMessage 32 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1577:10:HAL_CAN_GetRxFifoFillLevel 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1630:19:HAL_CAN_ActivateNotification 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1663:19:HAL_CAN_DeactivateNotification 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:1694:6:HAL_CAN_IRQHandler 48 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2105:13:HAL_CAN_TxMailbox0CompleteCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2122:13:HAL_CAN_TxMailbox1CompleteCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2139:13:HAL_CAN_TxMailbox2CompleteCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2156:13:HAL_CAN_TxMailbox0AbortCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2173:13:HAL_CAN_TxMailbox1AbortCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2190:13:HAL_CAN_TxMailbox2AbortCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2207:13:HAL_CAN_RxFifo0MsgPendingCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2224:13:HAL_CAN_RxFifo0FullCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2241:13:HAL_CAN_RxFifo1MsgPendingCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2258:13:HAL_CAN_RxFifo1FullCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2275:13:HAL_CAN_SleepCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2291:13:HAL_CAN_WakeUpFromRxMsgCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2308:13:HAL_CAN_ErrorCallback 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2345:22:HAL_CAN_GetState 24 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2380:10:HAL_CAN_GetError 16 static
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c:2392:19:HAL_CAN_ResetError 24 static
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d
index bfb1b00..4b06b61 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o
index 9a963d0..39b7e6c 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d
index 5d1680c..ccd58c9 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o
index e3afcf6..bd924ab 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d
index 76b57be..88a4bc8 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o
index ac0d08c..fd507d6 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d
index a921381..d528ec3 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o
index 0f3b73c..b6e15d6 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d
index e00f75f..0728afc 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o
index 93c8361..f1c58a8 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d
index 8642dcc..5f03d40 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
index 3ed5fdd..275f52a 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d
index bde80bb..c25e355 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o
index f6adb90..a9dee2e 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d
index 06d5292..756bde7 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o
index 8ef7b14..3684683 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d
index d2d0d44..1f15cbb 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o
index f9a8d41..fc2697e 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d
index b4ca917..dfd4a03 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o
index db69126..f8e676e 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d
index f03bf2d..e383b91 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
index 725820d..293d445 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d
index 5acb914..bb9d9b9 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o
index 3b63fd6..03bb145 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d
index 3b87fc9..96f921f 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o
index 6cd8eb7..e9f8fa9 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d
index 6b6b58a..6847a8e 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o
index 4af3652..91a0f42 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
index 461f823..ca53bb7 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
@@ -6,7 +6,6 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c \
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c \
@@ -24,7 +23,6 @@ C_SRCS += \
OBJS += \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o \
-./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o \
@@ -42,7 +40,6 @@ OBJS += \
C_DEPS += \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d \
-./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.d \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d \
@@ -60,13 +57,13 @@ C_DEPS += \
# Each subdirectory must supply rules for building sources it contributes
-Drivers/STM32F0xx_HAL_Driver/Src/%.o Drivers/STM32F0xx_HAL_Driver/Src/%.su: ../Drivers/STM32F0xx_HAL_Driver/Src/%.c Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F042x6 -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+Drivers/STM32F0xx_HAL_Driver/Src/%.o Drivers/STM32F0xx_HAL_Driver/Src/%.su Drivers/STM32F0xx_HAL_Driver/Src/%.cyclo: ../Drivers/STM32F0xx_HAL_Driver/Src/%.c Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F042x6 -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Drivers-2f-STM32F0xx_HAL_Driver-2f-Src
clean-Drivers-2f-STM32F0xx_HAL_Driver-2f-Src:
- -$(RM) ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su
+ -$(RM) ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.cyclo ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su
.PHONY: clean-Drivers-2f-STM32F0xx_HAL_Driver-2f-Src
diff --git a/Debug/TTS.elf b/Debug/TTS.elf
index 388e81e..e55ab56 100644
Binary files a/Debug/TTS.elf and b/Debug/TTS.elf differ
diff --git a/Debug/TTS.list b/Debug/TTS.list
index 765750c..ccd3299 100644
--- a/Debug/TTS.list
+++ b/Debug/TTS.list
@@ -5,45 +5,45 @@ 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 00001b0c 080000c0 080000c0 000100c0 2**2
+ 1 .text 00002418 080000c0 080000c0 000100c0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .rodata 00000030 08001bcc 08001bcc 00011bcc 2**2
+ 2 .rodata 00000030 080024d8 080024d8 000124d8 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 .ARM.extab 00000000 08001bfc 08001bfc 0002000c 2**0
+ 3 .ARM.extab 00000000 08002508 08002508 0002000c 2**0
CONTENTS
- 4 .ARM 00000000 08001bfc 08001bfc 0002000c 2**0
+ 4 .ARM 00000000 08002508 08002508 0002000c 2**0
CONTENTS
- 5 .preinit_array 00000000 08001bfc 08001bfc 0002000c 2**0
+ 5 .preinit_array 00000000 08002508 08002508 0002000c 2**0
CONTENTS, ALLOC, LOAD, DATA
- 6 .init_array 00000004 08001bfc 08001bfc 00011bfc 2**2
+ 6 .init_array 00000004 08002508 08002508 00012508 2**2
CONTENTS, ALLOC, LOAD, DATA
- 7 .fini_array 00000004 08001c00 08001c00 00011c00 2**2
+ 7 .fini_array 00000004 0800250c 0800250c 0001250c 2**2
CONTENTS, ALLOC, LOAD, DATA
- 8 .data 0000000c 20000000 08001c04 00020000 2**2
+ 8 .data 0000000c 20000000 08002510 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
- 9 .bss 0000009c 2000000c 08001c10 0002000c 2**2
+ 9 .bss 000000cc 2000000c 0800251c 0002000c 2**2
ALLOC
- 10 ._user_heap_stack 00000600 200000a8 08001c10 000200a8 2**0
+ 10 ._user_heap_stack 00000600 200000d8 0800251c 000200d8 2**0
ALLOC
11 .ARM.attributes 00000028 00000000 00000000 0002000c 2**0
CONTENTS, READONLY
- 12 .debug_info 00007d0d 00000000 00000000 00020034 2**0
+ 12 .debug_info 00006e65 00000000 00000000 00020034 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 13 .debug_abbrev 00001674 00000000 00000000 00027d41 2**0
+ 13 .debug_abbrev 00001643 00000000 00000000 00026e99 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 14 .debug_aranges 00000818 00000000 00000000 000293b8 2**3
+ 14 .debug_aranges 00000700 00000000 00000000 000284e0 2**3
CONTENTS, READONLY, DEBUGGING, OCTETS
- 15 .debug_ranges 00000750 00000000 00000000 00029bd0 2**3
+ 15 .debug_ranges 00000638 00000000 00000000 00028be0 2**3
CONTENTS, READONLY, DEBUGGING, OCTETS
- 16 .debug_macro 00001505 00000000 00000000 0002a320 2**0
+ 16 .debug_macro 00016f94 00000000 00000000 00029218 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 17 .debug_line 0000a45a 00000000 00000000 0002b825 2**0
+ 17 .debug_line 00009911 00000000 00000000 000401ac 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 18 .debug_str 00084768 00000000 00000000 00035c7f 2**0
+ 18 .debug_str 000820c1 00000000 00000000 00049abd 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 19 .comment 00000050 00000000 00000000 000ba3e7 2**0
+ 19 .comment 00000050 00000000 00000000 000cbb7e 2**0
CONTENTS, READONLY
- 20 .debug_frame 00001bf4 00000000 00000000 000ba438 2**2
+ 20 .debug_frame 000017c4 00000000 00000000 000cbbd0 2**2
CONTENTS, READONLY, DEBUGGING, OCTETS
Disassembly of section .text:
@@ -65,7 +65,7 @@ Disassembly of section .text:
80000da: bd10 pop {r4, pc}
80000dc: 2000000c .word 0x2000000c
80000e0: 00000000 .word 0x00000000
- 80000e4: 08001bb4 .word 0x08001bb4
+ 80000e4: 080024c0 .word 0x080024c0
080000e8 :
80000e8: 4b04 ldr r3, [pc, #16] ; (80000fc )
@@ -80,7 +80,7 @@ Disassembly of section .text:
80000fa: 46c0 nop ; (mov r8, r8)
80000fc: 00000000 .word 0x00000000
8000100: 20000010 .word 0x20000010
- 8000104: 08001bb4 .word 0x08001bb4
+ 8000104: 080024c0 .word 0x080024c0
08000108 <__udivsi3>:
8000108: 2200 movs r2, #0
@@ -227,4978 +227,6543 @@ Disassembly of section .text:
800021c: 4770 bx lr
800021e: 46c0 nop ; (mov r8, r8)
-08000220 :
+08000220 :
+ * configuration to the respective registers.
+ * Afterwards the sensor is in idle and ready for conversion.
+ *
+ * @param *hi2c: Pointer to I2C Handle
+*/
+void HTPA_Init(I2C_HandleTypeDef *hi2c){
+ 8000220: b580 push {r7, lr}
+ 8000222: b082 sub sp, #8
+ 8000224: af00 add r7, sp, #0
+ 8000226: 6078 str r0, [r7, #4]
+ i2c_handle = *hi2c;
+ 8000228: 4a17 ldr r2, [pc, #92] ; (8000288 )
+ 800022a: 687b ldr r3, [r7, #4]
+ 800022c: 0010 movs r0, r2
+ 800022e: 0019 movs r1, r3
+ 8000230: 2354 movs r3, #84 ; 0x54
+ 8000232: 001a movs r2, r3
+ 8000234: f002 f932 bl 800249c
+ // Berechnung für clk / sample aus I2C parametern?
+ HTPA_WriteRegister(HTPA_SENSOR_CONFIG, 0x01); // wakeup
+ 8000238: 2101 movs r1, #1
+ 800023a: 2001 movs r0, #1
+ 800023c: f000 f826 bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_1, 0x0C);
+ 8000240: 210c movs r1, #12
+ 8000242: 2003 movs r0, #3
+ 8000244: f000 f822 bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_2, 0x0C);
+ 8000248: 210c movs r1, #12
+ 800024a: 2004 movs r0, #4
+ 800024c: f000 f81e bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_3, 0x0C);
+ 8000250: 210c movs r1, #12
+ 8000252: 2005 movs r0, #5
+ 8000254: f000 f81a bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_4, 0x14);
+ 8000258: 2114 movs r1, #20
+ 800025a: 2006 movs r0, #6
+ 800025c: f000 f816 bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_5, 0x0C);
+ 8000260: 210c movs r1, #12
+ 8000262: 2007 movs r0, #7
+ 8000264: f000 f812 bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_6, 0x0C);
+ 8000268: 210c movs r1, #12
+ 800026a: 2008 movs r0, #8
+ 800026c: f000 f80e bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_7, 0x88);
+ 8000270: 2188 movs r1, #136 ; 0x88
+ 8000272: 2009 movs r0, #9
+ 8000274: f000 f80a bl 800028c
+ HTPA_WriteRegister(HTPA_SENSOR_CONFIG, 0x09); // start sensor
+ 8000278: 2109 movs r1, #9
+ 800027a: 2001 movs r0, #1
+ 800027c: f000 f806 bl 800028c
+}
+ 8000280: 46c0 nop ; (mov r8, r8)
+ 8000282: 46bd mov sp, r7
+ 8000284: b002 add sp, #8
+ 8000286: bd80 pop {r7, pc}
+ 8000288: 20000028 .word 0x20000028
+
+0800028c :
+ * description
+ *
+ * @param register_address: address of register
+ * @param byte: byte to be written to register
+*/
+void HTPA_WriteRegister(uint8_t register_address, uint8_t byte){
+ 800028c: b5b0 push {r4, r5, r7, lr}
+ 800028e: b086 sub sp, #24
+ 8000290: af02 add r7, sp, #8
+ 8000292: 0002 movs r2, r0
+ 8000294: 1dfb adds r3, r7, #7
+ 8000296: 701a strb r2, [r3, #0]
+ 8000298: 1dbb adds r3, r7, #6
+ 800029a: 1c0a adds r2, r1, #0
+ 800029c: 701a strb r2, [r3, #0]
+ uint8_t i2c_data = register_address;
+ 800029e: 200e movs r0, #14
+ 80002a0: 183b adds r3, r7, r0
+ 80002a2: 1dfa adds r2, r7, #7
+ 80002a4: 7812 ldrb r2, [r2, #0]
+ 80002a6: 701a strb r2, [r3, #0]
+ uint8_t i2c_address = (HTPA_SENSOR_ADDRESS << 1);
+ 80002a8: 240f movs r4, #15
+ 80002aa: 193b adds r3, r7, r4
+ 80002ac: 2234 movs r2, #52 ; 0x34
+ 80002ae: 701a strb r2, [r3, #0]
+ i2c_address &= 0xFE; // set read/write bit to write (0)
+ 80002b0: 193b adds r3, r7, r4
+ 80002b2: 193a adds r2, r7, r4
+ 80002b4: 7812 ldrb r2, [r2, #0]
+ 80002b6: 2101 movs r1, #1
+ 80002b8: 438a bics r2, r1
+ 80002ba: 701a strb r2, [r3, #0]
+ HAL_I2C_Master_Transmit(&i2c_handle, i2c_address, &i2c_data, 1, I2C_MAX_DELAY);
+ 80002bc: 193b adds r3, r7, r4
+ 80002be: 781b ldrb r3, [r3, #0]
+ 80002c0: b299 uxth r1, r3
+ 80002c2: 0005 movs r5, r0
+ 80002c4: 183a adds r2, r7, r0
+ 80002c6: 480d ldr r0, [pc, #52] ; (80002fc )
+ 80002c8: 2301 movs r3, #1
+ 80002ca: 425b negs r3, r3
+ 80002cc: 9300 str r3, [sp, #0]
+ 80002ce: 2301 movs r3, #1
+ 80002d0: f000 fda2 bl 8000e18
+ i2c_data = byte;
+ 80002d4: 0028 movs r0, r5
+ 80002d6: 183b adds r3, r7, r0
+ 80002d8: 1dba adds r2, r7, #6
+ 80002da: 7812 ldrb r2, [r2, #0]
+ 80002dc: 701a strb r2, [r3, #0]
+ HAL_I2C_Master_Transmit(&i2c_handle, i2c_address, &i2c_data, 1, I2C_MAX_DELAY);
+ 80002de: 193b adds r3, r7, r4
+ 80002e0: 781b ldrb r3, [r3, #0]
+ 80002e2: b299 uxth r1, r3
+ 80002e4: 183a adds r2, r7, r0
+ 80002e6: 4805 ldr r0, [pc, #20] ; (80002fc )
+ 80002e8: 2301 movs r3, #1
+ 80002ea: 425b negs r3, r3
+ 80002ec: 9300 str r3, [sp, #0]
+ 80002ee: 2301 movs r3, #1
+ 80002f0: f000 fd92 bl 8000e18
+}
+ 80002f4: 46c0 nop ; (mov r8, r8)
+ 80002f6: 46bd mov sp, r7
+ 80002f8: b004 add sp, #16
+ 80002fa: bdb0 pop {r4, r5, r7, pc}
+ 80002fc: 20000028 .word 0x20000028
+
+08000300 :
+ * Reads the sensors status register and stores the information in
+ * the HTPA_Statsu structure.
+ *
+ * @return HTPA_Status: status register struct
+*/
+HTPA_Status HTPA_GetStatus(void){
+ 8000300: b590 push {r4, r7, lr}
+ 8000302: b087 sub sp, #28
+ 8000304: af02 add r7, sp, #8
+ HAL_StatusTypeDef i2c_status;
+ HTPA_Status status_return;
+ uint8_t i2c_data = HTPA_SENSOR_STATUS;
+ 8000306: 1cfb adds r3, r7, #3
+ 8000308: 2202 movs r2, #2
+ 800030a: 701a strb r2, [r3, #0]
+ uint8_t i2c_address = (HTPA_SENSOR_ADDRESS << 1);
+ 800030c: 240f movs r4, #15
+ 800030e: 193b adds r3, r7, r4
+ 8000310: 2234 movs r2, #52 ; 0x34
+ 8000312: 701a strb r2, [r3, #0]
+ uint8_t i2c_readData = 0;
+ 8000314: 1cbb adds r3, r7, #2
+ 8000316: 2200 movs r2, #0
+ 8000318: 701a strb r2, [r3, #0]
+ i2c_address &= 0xFE; // set read/write bit 0 to write (0)
+ 800031a: 193b adds r3, r7, r4
+ 800031c: 193a adds r2, r7, r4
+ 800031e: 7812 ldrb r2, [r2, #0]
+ 8000320: 2101 movs r1, #1
+ 8000322: 438a bics r2, r1
+ 8000324: 701a strb r2, [r3, #0]
+ HAL_I2C_Master_Transmit(&i2c_handle, i2c_address, &i2c_data, 1, I2C_MAX_DELAY);
+ 8000326: 193b adds r3, r7, r4
+ 8000328: 781b ldrb r3, [r3, #0]
+ 800032a: b299 uxth r1, r3
+ 800032c: 1cfa adds r2, r7, #3
+ 800032e: 4831 ldr r0, [pc, #196] ; (80003f4 )
+ 8000330: 2301 movs r3, #1
+ 8000332: 425b negs r3, r3
+ 8000334: 9300 str r3, [sp, #0]
+ 8000336: 2301 movs r3, #1
+ 8000338: f000 fd6e bl 8000e18
+ i2c_address |= 0x01; // set read/write bit 0 to read (1)
+ 800033c: 193b adds r3, r7, r4
+ 800033e: 193a adds r2, r7, r4
+ 8000340: 7812 ldrb r2, [r2, #0]
+ 8000342: 2101 movs r1, #1
+ 8000344: 430a orrs r2, r1
+ 8000346: 701a strb r2, [r3, #0]
+ i2c_status = HAL_I2C_Master_Receive(&i2c_handle, i2c_address, &i2c_readData, 1, I2C_MAX_DELAY);
+ 8000348: 193b adds r3, r7, r4
+ 800034a: 781b ldrb r3, [r3, #0]
+ 800034c: b299 uxth r1, r3
+ 800034e: 230e movs r3, #14
+ 8000350: 18fc adds r4, r7, r3
+ 8000352: 1cba adds r2, r7, #2
+ 8000354: 4827 ldr r0, [pc, #156] ; (80003f4 )
+ 8000356: 2301 movs r3, #1
+ 8000358: 425b negs r3, r3
+ 800035a: 9300 str r3, [sp, #0]
+ 800035c: 2301 movs r3, #1
+ 800035e: f000 fe63 bl 8001028
+ 8000362: 0003 movs r3, r0
+ 8000364: 7023 strb r3, [r4, #0]
+ status_return.block = (i2c_readData >> 4) && 0xFC;
+ 8000366: 1cbb adds r3, r7, #2
+ 8000368: 781b ldrb r3, [r3, #0]
+ 800036a: 091b lsrs r3, r3, #4
+ 800036c: b2db uxtb r3, r3
+ 800036e: 1e5a subs r2, r3, #1
+ 8000370: 4193 sbcs r3, r2
+ 8000372: b2db uxtb r3, r3
+ 8000374: 001a movs r2, r3
+ 8000376: 1d3b adds r3, r7, #4
+ 8000378: 701a strb r2, [r3, #0]
+ status_return.vdd_meas = (i2c_readData >> 2) && 0xFE;
+ 800037a: 1cbb adds r3, r7, #2
+ 800037c: 781b ldrb r3, [r3, #0]
+ 800037e: 089b lsrs r3, r3, #2
+ 8000380: b2db uxtb r3, r3
+ 8000382: 1e5a subs r2, r3, #1
+ 8000384: 4193 sbcs r3, r2
+ 8000386: b2da uxtb r2, r3
+ 8000388: 1d3b adds r3, r7, #4
+ 800038a: 705a strb r2, [r3, #1]
+ status_return.blind = (i2c_readData >> 1) && 0xFE;
+ 800038c: 1cbb adds r3, r7, #2
+ 800038e: 781b ldrb r3, [r3, #0]
+ 8000390: 085b lsrs r3, r3, #1
+ 8000392: b2db uxtb r3, r3
+ 8000394: 1e5a subs r2, r3, #1
+ 8000396: 4193 sbcs r3, r2
+ 8000398: b2da uxtb r2, r3
+ 800039a: 1d3b adds r3, r7, #4
+ 800039c: 709a strb r2, [r3, #2]
+ status_return.eoc = i2c_readData && 0xFE;
+ 800039e: 1cbb adds r3, r7, #2
+ 80003a0: 781b ldrb r3, [r3, #0]
+ 80003a2: 1e5a subs r2, r3, #1
+ 80003a4: 4193 sbcs r3, r2
+ 80003a6: b2da uxtb r2, r3
+ 80003a8: 1d3b adds r3, r7, #4
+ 80003aa: 70da strb r2, [r3, #3]
+ return status_return;
+ 80003ac: 2108 movs r1, #8
+ 80003ae: 187b adds r3, r7, r1
+ 80003b0: 1d3a adds r2, r7, #4
+ 80003b2: 6812 ldr r2, [r2, #0]
+ 80003b4: 601a str r2, [r3, #0]
+ 80003b6: 187a adds r2, r7, r1
+ 80003b8: 2300 movs r3, #0
+ 80003ba: 7811 ldrb r1, [r2, #0]
+ 80003bc: 20ff movs r0, #255 ; 0xff
+ 80003be: 4001 ands r1, r0
+ 80003c0: 20ff movs r0, #255 ; 0xff
+ 80003c2: 4383 bics r3, r0
+ 80003c4: 430b orrs r3, r1
+ 80003c6: 7851 ldrb r1, [r2, #1]
+ 80003c8: 20ff movs r0, #255 ; 0xff
+ 80003ca: 4001 ands r1, r0
+ 80003cc: 0209 lsls r1, r1, #8
+ 80003ce: 480a ldr r0, [pc, #40] ; (80003f8 )
+ 80003d0: 4003 ands r3, r0
+ 80003d2: 430b orrs r3, r1
+ 80003d4: 7891 ldrb r1, [r2, #2]
+ 80003d6: 20ff movs r0, #255 ; 0xff
+ 80003d8: 4001 ands r1, r0
+ 80003da: 0409 lsls r1, r1, #16
+ 80003dc: 4807 ldr r0, [pc, #28] ; (80003fc )
+ 80003de: 4003 ands r3, r0
+ 80003e0: 430b orrs r3, r1
+ 80003e2: 78d2 ldrb r2, [r2, #3]
+ 80003e4: 0612 lsls r2, r2, #24
+ 80003e6: 021b lsls r3, r3, #8
+ 80003e8: 0a1b lsrs r3, r3, #8
+ 80003ea: 4313 orrs r3, r2
+}
+ 80003ec: 0018 movs r0, r3
+ 80003ee: 46bd mov sp, r7
+ 80003f0: b005 add sp, #20
+ 80003f2: bd90 pop {r4, r7, pc}
+ 80003f4: 20000028 .word 0x20000028
+ 80003f8: ffff00ff .word 0xffff00ff
+ 80003fc: ff00ffff .word 0xff00ffff
+
+08000400 :
/**
* @brief The application entry point.
* @retval int
*/
int main(void)
{
- 8000220: b580 push {r7, lr}
- 8000222: af00 add r7, sp, #0
+ 8000400: b580 push {r7, lr}
+ 8000402: af00 add r7, sp, #0
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
- 8000224: f000 fa2e bl 8000684
+ 8000404: f000 f9ce bl 80007a4
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
- 8000228: f000 f807 bl 800023a
+ 8000408: f000 f818 bl 800043c
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
- 800022c: f000 f8d2 bl 80003d4
- MX_CAN_Init();
- 8000230: f000 f85a bl 80002e8
+ 800040c: f000 f8c0 bl 8000590
MX_I2C1_Init();
- 8000234: f000 f88e bl 8000354
-
- /* USER CODE END 2 */
+ 8000410: f000 f876 bl 8000500
+ /* USER CODE BEGIN 2 */
+ HTPA_Init(&hi2c1);
+ 8000414: 4b07 ldr r3, [pc, #28] ; (8000434 )
+ 8000416: 0018 movs r0, r3
+ 8000418: f7ff ff02 bl 8000220
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
- 8000238: e7fe b.n 8000238
+ {
+ temp_status = HTPA_GetStatus();
+ 800041c: f7ff ff70 bl 8000300
+ 8000420: 0003 movs r3, r0
+ 8000422: 001a movs r2, r3
+ 8000424: 4b04 ldr r3, [pc, #16] ; (8000438 )
+ 8000426: 601a str r2, [r3, #0]
+ HAL_Delay(1000);
+ 8000428: 23fa movs r3, #250 ; 0xfa
+ 800042a: 009b lsls r3, r3, #2
+ 800042c: 0018 movs r0, r3
+ 800042e: f000 fa1d bl 800086c
+ temp_status = HTPA_GetStatus();
+ 8000432: e7f3 b.n 800041c
+ 8000434: 2000007c .word 0x2000007c
+ 8000438: 200000d0 .word 0x200000d0
-0800023a :
+0800043c :
/**
* @brief System Clock Configuration
* @retval None
*/
void SystemClock_Config(void)
{
- 800023a: b590 push {r4, r7, lr}
- 800023c: b099 sub sp, #100 ; 0x64
- 800023e: af00 add r7, sp, #0
+ 800043c: b590 push {r4, r7, lr}
+ 800043e: b099 sub sp, #100 ; 0x64
+ 8000440: af00 add r7, sp, #0
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- 8000240: 242c movs r4, #44 ; 0x2c
- 8000242: 193b adds r3, r7, r4
- 8000244: 0018 movs r0, r3
- 8000246: 2334 movs r3, #52 ; 0x34
- 8000248: 001a movs r2, r3
- 800024a: 2100 movs r1, #0
- 800024c: f001 fcaa bl 8001ba4
+ 8000442: 242c movs r4, #44 ; 0x2c
+ 8000444: 193b adds r3, r7, r4
+ 8000446: 0018 movs r0, r3
+ 8000448: 2334 movs r3, #52 ; 0x34
+ 800044a: 001a movs r2, r3
+ 800044c: 2100 movs r1, #0
+ 800044e: f002 f82e bl 80024ae
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- 8000250: 231c movs r3, #28
- 8000252: 18fb adds r3, r7, r3
- 8000254: 0018 movs r0, r3
- 8000256: 2310 movs r3, #16
- 8000258: 001a movs r2, r3
- 800025a: 2100 movs r1, #0
- 800025c: f001 fca2 bl 8001ba4
+ 8000452: 231c movs r3, #28
+ 8000454: 18fb adds r3, r7, r3
+ 8000456: 0018 movs r0, r3
+ 8000458: 2310 movs r3, #16
+ 800045a: 001a movs r2, r3
+ 800045c: 2100 movs r1, #0
+ 800045e: f002 f826 bl 80024ae
RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
- 8000260: 1d3b adds r3, r7, #4
- 8000262: 0018 movs r0, r3
- 8000264: 2318 movs r3, #24
- 8000266: 001a movs r2, r3
- 8000268: 2100 movs r1, #0
- 800026a: f001 fc9b bl 8001ba4
+ 8000462: 1d3b adds r3, r7, #4
+ 8000464: 0018 movs r0, r3
+ 8000466: 2318 movs r3, #24
+ 8000468: 001a movs r2, r3
+ 800046a: 2100 movs r1, #0
+ 800046c: f002 f81f bl 80024ae
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
- 800026e: 0021 movs r1, r4
- 8000270: 187b adds r3, r7, r1
- 8000272: 2202 movs r2, #2
- 8000274: 601a str r2, [r3, #0]
+ 8000470: 0021 movs r1, r4
+ 8000472: 187b adds r3, r7, r1
+ 8000474: 2202 movs r2, #2
+ 8000476: 601a str r2, [r3, #0]
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- 8000276: 187b adds r3, r7, r1
- 8000278: 2201 movs r2, #1
- 800027a: 60da str r2, [r3, #12]
+ 8000478: 187b adds r3, r7, r1
+ 800047a: 2201 movs r2, #1
+ 800047c: 60da str r2, [r3, #12]
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- 800027c: 187b adds r3, r7, r1
- 800027e: 2210 movs r2, #16
- 8000280: 611a str r2, [r3, #16]
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
- 8000282: 187b adds r3, r7, r1
- 8000284: 2200 movs r2, #0
- 8000286: 625a str r2, [r3, #36] ; 0x24
+ 800047e: 187b adds r3, r7, r1
+ 8000480: 2210 movs r2, #16
+ 8000482: 611a str r2, [r3, #16]
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
+ 8000484: 187b adds r3, r7, r1
+ 8000486: 2202 movs r2, #2
+ 8000488: 625a str r2, [r3, #36] ; 0x24
+ RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
+ 800048a: 187b adds r3, r7, r1
+ 800048c: 2280 movs r2, #128 ; 0x80
+ 800048e: 0212 lsls r2, r2, #8
+ 8000490: 629a str r2, [r3, #40] ; 0x28
+ RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL2;
+ 8000492: 187b adds r3, r7, r1
+ 8000494: 2200 movs r2, #0
+ 8000496: 62da str r2, [r3, #44] ; 0x2c
+ RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV1;
+ 8000498: 187b adds r3, r7, r1
+ 800049a: 2200 movs r2, #0
+ 800049c: 631a str r2, [r3, #48] ; 0x30
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- 8000288: 187b adds r3, r7, r1
- 800028a: 0018 movs r0, r3
- 800028c: f000 fea6 bl 8000fdc
- 8000290: 1e03 subs r3, r0, #0
- 8000292: d001 beq.n 8000298
+ 800049e: 187b adds r3, r7, r1
+ 80004a0: 0018 movs r0, r3
+ 80004a2: f001 fa17 bl 80018d4
+ 80004a6: 1e03 subs r3, r0, #0
+ 80004a8: d001 beq.n 80004ae
{
Error_Handler();
- 8000294: f000 f8d2 bl 800043c
+ 80004aa: f000 f8a5 bl 80005f8
}
/** Initializes the CPU, AHB and APB buses clocks
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- 8000298: 211c movs r1, #28
- 800029a: 187b adds r3, r7, r1
- 800029c: 2207 movs r2, #7
- 800029e: 601a str r2, [r3, #0]
+ 80004ae: 211c movs r1, #28
+ 80004b0: 187b adds r3, r7, r1
+ 80004b2: 2207 movs r2, #7
+ 80004b4: 601a str r2, [r3, #0]
|RCC_CLOCKTYPE_PCLK1;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
- 80002a0: 187b adds r3, r7, r1
- 80002a2: 2200 movs r2, #0
- 80002a4: 605a str r2, [r3, #4]
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
+ 80004b6: 187b adds r3, r7, r1
+ 80004b8: 2202 movs r2, #2
+ 80004ba: 605a str r2, [r3, #4]
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- 80002a6: 187b adds r3, r7, r1
- 80002a8: 2200 movs r2, #0
- 80002aa: 609a str r2, [r3, #8]
+ 80004bc: 187b adds r3, r7, r1
+ 80004be: 2200 movs r2, #0
+ 80004c0: 609a str r2, [r3, #8]
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
- 80002ac: 187b adds r3, r7, r1
- 80002ae: 2200 movs r2, #0
- 80002b0: 60da str r2, [r3, #12]
+ 80004c2: 187b adds r3, r7, r1
+ 80004c4: 2200 movs r2, #0
+ 80004c6: 60da str r2, [r3, #12]
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
- 80002b2: 187b adds r3, r7, r1
- 80002b4: 2100 movs r1, #0
- 80002b6: 0018 movs r0, r3
- 80002b8: f001 fa16 bl 80016e8
- 80002bc: 1e03 subs r3, r0, #0
- 80002be: d001 beq.n 80002c4
+ 80004c8: 187b adds r3, r7, r1
+ 80004ca: 2100 movs r1, #0
+ 80004cc: 0018 movs r0, r3
+ 80004ce: f001 fd87 bl 8001fe0
+ 80004d2: 1e03 subs r3, r0, #0
+ 80004d4: d001 beq.n 80004da
{
Error_Handler();
- 80002c0: f000 f8bc bl 800043c
+ 80004d6: f000 f88f bl 80005f8
}
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_I2C1;
- 80002c4: 1d3b adds r3, r7, #4
- 80002c6: 2220 movs r2, #32
- 80002c8: 601a str r2, [r3, #0]
- PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_HSI;
- 80002ca: 1d3b adds r3, r7, #4
- 80002cc: 2200 movs r2, #0
- 80002ce: 60da str r2, [r3, #12]
+ 80004da: 1d3b adds r3, r7, #4
+ 80004dc: 2220 movs r2, #32
+ 80004de: 601a str r2, [r3, #0]
+ PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_SYSCLK;
+ 80004e0: 1d3b adds r3, r7, #4
+ 80004e2: 2210 movs r2, #16
+ 80004e4: 60da str r2, [r3, #12]
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- 80002d0: 1d3b adds r3, r7, #4
- 80002d2: 0018 movs r0, r3
- 80002d4: f001 fb54 bl 8001980
- 80002d8: 1e03 subs r3, r0, #0
- 80002da: d001 beq.n 80002e0
+ 80004e6: 1d3b adds r3, r7, #4
+ 80004e8: 0018 movs r0, r3
+ 80004ea: f001 fec5 bl 8002278
+ 80004ee: 1e03 subs r3, r0, #0
+ 80004f0: d001 beq.n 80004f6
{
Error_Handler();
- 80002dc: f000 f8ae bl 800043c
+ 80004f2: f000 f881 bl 80005f8
}
}
- 80002e0: 46c0 nop ; (mov r8, r8)
- 80002e2: 46bd mov sp, r7
- 80002e4: b019 add sp, #100 ; 0x64
- 80002e6: bd90 pop {r4, r7, pc}
+ 80004f6: 46c0 nop ; (mov r8, r8)
+ 80004f8: 46bd mov sp, r7
+ 80004fa: b019 add sp, #100 ; 0x64
+ 80004fc: bd90 pop {r4, r7, pc}
+ ...
-080002e8 :
- * @brief CAN Initialization Function
- * @param None
- * @retval None
- */
-static void MX_CAN_Init(void)
-{
- 80002e8: b580 push {r7, lr}
- 80002ea: af00 add r7, sp, #0
- /* USER CODE END CAN_Init 0 */
-
- /* USER CODE BEGIN CAN_Init 1 */
-
- /* USER CODE END CAN_Init 1 */
- hcan.Instance = CAN;
- 80002ec: 4b17 ldr r3, [pc, #92] ; (800034c )
- 80002ee: 4a18 ldr r2, [pc, #96] ; (8000350 )
- 80002f0: 601a str r2, [r3, #0]
- hcan.Init.Prescaler = 16;
- 80002f2: 4b16 ldr r3, [pc, #88] ; (800034c )
- 80002f4: 2210 movs r2, #16
- 80002f6: 605a str r2, [r3, #4]
- hcan.Init.Mode = CAN_MODE_NORMAL;
- 80002f8: 4b14 ldr r3, [pc, #80] ; (800034c )
- 80002fa: 2200 movs r2, #0
- 80002fc: 609a str r2, [r3, #8]
- hcan.Init.SyncJumpWidth = CAN_SJW_1TQ;
- 80002fe: 4b13 ldr r3, [pc, #76] ; (800034c )
- 8000300: 2200 movs r2, #0
- 8000302: 60da str r2, [r3, #12]
- hcan.Init.TimeSeg1 = CAN_BS1_1TQ;
- 8000304: 4b11 ldr r3, [pc, #68] ; (800034c )
- 8000306: 2200 movs r2, #0
- 8000308: 611a str r2, [r3, #16]
- hcan.Init.TimeSeg2 = CAN_BS2_1TQ;
- 800030a: 4b10 ldr r3, [pc, #64] ; (800034c )
- 800030c: 2200 movs r2, #0
- 800030e: 615a str r2, [r3, #20]
- hcan.Init.TimeTriggeredMode = DISABLE;
- 8000310: 4b0e ldr r3, [pc, #56] ; (800034c )
- 8000312: 2200 movs r2, #0
- 8000314: 761a strb r2, [r3, #24]
- hcan.Init.AutoBusOff = DISABLE;
- 8000316: 4b0d ldr r3, [pc, #52] ; (800034c )
- 8000318: 2200 movs r2, #0
- 800031a: 765a strb r2, [r3, #25]
- hcan.Init.AutoWakeUp = DISABLE;
- 800031c: 4b0b ldr r3, [pc, #44] ; (800034c )
- 800031e: 2200 movs r2, #0
- 8000320: 769a strb r2, [r3, #26]
- hcan.Init.AutoRetransmission = DISABLE;
- 8000322: 4b0a ldr r3, [pc, #40] ; (800034c )
- 8000324: 2200 movs r2, #0
- 8000326: 76da strb r2, [r3, #27]
- hcan.Init.ReceiveFifoLocked = DISABLE;
- 8000328: 4b08 ldr r3, [pc, #32] ; (800034c )
- 800032a: 2200 movs r2, #0
- 800032c: 771a strb r2, [r3, #28]
- hcan.Init.TransmitFifoPriority = DISABLE;
- 800032e: 4b07 ldr r3, [pc, #28] ; (800034c )
- 8000330: 2200 movs r2, #0
- 8000332: 775a strb r2, [r3, #29]
- if (HAL_CAN_Init(&hcan) != HAL_OK)
- 8000334: 4b05 ldr r3, [pc, #20] ; (800034c )
- 8000336: 0018 movs r0, r3
- 8000338: f000 fa08 bl 800074c
- 800033c: 1e03 subs r3, r0, #0
- 800033e: d001 beq.n 8000344
- {
- Error_Handler();
- 8000340: f000 f87c bl 800043c
- }
- /* USER CODE BEGIN CAN_Init 2 */
-
- /* USER CODE END CAN_Init 2 */
-
-}
- 8000344: 46c0 nop ; (mov r8, r8)
- 8000346: 46bd mov sp, r7
- 8000348: bd80 pop {r7, pc}
- 800034a: 46c0 nop ; (mov r8, r8)
- 800034c: 20000028 .word 0x20000028
- 8000350: 40006400 .word 0x40006400
-
-08000354 :
+08000500 :
* @brief I2C1 Initialization Function
* @param None
* @retval None
*/
static void MX_I2C1_Init(void)
{
- 8000354: b580 push {r7, lr}
- 8000356: af00 add r7, sp, #0
+ 8000500: b580 push {r7, lr}
+ 8000502: af00 add r7, sp, #0
/* USER CODE END I2C1_Init 0 */
/* USER CODE BEGIN I2C1_Init 1 */
/* USER CODE END I2C1_Init 1 */
hi2c1.Instance = I2C1;
- 8000358: 4b1b ldr r3, [pc, #108] ; (80003c8 )
- 800035a: 4a1c ldr r2, [pc, #112] ; (80003cc )
- 800035c: 601a str r2, [r3, #0]
- hi2c1.Init.Timing = 0x2000090E;
- 800035e: 4b1a ldr r3, [pc, #104] ; (80003c8 )
- 8000360: 4a1b ldr r2, [pc, #108] ; (80003d0 )
- 8000362: 605a str r2, [r3, #4]
+ 8000504: 4b1f ldr r3, [pc, #124] ; (8000584 )
+ 8000506: 4a20 ldr r2, [pc, #128] ; (8000588 )
+ 8000508: 601a str r2, [r3, #0]
+ hi2c1.Init.Timing = 0x00000107;
+ 800050a: 4b1e ldr r3, [pc, #120] ; (8000584 )
+ 800050c: 2208 movs r2, #8
+ 800050e: 32ff adds r2, #255 ; 0xff
+ 8000510: 605a str r2, [r3, #4]
hi2c1.Init.OwnAddress1 = 0;
- 8000364: 4b18 ldr r3, [pc, #96] ; (80003c8 )
- 8000366: 2200 movs r2, #0
- 8000368: 609a str r2, [r3, #8]
+ 8000512: 4b1c ldr r3, [pc, #112] ; (8000584 )
+ 8000514: 2200 movs r2, #0
+ 8000516: 609a str r2, [r3, #8]
hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
- 800036a: 4b17 ldr r3, [pc, #92] ; (80003c8 )
- 800036c: 2201 movs r2, #1
- 800036e: 60da str r2, [r3, #12]
+ 8000518: 4b1a ldr r3, [pc, #104] ; (8000584 )
+ 800051a: 2201 movs r2, #1
+ 800051c: 60da str r2, [r3, #12]
hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
- 8000370: 4b15 ldr r3, [pc, #84] ; (80003c8 )
- 8000372: 2200 movs r2, #0
- 8000374: 611a str r2, [r3, #16]
+ 800051e: 4b19 ldr r3, [pc, #100] ; (8000584 )
+ 8000520: 2200 movs r2, #0
+ 8000522: 611a str r2, [r3, #16]
hi2c1.Init.OwnAddress2 = 0;
- 8000376: 4b14 ldr r3, [pc, #80] ; (80003c8 )
- 8000378: 2200 movs r2, #0
- 800037a: 615a str r2, [r3, #20]
+ 8000524: 4b17 ldr r3, [pc, #92] ; (8000584 )
+ 8000526: 2200 movs r2, #0
+ 8000528: 615a str r2, [r3, #20]
hi2c1.Init.OwnAddress2Masks = I2C_OA2_NOMASK;
- 800037c: 4b12 ldr r3, [pc, #72] ; (80003c8 )
- 800037e: 2200 movs r2, #0
- 8000380: 619a str r2, [r3, #24]
+ 800052a: 4b16 ldr r3, [pc, #88] ; (8000584 )
+ 800052c: 2200 movs r2, #0
+ 800052e: 619a str r2, [r3, #24]
hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
- 8000382: 4b11 ldr r3, [pc, #68] ; (80003c8 )
- 8000384: 2200 movs r2, #0
- 8000386: 61da str r2, [r3, #28]
+ 8000530: 4b14 ldr r3, [pc, #80] ; (8000584 )
+ 8000532: 2200 movs r2, #0
+ 8000534: 61da str r2, [r3, #28]
hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
- 8000388: 4b0f ldr r3, [pc, #60] ; (80003c8 )
- 800038a: 2200 movs r2, #0
- 800038c: 621a str r2, [r3, #32]
+ 8000536: 4b13 ldr r3, [pc, #76] ; (8000584 )
+ 8000538: 2200 movs r2, #0
+ 800053a: 621a str r2, [r3, #32]
if (HAL_I2C_Init(&hi2c1) != HAL_OK)
- 800038e: 4b0e ldr r3, [pc, #56] ; (80003c8 )
- 8000390: 0018 movs r0, r3
- 8000392: f000 fcf5 bl 8000d80
- 8000396: 1e03 subs r3, r0, #0
- 8000398: d001 beq.n 800039e
+ 800053c: 4b11 ldr r3, [pc, #68] ; (8000584 )
+ 800053e: 0018 movs r0, r3
+ 8000540: f000 fbd4 bl 8000cec
+ 8000544: 1e03 subs r3, r0, #0
+ 8000546: d001 beq.n 800054c
{
Error_Handler();
- 800039a: f000 f84f bl 800043c
+ 8000548: f000 f856 bl 80005f8
}
/** Configure Analogue filter
*/
if (HAL_I2CEx_ConfigAnalogFilter(&hi2c1, I2C_ANALOGFILTER_ENABLE) != HAL_OK)
- 800039e: 4b0a ldr r3, [pc, #40] ; (80003c8 )
- 80003a0: 2100 movs r1, #0
- 80003a2: 0018 movs r0, r3
- 80003a4: f000 fd82 bl 8000eac
- 80003a8: 1e03 subs r3, r0, #0
- 80003aa: d001 beq.n 80003b0
+ 800054c: 4b0d ldr r3, [pc, #52] ; (8000584 )
+ 800054e: 2100 movs r1, #0
+ 8000550: 0018 movs r0, r3
+ 8000552: f001 f927 bl 80017a4
+ 8000556: 1e03 subs r3, r0, #0
+ 8000558: d001 beq.n 800055e
{
Error_Handler();
- 80003ac: f000 f846 bl 800043c
+ 800055a: f000 f84d bl 80005f8
}
/** Configure Digital filter
*/
if (HAL_I2CEx_ConfigDigitalFilter(&hi2c1, 0) != HAL_OK)
- 80003b0: 4b05 ldr r3, [pc, #20] ; (80003c8 )
- 80003b2: 2100 movs r1, #0
- 80003b4: 0018 movs r0, r3
- 80003b6: f000 fdc5 bl 8000f44
- 80003ba: 1e03 subs r3, r0, #0
- 80003bc: d001 beq.n 80003c2
+ 800055e: 4b09 ldr r3, [pc, #36] ; (8000584 )
+ 8000560: 2100 movs r1, #0
+ 8000562: 0018 movs r0, r3
+ 8000564: f001 f96a bl 800183c
+ 8000568: 1e03 subs r3, r0, #0
+ 800056a: d001 beq.n 8000570
{
Error_Handler();
- 80003be: f000 f83d bl 800043c
+ 800056c: f000 f844 bl 80005f8
}
+
+ /** I2C Fast mode Plus enable
+ */
+ __HAL_SYSCFG_FASTMODEPLUS_ENABLE(I2C_FASTMODEPLUS_I2C1);
+ 8000570: 4b06 ldr r3, [pc, #24] ; (800058c )
+ 8000572: 681a ldr r2, [r3, #0]
+ 8000574: 4b05 ldr r3, [pc, #20] ; (800058c )
+ 8000576: 2180 movs r1, #128 ; 0x80
+ 8000578: 0349 lsls r1, r1, #13
+ 800057a: 430a orrs r2, r1
+ 800057c: 601a str r2, [r3, #0]
/* USER CODE BEGIN I2C1_Init 2 */
/* USER CODE END I2C1_Init 2 */
}
- 80003c2: 46c0 nop ; (mov r8, r8)
- 80003c4: 46bd mov sp, r7
- 80003c6: bd80 pop {r7, pc}
- 80003c8: 20000050 .word 0x20000050
- 80003cc: 40005400 .word 0x40005400
- 80003d0: 2000090e .word 0x2000090e
+ 800057e: 46c0 nop ; (mov r8, r8)
+ 8000580: 46bd mov sp, r7
+ 8000582: bd80 pop {r7, pc}
+ 8000584: 2000007c .word 0x2000007c
+ 8000588: 40005400 .word 0x40005400
+ 800058c: 40010000 .word 0x40010000
-080003d4 :
+08000590 :
* @brief GPIO Initialization Function
* @param None
* @retval None
*/
static void MX_GPIO_Init(void)
{
- 80003d4: b580 push {r7, lr}
- 80003d6: b084 sub sp, #16
- 80003d8: af00 add r7, sp, #0
+ 8000590: b580 push {r7, lr}
+ 8000592: b084 sub sp, #16
+ 8000594: af00 add r7, sp, #0
+/* USER CODE BEGIN MX_GPIO_Init_1 */
+/* USER CODE END MX_GPIO_Init_1 */
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOF_CLK_ENABLE();
- 80003da: 4b17 ldr r3, [pc, #92] ; (8000438 )
- 80003dc: 695a ldr r2, [r3, #20]
- 80003de: 4b16 ldr r3, [pc, #88] ; (8000438 )
- 80003e0: 2180 movs r1, #128 ; 0x80
- 80003e2: 03c9 lsls r1, r1, #15
- 80003e4: 430a orrs r2, r1
- 80003e6: 615a str r2, [r3, #20]
- 80003e8: 4b13 ldr r3, [pc, #76] ; (8000438 )
- 80003ea: 695a ldr r2, [r3, #20]
- 80003ec: 2380 movs r3, #128 ; 0x80
- 80003ee: 03db lsls r3, r3, #15
- 80003f0: 4013 ands r3, r2
- 80003f2: 60fb str r3, [r7, #12]
- 80003f4: 68fb ldr r3, [r7, #12]
+ 8000596: 4b17 ldr r3, [pc, #92] ; (80005f4 )
+ 8000598: 695a ldr r2, [r3, #20]
+ 800059a: 4b16 ldr r3, [pc, #88] ; (80005f4 )
+ 800059c: 2180 movs r1, #128 ; 0x80
+ 800059e: 03c9 lsls r1, r1, #15
+ 80005a0: 430a orrs r2, r1
+ 80005a2: 615a str r2, [r3, #20]
+ 80005a4: 4b13 ldr r3, [pc, #76] ; (80005f4 )
+ 80005a6: 695a ldr r2, [r3, #20]
+ 80005a8: 2380 movs r3, #128 ; 0x80
+ 80005aa: 03db lsls r3, r3, #15
+ 80005ac: 4013 ands r3, r2
+ 80005ae: 60fb str r3, [r7, #12]
+ 80005b0: 68fb ldr r3, [r7, #12]
__HAL_RCC_GPIOA_CLK_ENABLE();
- 80003f6: 4b10 ldr r3, [pc, #64] ; (8000438 )
- 80003f8: 695a ldr r2, [r3, #20]
- 80003fa: 4b0f ldr r3, [pc, #60] ; (8000438 )
- 80003fc: 2180 movs r1, #128 ; 0x80
- 80003fe: 0289 lsls r1, r1, #10
- 8000400: 430a orrs r2, r1
- 8000402: 615a str r2, [r3, #20]
- 8000404: 4b0c ldr r3, [pc, #48] ; (8000438 )
- 8000406: 695a ldr r2, [r3, #20]
- 8000408: 2380 movs r3, #128 ; 0x80
- 800040a: 029b lsls r3, r3, #10
- 800040c: 4013 ands r3, r2
- 800040e: 60bb str r3, [r7, #8]
- 8000410: 68bb ldr r3, [r7, #8]
+ 80005b2: 4b10 ldr r3, [pc, #64] ; (80005f4 )
+ 80005b4: 695a ldr r2, [r3, #20]
+ 80005b6: 4b0f ldr r3, [pc, #60] ; (80005f4 )
+ 80005b8: 2180 movs r1, #128 ; 0x80
+ 80005ba: 0289 lsls r1, r1, #10
+ 80005bc: 430a orrs r2, r1
+ 80005be: 615a str r2, [r3, #20]
+ 80005c0: 4b0c ldr r3, [pc, #48] ; (80005f4 )
+ 80005c2: 695a ldr r2, [r3, #20]
+ 80005c4: 2380 movs r3, #128 ; 0x80
+ 80005c6: 029b lsls r3, r3, #10
+ 80005c8: 4013 ands r3, r2
+ 80005ca: 60bb str r3, [r7, #8]
+ 80005cc: 68bb ldr r3, [r7, #8]
__HAL_RCC_GPIOB_CLK_ENABLE();
- 8000412: 4b09 ldr r3, [pc, #36] ; (8000438 )
- 8000414: 695a ldr r2, [r3, #20]
- 8000416: 4b08 ldr r3, [pc, #32] ; (8000438 )
- 8000418: 2180 movs r1, #128 ; 0x80
- 800041a: 02c9 lsls r1, r1, #11
- 800041c: 430a orrs r2, r1
- 800041e: 615a str r2, [r3, #20]
- 8000420: 4b05 ldr r3, [pc, #20] ; (8000438 )
- 8000422: 695a ldr r2, [r3, #20]
- 8000424: 2380 movs r3, #128 ; 0x80
- 8000426: 02db lsls r3, r3, #11
- 8000428: 4013 ands r3, r2
- 800042a: 607b str r3, [r7, #4]
- 800042c: 687b ldr r3, [r7, #4]
+ 80005ce: 4b09 ldr r3, [pc, #36] ; (80005f4 )
+ 80005d0: 695a ldr r2, [r3, #20]
+ 80005d2: 4b08 ldr r3, [pc, #32] ; (80005f4 )
+ 80005d4: 2180 movs r1, #128 ; 0x80
+ 80005d6: 02c9 lsls r1, r1, #11
+ 80005d8: 430a orrs r2, r1
+ 80005da: 615a str r2, [r3, #20]
+ 80005dc: 4b05 ldr r3, [pc, #20] ; (80005f4 )
+ 80005de: 695a ldr r2, [r3, #20]
+ 80005e0: 2380 movs r3, #128 ; 0x80
+ 80005e2: 02db lsls r3, r3, #11
+ 80005e4: 4013 ands r3, r2
+ 80005e6: 607b str r3, [r7, #4]
+ 80005e8: 687b ldr r3, [r7, #4]
+/* USER CODE BEGIN MX_GPIO_Init_2 */
+/* USER CODE END MX_GPIO_Init_2 */
}
- 800042e: 46c0 nop ; (mov r8, r8)
- 8000430: 46bd mov sp, r7
- 8000432: b004 add sp, #16
- 8000434: bd80 pop {r7, pc}
- 8000436: 46c0 nop ; (mov r8, r8)
- 8000438: 40021000 .word 0x40021000
+ 80005ea: 46c0 nop ; (mov r8, r8)
+ 80005ec: 46bd mov sp, r7
+ 80005ee: b004 add sp, #16
+ 80005f0: bd80 pop {r7, pc}
+ 80005f2: 46c0 nop ; (mov r8, r8)
+ 80005f4: 40021000 .word 0x40021000
-0800043c :
+080005f8 :
/**
* @brief This function is executed in case of error occurrence.
* @retval None
*/
void Error_Handler(void)
{
- 800043c: b580 push {r7, lr}
- 800043e: af00 add r7, sp, #0
+ 80005f8: b580 push {r7, lr}
+ 80005fa: af00 add r7, sp, #0
\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)
{
__ASM volatile ("cpsid i" : : : "memory");
- 8000440: b672 cpsid i
+ 80005fc: b672 cpsid i
}
- 8000442: 46c0 nop ; (mov r8, r8)
+ 80005fe: 46c0 nop ; (mov r8, r8)
/* USER CODE BEGIN Error_Handler_Debug */
/* User can add his own implementation to report the HAL error return state */
__disable_irq();
while (1)
- 8000444: e7fe b.n 8000444
+ 8000600: e7fe b.n 8000600
...
-08000448 :
+08000604 :
/* USER CODE END 0 */
/**
* Initializes the Global MSP.
*/
void HAL_MspInit(void)
{
- 8000448: b580 push {r7, lr}
- 800044a: b082 sub sp, #8
- 800044c: af00 add r7, sp, #0
+ 8000604: b580 push {r7, lr}
+ 8000606: b082 sub sp, #8
+ 8000608: af00 add r7, sp, #0
/* USER CODE BEGIN MspInit 0 */
/* USER CODE END MspInit 0 */
__HAL_RCC_SYSCFG_CLK_ENABLE();
- 800044e: 4b0f ldr r3, [pc, #60] ; (800048c )
- 8000450: 699a ldr r2, [r3, #24]
- 8000452: 4b0e ldr r3, [pc, #56] ; (800048c )
- 8000454: 2101 movs r1, #1
- 8000456: 430a orrs r2, r1
- 8000458: 619a str r2, [r3, #24]
- 800045a: 4b0c ldr r3, [pc, #48] ; (800048c )
- 800045c: 699b ldr r3, [r3, #24]
- 800045e: 2201 movs r2, #1
- 8000460: 4013 ands r3, r2
- 8000462: 607b str r3, [r7, #4]
- 8000464: 687b ldr r3, [r7, #4]
+ 800060a: 4b0f ldr r3, [pc, #60] ; (8000648 )
+ 800060c: 699a ldr r2, [r3, #24]
+ 800060e: 4b0e ldr r3, [pc, #56] ; (8000648 )
+ 8000610: 2101 movs r1, #1
+ 8000612: 430a orrs r2, r1
+ 8000614: 619a str r2, [r3, #24]
+ 8000616: 4b0c ldr r3, [pc, #48] ; (8000648 )
+ 8000618: 699b ldr r3, [r3, #24]
+ 800061a: 2201 movs r2, #1
+ 800061c: 4013 ands r3, r2
+ 800061e: 607b str r3, [r7, #4]
+ 8000620: 687b ldr r3, [r7, #4]
__HAL_RCC_PWR_CLK_ENABLE();
- 8000466: 4b09 ldr r3, [pc, #36] ; (800048c )
- 8000468: 69da ldr r2, [r3, #28]
- 800046a: 4b08 ldr r3, [pc, #32] ; (800048c )
- 800046c: 2180 movs r1, #128 ; 0x80
- 800046e: 0549 lsls r1, r1, #21
- 8000470: 430a orrs r2, r1
- 8000472: 61da str r2, [r3, #28]
- 8000474: 4b05 ldr r3, [pc, #20] ; (800048c )
- 8000476: 69da ldr r2, [r3, #28]
- 8000478: 2380 movs r3, #128 ; 0x80
- 800047a: 055b lsls r3, r3, #21
- 800047c: 4013 ands r3, r2
- 800047e: 603b str r3, [r7, #0]
- 8000480: 683b ldr r3, [r7, #0]
+ 8000622: 4b09 ldr r3, [pc, #36] ; (8000648 )
+ 8000624: 69da ldr r2, [r3, #28]
+ 8000626: 4b08 ldr r3, [pc, #32] ; (8000648 )
+ 8000628: 2180 movs r1, #128 ; 0x80
+ 800062a: 0549 lsls r1, r1, #21
+ 800062c: 430a orrs r2, r1
+ 800062e: 61da str r2, [r3, #28]
+ 8000630: 4b05 ldr r3, [pc, #20] ; (8000648 )
+ 8000632: 69da ldr r2, [r3, #28]
+ 8000634: 2380 movs r3, #128 ; 0x80
+ 8000636: 055b lsls r3, r3, #21
+ 8000638: 4013 ands r3, r2
+ 800063a: 603b str r3, [r7, #0]
+ 800063c: 683b ldr r3, [r7, #0]
/* System interrupt init*/
/* USER CODE BEGIN MspInit 1 */
/* USER CODE END MspInit 1 */
}
- 8000482: 46c0 nop ; (mov r8, r8)
- 8000484: 46bd mov sp, r7
- 8000486: b002 add sp, #8
- 8000488: bd80 pop {r7, pc}
- 800048a: 46c0 nop ; (mov r8, r8)
- 800048c: 40021000 .word 0x40021000
+ 800063e: 46c0 nop ; (mov r8, r8)
+ 8000640: 46bd mov sp, r7
+ 8000642: b002 add sp, #8
+ 8000644: bd80 pop {r7, pc}
+ 8000646: 46c0 nop ; (mov r8, r8)
+ 8000648: 40021000 .word 0x40021000
-08000490 :
-* This function configures the hardware resources used in this example
-* @param hcan: CAN handle pointer
-* @retval None
-*/
-void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
-{
- 8000490: b590 push {r4, r7, lr}
- 8000492: b08b sub sp, #44 ; 0x2c
- 8000494: af00 add r7, sp, #0
- 8000496: 6078 str r0, [r7, #4]
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- 8000498: 2414 movs r4, #20
- 800049a: 193b adds r3, r7, r4
- 800049c: 0018 movs r0, r3
- 800049e: 2314 movs r3, #20
- 80004a0: 001a movs r2, r3
- 80004a2: 2100 movs r1, #0
- 80004a4: f001 fb7e bl 8001ba4
- if(hcan->Instance==CAN)
- 80004a8: 687b ldr r3, [r7, #4]
- 80004aa: 681b ldr r3, [r3, #0]
- 80004ac: 4a1d ldr r2, [pc, #116] ; (8000524 )
- 80004ae: 4293 cmp r3, r2
- 80004b0: d133 bne.n 800051a
- {
- /* USER CODE BEGIN CAN_MspInit 0 */
-
- /* USER CODE END CAN_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_CAN1_CLK_ENABLE();
- 80004b2: 4b1d ldr r3, [pc, #116] ; (8000528 )
- 80004b4: 69da ldr r2, [r3, #28]
- 80004b6: 4b1c ldr r3, [pc, #112] ; (8000528 )
- 80004b8: 2180 movs r1, #128 ; 0x80
- 80004ba: 0489 lsls r1, r1, #18
- 80004bc: 430a orrs r2, r1
- 80004be: 61da str r2, [r3, #28]
- 80004c0: 4b19 ldr r3, [pc, #100] ; (8000528 )
- 80004c2: 69da ldr r2, [r3, #28]
- 80004c4: 2380 movs r3, #128 ; 0x80
- 80004c6: 049b lsls r3, r3, #18
- 80004c8: 4013 ands r3, r2
- 80004ca: 613b str r3, [r7, #16]
- 80004cc: 693b ldr r3, [r7, #16]
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- 80004ce: 4b16 ldr r3, [pc, #88] ; (8000528 )
- 80004d0: 695a ldr r2, [r3, #20]
- 80004d2: 4b15 ldr r3, [pc, #84] ; (8000528 )
- 80004d4: 2180 movs r1, #128 ; 0x80
- 80004d6: 0289 lsls r1, r1, #10
- 80004d8: 430a orrs r2, r1
- 80004da: 615a str r2, [r3, #20]
- 80004dc: 4b12 ldr r3, [pc, #72] ; (8000528 )
- 80004de: 695a ldr r2, [r3, #20]
- 80004e0: 2380 movs r3, #128 ; 0x80
- 80004e2: 029b lsls r3, r3, #10
- 80004e4: 4013 ands r3, r2
- 80004e6: 60fb str r3, [r7, #12]
- 80004e8: 68fb ldr r3, [r7, #12]
- /**CAN GPIO Configuration
- PA11 ------> CAN_RX
- PA12 ------> CAN_TX
- */
- GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
- 80004ea: 193b adds r3, r7, r4
- 80004ec: 22c0 movs r2, #192 ; 0xc0
- 80004ee: 0152 lsls r2, r2, #5
- 80004f0: 601a str r2, [r3, #0]
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 80004f2: 0021 movs r1, r4
- 80004f4: 187b adds r3, r7, r1
- 80004f6: 2202 movs r2, #2
- 80004f8: 605a str r2, [r3, #4]
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- 80004fa: 187b adds r3, r7, r1
- 80004fc: 2200 movs r2, #0
- 80004fe: 609a str r2, [r3, #8]
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 8000500: 187b adds r3, r7, r1
- 8000502: 2203 movs r2, #3
- 8000504: 60da str r2, [r3, #12]
- GPIO_InitStruct.Alternate = GPIO_AF4_CAN;
- 8000506: 187b adds r3, r7, r1
- 8000508: 2204 movs r2, #4
- 800050a: 611a str r2, [r3, #16]
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 800050c: 187a adds r2, r7, r1
- 800050e: 2390 movs r3, #144 ; 0x90
- 8000510: 05db lsls r3, r3, #23
- 8000512: 0011 movs r1, r2
- 8000514: 0018 movs r0, r3
- 8000516: f000 facb bl 8000ab0
- /* USER CODE BEGIN CAN_MspInit 1 */
-
- /* USER CODE END CAN_MspInit 1 */
- }
-
-}
- 800051a: 46c0 nop ; (mov r8, r8)
- 800051c: 46bd mov sp, r7
- 800051e: b00b add sp, #44 ; 0x2c
- 8000520: bd90 pop {r4, r7, pc}
- 8000522: 46c0 nop ; (mov r8, r8)
- 8000524: 40006400 .word 0x40006400
- 8000528: 40021000 .word 0x40021000
-
-0800052c :
+0800064c :
* This function configures the hardware resources used in this example
* @param hi2c: I2C handle pointer
* @retval None
*/
void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
{
- 800052c: b590 push {r4, r7, lr}
- 800052e: b08b sub sp, #44 ; 0x2c
- 8000530: af00 add r7, sp, #0
- 8000532: 6078 str r0, [r7, #4]
+ 800064c: b590 push {r4, r7, lr}
+ 800064e: b08b sub sp, #44 ; 0x2c
+ 8000650: af00 add r7, sp, #0
+ 8000652: 6078 str r0, [r7, #4]
GPIO_InitTypeDef GPIO_InitStruct = {0};
- 8000534: 2414 movs r4, #20
- 8000536: 193b adds r3, r7, r4
- 8000538: 0018 movs r0, r3
- 800053a: 2314 movs r3, #20
- 800053c: 001a movs r2, r3
- 800053e: 2100 movs r1, #0
- 8000540: f001 fb30 bl 8001ba4
+ 8000654: 2414 movs r4, #20
+ 8000656: 193b adds r3, r7, r4
+ 8000658: 0018 movs r0, r3
+ 800065a: 2314 movs r3, #20
+ 800065c: 001a movs r2, r3
+ 800065e: 2100 movs r1, #0
+ 8000660: f001 ff25 bl 80024ae
if(hi2c->Instance==I2C1)
- 8000544: 687b ldr r3, [r7, #4]
- 8000546: 681b ldr r3, [r3, #0]
- 8000548: 4a1c ldr r2, [pc, #112] ; (80005bc )
- 800054a: 4293 cmp r3, r2
- 800054c: d132 bne.n 80005b4
+ 8000664: 687b ldr r3, [r7, #4]
+ 8000666: 681b ldr r3, [r3, #0]
+ 8000668: 4a1c ldr r2, [pc, #112] ; (80006dc )
+ 800066a: 4293 cmp r3, r2
+ 800066c: d131 bne.n 80006d2
{
/* USER CODE BEGIN I2C1_MspInit 0 */
/* USER CODE END I2C1_MspInit 0 */
__HAL_RCC_GPIOB_CLK_ENABLE();
- 800054e: 4b1c ldr r3, [pc, #112] ; (80005c0 )
- 8000550: 695a ldr r2, [r3, #20]
- 8000552: 4b1b ldr r3, [pc, #108] ; (80005c0 )
- 8000554: 2180 movs r1, #128 ; 0x80
- 8000556: 02c9 lsls r1, r1, #11
- 8000558: 430a orrs r2, r1
- 800055a: 615a str r2, [r3, #20]
- 800055c: 4b18 ldr r3, [pc, #96] ; (80005c0 )
- 800055e: 695a ldr r2, [r3, #20]
- 8000560: 2380 movs r3, #128 ; 0x80
- 8000562: 02db lsls r3, r3, #11
- 8000564: 4013 ands r3, r2
- 8000566: 613b str r3, [r7, #16]
- 8000568: 693b ldr r3, [r7, #16]
+ 800066e: 4b1c ldr r3, [pc, #112] ; (80006e0 )
+ 8000670: 695a ldr r2, [r3, #20]
+ 8000672: 4b1b ldr r3, [pc, #108] ; (80006e0 )
+ 8000674: 2180 movs r1, #128 ; 0x80
+ 8000676: 02c9 lsls r1, r1, #11
+ 8000678: 430a orrs r2, r1
+ 800067a: 615a str r2, [r3, #20]
+ 800067c: 4b18 ldr r3, [pc, #96] ; (80006e0 )
+ 800067e: 695a ldr r2, [r3, #20]
+ 8000680: 2380 movs r3, #128 ; 0x80
+ 8000682: 02db lsls r3, r3, #11
+ 8000684: 4013 ands r3, r2
+ 8000686: 613b str r3, [r7, #16]
+ 8000688: 693b ldr r3, [r7, #16]
/**I2C1 GPIO Configuration
+ PB6 ------> I2C1_SCL
PB7 ------> I2C1_SDA
- PB8 ------> I2C1_SCL
*/
- GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_8;
- 800056a: 193b adds r3, r7, r4
- 800056c: 22c0 movs r2, #192 ; 0xc0
- 800056e: 0052 lsls r2, r2, #1
- 8000570: 601a str r2, [r3, #0]
+ GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
+ 800068a: 0021 movs r1, r4
+ 800068c: 187b adds r3, r7, r1
+ 800068e: 22c0 movs r2, #192 ; 0xc0
+ 8000690: 601a str r2, [r3, #0]
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- 8000572: 0021 movs r1, r4
- 8000574: 187b adds r3, r7, r1
- 8000576: 2212 movs r2, #18
- 8000578: 605a str r2, [r3, #4]
+ 8000692: 187b adds r3, r7, r1
+ 8000694: 2212 movs r2, #18
+ 8000696: 605a str r2, [r3, #4]
GPIO_InitStruct.Pull = GPIO_NOPULL;
- 800057a: 187b adds r3, r7, r1
- 800057c: 2200 movs r2, #0
- 800057e: 609a str r2, [r3, #8]
+ 8000698: 187b adds r3, r7, r1
+ 800069a: 2200 movs r2, #0
+ 800069c: 609a str r2, [r3, #8]
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 8000580: 187b adds r3, r7, r1
- 8000582: 2203 movs r2, #3
- 8000584: 60da str r2, [r3, #12]
+ 800069e: 187b adds r3, r7, r1
+ 80006a0: 2203 movs r2, #3
+ 80006a2: 60da str r2, [r3, #12]
GPIO_InitStruct.Alternate = GPIO_AF1_I2C1;
- 8000586: 187b adds r3, r7, r1
- 8000588: 2201 movs r2, #1
- 800058a: 611a str r2, [r3, #16]
+ 80006a4: 187b adds r3, r7, r1
+ 80006a6: 2201 movs r2, #1
+ 80006a8: 611a str r2, [r3, #16]
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 800058c: 187b adds r3, r7, r1
- 800058e: 4a0d ldr r2, [pc, #52] ; (80005c4 )
- 8000590: 0019 movs r1, r3
- 8000592: 0010 movs r0, r2
- 8000594: f000 fa8c bl 8000ab0
+ 80006aa: 187b adds r3, r7, r1
+ 80006ac: 4a0d ldr r2, [pc, #52] ; (80006e4 )
+ 80006ae: 0019 movs r1, r3
+ 80006b0: 0010 movs r0, r2
+ 80006b2: f000 f9b3 bl 8000a1c
/* Peripheral clock enable */
__HAL_RCC_I2C1_CLK_ENABLE();
- 8000598: 4b09 ldr r3, [pc, #36] ; (80005c0 )
- 800059a: 69da ldr r2, [r3, #28]
- 800059c: 4b08 ldr r3, [pc, #32] ; (80005c0 )
- 800059e: 2180 movs r1, #128 ; 0x80
- 80005a0: 0389 lsls r1, r1, #14
- 80005a2: 430a orrs r2, r1
- 80005a4: 61da str r2, [r3, #28]
- 80005a6: 4b06 ldr r3, [pc, #24] ; (80005c0 )
- 80005a8: 69da ldr r2, [r3, #28]
- 80005aa: 2380 movs r3, #128 ; 0x80
- 80005ac: 039b lsls r3, r3, #14
- 80005ae: 4013 ands r3, r2
- 80005b0: 60fb str r3, [r7, #12]
- 80005b2: 68fb ldr r3, [r7, #12]
+ 80006b6: 4b0a ldr r3, [pc, #40] ; (80006e0 )
+ 80006b8: 69da ldr r2, [r3, #28]
+ 80006ba: 4b09 ldr r3, [pc, #36] ; (80006e0 )
+ 80006bc: 2180 movs r1, #128 ; 0x80
+ 80006be: 0389 lsls r1, r1, #14
+ 80006c0: 430a orrs r2, r1
+ 80006c2: 61da str r2, [r3, #28]
+ 80006c4: 4b06 ldr r3, [pc, #24] ; (80006e0 )
+ 80006c6: 69da ldr r2, [r3, #28]
+ 80006c8: 2380 movs r3, #128 ; 0x80
+ 80006ca: 039b lsls r3, r3, #14
+ 80006cc: 4013 ands r3, r2
+ 80006ce: 60fb str r3, [r7, #12]
+ 80006d0: 68fb ldr r3, [r7, #12]
/* USER CODE BEGIN I2C1_MspInit 1 */
/* USER CODE END I2C1_MspInit 1 */
}
}
- 80005b4: 46c0 nop ; (mov r8, r8)
- 80005b6: 46bd mov sp, r7
- 80005b8: b00b add sp, #44 ; 0x2c
- 80005ba: bd90 pop {r4, r7, pc}
- 80005bc: 40005400 .word 0x40005400
- 80005c0: 40021000 .word 0x40021000
- 80005c4: 48000400 .word 0x48000400
+ 80006d2: 46c0 nop ; (mov r8, r8)
+ 80006d4: 46bd mov sp, r7
+ 80006d6: b00b add sp, #44 ; 0x2c
+ 80006d8: bd90 pop {r4, r7, pc}
+ 80006da: 46c0 nop ; (mov r8, r8)
+ 80006dc: 40005400 .word 0x40005400
+ 80006e0: 40021000 .word 0x40021000
+ 80006e4: 48000400 .word 0x48000400
-080005c8 :
+080006e8 :
/******************************************************************************/
/**
* @brief This function handles Non maskable interrupt.
*/
void NMI_Handler(void)
{
- 80005c8: b580 push {r7, lr}
- 80005ca: af00 add r7, sp, #0
+ 80006e8: b580 push {r7, lr}
+ 80006ea: af00 add r7, sp, #0
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
/* USER CODE END NonMaskableInt_IRQn 0 */
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
while (1)
- 80005cc: e7fe b.n 80005cc
+ 80006ec: e7fe b.n 80006ec
-080005ce :
+080006ee :
/**
* @brief This function handles Hard fault interrupt.
*/
void HardFault_Handler(void)
{
- 80005ce: b580 push {r7, lr}
- 80005d0: af00 add r7, sp, #0
+ 80006ee: b580 push {r7, lr}
+ 80006f0: af00 add r7, sp, #0
/* USER CODE BEGIN HardFault_IRQn 0 */
/* USER CODE END HardFault_IRQn 0 */
while (1)
- 80005d2: e7fe b.n 80005d2
+ 80006f2: e7fe b.n 80006f2
-080005d4 :
+080006f4 :
/**
* @brief This function handles System service call via SWI instruction.
*/
void SVC_Handler(void)
{
- 80005d4: b580 push {r7, lr}
- 80005d6: af00 add r7, sp, #0
+ 80006f4: b580 push {r7, lr}
+ 80006f6: af00 add r7, sp, #0
/* USER CODE END SVC_IRQn 0 */
/* USER CODE BEGIN SVC_IRQn 1 */
/* USER CODE END SVC_IRQn 1 */
}
- 80005d8: 46c0 nop ; (mov r8, r8)
- 80005da: 46bd mov sp, r7
- 80005dc: bd80 pop {r7, pc}
+ 80006f8: 46c0 nop ; (mov r8, r8)
+ 80006fa: 46bd mov sp, r7
+ 80006fc: bd80 pop {r7, pc}
-080005de :
+080006fe :
/**
* @brief This function handles Pendable request for system service.
*/
void PendSV_Handler(void)
{
- 80005de: b580 push {r7, lr}
- 80005e0: af00 add r7, sp, #0
+ 80006fe: b580 push {r7, lr}
+ 8000700: af00 add r7, sp, #0
/* USER CODE END PendSV_IRQn 0 */
/* USER CODE BEGIN PendSV_IRQn 1 */
/* USER CODE END PendSV_IRQn 1 */
}
- 80005e2: 46c0 nop ; (mov r8, r8)
- 80005e4: 46bd mov sp, r7
- 80005e6: bd80 pop {r7, pc}
+ 8000702: 46c0 nop ; (mov r8, r8)
+ 8000704: 46bd mov sp, r7
+ 8000706: bd80 pop {r7, pc}
-080005e8 :
+08000708 :
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
- 80005e8: b580 push {r7, lr}
- 80005ea: af00 add r7, sp, #0
+ 8000708: b580 push {r7, lr}
+ 800070a: af00 add r7, sp, #0
/* USER CODE BEGIN SysTick_IRQn 0 */
/* USER CODE END SysTick_IRQn 0 */
HAL_IncTick();
- 80005ec: f000 f892 bl 8000714
+ 800070c: f000 f892 bl 8000834
/* USER CODE BEGIN SysTick_IRQn 1 */
/* USER CODE END SysTick_IRQn 1 */
}
- 80005f0: 46c0 nop ; (mov r8, r8)
- 80005f2: 46bd mov sp, r7
- 80005f4: bd80 pop {r7, pc}
+ 8000710: 46c0 nop ; (mov r8, r8)
+ 8000712: 46bd mov sp, r7
+ 8000714: bd80 pop {r7, pc}
-080005f6 :
+08000716 :
* @brief Setup the microcontroller system
* @param None
* @retval None
*/
void SystemInit(void)
{
- 80005f6: b580 push {r7, lr}
- 80005f8: af00 add r7, sp, #0
+ 8000716: b580 push {r7, lr}
+ 8000718: af00 add r7, sp, #0
before branch to main program. This call is made inside
the "startup_stm32f0xx.s" file.
User can setups the default system clock (System clock source, PLL Multiplier
and Divider factors, AHB/APBx prescalers and Flash settings).
*/
}
- 80005fa: 46c0 nop ; (mov r8, r8)
- 80005fc: 46bd mov sp, r7
- 80005fe: bd80 pop {r7, pc}
+ 800071a: 46c0 nop ; (mov r8, r8)
+ 800071c: 46bd mov sp, r7
+ 800071e: bd80 pop {r7, pc}
-08000600 :
+08000720 :
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
ldr r0, =_estack
- 8000600: 4813 ldr r0, [pc, #76] ; (8000650 )
+ 8000720: 4813 ldr r0, [pc, #76] ; (8000770 )
mov sp, r0 /* set stack pointer */
- 8000602: 4685 mov sp, r0
+ 8000722: 4685 mov sp, r0
/* Call the clock system initialization function.*/
bl SystemInit
- 8000604: f7ff fff7 bl 80005f6
+ 8000724: f7ff fff7 bl 8000716
/*Check if boot space corresponds to test memory*/
LDR R0,=0x00000004
- 8000608: 4812 ldr r0, [pc, #72] ; (8000654 )
+ 8000728: 4812 ldr r0, [pc, #72] ; (8000774 )
LDR R1, [R0]
- 800060a: 6801 ldr r1, [r0, #0]
+ 800072a: 6801 ldr r1, [r0, #0]
LSRS R1, R1, #24
- 800060c: 0e09 lsrs r1, r1, #24
+ 800072c: 0e09 lsrs r1, r1, #24
LDR R2,=0x1F
- 800060e: 4a12 ldr r2, [pc, #72] ; (8000658 )
+ 800072e: 4a12 ldr r2, [pc, #72] ; (8000778 )
CMP R1, R2
- 8000610: 4291 cmp r1, r2
+ 8000730: 4291 cmp r1, r2
BNE ApplicationStart
- 8000612: d105 bne.n 8000620
+ 8000732: d105 bne.n 8000740
/*SYSCFG clock enable*/
LDR R0,=0x40021018
- 8000614: 4811 ldr r0, [pc, #68] ; (800065c )
+ 8000734: 4811 ldr r0, [pc, #68] ; (800077c )
LDR R1,=0x00000001
- 8000616: 4912 ldr r1, [pc, #72] ; (8000660 )
+ 8000736: 4912 ldr r1, [pc, #72] ; (8000780 )
STR R1, [R0]
- 8000618: 6001 str r1, [r0, #0]
+ 8000738: 6001 str r1, [r0, #0]
/*Set CFGR1 register with flash memory remap at address 0*/
LDR R0,=0x40010000
- 800061a: 4812 ldr r0, [pc, #72] ; (8000664 )
+ 800073a: 4812 ldr r0, [pc, #72] ; (8000784 )
LDR R1,=0x00000000
- 800061c: 4912 ldr r1, [pc, #72] ; (8000668 )
+ 800073c: 4912 ldr r1, [pc, #72] ; (8000788 )
STR R1, [R0]
- 800061e: 6001 str r1, [r0, #0]
+ 800073e: 6001 str r1, [r0, #0]
-08000620 :
+08000740