diff --git a/fw_hal/.cproject b/fw_hal/.cproject
deleted file mode 100644
index bd608b0..0000000
--- a/fw_hal/.cproject
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/fw_hal/.mxproject b/fw_hal/.mxproject
deleted file mode 100644
index d51d0fe..0000000
--- a/fw_hal/.mxproject
+++ /dev/null
@@ -1,25 +0,0 @@
-[PreviousLibFiles]
-LibFiles=Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h;Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h;Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h;Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h;Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/core_armv8mbl.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/tz_context.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/core_cm3.h;
-
-[PreviousUsedCubeIDEFiles]
-SourceFiles=Core/Src/main.c;Core/Src/stm32l0xx_it.c;Core/Src/stm32l0xx_hal_msp.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c;Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c;Core/Src/system_stm32l0xx.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c;Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c;Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c;Core/Src/system_stm32l0xx.c;;;
-HeaderPath=Drivers/STM32L0xx_HAL_Driver/Inc;Drivers/STM32L0xx_HAL_Driver/Inc/Legacy;Drivers/CMSIS/Device/ST/STM32L0xx/Include;Drivers/CMSIS/Include;Core/Inc;
-CDefines=USE_HAL_DRIVER;STM32L031xx;USE_HAL_DRIVER;USE_HAL_DRIVER;
-
-[PreviousGenFiles]
-AdvancedFolderStructure=true
-HeaderFileListSize=3
-HeaderFiles#0=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Inc/stm32l0xx_it.h
-HeaderFiles#1=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Inc/stm32l0xx_hal_conf.h
-HeaderFiles#2=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Inc/main.h
-HeaderFolderListSize=1
-HeaderPath#0=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Inc
-HeaderFiles=;
-SourceFileListSize=3
-SourceFiles#0=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Src/stm32l0xx_it.c
-SourceFiles#1=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Src/stm32l0xx_hal_msp.c
-SourceFiles#2=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Src/main.c
-SourceFolderListSize=1
-SourcePath#0=/home/mrs/Personal/HDIoT/Smart_Household/iaq_wired_sensor/fw_hal/Core/Src
-SourceFiles=;
-
diff --git a/fw_hal/.project b/fw_hal/.project
deleted file mode 100644
index 16977c0..0000000
--- a/fw_hal/.project
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
- iaq_wired_sensor_hal
-
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.genmakebuilder
- clean,full,incremental,
-
-
-
-
- org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
- full,incremental,
-
-
-
-
-
- com.st.stm32cube.ide.mcu.MCUProjectNature
- com.st.stm32cube.ide.mcu.MCUCubeProjectNature
- org.eclipse.cdt.core.cnature
- com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature
- com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature
- com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature
- com.st.stm32cube.ide.mcu.MCURootProjectNature
- org.eclipse.cdt.managedbuilder.core.managedBuildNature
- org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
-
-
diff --git a/fw_hal/.settings/org.eclipse.cdt.core.prefs b/fw_hal/.settings/org.eclipse.cdt.core.prefs
deleted file mode 100644
index c8ec5df..0000000
--- a/fw_hal/.settings/org.eclipse.cdt.core.prefs
+++ /dev/null
@@ -1,6 +0,0 @@
-doxygen/doxygen_new_line_after_brief=true
-doxygen/doxygen_use_brief_tag=false
-doxygen/doxygen_use_javadoc_tags=true
-doxygen/doxygen_use_pre_tag=false
-doxygen/doxygen_use_structural_commands=false
-eclipse.preferences.version=1
diff --git a/fw_hal/.settings/stm32cubeide.project.prefs b/fw_hal/.settings/stm32cubeide.project.prefs
deleted file mode 100644
index 68de537..0000000
--- a/fw_hal/.settings/stm32cubeide.project.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-66BE74F758C12D739921AEA421D593D3=0
-8DF89ED150041C4CBC7CB9A9CAA90856=807411C90E25B050C1E13646B7FEB5AA
-DC22A860405A8BF2F2C095E5B6529F12=807411C90E25B050C1E13646B7FEB5AA
-eclipse.preferences.version=1
diff --git a/fw_hal/Core/Inc/config.h b/fw_hal/Core/Inc/config.h
deleted file mode 100644
index c512299..0000000
--- a/fw_hal/Core/Inc/config.h
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * config.h
- *
- * Created on: Sep 5, 2021
- * Author: david
- */
-
-#ifndef INC_CONFIG_H_
-#define INC_CONFIG_H_
-
-/* TODO: add comments to everything */
-
-/* EXAMPLE of USAGE */
-/*
-config_t new_config;
-new_config.led_co2_alert_limit1 = 1000;
-new_config.led_co2_alert_limit2 = 2000;
-new_config.led_on = 1;
-new_config.modbus_addr = 0x11;
-config_write(&new_config);
-
-config_t config;
-config_read(&config);
-*/
-
-#include "stdint.h"
-#include "stm32l0xx.h"
-/* DESCRIPTION OF THE DATA STRUCTURE */
-/*
- * Data are divided into two groups:
- * A) DEVICE DESCRIPTION
- * Can not be changed by the user.
- * These data can be only read.
- * These data are:
- * * VENDOR NAME
- * * PRODUCT CODE
- * * PRODUCT NAME
- * * REVISION
- * * SERIAL NUMBER
- * B) DEVICE CONFIGURATION
- * Can be changed by the user.
- * These data are:
- * * MODBUS ADDRESS - Modbus Address of the device. Default is 254
- * * LED ON - Whether the CO2 Level Indication LED should be on or off
- * * LED CO2 ALERT LIMIT 1 - CO2 Level when the LED color changes Green<->Yellow
- * * LED CO2 ALERT LIMIT 2 - CO2 Level when the LED color changes Yellow<->Red
- *
- * Device description data can be accessed using direct readout from the memory
- * Device configuration data can be accessed using config_t struct.
- */
-#define CONFIG_DEFAULT_LED_ON 1
-#define CONFIG_DEFAULT_LED_BRIGHTNESS 100 /* TODO: set according to the timers when this will be implemented */
-#define CONFIG_DEFAULT_LED_ALERT1_LIMIT 1500
-#define CONFIG_DEFAULT_LED_ALERT2_LIMIT 3000
-#define CONFIG_DEFAULT_LED_SMOOTH 0
-#define CONFIG_DEFAULT_SCD4x_T_OFFSET 0
-#define CONFIG_DEFAULT_BAUDRATE_INDEX 0
-
-#define CONFIG_MODBUS_ADDR_LENGTH 2
-#define CONFIG_BAUDRATE_INDEX_LENGTH 2
-#define CONFIG_LED_ON_LENGTH 2
-#define CONFIG_LED_BRIGHTNESS_LENGTH 2
-#define CONFIG_LED_SMOOTH_LENGTH 2
-#define CONFIG_LED_ALERT1_LENGTH 2
-#define CONFIG_LED_ALERT2_LENGTH 2
-#define CONFIG_LED_ALERT2_LENGTH 2
-#define CONFIG_SCD4x_T_OFFSET_LENGTH 2
-#define VENDOR_NAME_LENGTH 64
-#define PRODUCT_CODE_LENGTH 64
-#define PRODUCT_NAME_LENGTH 64
-#define REVISION_LENGTH 16
-#define SERIAL_NUMBER_LENGTH 64
-
-#define EEPROM_EMPTY_BYTE 0x00
-
-#define EEPROM_ADDR_START ((uint32_t)0x08080000)
-#define EEPROM_ADDR_END ((uint32_t)0x080801FF)
-
-#define CONFIG_EEPROM_ADDR_MODBUS_ADDR EEPROM_ADDR_START
-#define CONFIG_EEPROM_ADDR_BAUDRATE_INDEX (CONFIG_EEPROM_ADDR_MODBUS_ADDR + CONFIG_MODBUS_ADDR_LENGTH)
-#define CONFIG_EEPROM_ADDR_LED_ON (CONFIG_EEPROM_ADDR_BAUDRATE_INDEX + CONFIG_BAUDRATE_INDEX_LENGTH)
-#define CONFIG_EEPROM_ADDR_LED_BRIGHTNESS (CONFIG_EEPROM_ADDR_LED_ON + CONFIG_LED_ON_LENGTH)
-#define CONFIG_EEPROM_ADDR_LED_SMOOTH (CONFIG_EEPROM_ADDR_LED_BRIGHTNESS + CONFIG_LED_BRIGHTNESS_LENGTH)
-#define CONFIG_EEPROM_ADDR_LED_ALERT1 (CONFIG_EEPROM_ADDR_LED_SMOOTH + CONFIG_LED_SMOOTH_LENGTH)
-#define CONFIG_EEPROM_ADDR_LED_ALERT2 (CONFIG_EEPROM_ADDR_LED_ALERT1 + CONFIG_LED_ALERT1_LENGTH)
-#define CONFIG_EEPROM_ADDR_SCD4x_T_OFFSET (CONFIG_EEPROM_ADDR_LED_ALERT2 + CONFIG_LED_ALERT2_LENGTH)
-
-#define CONFIG_EEPROM_ADDR_VENDOR_NAME (CONFIG_EEPROM_ADDR_SCD4x_T_OFFSET + CONFIG_SCD4x_T_OFFSET_LENGTH)
-#define CONFIG_EEPROM_ADDR_PRODUCT_CODE (CONFIG_EEPROM_ADDR_VENDOR_NAME + VENDOR_NAME_LENGTH)
-#define CONFIG_EEPROM_ADDR_PRODUCT_NAME (CONFIG_EEPROM_ADDR_PRODUCT_CODE + PRODUCT_CODE_LENGTH)
-#define CONFIG_EEPROM_ADDR_REVISION (CONFIG_EEPROM_ADDR_PRODUCT_NAME + PRODUCT_NAME_LENGTH)
-#define CONFIG_EEPROM_ADDR_SERIAL_NUMBER (CONFIG_EEPROM_ADDR_REVISION + REVISION_LENGTH)
-
-#define FLASH_PEKEY1 ((uint32_t)0x89ABCDEF)
-#define FLASH_PEKEY2 ((uint32_t)0x02030405)
-
-#define CONFIG_OK 0
-#define CONFIG_ERROR -1
-
-#define EEPROM_OK 0
-#define EEPROM_ERROR -1
-#define EEPROM_UNLOCK_ERROR -2
-#define EEPROM_LOCK_ERROR -3
-#define EEPROM_WRITE_ERROR -4
-#define EEPROM_ADDR_ERROR -5
-
-#define SYSTICK_FREQ_HZ 12000000
-#define EEPROM_TIMEOUT_MAX_MS_INV 200
-
-/*
- * Variables
- */
-
-extern const uint32_t config_baudrates[];
-extern const uint8_t config_baudrates_length;
-
-/*
- * Type definitions
- */
-
-typedef struct
-{
- /* LED CONFIG */
- uint8_t led_on;
- uint16_t led_brightness;
- uint8_t led_smooth;
- uint16_t led_co2_alert_limit1;
- uint16_t led_co2_alert_limit2;
-
- /* SCD4x Temperature sensor offset */
- int16_t scd4x_t_offset;
-
- /* MODBUS CONFIG */
- uint16_t modbus_addr;
- uint32_t baudrate_index;
-} config_t;
-
-
-/* const uint32_t baudrates [] = {19200, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 76800, 115200}; */
-
-int8_t config_read(config_t *config);
-int8_t config_write(config_t *config);
-
-#endif /* INC_CONFIG_H_ */
-
diff --git a/fw_hal/Core/Inc/crc8.h b/fw_hal/Core/Inc/crc8.h
deleted file mode 100644
index e799f7e..0000000
--- a/fw_hal/Core/Inc/crc8.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * crc.h
- *
- * Created on: Jun 9, 2021
- * Author: user
- */
-
-#ifndef INC_CRC8_H_
-#define INC_CRC8_H_
-
-#include "stdint.h"
-
-/*
- * Definitions & macros
- */
-
-#define CRC8_POLYNOMIAL 0x31
-#define CRC8_INIT 0xFF
-
-uint8_t crc8_calculate(const uint8_t *data, uint16_t count);
-
-#endif /* INC_CRC8_H_ */
diff --git a/fw_hal/Core/Inc/i2c.h b/fw_hal/Core/Inc/i2c.h
deleted file mode 100644
index f67481d..0000000
--- a/fw_hal/Core/Inc/i2c.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * i2c.h
- *
- * Created on: Jun 8, 2021
- * Author: user
- */
-
-#ifndef INC_I2C_H_
-#define INC_I2C_H_
-
-#include "stdint.h"
-#include "main.h"
-/*#include "stm32l0xx_hal_i2c.h"*/
-/*#include "stm32l0xx_ll_i2c.h"*/
-
-/*
- * Defines & macros
- */
-
-#define NULL 0
-
-/*
- * Return values for I2C functions
- */
-
-#define I2C_OK 0
-#define I2C_ERROR -1 // generic error
-#define I2C_ERROR_NACK -2 // NACK was received during transfer
-#define I2C_ERROR_TX_INCOMPLETE -3 // number of TXed bytes != buffer length
-#define I2C_ERROR_RX_INCOMPLETE -4 // number of RXed bytes != buffer length
-
-/*
- * Type definitions
- */
-
-/*
-typedef struct {
- I2C_HandleTypeDef *i2c;
-} i2c_context_t;
-*/
-
-
-/*
- * Function declarations
- */
-
-int8_t i2c_init(I2C_HandleTypeDef *context, uint16_t i2c_timeout);
-int8_t i2c_transmit(uint8_t address, uint8_t *buffer, uint16_t len);
-int8_t i2c_receive(uint8_t address, uint8_t *buffer, uint16_t len);
-int8_t i2c_transmit_receive(uint8_t address, uint16_t tx_buffer, uint16_t tx_len, uint8_t *rx_buffer, uint16_t rx_len);
-
-#endif /* INC_I2C_H_ */
diff --git a/fw_hal/Core/Inc/main.h b/fw_hal/Core/Inc/main.h
deleted file mode 100644
index df5399a..0000000
--- a/fw_hal/Core/Inc/main.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file : main.h
- * @brief : Header for main.c file.
- * This file contains the common defines of the application.
- ******************************************************************************
- * @attention
- *
- *
© Copyright (c) 2021 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __MAIN_H
-#define __MAIN_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Includes ------------------------------------------------------------------*/
-#include "stm32l0xx_hal.h"
-
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-#include "i2c.h"
-#include "scd4x.h"
-#include "sht4x.h"
-#include "sps30.h"
-#include "modbus.h"
-#include "config.h"
-#include "rgb_led.h"
-/* USER CODE END Includes */
-
-/* Exported types ------------------------------------------------------------*/
-/* USER CODE BEGIN ET */
-
-/* USER CODE END ET */
-
-/* Exported constants --------------------------------------------------------*/
-/* USER CODE BEGIN EC */
-
-/* USER CODE END EC */
-
-/* Exported macro ------------------------------------------------------------*/
-/* USER CODE BEGIN EM */
-
-/* USER CODE END EM */
-
-void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
-
-/* Exported functions prototypes ---------------------------------------------*/
-void Error_Handler(void);
-
-/* USER CODE BEGIN EFP */
-int8_t uart_disable_interrupts(void);
-int8_t uart_enable_interrupts(void);
-/* USER CODE END EFP */
-
-/* Private defines -----------------------------------------------------------*/
-/* USER CODE BEGIN Private defines */
-#define MEASUREMENT_PERIOD_MS 600000
-
-extern uint16_t usart2_rx_message_index;
-extern uint16_t usart2_rx_message_len;
-extern uint8_t usart2_rx_done;
-extern uint8_t usart2_rx_message_too_long;
-
-extern uint8_t tim21_elapsed_period;
-/* USER CODE END Private defines */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __MAIN_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw_hal/Core/Inc/modbus.h b/fw_hal/Core/Inc/modbus.h
deleted file mode 100644
index a215328..0000000
--- a/fw_hal/Core/Inc/modbus.h
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- * modbus.h
- *
- * Created on: Jul 18, 2021
- * Author: user
- *
- * Modbus slave RTU library (does NOT support ASCII and TCP)
- *
- * Useful links:
- * https://www.picotech.com/library/oscilloscopes/modbus-serial-protocol-decoding
- * https://ipc2u.com/articles/knowledge-base/modbus-rtu-made-simple-with-detailed-descriptions-and-examples/
- * https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
- * https://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf
- *
- * Note that byte order is big endian.
- *
- * USAGE:
- *
- * 1) Implement functions modbus_callback_function() and modbus_uart_transmit_function()
- * - modbus_uart_transmit_function() sends data via UART
- * - modbus_callback_function() does the real work: read sensors, set outputs...
- * note that when filling buffers (e.g. input_registers[]) user must
- * ensure that all data is big-endian
- * These functions are implementation-specific.
- * 2) Set device address (variable modbus_device_address); you can do this either
- * - setting modbus_device_address directly (modbus.h needs to be included, duh)
- * - using modbus_set_device_address(uint8_t address) function
- * Or you can leave address as-is (MODBUS_DEFAULT_SLAVE_ADDRESS) and set it via
- * Modbus during runtime
- * 3) Call modbus_process_msg() after message reception; you need to observe Modbus RTU timing:
- * - pauses between chars in frame are less or equal to 1.5 char
- * - pauses between frames are at least 3.5 chars (of silence)
- * For more information see section 2.5.1.1 (MODBUS Message RTU Framing)
- * in "MODBUS over Serial Line: Specification and Implementation Guide"
- *
- */
-
-#ifndef SRC_MODBUS_H_
-#define SRC_MODBUS_H_
-
-#include "stdint.h"
-
-/*
- * Defines & macros
- */
-
-#define MODBUS_BROADCAST_ADDR 0
-#define MODBUS_DEFAULT_SLAVE_ADDRESS 254 /* 255 may be used for bridge device */
-/* minimal frame length is 4 bytes: 1 B slave address, 1 B function code, 2 B CRC */
-#define MODBUS_MINIMAL_FRAME_LEN 4
-#define MODBUS_MAX_RTU_FRAME_SIZE 256
-#define MODBUS_BUFFER_SIZE MODBUS_MAX_RTU_FRAME_SIZE /* alias */
-#define MODBUS_ERROR_FLAG 0x80
-#define MODBUS_MAX_REGISTERS 125
-
-/*
- * Return values
- */
-
-#define MODBUS_OK 0
-#define MODBUS_ERROR -1 // generic error
-#define MODBUS_ERROR_CRC -2 // checksum failed
-#define MODBUS_ERROR_FRAME_INVALID -3 // invalid frame format / length
-#define MODBUS_ERROR_OUT_OF_BOUNDS -4 // requested register is out of bounds
-#define MODBUS_ERROR_FUNCTION_NOT_IMPLEMENTED -5 // function not implemented in callback
-#define MODBUS_ERROR_REGISTER_NOT_IMPLEMENTED -6 // register not implemented in callback
-
-/*
- * Data types
- */
-
-/* Public functions codes (Modbus Application protocol specification, section 5.1) */
-typedef enum {
- /* single bit access functions */
- MODBUS_READ_COILS = 1,
- MODBUS_READ_DO = 1, // alias
- MODBUS_READ_DISCRETE_INPUTS = 2,
- MODBUS_READ_DI = 2, // alias
- MODBUS_WRITE_SINGLE_COIL = 5,
- MODBUS_WRITE_SINGLE_DO = 5, // alias
- MODBUS_WRITE_MULTIPLE_COILS = 15,
- MODBUS_WRITE_MULTIPLE_DO = 15, // alias
- /* 16-bit access functions */
- MODBUS_READ_HOLDING_REGISTERS = 3,
- MODBUS_READ_AO = 3, // alias
- MODBUS_READ_INPUT_REGISTERS = 4,
- MODBUS_READ_AI = 4, // alias
- MODBUS_WRITE_SINGLE_REGISTER = 6,
- MODBUS_WRITE_SINGLE_AO = 6, // alias
- MODBUS_WRITE_MULTIPLE_REGISTERS = 16,
- MODBUS_WRITE_MULTIPLE_AO = 16, // alias
- MODBUS_MASK_WRITE_REGISTER = 22,
- MODBUS_READ_WRITE_MULTIPLE_REGISTERS = 23,
- MODBUS_READ_FIFO_QUEUE = 24,
- /* file record access */
- MODBUS_READ_FILE_RECORD = 20,
- MODBUS_WRITE_FILE_RECORD = 21,
- /* diagnostics */
- MODBUS_READ_EXCEPTION_STATUS = 7,
- MODBUS_DIAGNOSTIC = 8, /* sub codes: 00-18,20 */
- MODBUS_GET_COM_EVENT_COUNTER = 11,
- MODBUS_GET_COM_EVENT_LOG = 12,
- MODBUS_REPORT_SLAVE_ID = 17,
- MODBUS_READ_DEVICE_IDENTIFICATION = 43, /* sub codes: 14 */
-} modbus_function_code_t;
-
-typedef enum {
- MODBUS_EXCEPTION_ILLEGAL_FUNCTION = 1,
- MODBUS_EXCEPTION_ILLEGAL_DATA_ADDRESS = 2,
- MODBUS_EXCEPTION_ILLEGAL_REGISTER_QUANTITY = 2,
- MODBUS_EXCEPTION_ILLEGAL_DATA_VALUE = 3,
- MODBUS_EXCEPTION_SLAVE_DEVICE_FAILURE = 4,
- MODBUS_EXCEPTION_ACKNOWLEDGE = 5,
- MODBUS_EXCEPTION_SLAVE_DEVICE_BUSY = 6,
- MODBUS_EXCEPTION_MEMORY_PARITY_ERROR = 8,
- MODBUS_EXCEPTION_GATEWAY_PATH_UNAVAILABLE = 10,
- MODBUS_EXCEPTION_GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND = 11,
-} modbus_exception_code_t;
-
-typedef struct {
- uint8_t exception_code;
-} exception_t;
-
-typedef struct {
- modbus_function_code_t function_code : 8;
- uint16_t register_address; // e.g. first register of A0: 0
- uint16_t register_number; // e.g. first register of A0: 40001
- uint8_t register_count; // number of registers to be read/written
-
- exception_t exception;
-
- union {
- uint8_t buffer8b[MODBUS_MAX_RTU_FRAME_SIZE];
- uint16_t buffer16b[MODBUS_MAX_RTU_FRAME_SIZE/2];
- uint16_t input_registers[MODBUS_MAX_REGISTERS];
- uint16_t holding_registers[MODBUS_MAX_REGISTERS];
- int16_t input_registers_signed[MODBUS_MAX_REGISTERS];
- int16_t holding_registers_signed[MODBUS_MAX_REGISTERS];
- };
-} modbus_transaction_t;
-
-typedef enum {
- MODBUS_DO_START_NUMBER = 1, // Discrete output coils
- MODBUS_DO_END_NUMBER = 9999,
- MODBUS_DI_START_NUMBER = 10001, // Discrete input contacts
- MODBUS_DI_END_NUMBER = 19999,
- MODBUS_AI_START_NUMBER = 30001, // Analog input registers
- MODBUS_AI_END_NUMBER = 39999,
- MODBUS_AO_START_NUMBER = 40001, // Analog output (holding registers)
- MODBUS_AO_END_NUMBER = 49999
-} modbus_register_number_t;
-
-
-/*
- * Global variables
- */
-
-/* device address: declared in modbus.c */
-extern uint8_t modbus_slave_address;
-
-/* shared modbus buffer; defined in modbus.c; may be used elsewhere in code */
-extern uint8_t modbus_buffer[];
-
-/*
- * Function prototypes
- */
-
-/* process message: should be called in when modbus message was received (e.g. in main.c)
- * modbus_process_msg() may call following functions:
- * - modbus_callback_function() if data readout is requested
- * - modbus_uart_transmit_function() if response is required
- * Both functions have to be implemented by user.
- */
-int8_t modbus_slave_process_msg(const uint8_t *buffer, int len);
-int8_t modbus_slave_set_address(uint8_t address);
-/* modbus callback function type - should be implemented by user (e.g. in main.c) */
-int8_t modbus_slave_callback(modbus_transaction_t *transaction);
-/* UART transmit function type - should be implemented by user (e.g. in main.c) */
-int8_t modbus_transmit_function(uint8_t *buffer, uint16_t data_len);
-
-#endif /* SRC_MODBUS_H_ */
diff --git a/fw_hal/Core/Inc/rgb_led.h b/fw_hal/Core/Inc/rgb_led.h
deleted file mode 100644
index fcecbcd..0000000
--- a/fw_hal/Core/Inc/rgb_led.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * rgb_led.h
- *
- * Created on: Nov 4, 2021
- * Author: david
- */
-
-#ifndef INC_RGB_LED_H_
-#define INC_RGB_LED_H_
-
-#include "stdint.h"
-
-/* TODO: Add more colors? */
-typedef enum {
- OFF = 0,
- WHITE = 1,
- RED = 2,
- GREEN = 3,
- BLUE = 4,
- YELLOW = 5,
- MAGENTA = 6,
- CYAN = 7
-} rgb_led_color_t;
-
-int8_t rgb_led_set_duty_cycles (uint16_t r_duty, uint16_t g_duty, uint16_t b_duty);
-int8_t rgb_led_set_color (rgb_led_color_t color);
-
-#endif /* INC_RGB_LED_H_ */
diff --git a/fw_hal/Core/Inc/scd4x.h b/fw_hal/Core/Inc/scd4x.h
deleted file mode 100644
index 21bd1c6..0000000
--- a/fw_hal/Core/Inc/scd4x.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * sht4x.h
- *
- * Created on: Jun 8, 2021
- * Author: user
- */
-
-#ifndef INC_SCD4X_H_
-#define INC_SCD4X_H_
-
-#include "stdint.h"
-#include "i2c.h"
-#include "crc8.h"
-
-/*
- * Defines & macros
- */
-
-#define SCD4X_I2C_ADDRESS 0x62
-
-/*
- * Return values
- */
-
-#define SCD4X_OK 0
-#define SCD4X_ERROR -1 // generic error
-#define SCD4X_CRC8_ERROR -2 // checksum failed
-
-/*
- * Data types
- */
-
-typedef enum {
- SCD4X_START_PERIODIC_MEASUREMENT = 0x21B1,
- SCD4X_READ_MEASUREMENT = 0xEC05,
- SCD4X_STOP_PERIODIC_MEASUREMENT = 0x3F86,
- SCD4X_GET_DATA_READY_STATUS = 0xe4b8,
- SCD4X_PERFORM_FACTORY_RESET = 0x3632
-} scd4x_cmd_t;
-
-/*
- * Function prototypes
- */
-
-int8_t scd4x_send_cmd(scd4x_cmd_t cmd);
-int8_t scd4x_read_data(uint8_t *buffer, int len);
-
-int8_t scd4x_start_periodic_measurement( void );
-int8_t scd4x_stop_periodic_measurement( void );
-
-int8_t scd4x_perform_factory_reset( void );
-
-int8_t scd4x_read_measurement(uint16_t * co2, int16_t *temperature, uint16_t *relative_humidity);
-
-#endif /* INC_SCD4X_H_ */
diff --git a/fw_hal/Core/Inc/sht4x.h b/fw_hal/Core/Inc/sht4x.h
deleted file mode 100644
index 7d5ca67..0000000
--- a/fw_hal/Core/Inc/sht4x.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * sht4x.h
- *
- * Created on: Jun 8, 2021
- * Author: user
- */
-
-#ifndef INC_SHT4X_H_
-#define INC_SHT4X_H_
-
-#include "stdint.h"
-#include "i2c.h"
-#include "crc8.h"
-
-/*
- * Defines & macros
- */
-
-#define SHT4X_I2C_ADDRESS 0x44
-
-/*
- * Return values
- */
-
-#define SHT4X_OK 0
-#define SHT4X_ERROR -1 // generic error
-#define SHT4X_CRC8_ERROR -2 // checksum failed
-
-/*
- * Data types
- */
-
-typedef enum {
- SHT4X_START_MEAS_HIGH_PRECISION = 0xFD,
- SHT4X_START_MEAS_MEDIUM_PRECISION = 0xF6,
- SHT4X_START_MEAS_LOW_PRECISION = 0xE0,
- SHT4X_READ_SERIAL = 0x89,
- SHT4X_SOFT_RESET = 0x94,
- SHT4X_HEATER_200_mW_1_s = 0x39,
- SHT4X_HEATER_200_mW_01_s = 0x32,
- SHT4X_HEATER_110_mW_1_s = 0x2F,
- SHT4X_HEATER_110_mW_01_s = 0x24,
- SHT4X_HEATER_20_mW_1_s = 0x1E,
- SHT4X_HEATER_20_mW_01_s = 0x15
-} sht4x_cmd_t;
-
-/*
- * Function prototypes
- */
-
-int8_t sht4x_send_cmd(sht4x_cmd_t cmd);
-int8_t sht4x_read_data(uint8_t *buffer, int len);
-int8_t sht4x_measure(int16_t *temperature, uint16_t *relative_humidity);
-
-#endif /* INC_SHT4X_H_ */
diff --git a/fw_hal/Core/Inc/sps30.h b/fw_hal/Core/Inc/sps30.h
deleted file mode 100644
index 19db583..0000000
--- a/fw_hal/Core/Inc/sps30.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * sps30.h
- *
- * Created on: Jul 18, 2021
- * Author: mrs
- */
-
-#ifndef INC_SPS30_H_
-#define INC_SPS30_H_
-
-#include "stdint.h"
-#include "i2c.h"
-#include "crc8.h"
-
-/*
- * Defines & macros
- */
-
-#define SPS30_I2C_ADDRESS 0x69
-
-/*
- * Return values
- */
-
-#define SPS30_OK 0
-#define SPS30_ERROR -1 // generic error
-#define SPS30_CRC8_ERROR -2 // checksum failed
-
-/*
- * Data types
- */
-
-typedef enum {
- SPS30_START_MEASUREMENT = 0x0010,
- SPS30_STOP_MEASUREMENT = 0x0104,
- SPS30_READ_DATA_READY_FLAG = 0x0202,
- SPS30_READ_MEASURED_VALUES = 0x0300,
- SPS30_SLEEP = 0x1001,
- SPS30_WAKE_UP = 0x1103,
- SPS30_START_FAN_CLEANING = 0x5607,
- SPS30_READ_AUTO_CLEANING_INTERVAL = 0x8004,
- SPS30_WRITE_AUTO_CLEANING_INTERVAL = 0x8004,
- SPS30_READ_PRODUCT_TYPE = 0xD002,
- SPS30_READ_SERIAL_NUMBER = 0xD033,
- SPS30_READ_VERSION = 0xD100,
- SPS30_READ_DEVICE_STATUS_REGISTER = 0xD206,
- SPS30_CLEAR_DEVICE_STATUS_REGISTER = 0xD210,
- SPS30_RESET = 0xD304
-
-} sps30_cmd_t;
-
-typedef enum {
- SPS30_FLOAT_FORMAT = 0x03,
- SPS30_UINT16_FORMAT = 0x05
-} sps30_data_format;
-
-int8_t sps30_send_cmd(sps30_cmd_t cmd);
-
-int8_t sps30_start_measurement( void );
-int8_t sps30_stop_measurement( void );
-int8_t sps30_read_measured_values(uint16_t *measured_values, uint8_t measured_values_len);
-
-int8_t sps30_sleep( void );
-int8_t sps30_wake_up( void );
-
-int8_t sps30_start_fan_cleaning( void );
-
-int8_t sps30_reset( void );
-
-int8_t sps30_read_status_register ( void );
-
-int8_t sps30_read_firmware_version ( uint8_t * fw_ver_hi, uint8_t * fw_ver_lo );
-
-uint8_t calculate_crc(uint8_t data[2]);
-
-#endif /* INC_SPS30_H_ */
diff --git a/fw_hal/Core/Inc/stm32l0xx_hal_conf.h b/fw_hal/Core/Inc/stm32l0xx_hal_conf.h
deleted file mode 100644
index 62149a6..0000000
--- a/fw_hal/Core/Inc/stm32l0xx_hal_conf.h
+++ /dev/null
@@ -1,330 +0,0 @@
-/**
- ******************************************************************************
- * @file stm32l0xx_hal_conf.h
- * @author MCD Application Team
- * @brief HAL configuration template file.
- * This file should be copied to the application folder and renamed
- * to stm32l0xx_hal_conf.h.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2016 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __STM32L0xx_HAL_CONF_H
-#define __STM32L0xx_HAL_CONF_H
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-/* Exported types ------------------------------------------------------------*/
-/* Exported constants --------------------------------------------------------*/
-
-/* ########################## Module Selection ############################## */
-/**
- * @brief This is the list of modules to be used in the HAL driver
- */
-
-#define HAL_MODULE_ENABLED
- /*#define HAL_ADC_MODULE_ENABLED */
-/*#define HAL_CRYP_MODULE_ENABLED */
-/*#define HAL_COMP_MODULE_ENABLED */
-/*#define HAL_CRC_MODULE_ENABLED */
-/*#define HAL_CRYP_MODULE_ENABLED */
-/*#define HAL_DAC_MODULE_ENABLED */
-/*#define HAL_FIREWALL_MODULE_ENABLED */
-/*#define HAL_I2S_MODULE_ENABLED */
-/*#define HAL_IWDG_MODULE_ENABLED */
-/*#define HAL_LCD_MODULE_ENABLED */
-/*#define HAL_LPTIM_MODULE_ENABLED */
-/*#define HAL_RNG_MODULE_ENABLED */
-/*#define HAL_RTC_MODULE_ENABLED */
-/*#define HAL_SPI_MODULE_ENABLED */
-#define HAL_TIM_MODULE_ENABLED
-/*#define HAL_TSC_MODULE_ENABLED */
-#define HAL_UART_MODULE_ENABLED
-/*#define HAL_USART_MODULE_ENABLED */
-/*#define HAL_IRDA_MODULE_ENABLED */
-/*#define HAL_SMARTCARD_MODULE_ENABLED */
-/*#define HAL_SMBUS_MODULE_ENABLED */
-/*#define HAL_WWDG_MODULE_ENABLED */
-/*#define HAL_PCD_MODULE_ENABLED */
-#define HAL_GPIO_MODULE_ENABLED
-#define HAL_EXTI_MODULE_ENABLED
-#define HAL_DMA_MODULE_ENABLED
-#define HAL_I2C_MODULE_ENABLED
-#define HAL_RCC_MODULE_ENABLED
-#define HAL_FLASH_MODULE_ENABLED
-#define HAL_PWR_MODULE_ENABLED
-#define HAL_CORTEX_MODULE_ENABLED
-
-/* ########################## Oscillator Values adaptation ####################*/
-/**
- * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
- * This value is used by the RCC HAL module to compute the system frequency
- * (when HSE is used as system clock source, directly or through the PLL).
- */
-#if !defined (HSE_VALUE)
- #define HSE_VALUE ((uint32_t)8000000U) /*!< Value of the External oscillator in Hz */
-#endif /* HSE_VALUE */
-
-#if !defined (HSE_STARTUP_TIMEOUT)
- #define HSE_STARTUP_TIMEOUT ((uint32_t)100U) /*!< Time out for HSE start up, in ms */
-#endif /* HSE_STARTUP_TIMEOUT */
-
-/**
- * @brief Internal Multiple Speed oscillator (MSI) default value.
- * This value is the default MSI range value after Reset.
- */
-#if !defined (MSI_VALUE)
- #define MSI_VALUE ((uint32_t)2097000U) /*!< Value of the Internal oscillator in Hz*/
-#endif /* MSI_VALUE */
-
-/**
- * @brief Internal High Speed oscillator (HSI) value.
- * This value is used by the RCC HAL module to compute the system frequency
- * (when HSI is used as system clock source, directly or through the PLL).
- */
-#if !defined (HSI_VALUE)
- #define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
-#endif /* HSI_VALUE */
-
-/**
- * @brief Internal High Speed oscillator for USB (HSI48) value.
- */
-#if !defined (HSI48_VALUE)
-#define HSI48_VALUE ((uint32_t)48000000U) /*!< Value of the Internal High Speed oscillator for USB in Hz.
- The real value may vary depending on the variations
- in voltage and temperature. */
-#endif /* HSI48_VALUE */
-
-/**
- * @brief Internal Low Speed oscillator (LSI) value.
- */
-#if !defined (LSI_VALUE)
- #define LSI_VALUE ((uint32_t)37000U) /*!< LSI Typical Value in Hz*/
-#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
- The real value may vary depending on the variations
- in voltage and temperature.*/
-/**
- * @brief External Low Speed oscillator (LSE) value.
- * This value is used by the UART, RTC HAL module to compute the system frequency
- */
-#if !defined (LSE_VALUE)
- #define LSE_VALUE ((uint32_t)32768U) /*!< Value of the External oscillator in Hz*/
-#endif /* LSE_VALUE */
-
-#if !defined (LSE_STARTUP_TIMEOUT)
- #define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) /*!< Time out for LSE start up, in ms */
-#endif /* LSE_STARTUP_TIMEOUT */
-
-/* Tip: To avoid modifying this file each time you need to use different HSE,
- === you can define the HSE value in your toolchain compiler preprocessor. */
-
-/* ########################### System Configuration ######################### */
-/**
- * @brief This is the HAL system configuration section
- */
-#define VDD_VALUE ((uint32_t)3300U) /*!< Value of VDD in mv */
-#define TICK_INT_PRIORITY ((uint32_t)3U) /*!< tick interrupt priority */
-#define USE_RTOS 0U
-#define PREFETCH_ENABLE 0U
-#define PREREAD_ENABLE 1U
-#define BUFFER_CACHE_DISABLE 0U
-
-/* ########################## Assert Selection ############################## */
-/**
- * @brief Uncomment the line below to expanse the "assert_param" macro in the
- * HAL drivers code
- */
-/* #define USE_FULL_ASSERT 1U */
-
-/* ################## Register callback feature configuration ############### */
-/**
- * @brief Set below the peripheral configuration to "1U" to add the support
- * of HAL callback registration/deregistration feature for the HAL
- * driver(s). This allows user application to provide specific callback
- * functions thanks to HAL_PPP_RegisterCallback() rather than overwriting
- * the default weak callback functions (see each stm32l0xx_hal_ppp.h file
- * for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
- * for each PPP peripheral).
- */
-#define USE_HAL_ADC_REGISTER_CALLBACKS 0U
-#define USE_HAL_COMP_REGISTER_CALLBACKS 0U
-#define USE_HAL_DAC_REGISTER_CALLBACKS 0U
-#define USE_HAL_I2C_REGISTER_CALLBACKS 0U
-#define USE_HAL_I2S_REGISTER_CALLBACKS 0U
-#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
-#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U
-#define USE_HAL_PCD_REGISTER_CALLBACKS 0U
-#define USE_HAL_RNG_REGISTER_CALLBACKS 0U
-#define USE_HAL_RTC_REGISTER_CALLBACKS 0U
-#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
-#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U
-#define USE_HAL_SPI_REGISTER_CALLBACKS 0U
-#define USE_HAL_TIM_REGISTER_CALLBACKS 0U
-#define USE_HAL_TSC_REGISTER_CALLBACKS 0U
-#define USE_HAL_UART_REGISTER_CALLBACKS 0U
-#define USE_HAL_USART_REGISTER_CALLBACKS 0U
-#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
-
-/* Includes ------------------------------------------------------------------*/
-/**
- * @brief Include module's header file
- */
-
-#ifdef HAL_RCC_MODULE_ENABLED
- #include "stm32l0xx_hal_rcc.h"
-#endif /* HAL_RCC_MODULE_ENABLED */
-
-#ifdef HAL_EXTI_MODULE_ENABLED
- #include "stm32l0xx_hal_exti.h"
-#endif /* HAL_EXTI_MODULE_ENABLED */
-
-#ifdef HAL_GPIO_MODULE_ENABLED
- #include "stm32l0xx_hal_gpio.h"
-#endif /* HAL_GPIO_MODULE_ENABLED */
-
-#ifdef HAL_DMA_MODULE_ENABLED
- #include "stm32l0xx_hal_dma.h"
-#endif /* HAL_DMA_MODULE_ENABLED */
-
-#ifdef HAL_CORTEX_MODULE_ENABLED
- #include "stm32l0xx_hal_cortex.h"
-#endif /* HAL_CORTEX_MODULE_ENABLED */
-
-#ifdef HAL_ADC_MODULE_ENABLED
- #include "stm32l0xx_hal_adc.h"
-#endif /* HAL_ADC_MODULE_ENABLED */
-
-#ifdef HAL_COMP_MODULE_ENABLED
- #include "stm32l0xx_hal_comp.h"
-#endif /* HAL_COMP_MODULE_ENABLED */
-
-#ifdef HAL_CRC_MODULE_ENABLED
- #include "stm32l0xx_hal_crc.h"
-#endif /* HAL_CRC_MODULE_ENABLED */
-
-#ifdef HAL_CRYP_MODULE_ENABLED
- #include "stm32l0xx_hal_cryp.h"
-#endif /* HAL_CRYP_MODULE_ENABLED */
-
-#ifdef HAL_DAC_MODULE_ENABLED
- #include "stm32l0xx_hal_dac.h"
-#endif /* HAL_DAC_MODULE_ENABLED */
-
-#ifdef HAL_FIREWALL_MODULE_ENABLED
- #include "stm32l0xx_hal_firewall.h"
-#endif /* HAL_FIREWALL_MODULE_ENABLED */
-
-#ifdef HAL_FLASH_MODULE_ENABLED
- #include "stm32l0xx_hal_flash.h"
-#endif /* HAL_FLASH_MODULE_ENABLED */
-
-#ifdef HAL_I2C_MODULE_ENABLED
- #include "stm32l0xx_hal_i2c.h"
-#endif /* HAL_I2C_MODULE_ENABLED */
-
-#ifdef HAL_I2S_MODULE_ENABLED
- #include "stm32l0xx_hal_i2s.h"
-#endif /* HAL_I2S_MODULE_ENABLED */
-
-#ifdef HAL_IWDG_MODULE_ENABLED
- #include "stm32l0xx_hal_iwdg.h"
-#endif /* HAL_IWDG_MODULE_ENABLED */
-
-#ifdef HAL_LCD_MODULE_ENABLED
- #include "stm32l0xx_hal_lcd.h"
-#endif /* HAL_LCD_MODULE_ENABLED */
-
-#ifdef HAL_LPTIM_MODULE_ENABLED
-#include "stm32l0xx_hal_lptim.h"
-#endif /* HAL_LPTIM_MODULE_ENABLED */
-
-#ifdef HAL_PWR_MODULE_ENABLED
- #include "stm32l0xx_hal_pwr.h"
-#endif /* HAL_PWR_MODULE_ENABLED */
-
-#ifdef HAL_RNG_MODULE_ENABLED
- #include "stm32l0xx_hal_rng.h"
-#endif /* HAL_RNG_MODULE_ENABLED */
-
-#ifdef HAL_RTC_MODULE_ENABLED
- #include "stm32l0xx_hal_rtc.h"
-
-#endif /* HAL_RTC_MODULE_ENABLED */
-
-#ifdef HAL_SPI_MODULE_ENABLED
- #include "stm32l0xx_hal_spi.h"
-#endif /* HAL_SPI_MODULE_ENABLED */
-
-#ifdef HAL_TIM_MODULE_ENABLED
- #include "stm32l0xx_hal_tim.h"
-#endif /* HAL_TIM_MODULE_ENABLED */
-
-#ifdef HAL_TSC_MODULE_ENABLED
- #include "stm32l0xx_hal_tsc.h"
-#endif /* HAL_TSC_MODULE_ENABLED */
-
-#ifdef HAL_UART_MODULE_ENABLED
- #include "stm32l0xx_hal_uart.h"
-#endif /* HAL_UART_MODULE_ENABLED */
-
-#ifdef HAL_USART_MODULE_ENABLED
- #include "stm32l0xx_hal_usart.h"
-#endif /* HAL_USART_MODULE_ENABLED */
-
-#ifdef HAL_IRDA_MODULE_ENABLED
- #include "stm32l0xx_hal_irda.h"
-#endif /* HAL_IRDA_MODULE_ENABLED */
-
-#ifdef HAL_SMARTCARD_MODULE_ENABLED
- #include "stm32l0xx_hal_smartcard.h"
-#endif /* HAL_SMARTCARD_MODULE_ENABLED */
-
-#ifdef HAL_SMBUS_MODULE_ENABLED
- #include "stm32l0xx_hal_smbus.h"
-#endif /* HAL_SMBUS_MODULE_ENABLED */
-
-#ifdef HAL_WWDG_MODULE_ENABLED
- #include "stm32l0xx_hal_wwdg.h"
-#endif /* HAL_WWDG_MODULE_ENABLED */
-
-#ifdef HAL_PCD_MODULE_ENABLED
- #include "stm32l0xx_hal_pcd.h"
-#endif /* HAL_PCD_MODULE_ENABLED */
-
-/* Exported macro ------------------------------------------------------------*/
-#ifdef USE_FULL_ASSERT
-/**
- * @brief The assert_param macro is used for function's parameters check.
- * @param expr: If expr is false, it calls assert_failed function
- * which reports the name of the source file and the source
- * line number of the call that failed.
- * If expr is true, it returns no value.
- * @retval None
- */
- #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
-/* Exported functions ------------------------------------------------------- */
- void assert_failed(uint8_t* file, uint32_t line);
-#else
- #define assert_param(expr) ((void)0U)
-#endif /* USE_FULL_ASSERT */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __STM32L0xx_HAL_CONF_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw_hal/Core/Inc/stm32l0xx_it.h b/fw_hal/Core/Inc/stm32l0xx_it.h
deleted file mode 100644
index 77cb7bd..0000000
--- a/fw_hal/Core/Inc/stm32l0xx_it.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file stm32l0xx_it.h
- * @brief This file contains the headers of the interrupt handlers.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2021 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __STM32L0xx_IT_H
-#define __STM32L0xx_IT_H
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Exported types ------------------------------------------------------------*/
-/* USER CODE BEGIN ET */
-
-/* USER CODE END ET */
-
-/* Exported constants --------------------------------------------------------*/
-/* USER CODE BEGIN EC */
-
-/* USER CODE END EC */
-
-/* Exported macro ------------------------------------------------------------*/
-/* USER CODE BEGIN EM */
-
-/* USER CODE END EM */
-
-/* Exported functions prototypes ---------------------------------------------*/
-void NMI_Handler(void);
-void HardFault_Handler(void);
-void SVC_Handler(void);
-void PendSV_Handler(void);
-void SysTick_Handler(void);
-/* USER CODE BEGIN EFP */
-
-/* USER CODE END EFP */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __STM32L0xx_IT_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw_hal/Core/Src/config.c b/fw_hal/Core/Src/config.c
deleted file mode 100644
index 08f6112..0000000
--- a/fw_hal/Core/Src/config.c
+++ /dev/null
@@ -1,243 +0,0 @@
-/*
- * config.c
- *
- * Created on: Sep 5, 2021
- * Author: david
- */
-
-#include "config.h"
-
-/*
- * Variables
- */
-/* Baudrates - STM32L0xx can do baudrates from 1200 to 115200
- * - default value has index 0 */
-const uint32_t config_baudrates[] = {
- 19200, // 0
- 4800, // 1
- 9600, // 2
- 14400, // 3
- 19200, // 4
- 28800, // 5
- 38400, // 6
- 57600, // 7
- 76800, // 8
- 115200 // 9
-};
-const uint8_t config_baudrates_length = 10;
-
-/* Function to lock the EEPROM */
-static int8_t eeprom_lock(void);
-/* Function to unlock the EEPROM */
-static int8_t eeprom_unlock(void);
-/* Function to write one byte to the EEPROM */
-/* IMPORTANT: EEPROM must be unlocked first */
-static int8_t eeprom_program_byte(uint32_t addr, uint8_t ee_data);
-/* Function to write two bytes to the EEPROM */
-/* IMPORTANT: EEPROM must be unlocked first */
-static int8_t eeprom_program_halfword(uint32_t addr, uint16_t ee_data);
-/* Function to write four bytes to the EEPROM */
-/* IMPORTANT: EEPROM must be unlocked first */
-static int8_t eeprom_program_word(uint32_t addr, uint32_t ee_data);
-
-int8_t config_read(config_t *config)
-{
- config->modbus_addr = *(uint16_t *) (CONFIG_EEPROM_ADDR_MODBUS_ADDR);
- config->baudrate_index = *(uint16_t *) (CONFIG_EEPROM_ADDR_BAUDRATE_INDEX);
- config->led_on = *(uint16_t *) (CONFIG_EEPROM_ADDR_LED_ON);
- config->led_brightness = *(uint16_t *) (CONFIG_EEPROM_ADDR_LED_BRIGHTNESS);
- config->led_smooth = *(uint16_t *) (CONFIG_EEPROM_ADDR_LED_SMOOTH);
- config->led_co2_alert_limit1 = *(uint16_t *) (CONFIG_EEPROM_ADDR_LED_ALERT1);
- config->led_co2_alert_limit2 = *(uint16_t *) (CONFIG_EEPROM_ADDR_LED_ALERT2);
- config->scd4x_t_offset = *(int16_t *) (CONFIG_EEPROM_ADDR_SCD4x_T_OFFSET);
-
- /* Check if the EEPROM is initialized - do not check:
- * LED ON
- * LED SMOOTH
- * SCD4x T OFFSET
- * BAUDRATE INDEX
- * those can be 0 */
- if ((config->modbus_addr == EEPROM_EMPTY_BYTE) ||
- (config->led_co2_alert_limit1 == EEPROM_EMPTY_BYTE) ||
- (config->led_co2_alert_limit2 == EEPROM_EMPTY_BYTE) ||
- (config->led_brightness == EEPROM_EMPTY_BYTE))
- {
- return CONFIG_ERROR;
- }
- return CONFIG_OK;
-}
-
-int8_t config_write(config_t *config)
-{
- /* Unlock the EEPROM */
- if (eeprom_unlock() != EEPROM_OK)
- {
- return EEPROM_UNLOCK_ERROR;
- }
- /* Reset the ERASE and DATA bits in the FLASH_PECR register to disable any residual erase */
- FLASH->PECR = FLASH->PECR & ~(FLASH_PECR_ERASE | FLASH_PECR_DATA);
-
- /* Write MODBUS ADDRESS */
- if (eeprom_program_halfword(CONFIG_EEPROM_ADDR_MODBUS_ADDR, config->modbus_addr) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
- /* Write BAUDRATE */
- if (eeprom_program_halfword(CONFIG_EEPROM_ADDR_BAUDRATE_INDEX, config->baudrate_index) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
-
- /* Write LED ON */
- if (eeprom_program_byte(CONFIG_EEPROM_ADDR_LED_ON, config->led_on) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
-
- /* Write LED BRIGHTNESS */
- if (eeprom_program_halfword(CONFIG_EEPROM_ADDR_LED_BRIGHTNESS, config->led_brightness) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
-
- /* Write LED SMOOTH */
- if (eeprom_program_byte(CONFIG_EEPROM_ADDR_LED_SMOOTH, config->led_smooth) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
-
- /* Write LED CO2 ALERT LIMIT 1 */
- if (eeprom_program_halfword(CONFIG_EEPROM_ADDR_LED_ALERT1, config->led_co2_alert_limit1) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
-
- /* Write LED CO2 ALERT LIMIT 2 */
- if (eeprom_program_halfword(CONFIG_EEPROM_ADDR_LED_ALERT2, config->led_co2_alert_limit2) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
-
- /* Write LED SCD4x TEMPERATURE OFFSET */
- if (eeprom_program_halfword(CONFIG_EEPROM_ADDR_SCD4x_T_OFFSET, config->scd4x_t_offset) != EEPROM_OK)
- {
- return EEPROM_WRITE_ERROR;
- }
-
- /* Lock EEPROM*/
- if (eeprom_lock() != EEPROM_OK)
- {
- return EEPROM_LOCK_ERROR;
- }
- return CONFIG_OK;
-}
-
-static int8_t eeprom_lock(void)
-{
- uint32_t tick_start = SysTick->VAL;
- while ((FLASH->SR & FLASH_SR_BSY) != 0) /* Wait for FLASH to be free */
- {
- /* Timeout test */
- /* The maximum writing time is 3.94ms (half-word) */
- uint32_t tick_last = SysTick->VAL;
- uint32_t tick_diff;
- if (tick_start <= tick_last)
- {
- tick_diff = tick_last - tick_start;
- } else
- {
- tick_diff = (0xFFFFFFFF - tick_last) + tick_start;
- }
-
- /* If the time difference is more than 5ms */
- if (tick_diff >= (uint32_t)((uint32_t)SYSTICK_FREQ_HZ*(uint32_t)EEPROM_TIMEOUT_MAX_MS_INV))
- {
- return EEPROM_LOCK_ERROR;
- }
- }
-
- FLASH->PECR = FLASH->PECR & ~(FLASH_PECR_ERRIE | FLASH_PECR_EOPIE); /* disable flash interrupts */
- FLASH->PECR = FLASH->PECR | FLASH_PECR_PELOCK; /* Lock memory with PELOCK */
-
- return EEPROM_OK;
-}
-
-static int8_t eeprom_unlock(void)
-{
- uint32_t tick_start = SysTick->VAL;
- while ((FLASH->SR & FLASH_SR_BSY) != 0) /* Wait for FLASH to be free */
- {
- /* Timeout test */
- /* The maximum writing time is 3.94ms (half-word) */
- uint32_t tick_last = SysTick->VAL;
- uint32_t tick_diff;
- if (tick_start <= tick_last)
- {
- tick_diff = tick_last - tick_start;
- } else
- {
- tick_diff = (0xFFFFFFFF - tick_last) + tick_start;
- }
-
- /* If the time difference is more than 5ms */
- if (tick_diff >= (uint32_t)((uint32_t)SYSTICK_FREQ_HZ*(uint32_t)EEPROM_TIMEOUT_MAX_MS_INV))
- {
- return EEPROM_UNLOCK_ERROR;
- }
- }
- if ((FLASH->PECR & FLASH_PECR_PELOCK) != 0) /* If PELOCK is locked */
- {
- /* Unlock PELOCK */
- FLASH->PEKEYR = FLASH_PEKEY1; /* PEKEY1 */
- FLASH->PEKEYR = FLASH_PEKEY2; /* PEKEY2 */
- }
- FLASH->PECR = FLASH->PECR | (FLASH_PECR_ERRIE | FLASH_PECR_EOPIE); /* enable flash interrupts */
- return EEPROM_OK;
-}
-
-static int8_t eeprom_program_byte(uint32_t addr, uint8_t ee_data)
-{
- if ((EEPROM_ADDR_START <= addr) && (addr <= EEPROM_ADDR_END - 1))
- {
- *(uint8_t *)(addr) = ee_data; /* write data to EEPROM */
- if (*(uint8_t *)(addr) != ee_data)
- {
- return EEPROM_WRITE_ERROR;
- }
- return EEPROM_OK;
- } else
- {
- return EEPROM_ADDR_ERROR;
- }
-}
-static int8_t eeprom_program_halfword(uint32_t addr, uint16_t ee_data)
-{
- if ((EEPROM_ADDR_START <= addr) && (addr <= EEPROM_ADDR_END - 2))
- {
- *(uint16_t *)(addr) = ee_data; /* write data to EEPROM */
- if (*(uint16_t *)(addr) != ee_data)
- {
- return EEPROM_WRITE_ERROR;
- }
- return EEPROM_OK;
- } else
- {
- return EEPROM_ADDR_ERROR;
- }
-}
-
-static int8_t eeprom_program_word(uint32_t addr, uint32_t ee_data)
-{
- if ((EEPROM_ADDR_START <= addr) && (addr <= EEPROM_ADDR_END - 4))
- {
- *(uint32_t *)(addr) = ee_data; /* write data to EEPROM */
- if (*(uint32_t *)(addr) != ee_data)
- {
- return EEPROM_WRITE_ERROR;
- }
- return EEPROM_OK;
- } else
- {
- return EEPROM_ADDR_ERROR;
- }
-}
diff --git a/fw_hal/Core/Src/crc8.c b/fw_hal/Core/Src/crc8.c
deleted file mode 100644
index 312cdf4..0000000
--- a/fw_hal/Core/Src/crc8.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * crc.c
- *
- * Created on: Jun 9, 2021
- * Author: user
- */
-
-#include "crc8.h"
-
-/* Stolen from Sensirion SCD4x datasheet, section 3.11 */
-uint8_t crc8_calculate(const uint8_t *data, uint16_t count)
-{
- uint16_t current_byte;
- uint8_t crc = CRC8_INIT;
- uint8_t crc_bit;
- /* calculates 8-Bit checksum with given polynomial */
- for (current_byte = 0; current_byte < count; ++current_byte) {
- crc ^= (data[current_byte]);
- for(crc_bit = 8; crc_bit > 0; --crc_bit) {
- if (crc & 0x80) {
- crc =(crc << 1) ^ CRC8_POLYNOMIAL;
- } else {
- crc = (crc << 1);
- }
- }
- }
- return crc;
-}
diff --git a/fw_hal/Core/Src/i2c.c b/fw_hal/Core/Src/i2c.c
deleted file mode 100644
index 0740767..0000000
--- a/fw_hal/Core/Src/i2c.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * i2c.c
- *
- * Created on: Jun 8, 2021
- * Author: user
- */
-
-#include "i2c.h"
-
-
-I2C_HandleTypeDef *i2c_context;
-uint16_t timeout;
-
-int8_t i2c_init(I2C_HandleTypeDef *context, uint16_t i2c_timeout)
-{
- if (context == NULL) {
- return I2C_ERROR;
- }
- i2c_context = context;
- timeout = i2c_timeout;
- return I2C_OK;
-}
-
-int8_t i2c_transmit(uint8_t address, uint8_t *buffer, uint16_t len)
-{
- if (HAL_I2C_Master_Transmit(i2c_context, address, buffer, len, timeout) == HAL_OK)
- {
- return I2C_OK;
- } else {
- return I2C_ERROR;
- }
-}
-
-int8_t i2c_receive(uint8_t address, uint8_t *buffer, uint16_t len)
-{
- if (HAL_I2C_Master_Receive(i2c_context, address, buffer, len, timeout) == HAL_OK)
- {
- return I2C_OK;
- } else
- {
- return I2C_ERROR;
- }
-}
-
-int8_t i2c_transmit_receive(uint8_t address, uint16_t tx_buffer, uint16_t tx_len, uint8_t *rx_buffer, uint16_t rx_len)
-{
- if(HAL_I2C_Mem_Read(i2c_context, address, tx_buffer, tx_len, rx_buffer, rx_len, timeout) == HAL_OK)
- {
- return I2C_OK;
- } else
- {
- return I2C_ERROR;
- }
-}
diff --git a/fw_hal/Core/Src/main.c b/fw_hal/Core/Src/main.c
deleted file mode 100644
index 8e44a81..0000000
--- a/fw_hal/Core/Src/main.c
+++ /dev/null
@@ -1,553 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file : main.c
- * @brief : Main program body
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2021 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Private typedef -----------------------------------------------------------*/
-/* USER CODE BEGIN PTD */
-
-/* USER CODE END PTD */
-
-/* Private define ------------------------------------------------------------*/
-/* USER CODE BEGIN PD */
-/* USER CODE END PD */
-
-/* Private macro -------------------------------------------------------------*/
-/* USER CODE BEGIN PM */
-
-/* USER CODE END PM */
-
-/* Private variables ---------------------------------------------------------*/
-I2C_HandleTypeDef hi2c1;
-
-TIM_HandleTypeDef htim2;
-TIM_HandleTypeDef htim21;
-TIM_HandleTypeDef htim22;
-
-UART_HandleTypeDef huart2;
-
-/* USER CODE BEGIN PV */
-/*
- * BASE CLOCK 12MHz
- * Desired interrupt period 60s
- */
-const uint16_t tim21_prescaler = 60000-1; // 200Hz
-//const uint16_t tim21_period = 12000-1; // 60s
-const uint16_t tim21_period = 1200-1; // 6s
-//const uint16_t tim21_period = 200-1; // 1s
-
-/* LED Timer Setup */
-const uint16_t led_pwm_prescaler = 1200-1; // 10kHz
-const uint16_t led_pwm_period = 100-1;
-
-uint16_t led_pwm_pulse_r = 0;
-uint16_t led_pwm_pulse_g = 0;
-uint16_t led_pwm_pulse_b = 0;
-/* Input register memory map
- * (All registers are 16-bit)
- * -------------------------
- *
- * 30010 : CO2 [ppm] Unsigned value in range [0,40000]
- * 30011 : T [deg_C * 10] From SHT4x; unsigned value in range [0; 1250]; e.g. 21.5 C => 215
- * 30012 : RH [%] From SHT4x; unsigned value in range [0; 100]
- *
- * Backup T and RH sensor:
- * 30013 : T [deg_C * 10] From SCD4x; unsigned value in range [0; 600]; e.g. 21.5 C => 215
- * 30014 : RH [%] From SCD4x; unsigned value in range [0; 100]
- *
- * Extended temperature range (signed values):
- * 30015 : T [deg_C * 10] From SHT4x; signed value (two's complement) in range [-400;1250]
- * 30016 : T [deg_C * 10] From SCD4x; signed value (two's complement) in range [-100;600]; e.g. -12.3 C => -123
- *
- */
-/* Input registers memory map implementation */
-enum
-{
- REGISTER_NUM_CO2 = 30010,
- REGISTER_NUM_T_SHT4x = 30011,
- REGISTER_NUM_RH_SHT4x = 30012,
- REGISTER_NUM_T_SCD4x = 30013,
- REGISTER_NUM_RH_SCD4x = 30014,
- REGISTER_NUM_T_SHT4x_SIGNED = 30015,
- REGISTER_NUM_T_SCD4x_SIGNED = 30016
-} data_registers_numbers;
-
-enum
-{
- REGISTER_NUM_LED_ON = 40001,
- REGISTER_NUM_LED_BRIGHTNESS = 40002,
- REGISTER_NUM_LED_SMOOTH = 40003,
- REGISTER_NUM_CO2_ALERT_LIMIT1 = 40004,
- REGISTER_NUM_CO2_ALERT_LIMIT2 = 40005,
- REGISTER_NUM_SCD4x_T_OFFSET = 40006,
- REGISTER_NUM_MODBUS_ADDR = 40007,
- REGISTER_NUM_BAUDRATE = 40008
-} config_registers_numbers;
-
-enum
-{
- REGISTER_NUM_VENDOR_NAME = 30010,
- REGISTER_NUM_PRODUCT_CODE = 30011,
- REGISTER_NUM_REVISION = 30012,
- REGISTER_NUM_PRODUCT_NAME = 30013,
- REGISTER_NUM_SERIAL_NUMBER = 30014
-} identification_registers_numbers;
-
-/* Variables to store the measured data */
-int CO2, T_SCD4x, RH_SCD4x;
-int T_SHT4x, RH_SHT4x;
-uint16_t sps30_measured_data[10];
-
-/* Struct to store the sensor config */
-config_t sensor_config;
-uint8_t sensor_config_pending_write = 0;
-uint8_t baudrate_changed = 0;
-uint8_t modbus_address_changed = 0;
-uint8_t co2_valid = 0;
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-void SystemClock_Config(void);
-static void MX_GPIO_Init(void);
-static void MX_I2C1_Init(void);
-static void MX_TIM2_Init(void);
-static void MX_TIM21_Init(void);
-static void MX_TIM22_Init(void);
-static void MX_USART2_UART_Init(void);
-/* USER CODE BEGIN PFP */
-
-/* USER CODE END PFP */
-
-/* Private user code ---------------------------------------------------------*/
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/**
- * @brief The application entry point.
- * @retval int
- */
-int main(void)
-{
- /* USER CODE BEGIN 1 */
-
- /* USER CODE END 1 */
-
- /* MCU Configuration--------------------------------------------------------*/
-
- /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
- HAL_Init();
-
- /* USER CODE BEGIN Init */
-
- /* USER CODE END Init */
-
- /* Configure the system clock */
- SystemClock_Config();
-
- /* USER CODE BEGIN SysInit */
-
- /* USER CODE END SysInit */
-
- /* Initialize all configured peripherals */
- MX_GPIO_Init();
- MX_I2C1_Init();
- MX_TIM2_Init();
- MX_TIM21_Init();
- MX_TIM22_Init();
- MX_USART2_UART_Init();
- /* USER CODE BEGIN 2 */
-
- i2c_init(&hi2c1,100);
- HAL_Delay(3000);
- scd4x_start_periodic_measurement();
- HAL_Delay(3000);
- /* USER CODE END 2 */
-
- /* Infinite loop */
- /* USER CODE BEGIN WHILE */
- while (1)
- {
- sht4x_measure(&T_SHT4x, &RH_SHT4x);
-
- scd4x_read_measurement(&CO2,
- &T_SCD4x,
- &RH_SCD4x);
- HAL_Delay(2000);
- /* USER CODE END WHILE */
-
- /* USER CODE BEGIN 3 */
- }
- /* USER CODE END 3 */
-}
-
-/**
- * @brief System Clock Configuration
- * @retval None
- */
-void SystemClock_Config(void)
-{
- RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
-
- /** Configure the main internal regulator output voltage
- */
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- /** Initializes the RCC Oscillators according to the specified parameters
- * in the RCC_OscInitTypeDef structure.
- */
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
- RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
- RCC_OscInitStruct.PLL.PLLMUL = RCC_PLLMUL_3;
- RCC_OscInitStruct.PLL.PLLDIV = RCC_PLLDIV_2;
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- {
- Error_Handler();
- }
- /** Initializes the CPU, AHB and APB buses clocks
- */
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV2;
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
-
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
- {
- Error_Handler();
- }
- PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USART2|RCC_PERIPHCLK_I2C1;
- PeriphClkInit.Usart2ClockSelection = RCC_USART2CLKSOURCE_PCLK1;
- PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_PCLK1;
- if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- {
- Error_Handler();
- }
-}
-
-/**
- * @brief I2C1 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_I2C1_Init(void)
-{
-
- /* USER CODE BEGIN I2C1_Init 0 */
-
- /* USER CODE END I2C1_Init 0 */
-
- /* USER CODE BEGIN I2C1_Init 1 */
-
- /* USER CODE END I2C1_Init 1 */
- hi2c1.Instance = I2C1;
- hi2c1.Init.Timing = 0x40000A0B;
- hi2c1.Init.OwnAddress1 = 0;
- hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
- hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
- hi2c1.Init.OwnAddress2 = 0;
- hi2c1.Init.OwnAddress2Masks = I2C_OA2_NOMASK;
- hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
- hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
- if (HAL_I2C_Init(&hi2c1) != HAL_OK)
- {
- Error_Handler();
- }
- /** Configure Analogue filter
- */
- if (HAL_I2CEx_ConfigAnalogFilter(&hi2c1, I2C_ANALOGFILTER_ENABLE) != HAL_OK)
- {
- Error_Handler();
- }
- /** Configure Digital filter
- */
- if (HAL_I2CEx_ConfigDigitalFilter(&hi2c1, 0) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN I2C1_Init 2 */
-
- /* USER CODE END I2C1_Init 2 */
-
-}
-
-/**
- * @brief TIM2 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_TIM2_Init(void)
-{
-
- /* USER CODE BEGIN TIM2_Init 0 */
-
- /* USER CODE END TIM2_Init 0 */
-
- TIM_ClockConfigTypeDef sClockSourceConfig = {0};
- TIM_MasterConfigTypeDef sMasterConfig = {0};
- TIM_OC_InitTypeDef sConfigOC = {0};
-
- /* USER CODE BEGIN TIM2_Init 1 */
-
- /* USER CODE END TIM2_Init 1 */
- htim2.Instance = TIM2;
- htim2.Init.Prescaler = led_pwm_prescaler;
- htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
- htim2.Init.Period = led_pwm_period;
- htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
- if (HAL_TIM_Base_Init(&htim2) != HAL_OK)
- {
- Error_Handler();
- }
- sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
- if (HAL_TIM_ConfigClockSource(&htim2, &sClockSourceConfig) != HAL_OK)
- {
- Error_Handler();
- }
- if (HAL_TIM_PWM_Init(&htim2) != HAL_OK)
- {
- Error_Handler();
- }
- sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK)
- {
- Error_Handler();
- }
- sConfigOC.OCMode = TIM_OCMODE_PWM1;
- sConfigOC.Pulse = led_pwm_pulse_b;
- sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- if (HAL_TIM_PWM_ConfigChannel(&htim2, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN TIM2_Init 2 */
-
- /* USER CODE END TIM2_Init 2 */
- HAL_TIM_MspPostInit(&htim2);
-
-}
-
-/**
- * @brief TIM21 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_TIM21_Init(void)
-{
-
- /* USER CODE BEGIN TIM21_Init 0 */
-
- /* USER CODE END TIM21_Init 0 */
-
- TIM_ClockConfigTypeDef sClockSourceConfig = {0};
- TIM_MasterConfigTypeDef sMasterConfig = {0};
-
- /* USER CODE BEGIN TIM21_Init 1 */
-
- /* USER CODE END TIM21_Init 1 */
- htim21.Instance = TIM21;
- htim21.Init.Prescaler = tim21_prescaler;
- htim21.Init.CounterMode = TIM_COUNTERMODE_UP;
- htim21.Init.Period = tim21_period;
- htim21.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- htim21.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
- if (HAL_TIM_Base_Init(&htim21) != HAL_OK)
- {
- Error_Handler();
- }
- sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
- if (HAL_TIM_ConfigClockSource(&htim21, &sClockSourceConfig) != HAL_OK)
- {
- Error_Handler();
- }
- sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- if (HAL_TIMEx_MasterConfigSynchronization(&htim21, &sMasterConfig) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN TIM21_Init 2 */
-
- /* USER CODE END TIM21_Init 2 */
-
-}
-
-/**
- * @brief TIM22 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_TIM22_Init(void)
-{
-
- /* USER CODE BEGIN TIM22_Init 0 */
-
- /* USER CODE END TIM22_Init 0 */
-
- TIM_ClockConfigTypeDef sClockSourceConfig = {0};
- TIM_MasterConfigTypeDef sMasterConfig = {0};
- TIM_OC_InitTypeDef sConfigOC = {0};
-
- /* USER CODE BEGIN TIM22_Init 1 */
-
- /* USER CODE END TIM22_Init 1 */
- htim22.Instance = TIM22;
- htim22.Init.Prescaler = led_pwm_prescaler;
- htim22.Init.CounterMode = TIM_COUNTERMODE_UP;
- htim22.Init.Period = led_pwm_period;
- htim22.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- htim22.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
- if (HAL_TIM_Base_Init(&htim22) != HAL_OK)
- {
- Error_Handler();
- }
- sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
- if (HAL_TIM_ConfigClockSource(&htim22, &sClockSourceConfig) != HAL_OK)
- {
- Error_Handler();
- }
- if (HAL_TIM_PWM_Init(&htim22) != HAL_OK)
- {
- Error_Handler();
- }
- sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- if (HAL_TIMEx_MasterConfigSynchronization(&htim22, &sMasterConfig) != HAL_OK)
- {
- Error_Handler();
- }
- sConfigOC.OCMode = TIM_OCMODE_PWM1;
- sConfigOC.Pulse = led_pwm_pulse_g;
- sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- if (HAL_TIM_PWM_ConfigChannel(&htim22, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
- {
- Error_Handler();
- }
- sConfigOC.Pulse = led_pwm_pulse_r;
- if (HAL_TIM_PWM_ConfigChannel(&htim22, &sConfigOC, TIM_CHANNEL_2) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN TIM22_Init 2 */
-
- /* USER CODE END TIM22_Init 2 */
- HAL_TIM_MspPostInit(&htim22);
-
-}
-
-/**
- * @brief USART2 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_USART2_UART_Init(void)
-{
-
- /* USER CODE BEGIN USART2_Init 0 */
-
- /* USER CODE END USART2_Init 0 */
-
- /* USER CODE BEGIN USART2_Init 1 */
-
- /* USER CODE END USART2_Init 1 */
- huart2.Instance = USART2;
- huart2.Init.BaudRate = 115200;
- huart2.Init.WordLength = UART_WORDLENGTH_9B;
- huart2.Init.StopBits = UART_STOPBITS_1;
- huart2.Init.Parity = UART_PARITY_EVEN;
- huart2.Init.Mode = UART_MODE_TX_RX;
- huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
- huart2.Init.OverSampling = UART_OVERSAMPLING_16;
- huart2.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;
- huart2.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT;
- if (HAL_RS485Ex_Init(&huart2, UART_DE_POLARITY_HIGH, 0, 0) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN USART2_Init 2 */
-
- /* USER CODE END USART2_Init 2 */
-
-}
-
-/**
- * @brief GPIO Initialization Function
- * @param None
- * @retval None
- */
-static void MX_GPIO_Init(void)
-{
-
- /* GPIO Ports Clock Enable */
- __HAL_RCC_GPIOA_CLK_ENABLE();
-
-}
-
-/* USER CODE BEGIN 4 */
-
-/* USER CODE END 4 */
-
-/**
- * @brief This function is executed in case of error occurrence.
- * @retval None
- */
-void Error_Handler(void)
-{
- /* USER CODE BEGIN Error_Handler_Debug */
- /* User can add his own implementation to report the HAL error return state */
- __disable_irq();
- while (1)
- {
- }
- /* USER CODE END Error_Handler_Debug */
-}
-
-#ifdef USE_FULL_ASSERT
-/**
- * @brief Reports the name of the source file and the source line number
- * where the assert_param error has occurred.
- * @param file: pointer to the source file name
- * @param line: assert_param error line source number
- * @retval None
- */
-void assert_failed(uint8_t *file, uint32_t line)
-{
- /* USER CODE BEGIN 6 */
- /* User can add his own implementation to report the file name and line number,
- ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
- /* USER CODE END 6 */
-}
-#endif /* USE_FULL_ASSERT */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw_hal/Core/Src/modbus.c b/fw_hal/Core/Src/modbus.c
deleted file mode 100644
index 4ec6e09..0000000
--- a/fw_hal/Core/Src/modbus.c
+++ /dev/null
@@ -1,265 +0,0 @@
-/*
- * modbus.c
- *
- * Created on: Jul 18, 2021
- * Author: user
- */
-
-#include "modbus.h"
-
-/*
- * Global variables
- */
-
-/* Modbus TX buffer; can be also used for RX in memory constrained systems (e.g. in main.c);
- * NOTE if shared buffer is used for TX/RX, care must be taken to prevent writing into buffer
- * during execution of modbus_process_message() */
-uint8_t modbus_buffer[MODBUS_MAX_RTU_FRAME_SIZE];
-
-/* device address: declared */
-uint8_t modbus_slave_address = MODBUS_DEFAULT_SLAVE_ADDRESS;
-
-/*
- * CRC16 functions
- * see https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf
- * section 6.2.2
- */
-
-/* CRC16 (without memory mapped values)
- * taken from https://ctlsys.com/support/how_to_compute_the_modbus_rtu_message_crc/ */
-uint16_t modbus_CRC16(const uint8_t *buf, int len)
-{
- uint16_t crc = 0xFFFF;
-
- for (int pos = 0; pos < len; pos++) {
- crc ^= (uint16_t)buf[pos]; // XOR byte into least sig. byte of crc
-
- for (int i = 8; i != 0; i--) { // Loop over each bit
- if ((crc & 0x0001) != 0) { // If the LSB is set
- crc >>= 1; // Shift right and XOR 0xA001
- crc ^= 0xA001;
- } else { // Else LSB is not set
- crc >>= 1; // Just shift right
- }
- }
- }
- // Note, this number has low and high bytes swapped, so use it accordingly (or swap bytes)
- return crc;
-}
-
-/*
- * Private functions
- */
-
-/* here we assume buffer has minimal size of MODBUS_MAX_RTU_FRAME_SIZE;
- * this function is private, so hopefully it's going to be ok */
-int8_t modbus_copy_reply_to_buffer(uint8_t *buffer, uint8_t *msg_len, modbus_transaction_t *transaction)
-{
- uint16_t crc16;
- uint8_t byte_count;
-
- // TODO use relative indices (increments) instead of absolute
- buffer[0] = modbus_slave_address;
- buffer[1] = transaction->function_code;
- *msg_len = 5;
-
- if (transaction->function_code & MODBUS_ERROR_FLAG) {
- /* sending error reply */
- buffer[2] = transaction->exception.exception_code;
- } else {
- switch (transaction->function_code) {
- case MODBUS_READ_HOLDING_REGISTERS:
- case MODBUS_READ_INPUT_REGISTERS:
- byte_count = transaction->register_count * 2;
- buffer[2] = byte_count;
- *msg_len = byte_count + 5;
- for (int i = 0; i < transaction->register_count; i++) {
- // TODO endianness handling
- /* buffer16b is alias for both holding and input register buffers */
- buffer[3 + 2*i] = transaction->buffer16b[i] >> 8;
- buffer[4 + 2*i] = transaction->buffer16b[i] & 0xff;
- }
- break;
- case MODBUS_WRITE_SINGLE_REGISTER:
- buffer[2] = (uint8_t) (transaction->register_address >> 8);
- buffer[3] = (uint8_t) transaction->register_address;
- buffer[4] = (uint8_t) (transaction->holding_registers[0] >> 8);
- buffer[5] = (uint8_t) transaction->holding_registers[0];
- *msg_len = 8;
- break;
- case MODBUS_WRITE_MULTIPLE_REGISTERS:
- buffer[2] = (uint8_t) (transaction->register_address >> 8);
- buffer[3] = (uint8_t) transaction->register_address;
- buffer[4] = (uint8_t) (transaction->register_count >> 8);
- buffer[5] = (uint8_t) transaction->register_count;
- *msg_len = 8;
- break;
- }
- }
- crc16 = modbus_CRC16(buffer, *msg_len - 2); /* last two bytes is the checksum itself */
- buffer[*msg_len - 2] = crc16 & 0xff;
- buffer[*msg_len - 1] = crc16 >> 8;
-}
-
-/*
- * Public function definitions
- */
-
-int8_t modbus_slave_set_address(uint8_t address)
-{
- if (address == 0) {
- /* address 0 is broadcast address */
- return MODBUS_ERROR;
- }
- modbus_slave_address = address;
- return MODBUS_OK;
-}
-
-int8_t modbus_slave_process_msg(const uint8_t *buffer, int len)
-{
- /*
- * TODO list:
- *
- * 1) check that errors and exceptions are handled according to Modbus_Application_Protocol_V1_1b.pdf
- * 2) buffer overflow prevention: for each function code, check that buffer is long enough
- */
- /* transaction holds message context and content:
- * it wraps all necessary buffers and variables */
- modbus_transaction_t transaction;
- int8_t callback_result;
- uint8_t buffer_pos = 0;
- uint8_t byte_count;
-
- if (len < MODBUS_MINIMAL_FRAME_LEN) {
- /* frame too short; return error */
- return MODBUS_ERROR_FRAME_INVALID;
- }
- /* check CRC first */
- uint16_t crc_received = (buffer[len - 1] << 8) | buffer[len - 2];
- uint16_t crc_calculated = modbus_CRC16(buffer, len - 2);
- if (crc_received != crc_calculated) {
- /* CRC mismatch, return error */
- //printf("crc mismatch: received 0x%x, calculated 0x%x\n", crc_received, crc_calculated);
- return MODBUS_ERROR_CRC;
- }
- /* check if address matches ours */
- uint8_t address = buffer[buffer_pos++];
- if (address != modbus_slave_address && address != MODBUS_BROADCAST_ADDR) {
- /* Message is not for us */
- return MODBUS_OK;
- }
- /* get function code */
- transaction.function_code = buffer[buffer_pos++];
- transaction.exception.exception_code = 0;
-
- if (transaction.function_code == MODBUS_READ_DEVICE_IDENTIFICATION) {
- // TODO
- goto modbus_send;
- }
-
- /* set starting register number */
- switch (transaction.function_code) {
- /* coils */
- case MODBUS_READ_DO:
- case MODBUS_WRITE_SINGLE_DO:
- case MODBUS_WRITE_MULTIPLE_DO:
- transaction.register_number = MODBUS_DO_START_NUMBER;
- break;
- /* discrete inputs */
- case MODBUS_READ_DI:
- transaction.register_number = MODBUS_DI_START_NUMBER;
- break;
- /* input registers */
- case MODBUS_READ_AI:
- transaction.register_number = MODBUS_AI_START_NUMBER;
- break;
- /* holding registers */
- case MODBUS_READ_AO:
- case MODBUS_WRITE_SINGLE_AO:
- case MODBUS_WRITE_MULTIPLE_AO:
- case MODBUS_READ_WRITE_MULTIPLE_REGISTERS:
- transaction.register_number = MODBUS_AO_START_NUMBER;
- break;
- }
-
- #define MODBUS_FLAG_WRITE 0x01
- #define MODBUS_FLAG_SINGLE 0x02
- uint8_t flags = 0x00;
-
- /* process message */
- switch (transaction.function_code) {
- case MODBUS_WRITE_SINGLE_COIL:
- case MODBUS_WRITE_SINGLE_REGISTER: /* holding register */
- flags |= MODBUS_FLAG_SINGLE;
- case MODBUS_WRITE_MULTIPLE_COILS:
- case MODBUS_WRITE_MULTIPLE_REGISTERS:
- flags |= MODBUS_FLAG_WRITE;
- case MODBUS_READ_DISCRETE_INPUTS:
- case MODBUS_READ_COILS:
- case MODBUS_READ_INPUT_REGISTERS:
- case MODBUS_READ_HOLDING_REGISTERS:
- if (len < (MODBUS_MINIMAL_FRAME_LEN + 4)) {
- /* buffer too short to contain everything we need */
- return MODBUS_ERROR;
- }
- transaction.register_address = (buffer[buffer_pos++] << 8) | buffer[buffer_pos++];
- // TODO check length!
- if (flags & MODBUS_FLAG_WRITE) {
- if (flags & MODBUS_FLAG_SINGLE) {
- transaction.holding_registers[0] = (buffer[buffer_pos++] << 8) | buffer[buffer_pos++];
- } else {
- /* Write multiple registers */
- transaction.register_count = (buffer[buffer_pos++] << 8) | buffer[buffer_pos++];
- byte_count = buffer[buffer_pos++];
- if (transaction.register_count > 123 || 2*transaction.register_count != byte_count) {
- /* Max number of register is defined by Modbus_Application_Protocol_V1_1b, section 6.12 */
- transaction.exception.exception_code = MODBUS_EXCEPTION_ILLEGAL_REGISTER_QUANTITY;
- } else {
- for (uint8_t i = 0; i < transaction.register_count; i++) {
- transaction.holding_registers[i] = (buffer[buffer_pos++] << 8) | buffer[buffer_pos++];
- }
- }
- }
- } else {
- transaction.register_count = (buffer[buffer_pos++] << 8) | buffer[buffer_pos++];
- if (
- transaction.register_count < 1 ||
- transaction.register_count > MODBUS_MAX_REGISTERS
- ) {
- transaction.exception.exception_code = MODBUS_EXCEPTION_ILLEGAL_DATA_VALUE;
- }
- }
- // add offset to register number
- transaction.register_number += transaction.register_address;
- break;
- default:
- /* function code not known / not implemented, reply with
- * ExceptionCode 1 */
- transaction.exception.exception_code = MODBUS_EXCEPTION_ILLEGAL_FUNCTION;
- break;
- }
- /* data in modbus_buffer have been processed and buffer can be re-used for TX */
- /* handle reply */
- if (transaction.exception.exception_code != 0) {
- /* indicate error */
- transaction.function_code |= MODBUS_ERROR_FLAG;
- } else {
- callback_result = modbus_slave_callback(&transaction);
- /* error handling */
- if (callback_result != MODBUS_OK) {
- transaction.function_code |= MODBUS_ERROR_FLAG;
- if (callback_result == MODBUS_ERROR_FUNCTION_NOT_IMPLEMENTED) {
- transaction.exception.exception_code = MODBUS_EXCEPTION_ILLEGAL_FUNCTION;
- } else if (callback_result == MODBUS_ERROR_REGISTER_NOT_IMPLEMENTED) {
- transaction.exception.exception_code = MODBUS_EXCEPTION_ILLEGAL_DATA_ADDRESS;
- }
- }
- }
- uint8_t msg_len = 0;
-modbus_send:
- if (address != MODBUS_BROADCAST_ADDR) {
- /* send only if master request was not broadcast */
- modbus_copy_reply_to_buffer(modbus_buffer, &msg_len, &transaction);
- modbus_transmit_function(modbus_buffer, msg_len);
- }
-}
diff --git a/fw_hal/Core/Src/rgb_led.c b/fw_hal/Core/Src/rgb_led.c
deleted file mode 100644
index 55bd8f9..0000000
--- a/fw_hal/Core/Src/rgb_led.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * rgb_led.c
- *
- * Created on: Nov 4, 2021
- * Author: david
- */
-
-#include "rgb_led.h"
-
-int8_t rgb_led_set_duty_cycles (uint16_t r_duty, uint16_t g_duty, uint16_t b_duty)
-{
- return -1;
-}
-
-
-int8_t rgb_led_set_color (rgb_led_color_t color)
-{
- return -1;
-}
diff --git a/fw_hal/Core/Src/scd4x.c b/fw_hal/Core/Src/scd4x.c
deleted file mode 100644
index 0ba185f..0000000
--- a/fw_hal/Core/Src/scd4x.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * sht4x.c
- *
- * Created on: Jun 8, 2021
- * Author: user
- */
-
-#include "scd4x.h"
-#include "main.h" /* for uart_disable_interrupts() */
-
-int8_t scd4x_send_cmd(scd4x_cmd_t cmd)
-{
- uint8_t buffer[32];
- int result;
-
- // start measurement
- buffer[0] = cmd >> 8;
- buffer[1] = cmd & 0x00ff;
- result = i2c_transmit(SCD4X_I2C_ADDRESS<<1, buffer, 2);
- if (result != I2C_OK) {
- return SCD4X_ERROR;
- }
-
- return SCD4X_OK;
-}
-
-int8_t scd4x_read_data(uint8_t *buffer, int len)
-{
- return SCD4X_OK;
-}
-
-int8_t scd4x_start_periodic_measurement( void )
-{
- return scd4x_send_cmd(SCD4X_START_PERIODIC_MEASUREMENT);
-}
-
-int8_t scd4x_stop_periodic_measurement( void )
-{
- return scd4x_send_cmd(SCD4X_STOP_PERIODIC_MEASUREMENT);
-}
-
-int8_t scd4x_perform_factory_reset( void )
-{
- return scd4x_send_cmd(SCD4X_PERFORM_FACTORY_RESET);
-}
-
-int8_t scd4x_read_measurement(uint16_t * co2, int16_t *temperature, uint16_t *relative_humidity)
-{
- uint8_t buffer[32];
- int8_t result;
-
- // start measurement
- // TODO: Check for data ready
- /*
- buffer[0] = GET_DATA_READY_STATUS >> 8;
- buffer[1] = GET_DATA_READY_STATUS & 0x00ff;
- result = i2c_transmit(SCD4X_I2C_ADDRESS<<1, buffer, 2);
- if (result != I2C_OK) {
- return SCD4X_ERROR;
- }
- LL_mDelay(100); // 10 ms should be enough
- // read out
- result = i2c_receive(SCD4X_I2C_ADDRESS<<1, buffer, 6);
- if (result != I2C_OK) {
- return SCD4X_ERROR;
- }*/
-
-
- // start measurement
-// tx_buffer[0] = SCD4X_READ_MEASUREMENT >> 8;
-// tx_buffer[1] = SCD4X_READ_MEASUREMENT & 0x00ff;
-
- /*uart_disable_interrupts();*/
-// result = i2c_transmit(SCD4X_I2C_ADDRESS<<1, buffer, 2);
-
- // TODO: Proc to vraci NACK? Vyresit.
- /*if (result != I2C_OK) {
- return SCD4X_ERROR;
- }*/
-
- /*uart_enable_interrupts();*/
-// HAL_Delay(10);
-
-// uart_disable_interrupts();
- // read out
-// result = i2c_receive(SCD4X_I2C_ADDRESS<<1, buffer, 9);
-// if (result != I2C_OK)
-// {
-// return SCD4X_ERROR;
-// }
- result = i2c_transmit_receive(SCD4X_I2C_ADDRESS<<1, SCD4X_READ_MEASUREMENT, I2C_MEMADD_SIZE_16BIT, buffer, 9);
- if (result != I2C_OK)
- {
- return SCD4X_ERROR;
- }
-// uart_enable_interrupts();
-
- // TODO checksum
- // Convert to T and RH; taken directly from pseudocode in SHT4x datasheet, page 3
- uint32_t co2_ticks = (buffer[0] << 8) + buffer[1];
- uint32_t t_ticks = (buffer[3] << 8) + buffer[4];
- uint32_t rh_ticks = (buffer[6] << 8) + buffer[7];
- int t_degC = -450 + 10 * 175 * t_ticks / 65535;
- int rh_pRH = 100 * rh_ticks / 65535;
- if (rh_pRH > 100) {
- rh_pRH = 100;
- }
- if (rh_pRH < 0) {
- rh_pRH = 0;
- }
- *co2 = co2_ticks;
- *temperature = t_degC;
- *relative_humidity = rh_pRH;
-
- return SCD4X_OK;
-}
diff --git a/fw_hal/Core/Src/sht4x.c b/fw_hal/Core/Src/sht4x.c
deleted file mode 100644
index f864268..0000000
--- a/fw_hal/Core/Src/sht4x.c
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * sht4x.c
- *
- * Created on: Jun 8, 2021
- * Author: user
- */
-
-#include "sht4x.h"
-#include "main.h" /* for uart_disable_interrupts() */
-
-int8_t sht4x_send_cmd(sht4x_cmd_t cmd)
-{
- return SHT4X_OK;
-}
-
-int8_t sht4x_read_data(uint8_t *buffer, int len)
-{
- return SHT4X_OK;
-}
-
-int8_t sht4x_measure(int16_t *temperature, uint16_t *relative_humidity)
-{
- uint8_t buffer[32];
- int result;
-
- // start measurement
- buffer[0] = SHT4X_START_MEAS_HIGH_PRECISION;
- result = i2c_transmit(SHT4X_I2C_ADDRESS<<1, buffer, 1);
- // TODO: Proc to vraci NACK? Vyresit.
- /*
- if (result != I2C_OK) {
- return SHT4X_ERROR;
- }*/
- /*uart_disable_interrupts();
- LL_mDelay(10); // 10 ms should be enough
- uart_enable_interrupts();
- */
- HAL_Delay(10);
- // read out
- result = i2c_receive(SHT4X_I2C_ADDRESS<<1, buffer, 6);
- if (result != I2C_OK) {
- return SHT4X_ERROR;
- }
- // TODO checksum
- // Convert to T and RH; taken directly from pseudocode in SHT4x datasheet, page 3
- uint32_t t_ticks = (buffer[0] << 8) + buffer[1];
- uint32_t rh_ticks = (buffer[3] << 8) + buffer[4];
- int t_degC = -450 + 10 * 175 * t_ticks / 65535; /* temperature * 10 */
- int rh_pRH = -6 + 125 * rh_ticks / 65535;
- if (rh_pRH > 100) {
- rh_pRH = 100;
- }
- if (rh_pRH < 0) {
- rh_pRH = 0;
- }
- *temperature = t_degC;
- *relative_humidity = rh_pRH;
-
- return SHT4X_OK;
-}
diff --git a/fw_hal/Core/Src/sps30.c b/fw_hal/Core/Src/sps30.c
deleted file mode 100644
index c05a273..0000000
--- a/fw_hal/Core/Src/sps30.c
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
- * sps30.c
- *
- * Created on: Jul 18, 2021
- * Author: david
- */
-
-#include "sps30.h"
-
-int8_t sps30_send_cmd(sps30_cmd_t cmd)
-{
- uint8_t buffer[32];
- uint8_t result;
-
- // start measurement
- buffer[0] = cmd >> 8;
- buffer[1] = cmd & 0x00ff;
- result = i2c_transmit(SPS30_I2C_ADDRESS<<1, buffer, 2);
- // TODO: Proc to vraci NACK? Vyresit.
- if (result != I2C_OK) {
- return SPS30_ERROR;
- }
-
- return SPS30_OK;
-}
-
-int8_t sps30_start_measurement( void )
-{
- uint8_t i2c_tx_buffer[5];
- uint8_t data_for_crc = {SPS30_UINT16_FORMAT, 0x00};
-
- uint8_t result;
-
- i2c_tx_buffer[0] = SPS30_START_MEASUREMENT >> 8;
- i2c_tx_buffer[1] = SPS30_START_MEASUREMENT & 0x00ff;
- i2c_tx_buffer[2] = SPS30_UINT16_FORMAT;
- i2c_tx_buffer[3] = 0x00;
- i2c_tx_buffer[4] = calculate_crc(data_for_crc);
-
- result = i2c_transmit(SPS30_I2C_ADDRESS<<1, i2c_tx_buffer, 5);
-
- // TODO: Proc to vraci NACK? Vyresit.
- if (result != I2C_OK) {
- return SPS30_ERROR;
- }
- return SPS30_OK;
-}
-
-int8_t sps30_stop_measurement( void )
-{
- return sps30_send_cmd(SPS30_STOP_MEASUREMENT);
-}
-
-int8_t sps30_read_measured_values(uint16_t *measured_values, uint8_t measured_values_len)
-{
-
- if (measured_values_len != 10)
- {
- return -5;
- }
-
- uint8_t i2c_tx_buffer[2];
- uint8_t i2c_rx_buffer[30];
-
- uint8_t result;
-
- // start measurement
- i2c_tx_buffer[0] = SPS30_READ_MEASURED_VALUES >> 8;
- i2c_tx_buffer[1] = SPS30_READ_MEASURED_VALUES & 0x00ff;
- result = i2c_transmit(SPS30_I2C_ADDRESS<<1, i2c_tx_buffer, 2);
-
- // TODO: Proc to vraci NACK? Vyresit.
- /*if (result != I2C_OK) {
- return SPS30_ERROR;
- }
- return SPS30_OK;*/
-
- LL_mDelay(1); // 10 ms should be enough
- // read out
- result = i2c_receive(SPS30_I2C_ADDRESS<<1, i2c_rx_buffer, 30);
- if (result != I2C_OK)
- {
- return SPS30_ERROR;
- }
-
- uint8_t checksums[10];
-
- uint8_t j = 0;
- for (uint8_t i = 0; i < 10; i++)
- {
-
- measured_values[i] = (i2c_rx_buffer[j++] << 8) + i2c_rx_buffer[j++];
- checksums[i] = i2c_rx_buffer[j++];
- }
-
- return SPS30_OK;
-}
-
-int8_t sps30_sleep( void )
-{
- return sps30_send_cmd(SPS30_SLEEP);
-}
-
-int8_t sps30_wake_up( void )
-{
- return sps30_send_cmd(SPS30_WAKE_UP);
- return sps30_send_cmd(SPS30_WAKE_UP);
-}
-
-int8_t sps30_start_fan_cleaning( void )
-{
- return sps30_send_cmd(SPS30_START_FAN_CLEANING);
-}
-
-int8_t sps30_reset( void )
-{
- return sps30_send_cmd(SPS30_RESET);
-}
-
-
-int8_t sps30_read_status_register ( void )
-{
- uint8_t i2c_tx_buffer[2];
- uint8_t i2c_rx_buffer[6];
-
- uint8_t result;
-
- // start measurement
- i2c_tx_buffer[0] = SPS30_READ_DEVICE_STATUS_REGISTER >> 8;
- i2c_tx_buffer[1] = SPS30_READ_DEVICE_STATUS_REGISTER & 0x00ff;
- result = i2c_transmit(SPS30_I2C_ADDRESS<<1, i2c_tx_buffer, 2);
-
- // TODO: Proc to vraci NACK? Vyresit.
- /*if (result != I2C_OK) {
- return SPS30_ERROR;
- }
- return SPS30_OK;*/
-
- LL_mDelay(1); // 10 ms should be enough
- // read out
- result = i2c_receive(SPS30_I2C_ADDRESS<<1, i2c_rx_buffer, 6);
-
- return 0;
-}
-
-int8_t sps30_read_firmware_version ( uint8_t * fw_ver_hi, uint8_t * fw_ver_lo )
-{
- uint8_t i2c_tx_buffer[2];
- uint8_t i2c_rx_buffer[3];
-
- uint8_t result;
-
- // start measurement
- i2c_tx_buffer[0] = SPS30_READ_VERSION >> 8;
- i2c_tx_buffer[1] = SPS30_READ_VERSION & 0x00ff;
- result = i2c_transmit(SPS30_I2C_ADDRESS<<1, i2c_tx_buffer, 2);
-
- // TODO: Proc to vraci NACK? Vyresit.
- /*if (result != I2C_OK) {
- return SPS30_ERROR;
- }
- return SPS30_OK;*/
-
- LL_mDelay(1); // 10 ms should be enough
- // read out
- result = i2c_receive(SPS30_I2C_ADDRESS<<1, i2c_rx_buffer, 3);
- /*if (result != I2C_OK)
- {
- return SPS30_ERROR;
- }*/
-
- *fw_ver_hi = i2c_rx_buffer[0];
- *fw_ver_lo = i2c_rx_buffer[1];
-
- return SPS30_OK;
-}
-
-
-uint8_t calculate_crc(uint8_t data[2])
-{
- uint8_t crc = 0xFF;
- for(uint8_t i = 0; i < 2; i++) {
- crc ^= data[i];
- for(uint8_t bit = 8; bit > 0; --bit) {
- if(crc & 0x80) {
- crc = (crc << 1) ^ 0x31u;
- } else {
- crc = (crc << 1);
- }
- }
- }
- return crc;
-}
diff --git a/fw_hal/Core/Src/stm32l0xx_hal_msp.c b/fw_hal/Core/Src/stm32l0xx_hal_msp.c
deleted file mode 100644
index ebe2d80..0000000
--- a/fw_hal/Core/Src/stm32l0xx_hal_msp.c
+++ /dev/null
@@ -1,355 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file stm32l0xx_hal_msp.c
- * @brief This file provides code for the MSP Initialization
- * and de-Initialization codes.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2021 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-/* USER CODE BEGIN Includes */
-
-/* USER CODE END Includes */
-
-/* Private typedef -----------------------------------------------------------*/
-/* USER CODE BEGIN TD */
-
-/* USER CODE END TD */
-
-/* Private define ------------------------------------------------------------*/
-/* USER CODE BEGIN Define */
-
-/* USER CODE END Define */
-
-/* Private macro -------------------------------------------------------------*/
-/* USER CODE BEGIN Macro */
-
-/* USER CODE END Macro */
-
-/* Private variables ---------------------------------------------------------*/
-/* USER CODE BEGIN PV */
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-/* USER CODE BEGIN PFP */
-
-/* USER CODE END PFP */
-
-/* External functions --------------------------------------------------------*/
-/* USER CODE BEGIN ExternalFunctions */
-
-/* USER CODE END ExternalFunctions */
-
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
- /**
- * Initializes the Global MSP.
- */
-void HAL_MspInit(void)
-{
- /* USER CODE BEGIN MspInit 0 */
-
- /* USER CODE END MspInit 0 */
-
- __HAL_RCC_SYSCFG_CLK_ENABLE();
- __HAL_RCC_PWR_CLK_ENABLE();
-
- /* System interrupt init*/
-
- /* USER CODE BEGIN MspInit 1 */
-
- /* USER CODE END MspInit 1 */
-}
-
-/**
-* @brief I2C MSP Initialization
-* This function configures the hardware resources used in this example
-* @param hi2c: I2C handle pointer
-* @retval None
-*/
-void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(hi2c->Instance==I2C1)
- {
- /* USER CODE BEGIN I2C1_MspInit 0 */
-
- /* USER CODE END I2C1_MspInit 0 */
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**I2C1 GPIO Configuration
- PA9 ------> I2C1_SCL
- PA10 ------> I2C1_SDA
- */
- GPIO_InitStruct.Pin = GPIO_PIN_9|GPIO_PIN_10;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- GPIO_InitStruct.Pull = GPIO_PULLUP;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
- GPIO_InitStruct.Alternate = GPIO_AF1_I2C1;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* Peripheral clock enable */
- __HAL_RCC_I2C1_CLK_ENABLE();
- /* USER CODE BEGIN I2C1_MspInit 1 */
-
- /* USER CODE END I2C1_MspInit 1 */
- }
-
-}
-
-/**
-* @brief I2C MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param hi2c: I2C handle pointer
-* @retval None
-*/
-void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
-{
- if(hi2c->Instance==I2C1)
- {
- /* USER CODE BEGIN I2C1_MspDeInit 0 */
-
- /* USER CODE END I2C1_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_I2C1_CLK_DISABLE();
-
- /**I2C1 GPIO Configuration
- PA9 ------> I2C1_SCL
- PA10 ------> I2C1_SDA
- */
- HAL_GPIO_DeInit(GPIOA, GPIO_PIN_9);
-
- HAL_GPIO_DeInit(GPIOA, GPIO_PIN_10);
-
- /* USER CODE BEGIN I2C1_MspDeInit 1 */
-
- /* USER CODE END I2C1_MspDeInit 1 */
- }
-
-}
-
-/**
-* @brief TIM_Base MSP Initialization
-* This function configures the hardware resources used in this example
-* @param htim_base: TIM_Base handle pointer
-* @retval None
-*/
-void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base)
-{
- if(htim_base->Instance==TIM2)
- {
- /* USER CODE BEGIN TIM2_MspInit 0 */
-
- /* USER CODE END TIM2_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_TIM2_CLK_ENABLE();
- /* USER CODE BEGIN TIM2_MspInit 1 */
-
- /* USER CODE END TIM2_MspInit 1 */
- }
- else if(htim_base->Instance==TIM21)
- {
- /* USER CODE BEGIN TIM21_MspInit 0 */
-
- /* USER CODE END TIM21_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_TIM21_CLK_ENABLE();
- /* USER CODE BEGIN TIM21_MspInit 1 */
-
- /* USER CODE END TIM21_MspInit 1 */
- }
- else if(htim_base->Instance==TIM22)
- {
- /* USER CODE BEGIN TIM22_MspInit 0 */
-
- /* USER CODE END TIM22_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_TIM22_CLK_ENABLE();
- /* USER CODE BEGIN TIM22_MspInit 1 */
-
- /* USER CODE END TIM22_MspInit 1 */
- }
-
-}
-
-void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(htim->Instance==TIM2)
- {
- /* USER CODE BEGIN TIM2_MspPostInit 0 */
-
- /* USER CODE END TIM2_MspPostInit 0 */
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**TIM2 GPIO Configuration
- PA5 ------> TIM2_CH1
- */
- GPIO_InitStruct.Pin = GPIO_PIN_5;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- GPIO_InitStruct.Alternate = GPIO_AF5_TIM2;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN TIM2_MspPostInit 1 */
-
- /* USER CODE END TIM2_MspPostInit 1 */
- }
- else if(htim->Instance==TIM22)
- {
- /* USER CODE BEGIN TIM22_MspPostInit 0 */
-
- /* USER CODE END TIM22_MspPostInit 0 */
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**TIM22 GPIO Configuration
- PA6 ------> TIM22_CH1
- PA7 ------> TIM22_CH2
- */
- GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- GPIO_InitStruct.Alternate = GPIO_AF5_TIM22;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN TIM22_MspPostInit 1 */
-
- /* USER CODE END TIM22_MspPostInit 1 */
- }
-
-}
-/**
-* @brief TIM_Base MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param htim_base: TIM_Base handle pointer
-* @retval None
-*/
-void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* htim_base)
-{
- if(htim_base->Instance==TIM2)
- {
- /* USER CODE BEGIN TIM2_MspDeInit 0 */
-
- /* USER CODE END TIM2_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_TIM2_CLK_DISABLE();
- /* USER CODE BEGIN TIM2_MspDeInit 1 */
-
- /* USER CODE END TIM2_MspDeInit 1 */
- }
- else if(htim_base->Instance==TIM21)
- {
- /* USER CODE BEGIN TIM21_MspDeInit 0 */
-
- /* USER CODE END TIM21_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_TIM21_CLK_DISABLE();
- /* USER CODE BEGIN TIM21_MspDeInit 1 */
-
- /* USER CODE END TIM21_MspDeInit 1 */
- }
- else if(htim_base->Instance==TIM22)
- {
- /* USER CODE BEGIN TIM22_MspDeInit 0 */
-
- /* USER CODE END TIM22_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_TIM22_CLK_DISABLE();
- /* USER CODE BEGIN TIM22_MspDeInit 1 */
-
- /* USER CODE END TIM22_MspDeInit 1 */
- }
-
-}
-
-/**
-* @brief UART MSP Initialization
-* This function configures the hardware resources used in this example
-* @param huart: UART handle pointer
-* @retval None
-*/
-void HAL_UART_MspInit(UART_HandleTypeDef* huart)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(huart->Instance==USART2)
- {
- /* USER CODE BEGIN USART2_MspInit 0 */
-
- /* USER CODE END USART2_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_USART2_CLK_ENABLE();
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**USART2 GPIO Configuration
- PA1 ------> USART2_DE
- PA2 ------> USART2_TX
- PA3 ------> USART2_RX
- */
- GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
- GPIO_InitStruct.Alternate = GPIO_AF4_USART2;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN USART2_MspInit 1 */
-
- /* USER CODE END USART2_MspInit 1 */
- }
-
-}
-
-/**
-* @brief UART MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param huart: UART handle pointer
-* @retval None
-*/
-void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
-{
- if(huart->Instance==USART2)
- {
- /* USER CODE BEGIN USART2_MspDeInit 0 */
-
- /* USER CODE END USART2_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_USART2_CLK_DISABLE();
-
- /**USART2 GPIO Configuration
- PA1 ------> USART2_DE
- PA2 ------> USART2_TX
- PA3 ------> USART2_RX
- */
- HAL_GPIO_DeInit(GPIOA, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3);
-
- /* USER CODE BEGIN USART2_MspDeInit 1 */
-
- /* USER CODE END USART2_MspDeInit 1 */
- }
-
-}
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw_hal/Core/Src/stm32l0xx_it.c b/fw_hal/Core/Src/stm32l0xx_it.c
deleted file mode 100644
index e59a1f5..0000000
--- a/fw_hal/Core/Src/stm32l0xx_it.c
+++ /dev/null
@@ -1,147 +0,0 @@
-/* USER CODE BEGIN Header */
-/**
- ******************************************************************************
- * @file stm32l0xx_it.c
- * @brief Interrupt Service Routines.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2021 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-/* USER CODE END Header */
-
-/* Includes ------------------------------------------------------------------*/
-#include "main.h"
-#include "stm32l0xx_it.h"
-/* Private includes ----------------------------------------------------------*/
-/* USER CODE BEGIN Includes */
-/* USER CODE END Includes */
-
-/* Private typedef -----------------------------------------------------------*/
-/* USER CODE BEGIN TD */
-
-/* USER CODE END TD */
-
-/* Private define ------------------------------------------------------------*/
-/* USER CODE BEGIN PD */
-
-/* USER CODE END PD */
-
-/* Private macro -------------------------------------------------------------*/
-/* USER CODE BEGIN PM */
-
-/* USER CODE END PM */
-
-/* Private variables ---------------------------------------------------------*/
-/* USER CODE BEGIN PV */
-
-/* USER CODE END PV */
-
-/* Private function prototypes -----------------------------------------------*/
-/* USER CODE BEGIN PFP */
-
-/* USER CODE END PFP */
-
-/* Private user code ---------------------------------------------------------*/
-/* USER CODE BEGIN 0 */
-
-/* USER CODE END 0 */
-
-/* External variables --------------------------------------------------------*/
-
-/* USER CODE BEGIN EV */
-
-/* USER CODE END EV */
-
-/******************************************************************************/
-/* Cortex-M0+ Processor Interruption and Exception Handlers */
-/******************************************************************************/
-/**
- * @brief This function handles Non maskable Interrupt.
- */
-void NMI_Handler(void)
-{
- /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
-
- /* USER CODE END NonMaskableInt_IRQn 0 */
- /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
- while (1)
- {
- }
- /* USER CODE END NonMaskableInt_IRQn 1 */
-}
-
-/**
- * @brief This function handles Hard fault interrupt.
- */
-void HardFault_Handler(void)
-{
- /* USER CODE BEGIN HardFault_IRQn 0 */
-
- /* USER CODE END HardFault_IRQn 0 */
- while (1)
- {
- /* USER CODE BEGIN W1_HardFault_IRQn 0 */
- /* USER CODE END W1_HardFault_IRQn 0 */
- }
-}
-
-/**
- * @brief This function handles System service call via SWI instruction.
- */
-void SVC_Handler(void)
-{
- /* USER CODE BEGIN SVC_IRQn 0 */
-
- /* USER CODE END SVC_IRQn 0 */
- /* USER CODE BEGIN SVC_IRQn 1 */
-
- /* USER CODE END SVC_IRQn 1 */
-}
-
-/**
- * @brief This function handles Pendable request for system service.
- */
-void PendSV_Handler(void)
-{
- /* USER CODE BEGIN PendSV_IRQn 0 */
-
- /* USER CODE END PendSV_IRQn 0 */
- /* USER CODE BEGIN PendSV_IRQn 1 */
-
- /* USER CODE END PendSV_IRQn 1 */
-}
-
-/**
- * @brief This function handles System tick timer.
- */
-void SysTick_Handler(void)
-{
- /* USER CODE BEGIN SysTick_IRQn 0 */
-
- /* USER CODE END SysTick_IRQn 0 */
- HAL_IncTick();
- /* USER CODE BEGIN SysTick_IRQn 1 */
-
- /* USER CODE END SysTick_IRQn 1 */
-}
-
-/******************************************************************************/
-/* STM32L0xx Peripheral Interrupt Handlers */
-/* Add here the Interrupt Handlers for the used peripherals. */
-/* For the available peripheral interrupt handler names, */
-/* please refer to the startup file (startup_stm32l0xx.s). */
-/******************************************************************************/
-
-/* USER CODE BEGIN 1 */
-
-/* USER CODE END 1 */
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw_hal/Core/Src/syscalls.c b/fw_hal/Core/Src/syscalls.c
deleted file mode 100644
index bc0dd6c..0000000
--- a/fw_hal/Core/Src/syscalls.c
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- ******************************************************************************
- * @file syscalls.c
- * @author Auto-generated by STM32CubeIDE
- * @brief STM32CubeIDE Minimal System calls file
- *
- * For more information about which c-functions
- * need which of these lowlevel functions
- * please consult the Newlib libc-manual
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
-/* Includes */
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-/* Variables */
-extern int __io_putchar(int ch) __attribute__((weak));
-extern int __io_getchar(void) __attribute__((weak));
-
-
-char *__env[1] = { 0 };
-char **environ = __env;
-
-
-/* Functions */
-void initialise_monitor_handles()
-{
-}
-
-int _getpid(void)
-{
- return 1;
-}
-
-int _kill(int pid, int sig)
-{
- errno = EINVAL;
- return -1;
-}
-
-void _exit (int status)
-{
- _kill(status, -1);
- while (1) {} /* Make sure we hang here */
-}
-
-__attribute__((weak)) int _read(int file, char *ptr, int len)
-{
- int DataIdx;
-
- for (DataIdx = 0; DataIdx < len; DataIdx++)
- {
- *ptr++ = __io_getchar();
- }
-
-return len;
-}
-
-__attribute__((weak)) int _write(int file, char *ptr, int len)
-{
- int DataIdx;
-
- for (DataIdx = 0; DataIdx < len; DataIdx++)
- {
- __io_putchar(*ptr++);
- }
- return len;
-}
-
-int _close(int file)
-{
- return -1;
-}
-
-
-int _fstat(int file, struct stat *st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-int _isatty(int file)
-{
- return 1;
-}
-
-int _lseek(int file, int ptr, int dir)
-{
- return 0;
-}
-
-int _open(char *path, int flags, ...)
-{
- /* Pretend like we always fail */
- return -1;
-}
-
-int _wait(int *status)
-{
- errno = ECHILD;
- return -1;
-}
-
-int _unlink(char *name)
-{
- errno = ENOENT;
- return -1;
-}
-
-int _times(struct tms *buf)
-{
- return -1;
-}
-
-int _stat(char *file, struct stat *st)
-{
- st->st_mode = S_IFCHR;
- return 0;
-}
-
-int _link(char *old, char *new)
-{
- errno = EMLINK;
- return -1;
-}
-
-int _fork(void)
-{
- errno = EAGAIN;
- return -1;
-}
-
-int _execve(char *name, char **argv, char **env)
-{
- errno = ENOMEM;
- return -1;
-}
diff --git a/fw_hal/Core/Src/sysmem.c b/fw_hal/Core/Src/sysmem.c
deleted file mode 100644
index d7cc52c..0000000
--- a/fw_hal/Core/Src/sysmem.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- ******************************************************************************
- * @file sysmem.c
- * @author Generated by STM32CubeIDE
- * @brief STM32CubeIDE System Memory calls file
- *
- * For more information about which C functions
- * need which of these lowlevel functions
- * please consult the newlib libc manual
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2020 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
-/* Includes */
-#include
-#include
-
-/**
- * Pointer to the current high watermark of the heap usage
- */
-static uint8_t *__sbrk_heap_end = NULL;
-
-/**
- * @brief _sbrk() allocates memory to the newlib heap and is used by malloc
- * and others from the C library
- *
- * @verbatim
- * ############################################################################
- * # .data # .bss # newlib heap # MSP stack #
- * # # # # Reserved by _Min_Stack_Size #
- * ############################################################################
- * ^-- RAM start ^-- _end _estack, RAM end --^
- * @endverbatim
- *
- * This implementation starts allocating at the '_end' linker symbol
- * The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
- * The implementation considers '_estack' linker symbol to be RAM end
- * NOTE: If the MSP stack, at any point during execution, grows larger than the
- * reserved size, please increase the '_Min_Stack_Size'.
- *
- * @param incr Memory size
- * @return Pointer to allocated memory
- */
-void *_sbrk(ptrdiff_t incr)
-{
- extern uint8_t _end; /* Symbol defined in the linker script */
- extern uint8_t _estack; /* Symbol defined in the linker script */
- extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
- const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
- const uint8_t *max_heap = (uint8_t *)stack_limit;
- uint8_t *prev_heap_end;
-
- /* Initialize heap end at first call */
- if (NULL == __sbrk_heap_end)
- {
- __sbrk_heap_end = &_end;
- }
-
- /* Protect heap from growing into the reserved MSP stack */
- if (__sbrk_heap_end + incr > max_heap)
- {
- errno = ENOMEM;
- return (void *)-1;
- }
-
- prev_heap_end = __sbrk_heap_end;
- __sbrk_heap_end += incr;
-
- return (void *)prev_heap_end;
-}
diff --git a/fw_hal/Core/Src/system_stm32l0xx.c b/fw_hal/Core/Src/system_stm32l0xx.c
deleted file mode 100644
index 9189ed8..0000000
--- a/fw_hal/Core/Src/system_stm32l0xx.c
+++ /dev/null
@@ -1,275 +0,0 @@
-/**
- ******************************************************************************
- * @file system_stm32l0xx.c
- * @author MCD Application Team
- * @brief CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File.
- *
- * This file provides two functions and one global variable to be called from
- * user application:
- * - SystemInit(): This function is called at startup just after reset and
- * before branch to main program. This call is made inside
- * the "startup_stm32l0xx.s" file.
- *
- * - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
- * by the user application to setup the SysTick
- * timer or configure other parameters.
- *
- * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
- * be called whenever the core clock is changed
- * during program execution.
- *
- *
- ******************************************************************************
- * @attention
- *
- * © Copyright(c) 2016 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
-/** @addtogroup CMSIS
- * @{
- */
-
-/** @addtogroup stm32l0xx_system
- * @{
- */
-
-/** @addtogroup STM32L0xx_System_Private_Includes
- * @{
- */
-
-#include "stm32l0xx.h"
-
-#if !defined (HSE_VALUE)
- #define HSE_VALUE ((uint32_t)8000000U) /*!< Value of the External oscillator in Hz */
-#endif /* HSE_VALUE */
-
-#if !defined (MSI_VALUE)
- #define MSI_VALUE ((uint32_t)2097152U) /*!< Value of the Internal oscillator in Hz*/
-#endif /* MSI_VALUE */
-
-#if !defined (HSI_VALUE)
- #define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
-#endif /* HSI_VALUE */
-
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L0xx_System_Private_TypesDefinitions
- * @{
- */
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L0xx_System_Private_Defines
- * @{
- */
-/************************* Miscellaneous Configuration ************************/
-
-/* Note: Following vector table addresses must be defined in line with linker
- configuration. */
-/*!< Uncomment the following line if you need to relocate the vector table
- anywhere in Flash or Sram, else the vector table is kept at the automatic
- remap of boot address selected */
-/* #define USER_VECT_TAB_ADDRESS */
-
-#if defined(USER_VECT_TAB_ADDRESS)
-/*!< Uncomment the following line if you need to relocate your vector Table
- in Sram else user remap will be done in Flash. */
-/* #define VECT_TAB_SRAM */
-#if defined(VECT_TAB_SRAM)
-#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
- This value must be a multiple of 0x200. */
-#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
- This value must be a multiple of 0x200. */
-#else
-#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
- This value must be a multiple of 0x200. */
-#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
- This value must be a multiple of 0x200. */
-#endif /* VECT_TAB_SRAM */
-#endif /* USER_VECT_TAB_ADDRESS */
-
-/******************************************************************************/
-/**
- * @}
- */
-
-/** @addtogroup STM32L0xx_System_Private_Macros
- * @{
- */
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L0xx_System_Private_Variables
- * @{
- */
- /* This variable is updated in three ways:
- 1) by calling CMSIS function SystemCoreClockUpdate()
- 2) by calling HAL API function HAL_RCC_GetHCLKFreq()
- 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
- Note: If you use this function to configure the system clock; then there
- is no need to call the 2 first functions listed above, since SystemCoreClock
- variable is updated automatically.
- */
- uint32_t SystemCoreClock = 2097152U; /* 32.768 kHz * 2^6 */
- const uint8_t AHBPrescTable[16] = {0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U, 6U, 7U, 8U, 9U};
- const uint8_t APBPrescTable[8] = {0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U};
- const uint8_t PLLMulTable[9] = {3U, 4U, 6U, 8U, 12U, 16U, 24U, 32U, 48U};
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L0xx_System_Private_FunctionPrototypes
- * @{
- */
-
-/**
- * @}
- */
-
-/** @addtogroup STM32L0xx_System_Private_Functions
- * @{
- */
-
-/**
- * @brief Setup the microcontroller system.
- * @param None
- * @retval None
- */
-void SystemInit (void)
-{
- /* Configure the Vector Table location add offset address ------------------*/
-#if defined (USER_VECT_TAB_ADDRESS)
- SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
-#endif /* USER_VECT_TAB_ADDRESS */
-}
-
-/**
- * @brief Update SystemCoreClock variable according to Clock Register Values.
- * The SystemCoreClock variable contains the core clock (HCLK), it can
- * be used by the user application to setup the SysTick timer or configure
- * other parameters.
- *
- * @note Each time the core clock (HCLK) changes, this function must be called
- * to update SystemCoreClock variable value. Otherwise, any configuration
- * based on this variable will be incorrect.
- *
- * @note - The system frequency computed by this function is not the real
- * frequency in the chip. It is calculated based on the predefined
- * constant and the selected clock source:
- *
- * - If SYSCLK source is MSI, SystemCoreClock will contain the MSI
- * value as defined by the MSI range.
- *
- * - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)
- *
- * - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)
- *
- * - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**)
- * or HSI_VALUE(*) multiplied/divided by the PLL factors.
- *
- * (*) HSI_VALUE is a constant defined in stm32l0xx_hal.h file (default value
- * 16 MHz) but the real value may vary depending on the variations
- * in voltage and temperature.
- *
- * (**) HSE_VALUE is a constant defined in stm32l0xx_hal.h file (default value
- * 8 MHz), user has to ensure that HSE_VALUE is same as the real
- * frequency of the crystal used. Otherwise, this function may
- * have wrong result.
- *
- * - The result of this function could be not correct when using fractional
- * value for HSE crystal.
- * @param None
- * @retval None
- */
-void SystemCoreClockUpdate (void)
-{
- uint32_t tmp = 0U, pllmul = 0U, plldiv = 0U, pllsource = 0U, msirange = 0U;
-
- /* Get SYSCLK source -------------------------------------------------------*/
- tmp = RCC->CFGR & RCC_CFGR_SWS;
-
- switch (tmp)
- {
- case 0x00U: /* MSI used as system clock */
- msirange = (RCC->ICSCR & RCC_ICSCR_MSIRANGE) >> RCC_ICSCR_MSIRANGE_Pos;
- SystemCoreClock = (32768U * (1U << (msirange + 1U)));
- break;
- case 0x04U: /* HSI used as system clock */
- if ((RCC->CR & RCC_CR_HSIDIVF) != 0U)
- {
- SystemCoreClock = HSI_VALUE / 4U;
- }
- else
- {
- SystemCoreClock = HSI_VALUE;
- }
- break;
- case 0x08U: /* HSE used as system clock */
- SystemCoreClock = HSE_VALUE;
- break;
- default: /* PLL used as system clock */
- /* Get PLL clock source and multiplication factor ----------------------*/
- pllmul = RCC->CFGR & RCC_CFGR_PLLMUL;
- plldiv = RCC->CFGR & RCC_CFGR_PLLDIV;
- pllmul = PLLMulTable[(pllmul >> RCC_CFGR_PLLMUL_Pos)];
- plldiv = (plldiv >> RCC_CFGR_PLLDIV_Pos) + 1U;
-
- pllsource = RCC->CFGR & RCC_CFGR_PLLSRC;
-
- if (pllsource == 0x00U)
- {
- /* HSI oscillator clock selected as PLL clock entry */
- if ((RCC->CR & RCC_CR_HSIDIVF) != 0U)
- {
- SystemCoreClock = (((HSI_VALUE / 4U) * pllmul) / plldiv);
- }
- else
- {
- SystemCoreClock = (((HSI_VALUE) * pllmul) / plldiv);
- }
- }
- else
- {
- /* HSE selected as PLL clock entry */
- SystemCoreClock = (((HSE_VALUE) * pllmul) / plldiv);
- }
- break;
- }
- /* Compute HCLK clock frequency --------------------------------------------*/
- /* Get HCLK prescaler */
- tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> RCC_CFGR_HPRE_Pos)];
- /* HCLK clock frequency */
- SystemCoreClock >>= tmp;
-}
-
-
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/fw_hal/Core/Startup/startup_stm32l031g6ux.s b/fw_hal/Core/Startup/startup_stm32l031g6ux.s
deleted file mode 100644
index 62608af..0000000
--- a/fw_hal/Core/Startup/startup_stm32l031g6ux.s
+++ /dev/null
@@ -1,261 +0,0 @@
-/**
- ******************************************************************************
- * @file startup_stm32l031xx.s
- * @author MCD Application Team
- * @brief STM32L031xx Devices vector table for GCC toolchain.
- * This module performs:
- * - Set the initial SP
- * - Set the initial PC == Reset_Handler,
- * - Set the vector table entries with the exceptions ISR address
- * - Branches to main in the C library (which eventually
- * calls main()).
- * After Reset the Cortex-M0+ processor is in Thread mode,
- * priority is Privileged, and the Stack is set to Main.
- ******************************************************************************
- * @attention
- *
- * © Copyright (c) 2016 STMicroelectronics.
- * All rights reserved.
- *
- * This software component is licensed by ST under BSD 3-Clause license,
- * the "License"; You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************
- */
-
- .syntax unified
- .cpu cortex-m0plus
- .fpu softvfp
- .thumb
-
-.global g_pfnVectors
-.global Default_Handler
-
-/* start address for the initialization values of the .data section.
-defined in linker script */
-.word _sidata
-/* start address for the .data section. defined in linker script */
-.word _sdata
-/* end address for the .data section. defined in linker script */
-.word _edata
-/* start address for the .bss section. defined in linker script */
-.word _sbss
-/* end address for the .bss section. defined in linker script */
-.word _ebss
-
- .section .text.Reset_Handler
- .weak Reset_Handler
- .type Reset_Handler, %function
-Reset_Handler:
- ldr r0, =_estack
- mov sp, r0 /* set stack pointer */
-
-/* Copy the data segment initializers from flash to SRAM */
- ldr r0, =_sdata
- ldr r1, =_edata
- ldr r2, =_sidata
- movs r3, #0
- b LoopCopyDataInit
-
-CopyDataInit:
- ldr r4, [r2, r3]
- str r4, [r0, r3]
- adds r3, r3, #4
-
-LoopCopyDataInit:
- adds r4, r0, r3
- cmp r4, r1
- bcc CopyDataInit
-
-/* Zero fill the bss segment. */
- ldr r2, =_sbss
- ldr r4, =_ebss
- movs r3, #0
- b LoopFillZerobss
-
-FillZerobss:
- str r3, [r2]
- adds r2, r2, #4
-
-LoopFillZerobss:
- cmp r2, r4
- bcc FillZerobss
-
-/* Call the clock system intitialization function.*/
- bl SystemInit
-/* Call static constructors */
- bl __libc_init_array
-/* Call the application's entry point.*/
- bl main
-
-LoopForever:
- b LoopForever
-
-
-.size Reset_Handler, .-Reset_Handler
-
-/**
- * @brief This is the code that gets called when the processor receives an
- * unexpected interrupt. This simply enters an infinite loop, preserving
- * the system state for examination by a debugger.
- *
- * @param None
- * @retval : None
-*/
- .section .text.Default_Handler,"ax",%progbits
-Default_Handler:
-Infinite_Loop:
- b Infinite_Loop
- .size Default_Handler, .-Default_Handler
-/******************************************************************************
-*
-* The minimal vector table for a Cortex M0. Note that the proper constructs
-* must be placed on this to ensure that it ends up at physical address
-* 0x0000.0000.
-*
-******************************************************************************/
- .section .isr_vector,"a",%progbits
- .type g_pfnVectors, %object
- .size g_pfnVectors, .-g_pfnVectors
-
-
-g_pfnVectors:
- .word _estack
- .word Reset_Handler
- .word NMI_Handler
- .word HardFault_Handler
- .word 0
- .word 0
- .word 0
- .word 0
- .word 0
- .word 0
- .word 0
- .word SVC_Handler
- .word 0
- .word 0
- .word PendSV_Handler
- .word SysTick_Handler
- .word WWDG_IRQHandler /* Window WatchDog */
- .word PVD_IRQHandler /* PVD through EXTI Line detection */
- .word RTC_IRQHandler /* RTC through the EXTI line */
- .word FLASH_IRQHandler /* FLASH */
- .word RCC_IRQHandler /* RCC */
- .word EXTI0_1_IRQHandler /* EXTI Line 0 and 1 */
- .word EXTI2_3_IRQHandler /* EXTI Line 2 and 3 */
- .word EXTI4_15_IRQHandler /* EXTI Line 4 to 15 */
- .word 0 /* Reserved */
- .word DMA1_Channel1_IRQHandler /* DMA1 Channel 1 */
- .word DMA1_Channel2_3_IRQHandler /* DMA1 Channel 2 and Channel 3 */
- .word DMA1_Channel4_5_6_7_IRQHandler /* DMA1 Channel 4, Channel 5, Channel 6 and Channel 7*/
- .word ADC1_COMP_IRQHandler /* ADC1, COMP1 and COMP2 */
- .word LPTIM1_IRQHandler /* LPTIM1 */
- .word 0 /* Reserved */
- .word TIM2_IRQHandler /* TIM2 */
- .word 0 /* Reserved */
- .word 0 /* Reserved */
- .word 0 /* Reserved */
- .word 0 /* Reserved */
- .word TIM21_IRQHandler /* TIM21 */
- .word 0 /* Reserved */
- .word TIM22_IRQHandler /* TIM22 */
- .word I2C1_IRQHandler /* I2C1 */
- .word 0 /* Reserved */
- .word SPI1_IRQHandler /* SPI1 */
- .word 0 /* Reserved */
- .word 0 /* Reserved */
- .word USART2_IRQHandler /* USART2 */
- .word LPUART1_IRQHandler /* LPUART1 */
- .word 0 /* Reserved */
- .word 0 /* Reserved */
-
-/*******************************************************************************
-*
-* Provide weak aliases for each Exception handler to the Default_Handler.
-* As they are weak aliases, any function with the same name will override
-* this definition.
-*
-*******************************************************************************/
-
- .weak NMI_Handler
- .thumb_set NMI_Handler,Default_Handler
-
- .weak HardFault_Handler
- .thumb_set HardFault_Handler,Default_Handler
-
- .weak SVC_Handler
- .thumb_set SVC_Handler,Default_Handler
-
- .weak PendSV_Handler
- .thumb_set PendSV_Handler,Default_Handler
-
- .weak SysTick_Handler
- .thumb_set SysTick_Handler,Default_Handler
-
- .weak WWDG_IRQHandler
- .thumb_set WWDG_IRQHandler,Default_Handler
-
- .weak PVD_IRQHandler
- .thumb_set PVD_IRQHandler,Default_Handler
-
- .weak RTC_IRQHandler
- .thumb_set RTC_IRQHandler,Default_Handler
-
- .weak FLASH_IRQHandler
- .thumb_set FLASH_IRQHandler,Default_Handler
-
- .weak RCC_IRQHandler
- .thumb_set RCC_IRQHandler,Default_Handler
-
- .weak EXTI0_1_IRQHandler
- .thumb_set EXTI0_1_IRQHandler,Default_Handler
-
- .weak EXTI2_3_IRQHandler
- .thumb_set EXTI2_3_IRQHandler,Default_Handler
-
- .weak EXTI4_15_IRQHandler
- .thumb_set EXTI4_15_IRQHandler,Default_Handler
-
- .weak DMA1_Channel1_IRQHandler
- .thumb_set DMA1_Channel1_IRQHandler,Default_Handler
-
- .weak DMA1_Channel2_3_IRQHandler
- .thumb_set DMA1_Channel2_3_IRQHandler,Default_Handler
-
- .weak DMA1_Channel4_5_6_7_IRQHandler
- .thumb_set DMA1_Channel4_5_6_7_IRQHandler,Default_Handler
-
- .weak ADC1_COMP_IRQHandler
- .thumb_set ADC1_COMP_IRQHandler,Default_Handler
-
- .weak LPTIM1_IRQHandler
- .thumb_set LPTIM1_IRQHandler,Default_Handler
-
- .weak TIM2_IRQHandler
- .thumb_set TIM2_IRQHandler,Default_Handler
-
- .weak TIM21_IRQHandler
- .thumb_set TIM21_IRQHandler,Default_Handler
-
- .weak TIM22_IRQHandler
- .thumb_set TIM22_IRQHandler,Default_Handler
-
- .weak I2C1_IRQHandler
- .thumb_set I2C1_IRQHandler,Default_Handler
-
- .weak SPI1_IRQHandler
- .thumb_set SPI1_IRQHandler,Default_Handler
-
- .weak USART2_IRQHandler
- .thumb_set USART2_IRQHandler,Default_Handler
-
- .weak LPUART1_IRQHandler
- .thumb_set LPUART1_IRQHandler,Default_Handler
-
-
-
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-
diff --git a/fw_hal/Debug/Core/Src/config.d b/fw_hal/Debug/Core/Src/config.d
deleted file mode 100644
index b7112e7..0000000
--- a/fw_hal/Debug/Core/Src/config.d
+++ /dev/null
@@ -1,90 +0,0 @@
-Core/Src/config.o: ../Core/Src/config.c ../Core/Inc/config.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Core/Inc/config.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Core/Src/config.o b/fw_hal/Debug/Core/Src/config.o
deleted file mode 100644
index c029a1c..0000000
Binary files a/fw_hal/Debug/Core/Src/config.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/config.su b/fw_hal/Debug/Core/Src/config.su
deleted file mode 100644
index 48bcb7f..0000000
--- a/fw_hal/Debug/Core/Src/config.su
+++ /dev/null
@@ -1,7 +0,0 @@
-config.c:43:8:config_read 16 static
-config.c:70:8:config_write 16 static
-config.c:135:15:eeprom_lock 24 static
-config.c:165:15:eeprom_unlock 24 static
-config.c:198:15:eeprom_program_byte 16 static
-config.c:213:15:eeprom_program_halfword 16 static
-config.c:229:15:eeprom_program_word 16 static
diff --git a/fw_hal/Debug/Core/Src/crc8.d b/fw_hal/Debug/Core/Src/crc8.d
deleted file mode 100644
index 8c3a7ee..0000000
--- a/fw_hal/Debug/Core/Src/crc8.d
+++ /dev/null
@@ -1,3 +0,0 @@
-Core/Src/crc8.o: ../Core/Src/crc8.c ../Core/Inc/crc8.h
-
-../Core/Inc/crc8.h:
diff --git a/fw_hal/Debug/Core/Src/crc8.o b/fw_hal/Debug/Core/Src/crc8.o
deleted file mode 100644
index a4e802f..0000000
Binary files a/fw_hal/Debug/Core/Src/crc8.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/crc8.su b/fw_hal/Debug/Core/Src/crc8.su
deleted file mode 100644
index d2e1e30..0000000
--- a/fw_hal/Debug/Core/Src/crc8.su
+++ /dev/null
@@ -1 +0,0 @@
-crc8.c:11:9:crc8_calculate 24 static
diff --git a/fw_hal/Debug/Core/Src/i2c.d b/fw_hal/Debug/Core/Src/i2c.d
deleted file mode 100644
index 55fc7e2..0000000
--- a/fw_hal/Debug/Core/Src/i2c.d
+++ /dev/null
@@ -1,111 +0,0 @@
-Core/Src/i2c.o: ../Core/Src/i2c.c ../Core/Inc/i2c.h ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h \
- ../Core/Inc/i2c.h ../Core/Inc/scd4x.h ../Core/Inc/crc8.h \
- ../Core/Inc/sht4x.h ../Core/Inc/sps30.h ../Core/Inc/modbus.h \
- ../Core/Inc/config.h ../Core/Inc/rgb_led.h
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/crc8.h:
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/modbus.h:
-
-../Core/Inc/config.h:
-
-../Core/Inc/rgb_led.h:
diff --git a/fw_hal/Debug/Core/Src/i2c.o b/fw_hal/Debug/Core/Src/i2c.o
deleted file mode 100644
index 0419a6a..0000000
Binary files a/fw_hal/Debug/Core/Src/i2c.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/i2c.su b/fw_hal/Debug/Core/Src/i2c.su
deleted file mode 100644
index 2a78ef9..0000000
--- a/fw_hal/Debug/Core/Src/i2c.su
+++ /dev/null
@@ -1,4 +0,0 @@
-i2c.c:14:8:i2c_init 16 static
-i2c.c:24:8:i2c_transmit 32 static
-i2c.c:34:8:i2c_receive 32 static
-i2c.c:45:8:i2c_transmit_receive 56 static
diff --git a/fw_hal/Debug/Core/Src/main.d b/fw_hal/Debug/Core/Src/main.d
deleted file mode 100644
index 14e6a64..0000000
--- a/fw_hal/Debug/Core/Src/main.d
+++ /dev/null
@@ -1,111 +0,0 @@
-Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h \
- ../Core/Inc/i2c.h ../Core/Inc/main.h ../Core/Inc/scd4x.h \
- ../Core/Inc/crc8.h ../Core/Inc/sht4x.h ../Core/Inc/sps30.h \
- ../Core/Inc/modbus.h ../Core/Inc/config.h ../Core/Inc/rgb_led.h
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/main.h:
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/crc8.h:
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/modbus.h:
-
-../Core/Inc/config.h:
-
-../Core/Inc/rgb_led.h:
diff --git a/fw_hal/Debug/Core/Src/main.o b/fw_hal/Debug/Core/Src/main.o
deleted file mode 100644
index bf661a1..0000000
Binary files a/fw_hal/Debug/Core/Src/main.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/main.su b/fw_hal/Debug/Core/Src/main.su
deleted file mode 100644
index 5277d2d..0000000
--- a/fw_hal/Debug/Core/Src/main.su
+++ /dev/null
@@ -1,9 +0,0 @@
-main.c:152:5:main 8 static
-main.c:210:6:SystemClock_Config 112 static
-main.c:260:13:MX_I2C1_Init 8 static
-main.c:306:13:MX_TIM2_Init 48 static
-main.c:365:13:MX_TIM21_Init 32 static
-main.c:410:13:MX_TIM22_Init 48 static
-main.c:474:13:MX_USART2_UART_Init 8 static
-main.c:509:13:MX_GPIO_Init 16 static
-main.c:525:6:Error_Handler 8 static,ignoring_inline_asm
diff --git a/fw_hal/Debug/Core/Src/modbus.d b/fw_hal/Debug/Core/Src/modbus.d
deleted file mode 100644
index 0071433..0000000
--- a/fw_hal/Debug/Core/Src/modbus.d
+++ /dev/null
@@ -1,3 +0,0 @@
-Core/Src/modbus.o: ../Core/Src/modbus.c ../Core/Inc/modbus.h
-
-../Core/Inc/modbus.h:
diff --git a/fw_hal/Debug/Core/Src/modbus.o b/fw_hal/Debug/Core/Src/modbus.o
deleted file mode 100644
index 2a9d78e..0000000
Binary files a/fw_hal/Debug/Core/Src/modbus.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/modbus.su b/fw_hal/Debug/Core/Src/modbus.su
deleted file mode 100644
index 4cd2b0a..0000000
--- a/fw_hal/Debug/Core/Src/modbus.su
+++ /dev/null
@@ -1,4 +0,0 @@
-modbus.c:30:10:modbus_CRC16 32 static
-modbus.c:56:8:modbus_copy_reply_to_buffer 40 static
-modbus.c:108:8:modbus_slave_set_address 16 static
-modbus.c:118:8:modbus_slave_process_msg 312 static
diff --git a/fw_hal/Debug/Core/Src/rgb_led.d b/fw_hal/Debug/Core/Src/rgb_led.d
deleted file mode 100644
index 1767dac..0000000
--- a/fw_hal/Debug/Core/Src/rgb_led.d
+++ /dev/null
@@ -1,3 +0,0 @@
-Core/Src/rgb_led.o: ../Core/Src/rgb_led.c ../Core/Inc/rgb_led.h
-
-../Core/Inc/rgb_led.h:
diff --git a/fw_hal/Debug/Core/Src/rgb_led.o b/fw_hal/Debug/Core/Src/rgb_led.o
deleted file mode 100644
index dfabd49..0000000
Binary files a/fw_hal/Debug/Core/Src/rgb_led.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/rgb_led.su b/fw_hal/Debug/Core/Src/rgb_led.su
deleted file mode 100644
index 5a65a27..0000000
--- a/fw_hal/Debug/Core/Src/rgb_led.su
+++ /dev/null
@@ -1,2 +0,0 @@
-rgb_led.c:10:8:rgb_led_set_duty_cycles 24 static
-rgb_led.c:16:8:rgb_led_set_color 16 static
diff --git a/fw_hal/Debug/Core/Src/scd4x.d b/fw_hal/Debug/Core/Src/scd4x.d
deleted file mode 100644
index 1547509..0000000
--- a/fw_hal/Debug/Core/Src/scd4x.d
+++ /dev/null
@@ -1,114 +0,0 @@
-Core/Src/scd4x.o: ../Core/Src/scd4x.c ../Core/Inc/scd4x.h \
- ../Core/Inc/i2c.h ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h \
- ../Core/Inc/scd4x.h ../Core/Inc/sht4x.h ../Core/Inc/crc8.h \
- ../Core/Inc/sps30.h ../Core/Inc/modbus.h ../Core/Inc/config.h \
- ../Core/Inc/rgb_led.h ../Core/Inc/main.h
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/crc8.h:
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/modbus.h:
-
-../Core/Inc/config.h:
-
-../Core/Inc/rgb_led.h:
-
-../Core/Inc/main.h:
diff --git a/fw_hal/Debug/Core/Src/scd4x.o b/fw_hal/Debug/Core/Src/scd4x.o
deleted file mode 100644
index ea24959..0000000
Binary files a/fw_hal/Debug/Core/Src/scd4x.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/scd4x.su b/fw_hal/Debug/Core/Src/scd4x.su
deleted file mode 100644
index ac9fbb0..0000000
--- a/fw_hal/Debug/Core/Src/scd4x.su
+++ /dev/null
@@ -1,6 +0,0 @@
-scd4x.c:11:8:scd4x_send_cmd 56 static
-scd4x.c:27:8:scd4x_read_data 16 static
-scd4x.c:32:8:scd4x_start_periodic_measurement 8 static
-scd4x.c:37:8:scd4x_stop_periodic_measurement 8 static
-scd4x.c:42:8:scd4x_perform_factory_reset 8 static
-scd4x.c:47:8:scd4x_read_measurement 96 static
diff --git a/fw_hal/Debug/Core/Src/sht4x.d b/fw_hal/Debug/Core/Src/sht4x.d
deleted file mode 100644
index 7f45148..0000000
--- a/fw_hal/Debug/Core/Src/sht4x.d
+++ /dev/null
@@ -1,114 +0,0 @@
-Core/Src/sht4x.o: ../Core/Src/sht4x.c ../Core/Inc/sht4x.h \
- ../Core/Inc/i2c.h ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h \
- ../Core/Inc/scd4x.h ../Core/Inc/crc8.h ../Core/Inc/sht4x.h \
- ../Core/Inc/sps30.h ../Core/Inc/modbus.h ../Core/Inc/config.h \
- ../Core/Inc/rgb_led.h ../Core/Inc/main.h
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/crc8.h:
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/modbus.h:
-
-../Core/Inc/config.h:
-
-../Core/Inc/rgb_led.h:
-
-../Core/Inc/main.h:
diff --git a/fw_hal/Debug/Core/Src/sht4x.o b/fw_hal/Debug/Core/Src/sht4x.o
deleted file mode 100644
index f181286..0000000
Binary files a/fw_hal/Debug/Core/Src/sht4x.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/sht4x.su b/fw_hal/Debug/Core/Src/sht4x.su
deleted file mode 100644
index 71c97c2..0000000
--- a/fw_hal/Debug/Core/Src/sht4x.su
+++ /dev/null
@@ -1,3 +0,0 @@
-sht4x.c:11:8:sht4x_send_cmd 16 static
-sht4x.c:16:8:sht4x_read_data 16 static
-sht4x.c:21:8:sht4x_measure 80 static
diff --git a/fw_hal/Debug/Core/Src/sps30.d b/fw_hal/Debug/Core/Src/sps30.d
deleted file mode 100644
index 1fcf574..0000000
--- a/fw_hal/Debug/Core/Src/sps30.d
+++ /dev/null
@@ -1,112 +0,0 @@
-Core/Src/sps30.o: ../Core/Src/sps30.c ../Core/Inc/sps30.h \
- ../Core/Inc/i2c.h ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h \
- ../Core/Inc/scd4x.h ../Core/Inc/crc8.h ../Core/Inc/sht4x.h \
- ../Core/Inc/sps30.h ../Core/Inc/modbus.h ../Core/Inc/config.h \
- ../Core/Inc/rgb_led.h
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/crc8.h:
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/modbus.h:
-
-../Core/Inc/config.h:
-
-../Core/Inc/rgb_led.h:
diff --git a/fw_hal/Debug/Core/Src/sps30.o b/fw_hal/Debug/Core/Src/sps30.o
deleted file mode 100644
index 7813a03..0000000
Binary files a/fw_hal/Debug/Core/Src/sps30.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/sps30.su b/fw_hal/Debug/Core/Src/sps30.su
deleted file mode 100644
index 2129e9d..0000000
--- a/fw_hal/Debug/Core/Src/sps30.su
+++ /dev/null
@@ -1,11 +0,0 @@
-sps30.c:10:8:sps30_send_cmd 56 static
-sps30.c:27:8:sps30_start_measurement 16 static
-sps30.c:49:8:sps30_stop_measurement 8 static
-sps30.c:54:8:sps30_read_measured_values 88 static
-sps30.c:99:8:sps30_sleep 8 static
-sps30.c:104:8:sps30_wake_up 8 static
-sps30.c:110:8:sps30_start_fan_cleaning 8 static
-sps30.c:115:8:sps30_reset 8 static
-sps30.c:121:8:sps30_read_status_register 32 static
-sps30.c:146:8:sps30_read_firmware_version 32 static
-sps30.c:179:9:calculate_crc 24 static
diff --git a/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.d b/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.d
deleted file mode 100644
index 9bf052f..0000000
--- a/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.d
+++ /dev/null
@@ -1,111 +0,0 @@
-Core/Src/stm32l0xx_hal_msp.o: ../Core/Src/stm32l0xx_hal_msp.c \
- ../Core/Inc/main.h ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h \
- ../Core/Inc/i2c.h ../Core/Inc/main.h ../Core/Inc/scd4x.h \
- ../Core/Inc/crc8.h ../Core/Inc/sht4x.h ../Core/Inc/sps30.h \
- ../Core/Inc/modbus.h ../Core/Inc/config.h ../Core/Inc/rgb_led.h
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/main.h:
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/crc8.h:
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/modbus.h:
-
-../Core/Inc/config.h:
-
-../Core/Inc/rgb_led.h:
diff --git a/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.o b/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.o
deleted file mode 100644
index 69df73c..0000000
Binary files a/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.su b/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.su
deleted file mode 100644
index 4538b0c..0000000
--- a/fw_hal/Debug/Core/Src/stm32l0xx_hal_msp.su
+++ /dev/null
@@ -1,8 +0,0 @@
-stm32l0xx_hal_msp.c:66:6:HAL_MspInit 8 static
-stm32l0xx_hal_msp.c:88:6:HAL_I2C_MspInit 48 static
-stm32l0xx_hal_msp.c:124:6:HAL_I2C_MspDeInit 16 static
-stm32l0xx_hal_msp.c:155:6:HAL_TIM_Base_MspInit 16 static
-stm32l0xx_hal_msp.c:193:6:HAL_TIM_MspPostInit 56 static
-stm32l0xx_hal_msp.c:246:6:HAL_TIM_Base_MspDeInit 16 static
-stm32l0xx_hal_msp.c:290:6:HAL_UART_MspInit 48 static
-stm32l0xx_hal_msp.c:327:6:HAL_UART_MspDeInit 16 static
diff --git a/fw_hal/Debug/Core/Src/stm32l0xx_it.d b/fw_hal/Debug/Core/Src/stm32l0xx_it.d
deleted file mode 100644
index 3026373..0000000
--- a/fw_hal/Debug/Core/Src/stm32l0xx_it.d
+++ /dev/null
@@ -1,114 +0,0 @@
-Core/Src/stm32l0xx_it.o: ../Core/Src/stm32l0xx_it.c ../Core/Inc/main.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h \
- ../Core/Inc/i2c.h ../Core/Inc/main.h ../Core/Inc/scd4x.h \
- ../Core/Inc/crc8.h ../Core/Inc/sht4x.h ../Core/Inc/sps30.h \
- ../Core/Inc/modbus.h ../Core/Inc/config.h ../Core/Inc/rgb_led.h \
- ../Core/Inc/stm32l0xx_it.h
-
-../Core/Inc/main.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
-
-../Core/Inc/i2c.h:
-
-../Core/Inc/main.h:
-
-../Core/Inc/scd4x.h:
-
-../Core/Inc/crc8.h:
-
-../Core/Inc/sht4x.h:
-
-../Core/Inc/sps30.h:
-
-../Core/Inc/modbus.h:
-
-../Core/Inc/config.h:
-
-../Core/Inc/rgb_led.h:
-
-../Core/Inc/stm32l0xx_it.h:
diff --git a/fw_hal/Debug/Core/Src/stm32l0xx_it.o b/fw_hal/Debug/Core/Src/stm32l0xx_it.o
deleted file mode 100644
index 7fd78e6..0000000
Binary files a/fw_hal/Debug/Core/Src/stm32l0xx_it.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/stm32l0xx_it.su b/fw_hal/Debug/Core/Src/stm32l0xx_it.su
deleted file mode 100644
index 7ad5821..0000000
--- a/fw_hal/Debug/Core/Src/stm32l0xx_it.su
+++ /dev/null
@@ -1,5 +0,0 @@
-stm32l0xx_it.c:70:6:NMI_Handler 8 static
-stm32l0xx_it.c:85:6:HardFault_Handler 8 static
-stm32l0xx_it.c:100:6:SVC_Handler 8 static
-stm32l0xx_it.c:113:6:PendSV_Handler 8 static
-stm32l0xx_it.c:126:6:SysTick_Handler 8 static
diff --git a/fw_hal/Debug/Core/Src/subdir.mk b/fw_hal/Debug/Core/Src/subdir.mk
deleted file mode 100644
index bddbd3d..0000000
--- a/fw_hal/Debug/Core/Src/subdir.mk
+++ /dev/null
@@ -1,59 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../Core/Src/config.c \
-../Core/Src/crc8.c \
-../Core/Src/i2c.c \
-../Core/Src/main.c \
-../Core/Src/modbus.c \
-../Core/Src/rgb_led.c \
-../Core/Src/scd4x.c \
-../Core/Src/sht4x.c \
-../Core/Src/sps30.c \
-../Core/Src/stm32l0xx_hal_msp.c \
-../Core/Src/stm32l0xx_it.c \
-../Core/Src/syscalls.c \
-../Core/Src/sysmem.c \
-../Core/Src/system_stm32l0xx.c
-
-OBJS += \
-./Core/Src/config.o \
-./Core/Src/crc8.o \
-./Core/Src/i2c.o \
-./Core/Src/main.o \
-./Core/Src/modbus.o \
-./Core/Src/rgb_led.o \
-./Core/Src/scd4x.o \
-./Core/Src/sht4x.o \
-./Core/Src/sps30.o \
-./Core/Src/stm32l0xx_hal_msp.o \
-./Core/Src/stm32l0xx_it.o \
-./Core/Src/syscalls.o \
-./Core/Src/sysmem.o \
-./Core/Src/system_stm32l0xx.o
-
-C_DEPS += \
-./Core/Src/config.d \
-./Core/Src/crc8.d \
-./Core/Src/i2c.d \
-./Core/Src/main.d \
-./Core/Src/modbus.d \
-./Core/Src/rgb_led.d \
-./Core/Src/scd4x.d \
-./Core/Src/sht4x.d \
-./Core/Src/sps30.d \
-./Core/Src/stm32l0xx_hal_msp.d \
-./Core/Src/stm32l0xx_it.d \
-./Core/Src/syscalls.d \
-./Core/Src/sysmem.d \
-./Core/Src/system_stm32l0xx.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Core/Src/%.o: ../Core/Src/%.c Core/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L031xx -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/fw_hal/Debug/Core/Src/syscalls.d b/fw_hal/Debug/Core/Src/syscalls.d
deleted file mode 100644
index 8667c70..0000000
--- a/fw_hal/Debug/Core/Src/syscalls.d
+++ /dev/null
@@ -1 +0,0 @@
-Core/Src/syscalls.o: ../Core/Src/syscalls.c
diff --git a/fw_hal/Debug/Core/Src/syscalls.o b/fw_hal/Debug/Core/Src/syscalls.o
deleted file mode 100644
index a7b7feb..0000000
Binary files a/fw_hal/Debug/Core/Src/syscalls.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/syscalls.su b/fw_hal/Debug/Core/Src/syscalls.su
deleted file mode 100644
index 2661431..0000000
--- a/fw_hal/Debug/Core/Src/syscalls.su
+++ /dev/null
@@ -1,18 +0,0 @@
-syscalls.c:45:6:initialise_monitor_handles 8 static
-syscalls.c:49:5:_getpid 8 static
-syscalls.c:54:5:_kill 16 static
-syscalls.c:60:6:_exit 16 static
-syscalls.c:66:27:_read 32 static
-syscalls.c:78:27:_write 32 static
-syscalls.c:89:5:_close 16 static
-syscalls.c:95:5:_fstat 16 static
-syscalls.c:101:5:_isatty 16 static
-syscalls.c:106:5:_lseek 24 static
-syscalls.c:111:5:_open 20 static
-syscalls.c:117:5:_wait 16 static
-syscalls.c:123:5:_unlink 16 static
-syscalls.c:129:5:_times 16 static
-syscalls.c:134:5:_stat 16 static
-syscalls.c:140:5:_link 16 static
-syscalls.c:146:5:_fork 8 static
-syscalls.c:152:5:_execve 24 static
diff --git a/fw_hal/Debug/Core/Src/sysmem.d b/fw_hal/Debug/Core/Src/sysmem.d
deleted file mode 100644
index 74fecf9..0000000
--- a/fw_hal/Debug/Core/Src/sysmem.d
+++ /dev/null
@@ -1 +0,0 @@
-Core/Src/sysmem.o: ../Core/Src/sysmem.c
diff --git a/fw_hal/Debug/Core/Src/sysmem.o b/fw_hal/Debug/Core/Src/sysmem.o
deleted file mode 100644
index 3338598..0000000
Binary files a/fw_hal/Debug/Core/Src/sysmem.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/sysmem.su b/fw_hal/Debug/Core/Src/sysmem.su
deleted file mode 100644
index 4474c68..0000000
--- a/fw_hal/Debug/Core/Src/sysmem.su
+++ /dev/null
@@ -1 +0,0 @@
-sysmem.c:54:7:_sbrk 32 static
diff --git a/fw_hal/Debug/Core/Src/system_stm32l0xx.d b/fw_hal/Debug/Core/Src/system_stm32l0xx.d
deleted file mode 100644
index 8417972..0000000
--- a/fw_hal/Debug/Core/Src/system_stm32l0xx.d
+++ /dev/null
@@ -1,88 +0,0 @@
-Core/Src/system_stm32l0xx.o: ../Core/Src/system_stm32l0xx.c \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Core/Src/system_stm32l0xx.o b/fw_hal/Debug/Core/Src/system_stm32l0xx.o
deleted file mode 100644
index 1db81f2..0000000
Binary files a/fw_hal/Debug/Core/Src/system_stm32l0xx.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Src/system_stm32l0xx.su b/fw_hal/Debug/Core/Src/system_stm32l0xx.su
deleted file mode 100644
index abf8ac4..0000000
--- a/fw_hal/Debug/Core/Src/system_stm32l0xx.su
+++ /dev/null
@@ -1,2 +0,0 @@
-system_stm32l0xx.c:154:6:SystemInit 8 static
-system_stm32l0xx.c:200:6:SystemCoreClockUpdate 32 static
diff --git a/fw_hal/Debug/Core/Startup/startup_stm32l031g6ux.d b/fw_hal/Debug/Core/Startup/startup_stm32l031g6ux.d
deleted file mode 100644
index 7d3851e..0000000
--- a/fw_hal/Debug/Core/Startup/startup_stm32l031g6ux.d
+++ /dev/null
@@ -1,2 +0,0 @@
-Core/Startup/startup_stm32l031g6ux.o: \
- ../Core/Startup/startup_stm32l031g6ux.s
diff --git a/fw_hal/Debug/Core/Startup/startup_stm32l031g6ux.o b/fw_hal/Debug/Core/Startup/startup_stm32l031g6ux.o
deleted file mode 100644
index 50ee0dc..0000000
Binary files a/fw_hal/Debug/Core/Startup/startup_stm32l031g6ux.o and /dev/null differ
diff --git a/fw_hal/Debug/Core/Startup/subdir.mk b/fw_hal/Debug/Core/Startup/subdir.mk
deleted file mode 100644
index 1a933ef..0000000
--- a/fw_hal/Debug/Core/Startup/subdir.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-S_SRCS += \
-../Core/Startup/startup_stm32l031g6ux.s
-
-OBJS += \
-./Core/Startup/startup_stm32l031g6ux.o
-
-S_DEPS += \
-./Core/Startup/startup_stm32l031g6ux.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Core/Startup/%.o: ../Core/Startup/%.s Core/Startup/subdir.mk
- arm-none-eabi-gcc -mcpu=cortex-m0plus -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"
-
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.d
deleted file mode 100644
index 9433492..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o
deleted file mode 100644
index 4c04133..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.su
deleted file mode 100644
index 585fd26..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.su
+++ /dev/null
@@ -1,31 +0,0 @@
-stm32l0xx_hal.c:140:19:HAL_Init 16 static
-stm32l0xx_hal.c:178:19:HAL_DeInit 8 static
-stm32l0xx_hal.c:204:13:HAL_MspInit 8 static
-stm32l0xx_hal.c:215:13:HAL_MspDeInit 8 static
-stm32l0xx_hal.c:238:26:HAL_InitTick 24 static
-stm32l0xx_hal.c:294:13:HAL_IncTick 8 static
-stm32l0xx_hal.c:305:17:HAL_GetTick 8 static
-stm32l0xx_hal.c:314:10:HAL_GetTickPrio 8 static
-stm32l0xx_hal.c:323:19:HAL_SetTickFreq 40 static
-stm32l0xx_hal.c:355:21:HAL_GetTickFreq 8 static
-stm32l0xx_hal.c:371:13:HAL_Delay 24 static
-stm32l0xx_hal.c:397:13:HAL_SuspendTick 8 static
-stm32l0xx_hal.c:413:13:HAL_ResumeTick 8 static
-stm32l0xx_hal.c:423:10:HAL_GetHalVersion 8 static
-stm32l0xx_hal.c:432:10:HAL_GetREVID 8 static
-stm32l0xx_hal.c:441:10:HAL_GetDEVID 8 static
-stm32l0xx_hal.c:450:10:HAL_GetUIDw0 8 static
-stm32l0xx_hal.c:459:10:HAL_GetUIDw1 8 static
-stm32l0xx_hal.c:468:10:HAL_GetUIDw2 8 static
-stm32l0xx_hal.c:497:6:HAL_DBGMCU_EnableDBGSleepMode 8 static
-stm32l0xx_hal.c:506:6:HAL_DBGMCU_DisableDBGSleepMode 8 static
-stm32l0xx_hal.c:515:6:HAL_DBGMCU_EnableDBGStopMode 8 static
-stm32l0xx_hal.c:524:6:HAL_DBGMCU_DisableDBGStopMode 8 static
-stm32l0xx_hal.c:533:6:HAL_DBGMCU_EnableDBGStandbyMode 8 static
-stm32l0xx_hal.c:542:6:HAL_DBGMCU_DisableDBGStandbyMode 8 static
-stm32l0xx_hal.c:556:6:HAL_DBGMCU_DBG_EnableLowPowerConfig 16 static
-stm32l0xx_hal.c:573:6:HAL_DBGMCU_DBG_DisableLowPowerConfig 16 static
-stm32l0xx_hal.c:610:11:HAL_SYSCFG_GetBootMode 8 static
-stm32l0xx_hal.c:627:6:HAL_SYSCFG_VREFINT_OutputSelect 16 static
-stm32l0xx_hal.c:641:6:HAL_SYSCFG_Enable_Lock_VREFINT 8 static
-stm32l0xx_hal.c:651:6:HAL_SYSCFG_Disable_Lock_VREFINT 8 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.d
deleted file mode 100644
index 78183eb..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o
deleted file mode 100644
index 8e3f0ce..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.su
deleted file mode 100644
index 111a14b..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.su
+++ /dev/null
@@ -1,21 +0,0 @@
-core_cm0plus.h:741:22:__NVIC_EnableIRQ 16 static
-core_cm0plus.h:777:22:__NVIC_DisableIRQ 16 static,ignoring_inline_asm
-core_cm0plus.h:796:26:__NVIC_GetPendingIRQ 16 static
-core_cm0plus.h:815:22:__NVIC_SetPendingIRQ 16 static
-core_cm0plus.h:830:22:__NVIC_ClearPendingIRQ 16 static
-core_cm0plus.h:848:22:__NVIC_SetPriority 24 static
-core_cm0plus.h:872:26:__NVIC_GetPriority 16 static
-core_cm0plus.h:983:34:__NVIC_SystemReset 8 static,ignoring_inline_asm
-core_cm0plus.h:1054:26:SysTick_Config 16 static
-stm32l0xx_hal_cortex.c:132:6:HAL_NVIC_SetPriority 24 static
-stm32l0xx_hal_cortex.c:148:6:HAL_NVIC_EnableIRQ 16 static
-stm32l0xx_hal_cortex.c:164:6:HAL_NVIC_DisableIRQ 16 static
-stm32l0xx_hal_cortex.c:177:6:HAL_NVIC_SystemReset 8 static
-stm32l0xx_hal_cortex.c:190:10:HAL_SYSTICK_Config 16 static
-stm32l0xx_hal_cortex.c:222:10:HAL_NVIC_GetPriority 16 static
-stm32l0xx_hal_cortex.c:235:6:HAL_NVIC_SetPendingIRQ 16 static
-stm32l0xx_hal_cortex.c:250:10:HAL_NVIC_GetPendingIRQ 16 static
-stm32l0xx_hal_cortex.c:263:6:HAL_NVIC_ClearPendingIRQ 16 static
-stm32l0xx_hal_cortex.c:278:6:HAL_SYSTICK_CLKSourceConfig 16 static
-stm32l0xx_hal_cortex.c:296:6:HAL_SYSTICK_IRQHandler 8 static
-stm32l0xx_hal_cortex.c:305:13:HAL_SYSTICK_Callback 8 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.d
deleted file mode 100644
index bf2eba3..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o
deleted file mode 100644
index 7dc5279..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.su
deleted file mode 100644
index 498911c..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.su
+++ /dev/null
@@ -1,13 +0,0 @@
-stm32l0xx_hal_dma.c:139:19:HAL_DMA_Init 24 static
-stm32l0xx_hal_dma.c:214:19:HAL_DMA_DeInit 16 static
-stm32l0xx_hal_dma.c:294:19:HAL_DMA_Start 32 static
-stm32l0xx_hal_dma.c:337:19:HAL_DMA_Start_IT 32 static
-stm32l0xx_hal_dma.c:392:19:HAL_DMA_Abort 24 static
-stm32l0xx_hal_dma.c:433:19:HAL_DMA_Abort_IT 24 static
-stm32l0xx_hal_dma.c:478:19:HAL_DMA_PollForTransfer 32 static
-stm32l0xx_hal_dma.c:579:6:HAL_DMA_IRQHandler 24 static
-stm32l0xx_hal_dma.c:673:19:HAL_DMA_RegisterCallback 32 static
-stm32l0xx_hal_dma.c:724:19:HAL_DMA_UnRegisterCallback 24 static
-stm32l0xx_hal_dma.c:802:22:HAL_DMA_GetState 16 static
-stm32l0xx_hal_dma.c:814:10:HAL_DMA_GetError 16 static
-stm32l0xx_hal_dma.c:840:13:DMA_SetConfig 24 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.d
deleted file mode 100644
index 902d97c..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o
deleted file mode 100644
index 8ef1a19..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.su
deleted file mode 100644
index e2e6501..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.su
+++ /dev/null
@@ -1,9 +0,0 @@
-stm32l0xx_hal_exti.c:143:19:HAL_EXTI_SetConfigLine 32 static
-stm32l0xx_hal_exti.c:238:19:HAL_EXTI_GetConfigLine 32 static
-stm32l0xx_hal_exti.c:317:19:HAL_EXTI_ClearConfigLine 32 static
-stm32l0xx_hal_exti.c:370:19:HAL_EXTI_RegisterCallback 32 static
-stm32l0xx_hal_exti.c:395:19:HAL_EXTI_GetHandle 16 static
-stm32l0xx_hal_exti.c:435:6:HAL_EXTI_IRQHandler 24 static
-stm32l0xx_hal_exti.c:467:10:HAL_EXTI_GetPending 32 static
-stm32l0xx_hal_exti.c:496:6:HAL_EXTI_ClearPending 24 static
-stm32l0xx_hal_exti.c:517:6:HAL_EXTI_GenerateSWI 24 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.d
deleted file mode 100644
index b03b017..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o
deleted file mode 100644
index 615b021..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.su
deleted file mode 100644
index a580d01..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.su
+++ /dev/null
@@ -1,13 +0,0 @@
-stm32l0xx_hal_flash.c:231:19:HAL_FLASH_Program 40 static
-stm32l0xx_hal_flash.c:273:19:HAL_FLASH_Program_IT 32 static
-stm32l0xx_hal_flash.c:304:6:HAL_FLASH_IRQHandler 16 static
-stm32l0xx_hal_flash.c:428:13:HAL_FLASH_EndOfOperationCallback 16 static
-stm32l0xx_hal_flash.c:445:13:HAL_FLASH_OperationErrorCallback 16 static
-stm32l0xx_hal_flash.c:478:19:HAL_FLASH_Unlock 32 static,ignoring_inline_asm
-stm32l0xx_hal_flash.c:527:19:HAL_FLASH_Lock 8 static
-stm32l0xx_hal_flash.c:542:19:HAL_FLASH_OB_Unlock 24 static,ignoring_inline_asm
-stm32l0xx_hal_flash.c:579:19:HAL_FLASH_OB_Lock 8 static
-stm32l0xx_hal_flash.c:592:19:HAL_FLASH_OB_Launch 8 static
-stm32l0xx_hal_flash.c:624:10:HAL_FLASH_GetError 8 static
-stm32l0xx_hal_flash.c:646:19:FLASH_WaitForLastOperation 24 static
-stm32l0xx_hal_flash.c:703:13:FLASH_SetErrorCode 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.d
deleted file mode 100644
index 44025af..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o
deleted file mode 100644
index 692b7bf..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.su
deleted file mode 100644
index 8a09913..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.su
+++ /dev/null
@@ -1,25 +0,0 @@
-stm32l0xx_hal_flash_ex.c:171:19:HAL_FLASHEx_Erase 32 static
-stm32l0xx_hal_flash_ex.c:235:19:HAL_FLASHEx_Erase_IT 32 static
-stm32l0xx_hal_flash_ex.c:327:19:HAL_FLASHEx_OBProgram 32 static
-stm32l0xx_hal_flash_ex.c:410:6:HAL_FLASHEx_OBGetConfig 16 static
-stm32l0xx_hal_flash_ex.c:443:19:HAL_FLASHEx_AdvOBProgram 32 static
-stm32l0xx_hal_flash_ex.c:486:6:HAL_FLASHEx_AdvOBGetConfig 16 static
-stm32l0xx_hal_flash_ex.c:526:19:HAL_FLASHEx_OB_SelectPCROP 40 static
-stm32l0xx_hal_flash_ex.c:568:19:HAL_FLASHEx_OB_DeSelectPCROP 40 static
-stm32l0xx_hal_flash_ex.c:634:19:HAL_FLASHEx_DATAEEPROM_Unlock 24 static,ignoring_inline_asm
-stm32l0xx_hal_flash_ex.c:664:19:HAL_FLASHEx_DATAEEPROM_Lock 8 static
-stm32l0xx_hal_flash_ex.c:682:19:HAL_FLASHEx_DATAEEPROM_Erase 32 static
-stm32l0xx_hal_flash_ex.c:724:21:HAL_FLASHEx_DATAEEPROM_Program 40 static
-stm32l0xx_hal_flash_ex.c:780:6:HAL_FLASHEx_DATAEEPROM_EnableFixedTimeProgram 8 static
-stm32l0xx_hal_flash_ex.c:789:6:HAL_FLASHEx_DATAEEPROM_DisableFixedTimeProgram 8 static
-stm32l0xx_hal_flash_ex.c:825:26:FLASH_OB_RDPConfig 40 static
-stm32l0xx_hal_flash_ex.c:876:26:FLASH_OB_BORConfig 40 static
-stm32l0xx_hal_flash_ex.c:918:27:FLASH_OB_BOOTBit1Config 40 static
-stm32l0xx_hal_flash_ex.c:953:16:FLASH_OB_GetUser 8 static
-stm32l0xx_hal_flash_ex.c:967:16:FLASH_OB_GetRDP 16 static
-stm32l0xx_hal_flash_ex.c:985:16:FLASH_OB_GetBOR 8 static
-stm32l0xx_hal_flash_ex.c:995:16:FLASH_OB_GetBOOTBit1 8 static
-stm32l0xx_hal_flash_ex.c:1006:17:FLASH_OB_GetWRP 8 static
-stm32l0xx_hal_flash_ex.c:1046:26:FLASH_OB_ProtectedSectorsConfig 40 static
-stm32l0xx_hal_flash_ex.c:1140:26:FLASH_OB_UserConfig 40 static
-stm32l0xx_hal_flash_ex.c:1246:6:FLASH_PageErase 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.d
deleted file mode 100644
index 0c2bd80..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o
deleted file mode 100644
index 6c3e450..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.su
deleted file mode 100644
index acd0979..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.su
+++ /dev/null
@@ -1,6 +0,0 @@
-stm32l0xx_hal_flash_ramfunc.c:115:30:HAL_FLASHEx_EnableRunPowerDown 8 static
-stm32l0xx_hal_flash_ramfunc.c:128:30:HAL_FLASHEx_DisableRunPowerDown 8 static
-stm32l0xx_hal_flash_ramfunc.c:305:30:HAL_FLASHEx_HalfPageProgram 32 static,ignoring_inline_asm
-stm32l0xx_hal_flash_ramfunc.c:376:30:HAL_FLASHEx_GetError 16 static
-stm32l0xx_hal_flash_ramfunc.c:458:37:FLASHRAM_WaitForLastOperation 16 static
-stm32l0xx_hal_flash_ramfunc.c:398:37:FLASHRAM_SetErrorCode 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.d
deleted file mode 100644
index 3c195fe..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o
deleted file mode 100644
index 72ba526..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.su
deleted file mode 100644
index 14262a9..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.su
+++ /dev/null
@@ -1,8 +0,0 @@
-stm32l0xx_hal_gpio.c:156:6:HAL_GPIO_Init 32 static
-stm32l0xx_hal_gpio.c:286:6:HAL_GPIO_DeInit 32 static
-stm32l0xx_hal_gpio.c:367:15:HAL_GPIO_ReadPin 24 static
-stm32l0xx_hal_gpio.c:403:6:HAL_GPIO_WritePin 16 static
-stm32l0xx_hal_gpio.c:427:6:HAL_GPIO_TogglePin 24 static
-stm32l0xx_hal_gpio.c:454:19:HAL_GPIO_LockPin 24 static
-stm32l0xx_hal_gpio.c:487:6:HAL_GPIO_EXTI_IRQHandler 16 static
-stm32l0xx_hal_gpio.c:502:13:HAL_GPIO_EXTI_Callback 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.d
deleted file mode 100644
index bf92654..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o
deleted file mode 100644
index 49e20f9..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.su
deleted file mode 100644
index b7d0802..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.su
+++ /dev/null
@@ -1,79 +0,0 @@
-stm32l0xx_hal_i2c.c:522:19:HAL_I2C_Init 16 static
-stm32l0xx_hal_i2c.c:632:19:HAL_I2C_DeInit 16 static
-stm32l0xx_hal_i2c.c:678:13:HAL_I2C_MspInit 16 static
-stm32l0xx_hal_i2c.c:694:13:HAL_I2C_MspDeInit 16 static
-stm32l0xx_hal_i2c.c:1115:19:HAL_I2C_Master_Transmit 48 static
-stm32l0xx_hal_i2c.c:1234:19:HAL_I2C_Master_Receive 48 static
-stm32l0xx_hal_i2c.c:1352:19:HAL_I2C_Slave_Transmit 40 static
-stm32l0xx_hal_i2c.c:1490:19:HAL_I2C_Slave_Receive 40 static
-stm32l0xx_hal_i2c.c:1617:19:HAL_I2C_Master_Transmit_IT 48 static
-stm32l0xx_hal_i2c.c:1688:19:HAL_I2C_Master_Receive_IT 48 static
-stm32l0xx_hal_i2c.c:1757:19:HAL_I2C_Slave_Transmit_IT 24 static
-stm32l0xx_hal_i2c.c:1807:19:HAL_I2C_Slave_Receive_IT 24 static
-stm32l0xx_hal_i2c.c:1859:19:HAL_I2C_Master_Transmit_DMA 48 static
-stm32l0xx_hal_i2c.c:2006:19:HAL_I2C_Master_Receive_DMA 48 static
-stm32l0xx_hal_i2c.c:2151:19:HAL_I2C_Slave_Transmit_DMA 40 static
-stm32l0xx_hal_i2c.c:2255:19:HAL_I2C_Slave_Receive_DMA 40 static
-stm32l0xx_hal_i2c.c:2363:19:HAL_I2C_Mem_Write 48 static
-stm32l0xx_hal_i2c.c:2500:19:HAL_I2C_Mem_Read 48 static
-stm32l0xx_hal_i2c.c:2637:19:HAL_I2C_Mem_Write_IT 48 static
-stm32l0xx_hal_i2c.c:2731:19:HAL_I2C_Mem_Read_IT 48 static
-stm32l0xx_hal_i2c.c:2823:19:HAL_I2C_Mem_Write_DMA 56 static
-stm32l0xx_hal_i2c.c:2970:19:HAL_I2C_Mem_Read_DMA 56 static
-stm32l0xx_hal_i2c.c:3113:19:HAL_I2C_IsDeviceReady 48 static
-stm32l0xx_hal_i2c.c:3255:19:HAL_I2C_Master_Seq_Transmit_IT 48 static
-stm32l0xx_hal_i2c.c:3342:19:HAL_I2C_Master_Seq_Transmit_DMA 56 static
-stm32l0xx_hal_i2c.c:3510:19:HAL_I2C_Master_Seq_Receive_IT 48 static
-stm32l0xx_hal_i2c.c:3597:19:HAL_I2C_Master_Seq_Receive_DMA 56 static
-stm32l0xx_hal_i2c.c:3763:19:HAL_I2C_Slave_Seq_Transmit_IT 24 static
-stm32l0xx_hal_i2c.c:3859:19:HAL_I2C_Slave_Seq_Transmit_DMA 40 static
-stm32l0xx_hal_i2c.c:4040:19:HAL_I2C_Slave_Seq_Receive_IT 24 static
-stm32l0xx_hal_i2c.c:4136:19:HAL_I2C_Slave_Seq_Receive_DMA 40 static
-stm32l0xx_hal_i2c.c:4313:19:HAL_I2C_EnableListen_IT 16 static
-stm32l0xx_hal_i2c.c:4337:19:HAL_I2C_DisableListen_IT 24 static
-stm32l0xx_hal_i2c.c:4370:19:HAL_I2C_Master_Abort_IT 24 static
-stm32l0xx_hal_i2c.c:4432:6:HAL_I2C_EV_IRQHandler 24 static
-stm32l0xx_hal_i2c.c:4451:6:HAL_I2C_ER_IRQHandler 32 static
-stm32l0xx_hal_i2c.c:4503:13:HAL_I2C_MasterTxCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4519:13:HAL_I2C_MasterRxCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4534:13:HAL_I2C_SlaveTxCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4550:13:HAL_I2C_SlaveRxCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4568:13:HAL_I2C_AddrCallback 16 static
-stm32l0xx_hal_i2c.c:4586:13:HAL_I2C_ListenCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4602:13:HAL_I2C_MemTxCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4618:13:HAL_I2C_MemRxCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4634:13:HAL_I2C_ErrorCallback 16 static
-stm32l0xx_hal_i2c.c:4650:13:HAL_I2C_AbortCpltCallback 16 static
-stm32l0xx_hal_i2c.c:4685:22:HAL_I2C_GetState 16 static
-stm32l0xx_hal_i2c.c:4697:21:HAL_I2C_GetMode 16 static
-stm32l0xx_hal_i2c.c:4708:10:HAL_I2C_GetError 16 static
-stm32l0xx_hal_i2c.c:4733:26:I2C_Master_ISR_IT 48 static
-stm32l0xx_hal_i2c.c:4879:26:I2C_Slave_ISR_IT 32 static
-stm32l0xx_hal_i2c.c:5020:26:I2C_Master_ISR_DMA 48 static
-stm32l0xx_hal_i2c.c:5160:26:I2C_Slave_ISR_DMA 40 static
-stm32l0xx_hal_i2c.c:5305:26:I2C_RequestMemoryWrite 40 static
-stm32l0xx_hal_i2c.c:5360:26:I2C_RequestMemoryRead 40 static
-stm32l0xx_hal_i2c.c:5409:13:I2C_ITAddrCplt 32 static
-stm32l0xx_hal_i2c.c:5504:13:I2C_ITMasterSeqCplt 16 static
-stm32l0xx_hal_i2c.c:5557:13:I2C_ITSlaveSeqCplt 24 static
-stm32l0xx_hal_i2c.c:5631:13:I2C_ITMasterCplt 32 static
-stm32l0xx_hal_i2c.c:5774:13:I2C_ITSlaveCplt 32 static
-stm32l0xx_hal_i2c.c:5933:13:I2C_ITListenCplt 16 static
-stm32l0xx_hal_i2c.c:5984:13:I2C_ITError 24 static
-stm32l0xx_hal_i2c.c:6096:13:I2C_TreatErrorCallback 16 static
-stm32l0xx_hal_i2c.c:6134:13:I2C_Flush_TXDR 16 static
-stm32l0xx_hal_i2c.c:6155:13:I2C_DMAMasterTransmitCplt 24 static
-stm32l0xx_hal_i2c.c:6205:13:I2C_DMASlaveTransmitCplt 24 static
-stm32l0xx_hal_i2c.c:6233:13:I2C_DMAMasterReceiveCplt 24 static
-stm32l0xx_hal_i2c.c:6283:13:I2C_DMASlaveReceiveCplt 24 static
-stm32l0xx_hal_i2c.c:6311:13:I2C_DMAError 24 static
-stm32l0xx_hal_i2c.c:6329:13:I2C_DMAAbort 24 static
-stm32l0xx_hal_i2c.c:6357:26:I2C_WaitOnFlagUntilTimeout 24 static
-stm32l0xx_hal_i2c.c:6388:26:I2C_WaitOnTXISFlagUntilTimeout 24 static
-stm32l0xx_hal_i2c.c:6426:26:I2C_WaitOnSTOPFlagUntilTimeout 24 static
-stm32l0xx_hal_i2c.c:6461:26:I2C_WaitOnRXNEFlagUntilTimeout 24 static
-stm32l0xx_hal_i2c.c:6525:26:I2C_IsAcknowledgeFailed 24 static
-stm32l0xx_hal_i2c.c:6599:13:I2C_TransferConfig 32 static
-stm32l0xx_hal_i2c.c:6624:13:I2C_Enable_IRQ 24 static
-stm32l0xx_hal_i2c.c:6695:13:I2C_Disable_IRQ 24 static
-stm32l0xx_hal_i2c.c:6758:13:I2C_ConvertOtherXferOptions 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.d
deleted file mode 100644
index c589720..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o
deleted file mode 100644
index d3076a5..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.su
deleted file mode 100644
index 7a23bf0..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.su
+++ /dev/null
@@ -1,6 +0,0 @@
-stm32l0xx_hal_i2c_ex.c:97:19:HAL_I2CEx_ConfigAnalogFilter 16 static
-stm32l0xx_hal_i2c_ex.c:141:19:HAL_I2CEx_ConfigDigitalFilter 24 static
-stm32l0xx_hal_i2c_ex.c:209:19:HAL_I2CEx_EnableWakeUp 16 static
-stm32l0xx_hal_i2c_ex.c:248:19:HAL_I2CEx_DisableWakeUp 16 static
-stm32l0xx_hal_i2c_ex.c:314:6:HAL_I2CEx_EnableFastModePlus 16 static
-stm32l0xx_hal_i2c_ex.c:341:6:HAL_I2CEx_DisableFastModePlus 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.d
deleted file mode 100644
index 3123761..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o
deleted file mode 100644
index cda5e37..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.su
deleted file mode 100644
index c7ab6cf..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.su
+++ /dev/null
@@ -1,17 +0,0 @@
-stm32l0xx_hal_pwr.c:80:6:HAL_PWR_DeInit 8 static
-stm32l0xx_hal_pwr.c:327:6:HAL_PWR_EnableBkUpAccess 8 static
-stm32l0xx_hal_pwr.c:340:6:HAL_PWR_DisableBkUpAccess 8 static
-stm32l0xx_hal_pwr.c:356:6:HAL_PWR_ConfigPVD 16 static
-stm32l0xx_hal_pwr.c:399:6:HAL_PWR_EnablePVD 8 static
-stm32l0xx_hal_pwr.c:409:6:HAL_PWR_DisablePVD 8 static
-stm32l0xx_hal_pwr.c:425:6:HAL_PWR_EnableWakeUpPin 16 static
-stm32l0xx_hal_pwr.c:442:6:HAL_PWR_DisableWakeUpPin 16 static
-stm32l0xx_hal_pwr.c:465:6:HAL_PWR_EnterSLEEPMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_pwr.c:546:6:HAL_PWR_EnterSTOPMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_pwr.c:615:6:HAL_PWR_EnterSTANDBYMode 8 static,ignoring_inline_asm
-stm32l0xx_hal_pwr.c:639:6:HAL_PWR_EnableSleepOnExit 8 static
-stm32l0xx_hal_pwr.c:652:6:HAL_PWR_DisableSleepOnExit 8 static
-stm32l0xx_hal_pwr.c:665:6:HAL_PWR_EnableSEVOnPend 8 static
-stm32l0xx_hal_pwr.c:678:6:HAL_PWR_DisableSEVOnPend 8 static
-stm32l0xx_hal_pwr.c:690:6:HAL_PWR_PVD_IRQHandler 8 static
-stm32l0xx_hal_pwr.c:707:13:HAL_PWR_PVDCallback 8 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.d
deleted file mode 100644
index 1f48466..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o
deleted file mode 100644
index 2c23526..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.su
deleted file mode 100644
index fa2f762..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.su
+++ /dev/null
@@ -1,7 +0,0 @@
-stm32l0xx_hal_pwr_ex.c:70:10:HAL_PWREx_GetVoltageRange 8 static
-stm32l0xx_hal_pwr_ex.c:83:6:HAL_PWREx_EnableFastWakeUp 8 static
-stm32l0xx_hal_pwr_ex.c:93:6:HAL_PWREx_DisableFastWakeUp 8 static
-stm32l0xx_hal_pwr_ex.c:103:6:HAL_PWREx_EnableUltraLowPower 8 static
-stm32l0xx_hal_pwr_ex.c:113:6:HAL_PWREx_DisableUltraLowPower 8 static
-stm32l0xx_hal_pwr_ex.c:131:6:HAL_PWREx_EnableLowPowerRunMode 8 static
-stm32l0xx_hal_pwr_ex.c:146:19:HAL_PWREx_DisableLowPowerRunMode 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.d
deleted file mode 100644
index b7c6915..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o
deleted file mode 100644
index d03fdee..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.su
deleted file mode 100644
index 2c9153c..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.su
+++ /dev/null
@@ -1,13 +0,0 @@
-stm32l0xx_hal_rcc.c:223:19:HAL_RCC_DeInit 32 static
-stm32l0xx_hal_rcc.c:338:19:HAL_RCC_OscConfig 56 static
-stm32l0xx_hal_rcc.c:859:19:HAL_RCC_ClockConfig 32 static
-stm32l0xx_hal_rcc.c:1120:6:HAL_RCC_MCOConfig 64 static
-stm32l0xx_hal_rcc.c:1177:6:HAL_RCC_EnableCSS 8 static
-stm32l0xx_hal_rcc.c:1213:10:HAL_RCC_GetSysClockFreq 72 static
-stm32l0xx_hal_rcc.c:1283:10:HAL_RCC_GetHCLKFreq 8 static
-stm32l0xx_hal_rcc.c:1294:10:HAL_RCC_GetPCLK1Freq 8 static
-stm32l0xx_hal_rcc.c:1306:10:HAL_RCC_GetPCLK2Freq 8 static
-stm32l0xx_hal_rcc.c:1319:6:HAL_RCC_GetOscConfig 16 static
-stm32l0xx_hal_rcc.c:1422:6:HAL_RCC_GetClockConfig 16 static
-stm32l0xx_hal_rcc.c:1453:6:HAL_RCC_NMI_IRQHandler 8 static
-stm32l0xx_hal_rcc.c:1470:13:HAL_RCC_CSSCallback 8 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.d
deleted file mode 100644
index 612a49c..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o
deleted file mode 100644
index 869126f..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.su
deleted file mode 100644
index 2dbe186..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.su
+++ /dev/null
@@ -1,8 +0,0 @@
-stm32l0xx_hal_rcc_ex.c:97:19:HAL_RCCEx_PeriphCLKConfig 32 static
-stm32l0xx_hal_rcc_ex.c:296:6:HAL_RCCEx_GetPeriphCLKConfig 24 static
-stm32l0xx_hal_rcc_ex.c:374:10:HAL_RCCEx_GetPeriphCLKFreq 32 static
-stm32l0xx_hal_rcc_ex.c:744:6:HAL_RCCEx_EnableLSECSS 8 static
-stm32l0xx_hal_rcc_ex.c:756:6:HAL_RCCEx_DisableLSECSS 8 static
-stm32l0xx_hal_rcc_ex.c:770:6:HAL_RCCEx_EnableLSECSS_IT 8 static
-stm32l0xx_hal_rcc_ex.c:787:6:HAL_RCCEx_LSECSS_IRQHandler 8 static
-stm32l0xx_hal_rcc_ex.c:804:13:HAL_RCCEx_LSECSS_Callback 8 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.d
deleted file mode 100644
index 5fcbac7..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o
deleted file mode 100644
index 620c7f6..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.su
deleted file mode 100644
index 786182c..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.su
+++ /dev/null
@@ -1,119 +0,0 @@
-stm32l0xx_hal_tim.c:269:19:HAL_TIM_Base_Init 16 static
-stm32l0xx_hal_tim.c:329:19:HAL_TIM_Base_DeInit 16 static
-stm32l0xx_hal_tim.c:371:13:HAL_TIM_Base_MspInit 16 static
-stm32l0xx_hal_tim.c:386:13:HAL_TIM_Base_MspDeInit 16 static
-stm32l0xx_hal_tim.c:402:19:HAL_TIM_Base_Start 24 static
-stm32l0xx_hal_tim.c:441:19:HAL_TIM_Base_Stop 16 static
-stm32l0xx_hal_tim.c:461:19:HAL_TIM_Base_Start_IT 24 static
-stm32l0xx_hal_tim.c:503:19:HAL_TIM_Base_Stop_IT 16 static
-stm32l0xx_hal_tim.c:528:19:HAL_TIM_Base_Start_DMA 32 static
-stm32l0xx_hal_tim.c:597:19:HAL_TIM_Base_Stop_DMA 16 static
-stm32l0xx_hal_tim.c:652:19:HAL_TIM_OC_Init 16 static
-stm32l0xx_hal_tim.c:712:19:HAL_TIM_OC_DeInit 16 static
-stm32l0xx_hal_tim.c:754:13:HAL_TIM_OC_MspInit 16 static
-stm32l0xx_hal_tim.c:769:13:HAL_TIM_OC_MspDeInit 16 static
-stm32l0xx_hal_tim.c:790:19:HAL_TIM_OC_Start 24 static
-stm32l0xx_hal_tim.c:838:19:HAL_TIM_OC_Stop 16 static
-stm32l0xx_hal_tim.c:867:19:HAL_TIM_OC_Start_IT 24 static
-stm32l0xx_hal_tim.c:954:19:HAL_TIM_OC_Stop_IT 24 static
-stm32l0xx_hal_tim.c:1025:19:HAL_TIM_OC_Start_DMA 32 static
-stm32l0xx_hal_tim.c:1182:19:HAL_TIM_OC_Stop_DMA 24 static
-stm32l0xx_hal_tim.c:1279:19:HAL_TIM_PWM_Init 16 static
-stm32l0xx_hal_tim.c:1339:19:HAL_TIM_PWM_DeInit 16 static
-stm32l0xx_hal_tim.c:1381:13:HAL_TIM_PWM_MspInit 16 static
-stm32l0xx_hal_tim.c:1396:13:HAL_TIM_PWM_MspDeInit 16 static
-stm32l0xx_hal_tim.c:1417:19:HAL_TIM_PWM_Start 24 static
-stm32l0xx_hal_tim.c:1465:19:HAL_TIM_PWM_Stop 16 static
-stm32l0xx_hal_tim.c:1494:19:HAL_TIM_PWM_Start_IT 24 static
-stm32l0xx_hal_tim.c:1581:19:HAL_TIM_PWM_Stop_IT 24 static
-stm32l0xx_hal_tim.c:1652:19:HAL_TIM_PWM_Start_DMA 32 static
-stm32l0xx_hal_tim.c:1808:19:HAL_TIM_PWM_Stop_DMA 24 static
-stm32l0xx_hal_tim.c:1905:19:HAL_TIM_IC_Init 16 static
-stm32l0xx_hal_tim.c:1965:19:HAL_TIM_IC_DeInit 16 static
-stm32l0xx_hal_tim.c:2007:13:HAL_TIM_IC_MspInit 16 static
-stm32l0xx_hal_tim.c:2022:13:HAL_TIM_IC_MspDeInit 16 static
-stm32l0xx_hal_tim.c:2043:19:HAL_TIM_IC_Start 24 static
-stm32l0xx_hal_tim.c:2092:19:HAL_TIM_IC_Stop 16 static
-stm32l0xx_hal_tim.c:2121:19:HAL_TIM_IC_Start_IT 24 static
-stm32l0xx_hal_tim.c:2210:19:HAL_TIM_IC_Stop_IT 24 static
-stm32l0xx_hal_tim.c:2281:19:HAL_TIM_IC_Start_DMA 32 static
-stm32l0xx_hal_tim.c:2436:19:HAL_TIM_IC_Stop_DMA 24 static
-stm32l0xx_hal_tim.c:2540:19:HAL_TIM_OnePulse_Init 16 static
-stm32l0xx_hal_tim.c:2608:19:HAL_TIM_OnePulse_DeInit 16 static
-stm32l0xx_hal_tim.c:2651:13:HAL_TIM_OnePulse_MspInit 16 static
-stm32l0xx_hal_tim.c:2666:13:HAL_TIM_OnePulse_MspDeInit 16 static
-stm32l0xx_hal_tim.c:2686:19:HAL_TIM_OnePulse_Start 32 static
-stm32l0xx_hal_tim.c:2731:19:HAL_TIM_OnePulse_Stop 16 static
-stm32l0xx_hal_tim.c:2766:19:HAL_TIM_OnePulse_Start_IT 32 static
-stm32l0xx_hal_tim.c:2817:19:HAL_TIM_OnePulse_Stop_IT 16 static
-stm32l0xx_hal_tim.c:2888:19:HAL_TIM_Encoder_Init 32 static
-stm32l0xx_hal_tim.c:3002:19:HAL_TIM_Encoder_DeInit 16 static
-stm32l0xx_hal_tim.c:3045:13:HAL_TIM_Encoder_MspInit 16 static
-stm32l0xx_hal_tim.c:3060:13:HAL_TIM_Encoder_MspDeInit 16 static
-stm32l0xx_hal_tim.c:3080:19:HAL_TIM_Encoder_Start 24 static
-stm32l0xx_hal_tim.c:3164:19:HAL_TIM_Encoder_Stop 16 static
-stm32l0xx_hal_tim.c:3221:19:HAL_TIM_Encoder_Start_IT 24 static
-stm32l0xx_hal_tim.c:3311:19:HAL_TIM_Encoder_Stop_IT 16 static
-stm32l0xx_hal_tim.c:3373:19:HAL_TIM_Encoder_Start_DMA 32 static
-stm32l0xx_hal_tim.c:3572:19:HAL_TIM_Encoder_Stop_DMA 16 static
-stm32l0xx_hal_tim.c:3646:6:HAL_TIM_IRQHandler 16 static
-stm32l0xx_hal_tim.c:3834:19:HAL_TIM_OC_ConfigChannel 32 static
-stm32l0xx_hal_tim.c:3913:19:HAL_TIM_IC_ConfigChannel 32 static
-stm32l0xx_hal_tim.c:4012:19:HAL_TIM_PWM_ConfigChannel 32 static
-stm32l0xx_hal_tim.c:4126:19:HAL_TIM_OnePulse_ConfigChannel 48 static
-stm32l0xx_hal_tim.c:4269:19:HAL_TIM_DMABurst_WriteStart 48 static
-stm32l0xx_hal_tim.c:4321:19:HAL_TIM_DMABurst_MultiWriteStart 32 static
-stm32l0xx_hal_tim.c:4487:19:HAL_TIM_DMABurst_WriteStop 24 static
-stm32l0xx_hal_tim.c:4581:19:HAL_TIM_DMABurst_ReadStart 48 static
-stm32l0xx_hal_tim.c:4632:19:HAL_TIM_DMABurst_MultiReadStart 32 static
-stm32l0xx_hal_tim.c:4798:19:HAL_TIM_DMABurst_ReadStop 24 static
-stm32l0xx_hal_tim.c:4871:19:HAL_TIM_GenerateEvent 16 static
-stm32l0xx_hal_tim.c:4908:19:HAL_TIM_ConfigOCrefClear 32 static
-stm32l0xx_hal_tim.c:5038:19:HAL_TIM_ConfigClockSource 24 static
-stm32l0xx_hal_tim.c:5192:19:HAL_TIM_ConfigTI1Input 24 static
-stm32l0xx_hal_tim.c:5224:19:HAL_TIM_SlaveConfigSynchro 16 static
-stm32l0xx_hal_tim.c:5264:19:HAL_TIM_SlaveConfigSynchro_IT 16 static
-stm32l0xx_hal_tim.c:5307:10:HAL_TIM_ReadCapturedValue 24 static
-stm32l0xx_hal_tim.c:5391:13:HAL_TIM_PeriodElapsedCallback 16 static
-stm32l0xx_hal_tim.c:5406:13:HAL_TIM_PeriodElapsedHalfCpltCallback 16 static
-stm32l0xx_hal_tim.c:5421:13:HAL_TIM_OC_DelayElapsedCallback 16 static
-stm32l0xx_hal_tim.c:5436:13:HAL_TIM_IC_CaptureCallback 16 static
-stm32l0xx_hal_tim.c:5451:13:HAL_TIM_IC_CaptureHalfCpltCallback 16 static
-stm32l0xx_hal_tim.c:5466:13:HAL_TIM_PWM_PulseFinishedCallback 16 static
-stm32l0xx_hal_tim.c:5481:13:HAL_TIM_PWM_PulseFinishedHalfCpltCallback 16 static
-stm32l0xx_hal_tim.c:5496:13:HAL_TIM_TriggerCallback 16 static
-stm32l0xx_hal_tim.c:5511:13:HAL_TIM_TriggerHalfCpltCallback 16 static
-stm32l0xx_hal_tim.c:5526:13:HAL_TIM_ErrorCallback 16 static
-stm32l0xx_hal_tim.c:6011:22:HAL_TIM_Base_GetState 16 static
-stm32l0xx_hal_tim.c:6021:22:HAL_TIM_OC_GetState 16 static
-stm32l0xx_hal_tim.c:6031:22:HAL_TIM_PWM_GetState 16 static
-stm32l0xx_hal_tim.c:6041:22:HAL_TIM_IC_GetState 16 static
-stm32l0xx_hal_tim.c:6051:22:HAL_TIM_OnePulse_GetState 16 static
-stm32l0xx_hal_tim.c:6061:22:HAL_TIM_Encoder_GetState 16 static
-stm32l0xx_hal_tim.c:6071:23:HAL_TIM_GetActiveChannel 16 static
-stm32l0xx_hal_tim.c:6089:29:HAL_TIM_GetChannelState 24 static
-stm32l0xx_hal_tim.c:6106:30:HAL_TIM_DMABurstState 16 static
-stm32l0xx_hal_tim.c:6131:6:TIM_DMAError 24 static
-stm32l0xx_hal_tim.c:6174:13:TIM_DMADelayPulseCplt 24 static
-stm32l0xx_hal_tim.c:6233:13:TIM_DMADelayPulseHalfCplt 24 static
-stm32l0xx_hal_tim.c:6272:6:TIM_DMACaptureCplt 24 static
-stm32l0xx_hal_tim.c:6331:6:TIM_DMACaptureHalfCplt 24 static
-stm32l0xx_hal_tim.c:6370:13:TIM_DMAPeriodElapsedCplt 24 static
-stm32l0xx_hal_tim.c:6391:13:TIM_DMAPeriodElapsedHalfCplt 24 static
-stm32l0xx_hal_tim.c:6407:13:TIM_DMATriggerCplt 24 static
-stm32l0xx_hal_tim.c:6428:13:TIM_DMATriggerHalfCplt 24 static
-stm32l0xx_hal_tim.c:6445:13:TIM_Base_SetConfig 24 static
-stm32l0xx_hal_tim.c:6487:13:TIM_OC1_SetConfig 32 static
-stm32l0xx_hal_tim.c:6534:13:TIM_OC2_SetConfig 32 static
-stm32l0xx_hal_tim.c:6582:13:TIM_OC3_SetConfig 32 static
-stm32l0xx_hal_tim.c:6629:13:TIM_OC4_SetConfig 32 static
-stm32l0xx_hal_tim.c:6677:26:TIM_SlaveTimer_SetConfig 32 static
-stm32l0xx_hal_tim.c:6811:13:TIM_TI1_SetConfig 32 static
-stm32l0xx_hal_tim.c:6858:13:TIM_TI1_ConfigInputStage 32 static
-stm32l0xx_hal_tim.c:6901:13:TIM_TI2_SetConfig 32 static
-stm32l0xx_hal_tim.c:6941:13:TIM_TI2_ConfigInputStage 32 static
-stm32l0xx_hal_tim.c:6984:13:TIM_TI3_SetConfig 32 static
-stm32l0xx_hal_tim.c:7032:13:TIM_TI4_SetConfig 32 static
-stm32l0xx_hal_tim.c:7075:13:TIM_ITRx_SetConfig 24 static
-stm32l0xx_hal_tim.c:7105:13:TIM_ETR_SetConfig 32 static
-stm32l0xx_hal_tim.c:7135:13:TIM_CCxChannelCmd 32 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.d
deleted file mode 100644
index eebbb00..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o
deleted file mode 100644
index 4bb882a..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.su
deleted file mode 100644
index 4a9d059..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.su
+++ /dev/null
@@ -1,2 +0,0 @@
-stm32l0xx_hal_tim_ex.c:82:19:HAL_TIMEx_MasterConfigSynchronization 24 static
-stm32l0xx_hal_tim_ex.c:394:19:HAL_TIMEx_RemapConfig 16 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.d
deleted file mode 100644
index e867625..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.o
deleted file mode 100644
index 537c2e2..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.su
deleted file mode 100644
index ca12311..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.su
+++ /dev/null
@@ -1,66 +0,0 @@
-stm32l0xx_hal_uart.c:291:19:HAL_UART_Init 16 static
-stm32l0xx_hal_uart.c:364:19:HAL_HalfDuplex_Init 16 static
-stm32l0xx_hal_uart.c:437:19:HAL_LIN_Init 16 static
-stm32l0xx_hal_uart.c:534:19:HAL_MultiProcessor_Init 24 static
-stm32l0xx_hal_uart.c:608:19:HAL_UART_DeInit 16 static
-stm32l0xx_hal_uart.c:654:13:HAL_UART_MspInit 16 static
-stm32l0xx_hal_uart.c:669:13:HAL_UART_MspDeInit 16 static
-stm32l0xx_hal_uart.c:1087:19:HAL_UART_Transmit 48 static
-stm32l0xx_hal_uart.c:1188:19:HAL_UART_Receive 48 static
-stm32l0xx_hal_uart.c:1290:19:HAL_UART_Transmit_IT 40 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1359:19:HAL_UART_Receive_IT 40 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1418:19:HAL_UART_Transmit_DMA 40 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1510:19:HAL_UART_Receive_DMA 40 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1559:19:HAL_UART_DMAPause 88 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1593:19:HAL_UART_DMAResume 80 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1625:19:HAL_UART_DMAStop 56 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1700:19:HAL_UART_Abort 96 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1795:19:HAL_UART_AbortTransmit 48 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1847:19:HAL_UART_AbortReceive 80 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:1914:19:HAL_UART_Abort_IT 104 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2060:19:HAL_UART_AbortTransmit_IT 48 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2144:19:HAL_UART_AbortReceive_IT 80 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2236:6:HAL_UART_IRQHandler 184 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2527:13:HAL_UART_TxCpltCallback 16 static
-stm32l0xx_hal_uart.c:2542:13:HAL_UART_TxHalfCpltCallback 16 static
-stm32l0xx_hal_uart.c:2557:13:HAL_UART_RxCpltCallback 16 static
-stm32l0xx_hal_uart.c:2572:13:HAL_UART_RxHalfCpltCallback 16 static
-stm32l0xx_hal_uart.c:2587:13:HAL_UART_ErrorCallback 16 static
-stm32l0xx_hal_uart.c:2602:13:HAL_UART_AbortCpltCallback 16 static
-stm32l0xx_hal_uart.c:2617:13:HAL_UART_AbortTransmitCpltCallback 16 static
-stm32l0xx_hal_uart.c:2632:13:HAL_UART_AbortReceiveCpltCallback 16 static
-stm32l0xx_hal_uart.c:2649:13:HAL_UARTEx_RxEventCallback 16 static
-stm32l0xx_hal_uart.c:2697:6:HAL_UART_ReceiverTimeout_Config 16 static
-stm32l0xx_hal_uart.c:2712:19:HAL_UART_EnableReceiverTimeout 16 static
-stm32l0xx_hal_uart.c:2750:19:HAL_UART_DisableReceiverTimeout 16 static
-stm32l0xx_hal_uart.c:2788:19:HAL_MultiProcessor_EnableMuteMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2808:19:HAL_MultiProcessor_DisableMuteMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2828:6:HAL_MultiProcessor_EnterMuteMode 16 static
-stm32l0xx_hal_uart.c:2838:19:HAL_HalfDuplex_EnableTransmitter 48 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2861:19:HAL_HalfDuplex_EnableReceiver 48 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:2885:19:HAL_LIN_SendBreak 16 static
-stm32l0xx_hal_uart.c:2930:23:HAL_UART_GetState 24 static
-stm32l0xx_hal_uart.c:2946:10:HAL_UART_GetError 16 static
-stm32l0xx_hal_uart.c:2990:19:UART_SetConfig 72 static
-stm32l0xx_hal_uart.c:3214:6:UART_AdvFeatureConfig 16 static
-stm32l0xx_hal_uart.c:3288:19:UART_CheckIdleState 32 static
-stm32l0xx_hal_uart.c:3339:19:UART_WaitOnFlagUntilTimeout 88 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3401:19:UART_Start_Receive_IT 56 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3445:19:UART_Start_Receive_DMA 72 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3502:13:UART_EndTxTransfer 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3517:13:UART_EndRxTransfer 64 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3543:13:UART_DMATransmitCplt 56 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3577:13:UART_DMATxHalfCplt 24 static
-stm32l0xx_hal_uart.c:3595:13:UART_DMAReceiveCplt 88 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3652:13:UART_DMARxHalfCplt 24 static
-stm32l0xx_hal_uart.c:3686:13:UART_DMAError 32 static
-stm32l0xx_hal_uart.c:3726:13:UART_DMAAbortOnError 24 static
-stm32l0xx_hal_uart.c:3749:13:UART_DMATxAbortCallback 24 static
-stm32l0xx_hal_uart.c:3799:13:UART_DMARxAbortCallback 24 static
-stm32l0xx_hal_uart.c:3851:13:UART_DMATxOnlyAbortCallback 24 static
-stm32l0xx_hal_uart.c:3879:13:UART_DMARxOnlyAbortCallback 24 static
-stm32l0xx_hal_uart.c:3912:13:UART_TxISR_8BIT 48 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3941:13:UART_TxISR_16BIT 56 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3973:13:UART_EndTransmit_IT 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:3998:13:UART_RxISR_8BIT 72 static,ignoring_inline_asm
-stm32l0xx_hal_uart.c:4075:13:UART_RxISR_16BIT 72 static,ignoring_inline_asm
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.d b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.d
deleted file mode 100644
index a0bc0a9..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.d
+++ /dev/null
@@ -1,89 +0,0 @@
-Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.o: \
- ../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h \
- ../Core/Inc/stm32l0xx_hal_conf.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h \
- ../Drivers/CMSIS/Include/core_cm0plus.h \
- ../Drivers/CMSIS/Include/cmsis_version.h \
- ../Drivers/CMSIS/Include/cmsis_compiler.h \
- ../Drivers/CMSIS/Include/cmsis_gcc.h \
- ../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h \
- ../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h:
-
-../Core/Inc/stm32l0xx_hal_conf.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l031xx.h:
-
-../Drivers/CMSIS/Include/core_cm0plus.h:
-
-../Drivers/CMSIS/Include/cmsis_version.h:
-
-../Drivers/CMSIS/Include/cmsis_compiler.h:
-
-../Drivers/CMSIS/Include/cmsis_gcc.h:
-
-../Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_exti.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h:
-
-../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h:
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.o b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.o
deleted file mode 100644
index fde0459..0000000
Binary files a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.o and /dev/null differ
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.su b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.su
deleted file mode 100644
index 93233c0..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.su
+++ /dev/null
@@ -1,12 +0,0 @@
-stm32l0xx_hal_uart_ex.c:148:19:HAL_RS485Ex_Init 32 static
-stm32l0xx_hal_uart_ex.c:250:13:HAL_UARTEx_WakeupCallback 16 static
-stm32l0xx_hal_uart_ex.c:330:19:HAL_UARTEx_EnableClockStopMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart_ex.c:349:19:HAL_UARTEx_DisableClockStopMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart_ex.c:376:19:HAL_MultiProcessorEx_AddressLength_Set 16 static
-stm32l0xx_hal_uart_ex.c:414:19:HAL_UARTEx_StopModeWakeUpSourceConfig 40 static
-stm32l0xx_hal_uart_ex.c:469:19:HAL_UARTEx_EnableStopMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart_ex.c:488:19:HAL_UARTEx_DisableStopMode 32 static,ignoring_inline_asm
-stm32l0xx_hal_uart_ex.c:524:19:HAL_UARTEx_ReceiveToIdle 40 static
-stm32l0xx_hal_uart_ex.c:665:19:HAL_UARTEx_ReceiveToIdle_IT 56 static,ignoring_inline_asm
-stm32l0xx_hal_uart_ex.c:743:19:HAL_UARTEx_ReceiveToIdle_DMA 56 static,ignoring_inline_asm
-stm32l0xx_hal_uart_ex.c:817:13:UARTEx_Wakeup_AddressConfig 24 static
diff --git a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk b/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
deleted file mode 100644
index 6bedd97..0000000
--- a/fw_hal/Debug/Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
+++ /dev/null
@@ -1,71 +0,0 @@
-################################################################################
-# Automatically-generated file. Do not edit!
-# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
-################################################################################
-
-# Add inputs and outputs from these tool invocations to the build variables
-C_SRCS += \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c \
-../Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c
-
-OBJS += \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.o \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.o
-
-C_DEPS += \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_exti.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.d \
-./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.d
-
-
-# Each subdirectory must supply rules for building sources it contributes
-Drivers/STM32L0xx_HAL_Driver/Src/%.o: ../Drivers/STM32L0xx_HAL_Driver/Src/%.c Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk
- arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L031xx -c -I../Core/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc -I../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
-
diff --git a/fw_hal/Debug/iaq_wired_sensor_hal.bin b/fw_hal/Debug/iaq_wired_sensor_hal.bin
deleted file mode 100755
index df4f520..0000000
Binary files a/fw_hal/Debug/iaq_wired_sensor_hal.bin and /dev/null differ
diff --git a/fw_hal/Debug/iaq_wired_sensor_hal.elf b/fw_hal/Debug/iaq_wired_sensor_hal.elf
deleted file mode 100755
index 533008f..0000000
Binary files a/fw_hal/Debug/iaq_wired_sensor_hal.elf and /dev/null differ
diff --git a/fw_hal/Debug/iaq_wired_sensor_hal.list b/fw_hal/Debug/iaq_wired_sensor_hal.list
deleted file mode 100644
index 1960ff6..0000000
--- a/fw_hal/Debug/iaq_wired_sensor_hal.list
+++ /dev/null
@@ -1,12153 +0,0 @@
-
-iaq_wired_sensor_hal.elf: file format elf32-littlearm
-
-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 00004298 080000c0 080000c0 000100c0 2**2
- CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .rodata 0000006c 08004358 08004358 00014358 2**2
- CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 .ARM.extab 00000000 080043c4 080043c4 0002000c 2**0
- CONTENTS
- 4 .ARM 00000008 080043c4 080043c4 000143c4 2**2
- CONTENTS, ALLOC, LOAD, READONLY, DATA
- 5 .preinit_array 00000000 080043cc 080043cc 0002000c 2**0
- CONTENTS, ALLOC, LOAD, DATA
- 6 .init_array 00000004 080043cc 080043cc 000143cc 2**2
- CONTENTS, ALLOC, LOAD, DATA
- 7 .fini_array 00000004 080043d0 080043d0 000143d0 2**2
- CONTENTS, ALLOC, LOAD, DATA
- 8 .data 0000000c 20000000 080043d4 00020000 2**2
- CONTENTS, ALLOC, LOAD, DATA
- 9 .bss 00000204 2000000c 080043e0 0002000c 2**2
- ALLOC
- 10 ._user_heap_stack 00000600 20000210 080043e0 00020210 2**0
- ALLOC
- 11 .ARM.attributes 00000028 00000000 00000000 0002000c 2**0
- CONTENTS, READONLY
- 12 .debug_info 00010e4e 00000000 00000000 00020034 2**0
- CONTENTS, READONLY, DEBUGGING, OCTETS
- 13 .debug_abbrev 00002405 00000000 00000000 00030e82 2**0
- CONTENTS, READONLY, DEBUGGING, OCTETS
- 14 .debug_aranges 00000e68 00000000 00000000 00033288 2**3
- CONTENTS, READONLY, DEBUGGING, OCTETS
- 15 .debug_ranges 00000d70 00000000 00000000 000340f0 2**3
- CONTENTS, READONLY, DEBUGGING, OCTETS
- 16 .debug_macro 000025fe 00000000 00000000 00034e60 2**0
- CONTENTS, READONLY, DEBUGGING, OCTETS
- 17 .debug_line 00011bbb 00000000 00000000 0003745e 2**0
- CONTENTS, READONLY, DEBUGGING, OCTETS
- 18 .debug_str 0006c093 00000000 00000000 00049019 2**0
- CONTENTS, READONLY, DEBUGGING, OCTETS
- 19 .comment 00000053 00000000 00000000 000b50ac 2**0
- CONTENTS, READONLY
- 20 .debug_frame 000033cc 00000000 00000000 000b5100 2**2
- CONTENTS, READONLY, DEBUGGING, OCTETS
-
-Disassembly of section .text:
-
-080000c0 <__do_global_dtors_aux>:
- 80000c0: b510 push {r4, lr}
- 80000c2: 4c06 ldr r4, [pc, #24] ; (80000dc <__do_global_dtors_aux+0x1c>)
- 80000c4: 7823 ldrb r3, [r4, #0]
- 80000c6: 2b00 cmp r3, #0
- 80000c8: d107 bne.n 80000da <__do_global_dtors_aux+0x1a>
- 80000ca: 4b05 ldr r3, [pc, #20] ; (80000e0 <__do_global_dtors_aux+0x20>)
- 80000cc: 2b00 cmp r3, #0
- 80000ce: d002 beq.n 80000d6 <__do_global_dtors_aux+0x16>
- 80000d0: 4804 ldr r0, [pc, #16] ; (80000e4 <__do_global_dtors_aux+0x24>)
- 80000d2: e000 b.n 80000d6 <__do_global_dtors_aux+0x16>
- 80000d4: bf00 nop
- 80000d6: 2301 movs r3, #1
- 80000d8: 7023 strb r3, [r4, #0]
- 80000da: bd10 pop {r4, pc}
- 80000dc: 2000000c .word 0x2000000c
- 80000e0: 00000000 .word 0x00000000
- 80000e4: 08004340 .word 0x08004340
-
-080000e8 :
- 80000e8: 4b04 ldr r3, [pc, #16] ; (80000fc )
- 80000ea: b510 push {r4, lr}
- 80000ec: 2b00 cmp r3, #0
- 80000ee: d003 beq.n 80000f8
- 80000f0: 4903 ldr r1, [pc, #12] ; (8000100 )
- 80000f2: 4804 ldr r0, [pc, #16] ; (8000104 )
- 80000f4: e000 b.n 80000f8
- 80000f6: bf00 nop
- 80000f8: bd10 pop {r4, pc}
- 80000fa: 46c0 nop ; (mov r8, r8)
- 80000fc: 00000000 .word 0x00000000
- 8000100: 20000010 .word 0x20000010
- 8000104: 08004340 .word 0x08004340
-
-08000108 <__udivsi3>:
- 8000108: 2200 movs r2, #0
- 800010a: 0843 lsrs r3, r0, #1
- 800010c: 428b cmp r3, r1
- 800010e: d374 bcc.n 80001fa <__udivsi3+0xf2>
- 8000110: 0903 lsrs r3, r0, #4
- 8000112: 428b cmp r3, r1
- 8000114: d35f bcc.n 80001d6 <__udivsi3+0xce>
- 8000116: 0a03 lsrs r3, r0, #8
- 8000118: 428b cmp r3, r1
- 800011a: d344 bcc.n 80001a6 <__udivsi3+0x9e>
- 800011c: 0b03 lsrs r3, r0, #12
- 800011e: 428b cmp r3, r1
- 8000120: d328 bcc.n 8000174 <__udivsi3+0x6c>
- 8000122: 0c03 lsrs r3, r0, #16
- 8000124: 428b cmp r3, r1
- 8000126: d30d bcc.n 8000144 <__udivsi3+0x3c>
- 8000128: 22ff movs r2, #255 ; 0xff
- 800012a: 0209 lsls r1, r1, #8
- 800012c: ba12 rev r2, r2
- 800012e: 0c03 lsrs r3, r0, #16
- 8000130: 428b cmp r3, r1
- 8000132: d302 bcc.n 800013a <__udivsi3+0x32>
- 8000134: 1212 asrs r2, r2, #8
- 8000136: 0209 lsls r1, r1, #8
- 8000138: d065 beq.n 8000206 <__udivsi3+0xfe>
- 800013a: 0b03 lsrs r3, r0, #12
- 800013c: 428b cmp r3, r1
- 800013e: d319 bcc.n 8000174 <__udivsi3+0x6c>
- 8000140: e000 b.n 8000144 <__udivsi3+0x3c>
- 8000142: 0a09 lsrs r1, r1, #8
- 8000144: 0bc3 lsrs r3, r0, #15
- 8000146: 428b cmp r3, r1
- 8000148: d301 bcc.n 800014e <__udivsi3+0x46>
- 800014a: 03cb lsls r3, r1, #15
- 800014c: 1ac0 subs r0, r0, r3
- 800014e: 4152 adcs r2, r2
- 8000150: 0b83 lsrs r3, r0, #14
- 8000152: 428b cmp r3, r1
- 8000154: d301 bcc.n 800015a <__udivsi3+0x52>
- 8000156: 038b lsls r3, r1, #14
- 8000158: 1ac0 subs r0, r0, r3
- 800015a: 4152 adcs r2, r2
- 800015c: 0b43 lsrs r3, r0, #13
- 800015e: 428b cmp r3, r1
- 8000160: d301 bcc.n 8000166 <__udivsi3+0x5e>
- 8000162: 034b lsls r3, r1, #13
- 8000164: 1ac0 subs r0, r0, r3
- 8000166: 4152 adcs r2, r2
- 8000168: 0b03 lsrs r3, r0, #12
- 800016a: 428b cmp r3, r1
- 800016c: d301 bcc.n 8000172 <__udivsi3+0x6a>
- 800016e: 030b lsls r3, r1, #12
- 8000170: 1ac0 subs r0, r0, r3
- 8000172: 4152 adcs r2, r2
- 8000174: 0ac3 lsrs r3, r0, #11
- 8000176: 428b cmp r3, r1
- 8000178: d301 bcc.n 800017e <__udivsi3+0x76>
- 800017a: 02cb lsls r3, r1, #11
- 800017c: 1ac0 subs r0, r0, r3
- 800017e: 4152 adcs r2, r2
- 8000180: 0a83 lsrs r3, r0, #10
- 8000182: 428b cmp r3, r1
- 8000184: d301 bcc.n 800018a <__udivsi3+0x82>
- 8000186: 028b lsls r3, r1, #10
- 8000188: 1ac0 subs r0, r0, r3
- 800018a: 4152 adcs r2, r2
- 800018c: 0a43 lsrs r3, r0, #9
- 800018e: 428b cmp r3, r1
- 8000190: d301 bcc.n 8000196 <__udivsi3+0x8e>
- 8000192: 024b lsls r3, r1, #9
- 8000194: 1ac0 subs r0, r0, r3
- 8000196: 4152 adcs r2, r2
- 8000198: 0a03 lsrs r3, r0, #8
- 800019a: 428b cmp r3, r1
- 800019c: d301 bcc.n 80001a2 <__udivsi3+0x9a>
- 800019e: 020b lsls r3, r1, #8
- 80001a0: 1ac0 subs r0, r0, r3
- 80001a2: 4152 adcs r2, r2
- 80001a4: d2cd bcs.n 8000142 <__udivsi3+0x3a>
- 80001a6: 09c3 lsrs r3, r0, #7
- 80001a8: 428b cmp r3, r1
- 80001aa: d301 bcc.n 80001b0 <__udivsi3+0xa8>
- 80001ac: 01cb lsls r3, r1, #7
- 80001ae: 1ac0 subs r0, r0, r3
- 80001b0: 4152 adcs r2, r2
- 80001b2: 0983 lsrs r3, r0, #6
- 80001b4: 428b cmp r3, r1
- 80001b6: d301 bcc.n 80001bc <__udivsi3+0xb4>
- 80001b8: 018b lsls r3, r1, #6
- 80001ba: 1ac0 subs r0, r0, r3
- 80001bc: 4152 adcs r2, r2
- 80001be: 0943 lsrs r3, r0, #5
- 80001c0: 428b cmp r3, r1
- 80001c2: d301 bcc.n 80001c8 <__udivsi3+0xc0>
- 80001c4: 014b lsls r3, r1, #5
- 80001c6: 1ac0 subs r0, r0, r3
- 80001c8: 4152 adcs r2, r2
- 80001ca: 0903 lsrs r3, r0, #4
- 80001cc: 428b cmp r3, r1
- 80001ce: d301 bcc.n 80001d4 <__udivsi3+0xcc>
- 80001d0: 010b lsls r3, r1, #4
- 80001d2: 1ac0 subs r0, r0, r3
- 80001d4: 4152 adcs r2, r2
- 80001d6: 08c3 lsrs r3, r0, #3
- 80001d8: 428b cmp r3, r1
- 80001da: d301 bcc.n 80001e0 <__udivsi3+0xd8>
- 80001dc: 00cb lsls r3, r1, #3
- 80001de: 1ac0 subs r0, r0, r3
- 80001e0: 4152 adcs r2, r2
- 80001e2: 0883 lsrs r3, r0, #2
- 80001e4: 428b cmp r3, r1
- 80001e6: d301 bcc.n 80001ec <__udivsi3+0xe4>
- 80001e8: 008b lsls r3, r1, #2
- 80001ea: 1ac0 subs r0, r0, r3
- 80001ec: 4152 adcs r2, r2
- 80001ee: 0843 lsrs r3, r0, #1
- 80001f0: 428b cmp r3, r1
- 80001f2: d301 bcc.n 80001f8 <__udivsi3+0xf0>
- 80001f4: 004b lsls r3, r1, #1
- 80001f6: 1ac0 subs r0, r0, r3
- 80001f8: 4152 adcs r2, r2
- 80001fa: 1a41 subs r1, r0, r1
- 80001fc: d200 bcs.n 8000200 <__udivsi3+0xf8>
- 80001fe: 4601 mov r1, r0
- 8000200: 4152 adcs r2, r2
- 8000202: 4610 mov r0, r2
- 8000204: 4770 bx lr
- 8000206: e7ff b.n 8000208 <__udivsi3+0x100>
- 8000208: b501 push {r0, lr}
- 800020a: 2000 movs r0, #0
- 800020c: f000 f806 bl 800021c <__aeabi_idiv0>
- 8000210: bd02 pop {r1, pc}
- 8000212: 46c0 nop ; (mov r8, r8)
-
-08000214 <__aeabi_uidivmod>:
- 8000214: 2900 cmp r1, #0
- 8000216: d0f7 beq.n 8000208 <__udivsi3+0x100>
- 8000218: e776 b.n 8000108 <__udivsi3>
- 800021a: 4770 bx lr
-
-0800021c <__aeabi_idiv0>:
- 800021c: 4770 bx lr
- 800021e: 46c0 nop ; (mov r8, r8)
-
-08000220 <__aeabi_uldivmod>:
- 8000220: 2b00 cmp r3, #0
- 8000222: d111 bne.n 8000248 <__aeabi_uldivmod+0x28>
- 8000224: 2a00 cmp r2, #0
- 8000226: d10f bne.n 8000248 <__aeabi_uldivmod+0x28>
- 8000228: 2900 cmp r1, #0
- 800022a: d100 bne.n 800022e <__aeabi_uldivmod+0xe>
- 800022c: 2800 cmp r0, #0
- 800022e: d002 beq.n 8000236 <__aeabi_uldivmod+0x16>
- 8000230: 2100 movs r1, #0
- 8000232: 43c9 mvns r1, r1
- 8000234: 1c08 adds r0, r1, #0
- 8000236: b407 push {r0, r1, r2}
- 8000238: 4802 ldr r0, [pc, #8] ; (8000244 <__aeabi_uldivmod+0x24>)
- 800023a: a102 add r1, pc, #8 ; (adr r1, 8000244 <__aeabi_uldivmod+0x24>)
- 800023c: 1840 adds r0, r0, r1
- 800023e: 9002 str r0, [sp, #8]
- 8000240: bd03 pop {r0, r1, pc}
- 8000242: 46c0 nop ; (mov r8, r8)
- 8000244: ffffffd9 .word 0xffffffd9
- 8000248: b403 push {r0, r1}
- 800024a: 4668 mov r0, sp
- 800024c: b501 push {r0, lr}
- 800024e: 9802 ldr r0, [sp, #8]
- 8000250: f000 f82e bl 80002b0 <__udivmoddi4>
- 8000254: 9b01 ldr r3, [sp, #4]
- 8000256: 469e mov lr, r3
- 8000258: b002 add sp, #8
- 800025a: bc0c pop {r2, r3}
- 800025c: 4770 bx lr
- 800025e: 46c0 nop ; (mov r8, r8)
-
-08000260 <__aeabi_lmul>:
- 8000260: b5f0 push {r4, r5, r6, r7, lr}
- 8000262: 0415 lsls r5, r2, #16
- 8000264: 0c2d lsrs r5, r5, #16
- 8000266: 000f movs r7, r1
- 8000268: 0001 movs r1, r0
- 800026a: 002e movs r6, r5
- 800026c: 46c6 mov lr, r8
- 800026e: 4684 mov ip, r0
- 8000270: 0400 lsls r0, r0, #16
- 8000272: 0c14 lsrs r4, r2, #16
- 8000274: 0c00 lsrs r0, r0, #16
- 8000276: 0c09 lsrs r1, r1, #16
- 8000278: 4346 muls r6, r0
- 800027a: 434d muls r5, r1
- 800027c: 4360 muls r0, r4
- 800027e: 4361 muls r1, r4
- 8000280: 1940 adds r0, r0, r5
- 8000282: 0c34 lsrs r4, r6, #16
- 8000284: 1824 adds r4, r4, r0
- 8000286: b500 push {lr}
- 8000288: 42a5 cmp r5, r4
- 800028a: d903 bls.n 8000294 <__aeabi_lmul+0x34>
- 800028c: 2080 movs r0, #128 ; 0x80
- 800028e: 0240 lsls r0, r0, #9
- 8000290: 4680 mov r8, r0
- 8000292: 4441 add r1, r8
- 8000294: 0c25 lsrs r5, r4, #16
- 8000296: 186d adds r5, r5, r1
- 8000298: 4661 mov r1, ip
- 800029a: 4359 muls r1, r3
- 800029c: 437a muls r2, r7
- 800029e: 0430 lsls r0, r6, #16
- 80002a0: 1949 adds r1, r1, r5
- 80002a2: 0424 lsls r4, r4, #16
- 80002a4: 0c00 lsrs r0, r0, #16
- 80002a6: 1820 adds r0, r4, r0
- 80002a8: 1889 adds r1, r1, r2
- 80002aa: bc80 pop {r7}
- 80002ac: 46b8 mov r8, r7
- 80002ae: bdf0 pop {r4, r5, r6, r7, pc}
-
-080002b0 <__udivmoddi4>:
- 80002b0: b5f0 push {r4, r5, r6, r7, lr}
- 80002b2: 4657 mov r7, sl
- 80002b4: 464e mov r6, r9
- 80002b6: 4645 mov r5, r8
- 80002b8: 46de mov lr, fp
- 80002ba: b5e0 push {r5, r6, r7, lr}
- 80002bc: 0004 movs r4, r0
- 80002be: 000d movs r5, r1
- 80002c0: 4692 mov sl, r2
- 80002c2: 4699 mov r9, r3
- 80002c4: b083 sub sp, #12
- 80002c6: 428b cmp r3, r1
- 80002c8: d830 bhi.n 800032c <__udivmoddi4+0x7c>
- 80002ca: d02d beq.n 8000328 <__udivmoddi4+0x78>
- 80002cc: 4649 mov r1, r9
- 80002ce: 4650 mov r0, sl
- 80002d0: f000 f8ba bl 8000448 <__clzdi2>
- 80002d4: 0029 movs r1, r5
- 80002d6: 0006 movs r6, r0
- 80002d8: 0020 movs r0, r4
- 80002da: f000 f8b5 bl 8000448 <__clzdi2>
- 80002de: 1a33 subs r3, r6, r0
- 80002e0: 4698 mov r8, r3
- 80002e2: 3b20 subs r3, #32
- 80002e4: 469b mov fp, r3
- 80002e6: d433 bmi.n 8000350 <__udivmoddi4+0xa0>
- 80002e8: 465a mov r2, fp
- 80002ea: 4653 mov r3, sl
- 80002ec: 4093 lsls r3, r2
- 80002ee: 4642 mov r2, r8
- 80002f0: 001f movs r7, r3
- 80002f2: 4653 mov r3, sl
- 80002f4: 4093 lsls r3, r2
- 80002f6: 001e movs r6, r3
- 80002f8: 42af cmp r7, r5
- 80002fa: d83a bhi.n 8000372 <__udivmoddi4+0xc2>
- 80002fc: 42af cmp r7, r5
- 80002fe: d100 bne.n 8000302 <__udivmoddi4+0x52>
- 8000300: e078 b.n 80003f4 <__udivmoddi4+0x144>
- 8000302: 465b mov r3, fp
- 8000304: 1ba4 subs r4, r4, r6
- 8000306: 41bd sbcs r5, r7
- 8000308: 2b00 cmp r3, #0
- 800030a: da00 bge.n 800030e <__udivmoddi4+0x5e>
- 800030c: e075 b.n 80003fa <__udivmoddi4+0x14a>
- 800030e: 2200 movs r2, #0
- 8000310: 2300 movs r3, #0
- 8000312: 9200 str r2, [sp, #0]
- 8000314: 9301 str r3, [sp, #4]
- 8000316: 2301 movs r3, #1
- 8000318: 465a mov r2, fp
- 800031a: 4093 lsls r3, r2
- 800031c: 9301 str r3, [sp, #4]
- 800031e: 2301 movs r3, #1
- 8000320: 4642 mov r2, r8
- 8000322: 4093 lsls r3, r2
- 8000324: 9300 str r3, [sp, #0]
- 8000326: e028 b.n 800037a <__udivmoddi4+0xca>
- 8000328: 4282 cmp r2, r0
- 800032a: d9cf bls.n 80002cc <__udivmoddi4+0x1c>
- 800032c: 2200 movs r2, #0
- 800032e: 2300 movs r3, #0
- 8000330: 9200 str r2, [sp, #0]
- 8000332: 9301 str r3, [sp, #4]
- 8000334: 9b0c ldr r3, [sp, #48] ; 0x30
- 8000336: 2b00 cmp r3, #0
- 8000338: d001 beq.n 800033e <__udivmoddi4+0x8e>
- 800033a: 601c str r4, [r3, #0]
- 800033c: 605d str r5, [r3, #4]
- 800033e: 9800 ldr r0, [sp, #0]
- 8000340: 9901 ldr r1, [sp, #4]
- 8000342: b003 add sp, #12
- 8000344: bcf0 pop {r4, r5, r6, r7}
- 8000346: 46bb mov fp, r7
- 8000348: 46b2 mov sl, r6
- 800034a: 46a9 mov r9, r5
- 800034c: 46a0 mov r8, r4
- 800034e: bdf0 pop {r4, r5, r6, r7, pc}
- 8000350: 4642 mov r2, r8
- 8000352: 2320 movs r3, #32
- 8000354: 1a9b subs r3, r3, r2
- 8000356: 4652 mov r2, sl
- 8000358: 40da lsrs r2, r3
- 800035a: 4641 mov r1, r8
- 800035c: 0013 movs r3, r2
- 800035e: 464a mov r2, r9
- 8000360: 408a lsls r2, r1
- 8000362: 0017 movs r7, r2
- 8000364: 4642 mov r2, r8
- 8000366: 431f orrs r7, r3
- 8000368: 4653 mov r3, sl
- 800036a: 4093 lsls r3, r2
- 800036c: 001e movs r6, r3
- 800036e: 42af cmp r7, r5
- 8000370: d9c4 bls.n 80002fc <__udivmoddi4+0x4c>
- 8000372: 2200 movs r2, #0
- 8000374: 2300 movs r3, #0
- 8000376: 9200 str r2, [sp, #0]
- 8000378: 9301 str r3, [sp, #4]
- 800037a: 4643 mov r3, r8
- 800037c: 2b00 cmp r3, #0
- 800037e: d0d9 beq.n 8000334 <__udivmoddi4+0x84>
- 8000380: 07fb lsls r3, r7, #31
- 8000382: 0872 lsrs r2, r6, #1
- 8000384: 431a orrs r2, r3
- 8000386: 4646 mov r6, r8
- 8000388: 087b lsrs r3, r7, #1
- 800038a: e00e b.n 80003aa <__udivmoddi4+0xfa>
- 800038c: 42ab cmp r3, r5
- 800038e: d101 bne.n 8000394 <__udivmoddi4+0xe4>
- 8000390: 42a2 cmp r2, r4
- 8000392: d80c bhi.n 80003ae <__udivmoddi4+0xfe>
- 8000394: 1aa4 subs r4, r4, r2
- 8000396: 419d sbcs r5, r3
- 8000398: 2001 movs r0, #1
- 800039a: 1924 adds r4, r4, r4
- 800039c: 416d adcs r5, r5
- 800039e: 2100 movs r1, #0
- 80003a0: 3e01 subs r6, #1
- 80003a2: 1824 adds r4, r4, r0
- 80003a4: 414d adcs r5, r1
- 80003a6: 2e00 cmp r6, #0
- 80003a8: d006 beq.n 80003b8 <__udivmoddi4+0x108>
- 80003aa: 42ab cmp r3, r5
- 80003ac: d9ee bls.n 800038c <__udivmoddi4+0xdc>
- 80003ae: 3e01 subs r6, #1
- 80003b0: 1924 adds r4, r4, r4
- 80003b2: 416d adcs r5, r5
- 80003b4: 2e00 cmp r6, #0
- 80003b6: d1f8 bne.n 80003aa <__udivmoddi4+0xfa>
- 80003b8: 9800 ldr r0, [sp, #0]
- 80003ba: 9901 ldr r1, [sp, #4]
- 80003bc: 465b mov r3, fp
- 80003be: 1900 adds r0, r0, r4
- 80003c0: 4169 adcs r1, r5
- 80003c2: 2b00 cmp r3, #0
- 80003c4: db24 blt.n 8000410 <__udivmoddi4+0x160>
- 80003c6: 002b movs r3, r5
- 80003c8: 465a mov r2, fp
- 80003ca: 4644 mov r4, r8
- 80003cc: 40d3 lsrs r3, r2
- 80003ce: 002a movs r2, r5
- 80003d0: 40e2 lsrs r2, r4
- 80003d2: 001c movs r4, r3
- 80003d4: 465b mov r3, fp
- 80003d6: 0015 movs r5, r2
- 80003d8: 2b00 cmp r3, #0
- 80003da: db2a blt.n 8000432 <__udivmoddi4+0x182>
- 80003dc: 0026 movs r6, r4
- 80003de: 409e lsls r6, r3
- 80003e0: 0033 movs r3, r6
- 80003e2: 0026 movs r6, r4
- 80003e4: 4647 mov r7, r8
- 80003e6: 40be lsls r6, r7
- 80003e8: 0032 movs r2, r6
- 80003ea: 1a80 subs r0, r0, r2
- 80003ec: 4199 sbcs r1, r3
- 80003ee: 9000 str r0, [sp, #0]
- 80003f0: 9101 str r1, [sp, #4]
- 80003f2: e79f b.n 8000334 <__udivmoddi4+0x84>
- 80003f4: 42a3 cmp r3, r4
- 80003f6: d8bc bhi.n 8000372 <__udivmoddi4+0xc2>
- 80003f8: e783 b.n 8000302 <__udivmoddi4+0x52>
- 80003fa: 4642 mov r2, r8
- 80003fc: 2320 movs r3, #32
- 80003fe: 2100 movs r1, #0
- 8000400: 1a9b subs r3, r3, r2
- 8000402: 2200 movs r2, #0
- 8000404: 9100 str r1, [sp, #0]
- 8000406: 9201 str r2, [sp, #4]
- 8000408: 2201 movs r2, #1
- 800040a: 40da lsrs r2, r3
- 800040c: 9201 str r2, [sp, #4]
- 800040e: e786 b.n 800031e <__udivmoddi4+0x6e>
- 8000410: 4642 mov r2, r8
- 8000412: 2320 movs r3, #32
- 8000414: 1a9b subs r3, r3, r2
- 8000416: 002a movs r2, r5
- 8000418: 4646 mov r6, r8
- 800041a: 409a lsls r2, r3
- 800041c: 0023 movs r3, r4
- 800041e: 40f3 lsrs r3, r6
- 8000420: 4644 mov r4, r8
- 8000422: 4313 orrs r3, r2
- 8000424: 002a movs r2, r5
- 8000426: 40e2 lsrs r2, r4
- 8000428: 001c movs r4, r3
- 800042a: 465b mov r3, fp
- 800042c: 0015 movs r5, r2
- 800042e: 2b00 cmp r3, #0
- 8000430: dad4 bge.n 80003dc <__udivmoddi4+0x12c>
- 8000432: 4642 mov r2, r8
- 8000434: 002f movs r7, r5
- 8000436: 2320 movs r3, #32
- 8000438: 0026 movs r6, r4
- 800043a: 4097 lsls r7, r2
- 800043c: 1a9b subs r3, r3, r2
- 800043e: 40de lsrs r6, r3
- 8000440: 003b movs r3, r7
- 8000442: 4333 orrs r3, r6
- 8000444: e7cd b.n 80003e2 <__udivmoddi4+0x132>
- 8000446: 46c0 nop ; (mov r8, r8)
-
-08000448 <__clzdi2>:
- 8000448: b510 push {r4, lr}
- 800044a: 2900 cmp r1, #0
- 800044c: d103 bne.n 8000456 <__clzdi2+0xe>
- 800044e: f000 f807 bl 8000460 <__clzsi2>
- 8000452: 3020 adds r0, #32
- 8000454: e002 b.n 800045c <__clzdi2+0x14>
- 8000456: 1c08 adds r0, r1, #0
- 8000458: f000 f802 bl 8000460 <__clzsi2>
- 800045c: bd10 pop {r4, pc}
- 800045e: 46c0 nop ; (mov r8, r8)
-
-08000460 <__clzsi2>:
- 8000460: 211c movs r1, #28
- 8000462: 2301 movs r3, #1
- 8000464: 041b lsls r3, r3, #16
- 8000466: 4298 cmp r0, r3
- 8000468: d301 bcc.n 800046e <__clzsi2+0xe>
- 800046a: 0c00 lsrs r0, r0, #16
- 800046c: 3910 subs r1, #16
- 800046e: 0a1b lsrs r3, r3, #8
- 8000470: 4298 cmp r0, r3
- 8000472: d301 bcc.n 8000478 <__clzsi2+0x18>
- 8000474: 0a00 lsrs r0, r0, #8
- 8000476: 3908 subs r1, #8
- 8000478: 091b lsrs r3, r3, #4
- 800047a: 4298 cmp r0, r3
- 800047c: d301 bcc.n 8000482 <__clzsi2+0x22>
- 800047e: 0900 lsrs r0, r0, #4
- 8000480: 3904 subs r1, #4
- 8000482: a202 add r2, pc, #8 ; (adr r2, 800048c <__clzsi2+0x2c>)
- 8000484: 5c10 ldrb r0, [r2, r0]
- 8000486: 1840 adds r0, r0, r1
- 8000488: 4770 bx lr
- 800048a: 46c0 nop ; (mov r8, r8)
- 800048c: 02020304 .word 0x02020304
- 8000490: 01010101 .word 0x01010101
- ...
-
-0800049c :
-
-I2C_HandleTypeDef *i2c_context;
-uint16_t timeout;
-
-int8_t i2c_init(I2C_HandleTypeDef *context, uint16_t i2c_timeout)
-{
- 800049c: b580 push {r7, lr}
- 800049e: b082 sub sp, #8
- 80004a0: af00 add r7, sp, #0
- 80004a2: 6078 str r0, [r7, #4]
- 80004a4: 000a movs r2, r1
- 80004a6: 1cbb adds r3, r7, #2
- 80004a8: 801a strh r2, [r3, #0]
- if (context == NULL) {
- 80004aa: 687b ldr r3, [r7, #4]
- 80004ac: 2b00 cmp r3, #0
- 80004ae: d102 bne.n 80004b6
- return I2C_ERROR;
- 80004b0: 2301 movs r3, #1
- 80004b2: 425b negs r3, r3
- 80004b4: e007 b.n 80004c6
- }
- i2c_context = context;
- 80004b6: 4b06 ldr r3, [pc, #24] ; (80004d0 )
- 80004b8: 687a ldr r2, [r7, #4]
- 80004ba: 601a str r2, [r3, #0]
- timeout = i2c_timeout;
- 80004bc: 4b05 ldr r3, [pc, #20] ; (80004d4 )
- 80004be: 1cba adds r2, r7, #2
- 80004c0: 8812 ldrh r2, [r2, #0]
- 80004c2: 801a strh r2, [r3, #0]
- return I2C_OK;
- 80004c4: 2300 movs r3, #0
-}
- 80004c6: 0018 movs r0, r3
- 80004c8: 46bd mov sp, r7
- 80004ca: b002 add sp, #8
- 80004cc: bd80 pop {r7, pc}
- 80004ce: 46c0 nop ; (mov r8, r8)
- 80004d0: 20000030 .word 0x20000030
- 80004d4: 20000034 .word 0x20000034
-
-080004d8 :
-
-int8_t i2c_transmit(uint8_t address, uint8_t *buffer, uint16_t len)
-{
- 80004d8: b590 push {r4, r7, lr}
- 80004da: b085 sub sp, #20
- 80004dc: af02 add r7, sp, #8
- 80004de: 6039 str r1, [r7, #0]
- 80004e0: 0011 movs r1, r2
- 80004e2: 1dfb adds r3, r7, #7
- 80004e4: 1c02 adds r2, r0, #0
- 80004e6: 701a strb r2, [r3, #0]
- 80004e8: 1d3b adds r3, r7, #4
- 80004ea: 1c0a adds r2, r1, #0
- 80004ec: 801a strh r2, [r3, #0]
- if (HAL_I2C_Master_Transmit(i2c_context, address, buffer, len, timeout) == HAL_OK)
- 80004ee: 4b0c ldr r3, [pc, #48] ; (8000520 )
- 80004f0: 6818 ldr r0, [r3, #0]
- 80004f2: 1dfb adds r3, r7, #7
- 80004f4: 781b ldrb r3, [r3, #0]
- 80004f6: b299 uxth r1, r3
- 80004f8: 4b0a ldr r3, [pc, #40] ; (8000524 )
- 80004fa: 881b ldrh r3, [r3, #0]
- 80004fc: 001c movs r4, r3
- 80004fe: 1d3b adds r3, r7, #4
- 8000500: 881b ldrh r3, [r3, #0]
- 8000502: 683a ldr r2, [r7, #0]
- 8000504: 9400 str r4, [sp, #0]
- 8000506: f001 f8f5 bl 80016f4
- 800050a: 1e03 subs r3, r0, #0
- 800050c: d101 bne.n 8000512
- {
- return I2C_OK;
- 800050e: 2300 movs r3, #0
- 8000510: e001 b.n 8000516
- } else {
- return I2C_ERROR;
- 8000512: 2301 movs r3, #1
- 8000514: 425b negs r3, r3
- }
-}
- 8000516: 0018 movs r0, r3
- 8000518: 46bd mov sp, r7
- 800051a: b003 add sp, #12
- 800051c: bd90 pop {r4, r7, pc}
- 800051e: 46c0 nop ; (mov r8, r8)
- 8000520: 20000030 .word 0x20000030
- 8000524: 20000034 .word 0x20000034
-
-08000528 :
-
-int8_t i2c_receive(uint8_t address, uint8_t *buffer, uint16_t len)
-{
- 8000528: b590 push {r4, r7, lr}
- 800052a: b085 sub sp, #20
- 800052c: af02 add r7, sp, #8
- 800052e: 6039 str r1, [r7, #0]
- 8000530: 0011 movs r1, r2
- 8000532: 1dfb adds r3, r7, #7
- 8000534: 1c02 adds r2, r0, #0
- 8000536: 701a strb r2, [r3, #0]
- 8000538: 1d3b adds r3, r7, #4
- 800053a: 1c0a adds r2, r1, #0
- 800053c: 801a strh r2, [r3, #0]
- if (HAL_I2C_Master_Receive(i2c_context, address, buffer, len, timeout) == HAL_OK)
- 800053e: 4b0c ldr r3, [pc, #48] ; (8000570 )
- 8000540: 6818 ldr r0, [r3, #0]
- 8000542: 1dfb adds r3, r7, #7
- 8000544: 781b ldrb r3, [r3, #0]
- 8000546: b299 uxth r1, r3
- 8000548: 4b0a ldr r3, [pc, #40] ; (8000574 )
- 800054a: 881b ldrh r3, [r3, #0]
- 800054c: 001c movs r4, r3
- 800054e: 1d3b adds r3, r7, #4
- 8000550: 881b ldrh r3, [r3, #0]
- 8000552: 683a ldr r2, [r7, #0]
- 8000554: 9400 str r4, [sp, #0]
- 8000556: f001 f9d5 bl 8001904
- 800055a: 1e03 subs r3, r0, #0
- 800055c: d101 bne.n 8000562
- {
- return I2C_OK;
- 800055e: 2300 movs r3, #0
- 8000560: e001 b.n 8000566
- } else
- {
- return I2C_ERROR;
- 8000562: 2301 movs r3, #1
- 8000564: 425b negs r3, r3
- }
-}
- 8000566: 0018 movs r0, r3
- 8000568: 46bd mov sp, r7
- 800056a: b003 add sp, #12
- 800056c: bd90 pop {r4, r7, pc}
- 800056e: 46c0 nop ; (mov r8, r8)
- 8000570: 20000030 .word 0x20000030
- 8000574: 20000034 .word 0x20000034
-
-08000578 :
-
-int8_t i2c_transmit_receive(uint8_t address, uint16_t tx_buffer, uint16_t tx_len, uint8_t *rx_buffer, uint16_t rx_len)
-{
- 8000578: b5f0 push {r4, r5, r6, r7, lr}
- 800057a: b089 sub sp, #36 ; 0x24
- 800057c: af04 add r7, sp, #16
- 800057e: 0004 movs r4, r0
- 8000580: 0008 movs r0, r1
- 8000582: 0011 movs r1, r2
- 8000584: 607b str r3, [r7, #4]
- 8000586: 250f movs r5, #15
- 8000588: 197b adds r3, r7, r5
- 800058a: 1c22 adds r2, r4, #0
- 800058c: 701a strb r2, [r3, #0]
- 800058e: 260c movs r6, #12
- 8000590: 19bb adds r3, r7, r6
- 8000592: 1c02 adds r2, r0, #0
- 8000594: 801a strh r2, [r3, #0]
- 8000596: 240a movs r4, #10
- 8000598: 193b adds r3, r7, r4
- 800059a: 1c0a adds r2, r1, #0
- 800059c: 801a strh r2, [r3, #0]
- if(HAL_I2C_Mem_Read(i2c_context, address, tx_buffer, tx_len, rx_buffer, rx_len, timeout) == HAL_OK)
- 800059e: 4b11 ldr r3, [pc, #68] ; (80005e4 )
- 80005a0: 6818 ldr r0, [r3, #0]
- 80005a2: 197b adds r3, r7, r5
- 80005a4: 781b ldrb r3, [r3, #0]
- 80005a6: b299 uxth r1, r3
- 80005a8: 4b0f ldr r3, [pc, #60] ; (80005e8 )
- 80005aa: 881b ldrh r3, [r3, #0]
- 80005ac: 001d movs r5, r3
- 80005ae: 193b adds r3, r7, r4
- 80005b0: 881c ldrh r4, [r3, #0]
- 80005b2: 19bb adds r3, r7, r6
- 80005b4: 881a ldrh r2, [r3, #0]
- 80005b6: 9502 str r5, [sp, #8]
- 80005b8: 2320 movs r3, #32
- 80005ba: 2508 movs r5, #8
- 80005bc: 46ac mov ip, r5
- 80005be: 44bc add ip, r7
- 80005c0: 4463 add r3, ip
- 80005c2: 881b ldrh r3, [r3, #0]
- 80005c4: 9301 str r3, [sp, #4]
- 80005c6: 687b ldr r3, [r7, #4]
- 80005c8: 9300 str r3, [sp, #0]
- 80005ca: 0023 movs r3, r4
- 80005cc: f001 faa2 bl 8001b14
- 80005d0: 1e03 subs r3, r0, #0
- 80005d2: d101 bne.n 80005d8
- {
- return I2C_OK;
- 80005d4: 2300 movs r3, #0
- 80005d6: e001 b.n 80005dc
- } else
- {
- return I2C_ERROR;
- 80005d8: 2301 movs r3, #1
- 80005da: 425b negs r3, r3
- }
-}
- 80005dc: 0018 movs r0, r3
- 80005de: 46bd mov sp, r7
- 80005e0: b005 add sp, #20
- 80005e2: bdf0 pop {r4, r5, r6, r7, pc}
- 80005e4: 20000030 .word 0x20000030
- 80005e8: 20000034 .word 0x20000034
-
-080005ec :
-/**
- * @brief The application entry point.
- * @retval int
- */
-int main(void)
-{
- 80005ec: b580 push {r7, lr}
- 80005ee: af00 add r7, sp, #0
- /* USER CODE END 1 */
-
- /* MCU Configuration--------------------------------------------------------*/
-
- /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
- HAL_Init();
- 80005f0: f000 fd34 bl 800105c
- /* USER CODE BEGIN Init */
-
- /* USER CODE END Init */
-
- /* Configure the system clock */
- SystemClock_Config();
- 80005f4: f000 f83c bl 8000670
- /* USER CODE BEGIN SysInit */
-
- /* USER CODE END SysInit */
-
- /* Initialize all configured peripherals */
- MX_GPIO_Init();
- 80005f8: f000 fa9a bl 8000b30
- MX_I2C1_Init();
- 80005fc: f000 f8ac bl 8000758
- MX_TIM2_Init();
- 8000600: f000 f8ea bl 80007d8
- MX_TIM21_Init();
- 8000604: f000 f96e bl 80008e4
- MX_TIM22_Init();
- 8000608: f000 f9c6 bl 8000998
- MX_USART2_UART_Init();
- 800060c: f000 fa5c bl 8000ac8
- /* USER CODE BEGIN 2 */
-
- i2c_init(&hi2c1,100);
- 8000610: 4b10 ldr r3, [pc, #64] ; (8000654 )
- 8000612: 2164 movs r1, #100 ; 0x64
- 8000614: 0018 movs r0, r3
- 8000616: f7ff ff41 bl 800049c
- HAL_Delay(3000);
- 800061a: 4b0f ldr r3, [pc, #60] ; (8000658 )
- 800061c: 0018 movs r0, r3
- 800061e: f000 fd8d bl 800113c
- scd4x_start_periodic_measurement();
- 8000622: f000 fac7 bl 8000bb4
- HAL_Delay(3000);
- 8000626: 4b0c ldr r3, [pc, #48] ; (8000658 )
- 8000628: 0018 movs r0, r3
- 800062a: f000 fd87 bl 800113c
-
- /* Infinite loop */
- /* USER CODE BEGIN WHILE */
- while (1)
- {
- sht4x_measure(&T_SHT4x, &RH_SHT4x);
- 800062e: 4a0b ldr r2, [pc, #44] ; (800065c )
- 8000630: 4b0b ldr r3, [pc, #44] ; (8000660 )
- 8000632: 0011 movs r1, r2
- 8000634: 0018 movs r0, r3
- 8000636: f000 fb31 bl 8000c9c
-
- scd4x_read_measurement(&CO2,
- 800063a: 4a0a ldr r2, [pc, #40] ; (8000664 )
- 800063c: 490a ldr r1, [pc, #40] ; (8000668 )
- 800063e: 4b0b ldr r3, [pc, #44] ; (800066c )
- 8000640: 0018 movs r0, r3
- 8000642: f000 fac3 bl 8000bcc
- &T_SCD4x,
- &RH_SCD4x);
- HAL_Delay(2000);
- 8000646: 23fa movs r3, #250 ; 0xfa
- 8000648: 00db lsls r3, r3, #3
- 800064a: 0018 movs r0, r3
- 800064c: f000 fd76 bl 800113c
- sht4x_measure(&T_SHT4x, &RH_SHT4x);
- 8000650: e7ed b.n 800062e
- 8000652: 46c0 nop ; (mov r8, r8)
- 8000654: 2000003c .word 0x2000003c
- 8000658: 00000bb8 .word 0x00000bb8
- 800065c: 200001c8 .word 0x200001c8
- 8000660: 20000038 .word 0x20000038
- 8000664: 200000d0 .word 0x200000d0
- 8000668: 2000008c .word 0x2000008c
- 800066c: 200001c4 .word 0x200001c4
-
-08000670 :
-/**
- * @brief System Clock Configuration
- * @retval None
- */
-void SystemClock_Config(void)
-{
- 8000670: b590 push {r4, r7, lr}
- 8000672: b099 sub sp, #100 ; 0x64
- 8000674: af00 add r7, sp, #0
- RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- 8000676: 242c movs r4, #44 ; 0x2c
- 8000678: 193b adds r3, r7, r4
- 800067a: 0018 movs r0, r3
- 800067c: 2334 movs r3, #52 ; 0x34
- 800067e: 001a movs r2, r3
- 8000680: 2100 movs r1, #0
- 8000682: f003 fe55 bl 8004330
- RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- 8000686: 2318 movs r3, #24
- 8000688: 18fb adds r3, r7, r3
- 800068a: 0018 movs r0, r3
- 800068c: 2314 movs r3, #20
- 800068e: 001a movs r2, r3
- 8000690: 2100 movs r1, #0
- 8000692: f003 fe4d bl 8004330
- RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
- 8000696: 003b movs r3, r7
- 8000698: 0018 movs r0, r3
- 800069a: 2318 movs r3, #24
- 800069c: 001a movs r2, r3
- 800069e: 2100 movs r1, #0
- 80006a0: f003 fe46 bl 8004330
-
- /** Configure the main internal regulator output voltage
- */
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
- 80006a4: 4b2a ldr r3, [pc, #168] ; (8000750 )
- 80006a6: 681b ldr r3, [r3, #0]
- 80006a8: 4a2a ldr r2, [pc, #168] ; (8000754 )
- 80006aa: 401a ands r2, r3
- 80006ac: 4b28 ldr r3, [pc, #160] ; (8000750 )
- 80006ae: 2180 movs r1, #128 ; 0x80
- 80006b0: 0109 lsls r1, r1, #4
- 80006b2: 430a orrs r2, r1
- 80006b4: 601a str r2, [r3, #0]
- /** Initializes the RCC Oscillators according to the specified parameters
- * in the RCC_OscInitTypeDef structure.
- */
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
- 80006b6: 0021 movs r1, r4
- 80006b8: 187b adds r3, r7, r1
- 80006ba: 2202 movs r2, #2
- 80006bc: 601a str r2, [r3, #0]
- RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- 80006be: 187b adds r3, r7, r1
- 80006c0: 2201 movs r2, #1
- 80006c2: 60da str r2, [r3, #12]
- RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- 80006c4: 187b adds r3, r7, r1
- 80006c6: 2210 movs r2, #16
- 80006c8: 611a str r2, [r3, #16]
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- 80006ca: 187b adds r3, r7, r1
- 80006cc: 2202 movs r2, #2
- 80006ce: 625a str r2, [r3, #36] ; 0x24
- RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;
- 80006d0: 187b adds r3, r7, r1
- 80006d2: 2200 movs r2, #0
- 80006d4: 629a str r2, [r3, #40] ; 0x28
- RCC_OscInitStruct.PLL.PLLMUL = RCC_PLLMUL_3;
- 80006d6: 187b adds r3, r7, r1
- 80006d8: 2200 movs r2, #0
- 80006da: 62da str r2, [r3, #44] ; 0x2c
- RCC_OscInitStruct.PLL.PLLDIV = RCC_PLLDIV_2;
- 80006dc: 187b adds r3, r7, r1
- 80006de: 2280 movs r2, #128 ; 0x80
- 80006e0: 03d2 lsls r2, r2, #15
- 80006e2: 631a str r2, [r3, #48] ; 0x30
- if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- 80006e4: 187b adds r3, r7, r1
- 80006e6: 0018 movs r0, r3
- 80006e8: f001 fe3a bl 8002360
- 80006ec: 1e03 subs r3, r0, #0
- 80006ee: d001 beq.n 80006f4
- {
- Error_Handler();
- 80006f0: f000 fa34 bl 8000b5c
- }
- /** Initializes the CPU, AHB and APB buses clocks
- */
- RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- 80006f4: 2118 movs r1, #24
- 80006f6: 187b adds r3, r7, r1
- 80006f8: 220f movs r2, #15
- 80006fa: 601a str r2, [r3, #0]
- |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
- 80006fc: 187b adds r3, r7, r1
- 80006fe: 2203 movs r2, #3
- 8000700: 605a str r2, [r3, #4]
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV2;
- 8000702: 187b adds r3, r7, r1
- 8000704: 2280 movs r2, #128 ; 0x80
- 8000706: 609a str r2, [r3, #8]
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
- 8000708: 187b adds r3, r7, r1
- 800070a: 2200 movs r2, #0
- 800070c: 60da str r2, [r3, #12]
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
- 800070e: 187b adds r3, r7, r1
- 8000710: 2200 movs r2, #0
- 8000712: 611a str r2, [r3, #16]
-
- if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
- 8000714: 187b adds r3, r7, r1
- 8000716: 2100 movs r1, #0
- 8000718: 0018 movs r0, r3
- 800071a: f002 f99d bl 8002a58
- 800071e: 1e03 subs r3, r0, #0
- 8000720: d001 beq.n 8000726
- {
- Error_Handler();
- 8000722: f000 fa1b bl 8000b5c
- }
- PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USART2|RCC_PERIPHCLK_I2C1;
- 8000726: 003b movs r3, r7
- 8000728: 220a movs r2, #10
- 800072a: 601a str r2, [r3, #0]
- PeriphClkInit.Usart2ClockSelection = RCC_USART2CLKSOURCE_PCLK1;
- 800072c: 003b movs r3, r7
- 800072e: 2200 movs r2, #0
- 8000730: 609a str r2, [r3, #8]
- PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_PCLK1;
- 8000732: 003b movs r3, r7
- 8000734: 2200 movs r2, #0
- 8000736: 611a str r2, [r3, #16]
- if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- 8000738: 003b movs r3, r7
- 800073a: 0018 movs r0, r3
- 800073c: f002 fbb0 bl 8002ea0
- 8000740: 1e03 subs r3, r0, #0
- 8000742: d001 beq.n 8000748
- {
- Error_Handler();
- 8000744: f000 fa0a bl 8000b5c
- }
-}
- 8000748: 46c0 nop ; (mov r8, r8)
- 800074a: 46bd mov sp, r7
- 800074c: b019 add sp, #100 ; 0x64
- 800074e: bd90 pop {r4, r7, pc}
- 8000750: 40007000 .word 0x40007000
- 8000754: ffffe7ff .word 0xffffe7ff
-
-08000758 :
- * @brief I2C1 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_I2C1_Init(void)
-{
- 8000758: b580 push {r7, lr}
- 800075a: 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;
- 800075c: 4b1b ldr r3, [pc, #108] ; (80007cc )
- 800075e: 4a1c ldr r2, [pc, #112] ; (80007d0 )
- 8000760: 601a str r2, [r3, #0]
- hi2c1.Init.Timing = 0x40000A0B;
- 8000762: 4b1a ldr r3, [pc, #104] ; (80007cc )
- 8000764: 4a1b ldr r2, [pc, #108] ; (80007d4 )
- 8000766: 605a str r2, [r3, #4]
- hi2c1.Init.OwnAddress1 = 0;
- 8000768: 4b18 ldr r3, [pc, #96] ; (80007cc )
- 800076a: 2200 movs r2, #0
- 800076c: 609a str r2, [r3, #8]
- hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
- 800076e: 4b17 ldr r3, [pc, #92] ; (80007cc )
- 8000770: 2201 movs r2, #1
- 8000772: 60da str r2, [r3, #12]
- hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
- 8000774: 4b15 ldr r3, [pc, #84] ; (80007cc )
- 8000776: 2200 movs r2, #0
- 8000778: 611a str r2, [r3, #16]
- hi2c1.Init.OwnAddress2 = 0;
- 800077a: 4b14 ldr r3, [pc, #80] ; (80007cc )
- 800077c: 2200 movs r2, #0
- 800077e: 615a str r2, [r3, #20]
- hi2c1.Init.OwnAddress2Masks = I2C_OA2_NOMASK;
- 8000780: 4b12 ldr r3, [pc, #72] ; (80007cc )
- 8000782: 2200 movs r2, #0
- 8000784: 619a str r2, [r3, #24]
- hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
- 8000786: 4b11 ldr r3, [pc, #68] ; (80007cc )
- 8000788: 2200 movs r2, #0
- 800078a: 61da str r2, [r3, #28]
- hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
- 800078c: 4b0f ldr r3, [pc, #60] ; (80007cc )
- 800078e: 2200 movs r2, #0
- 8000790: 621a str r2, [r3, #32]
- if (HAL_I2C_Init(&hi2c1) != HAL_OK)
- 8000792: 4b0e ldr r3, [pc, #56] ; (80007cc )
- 8000794: 0018 movs r0, r3
- 8000796: f000 ff17 bl 80015c8
- 800079a: 1e03 subs r3, r0, #0
- 800079c: d001 beq.n 80007a2
- {
- Error_Handler();
- 800079e: f000 f9dd bl 8000b5c
- }
- /** Configure Analogue filter
- */
- if (HAL_I2CEx_ConfigAnalogFilter(&hi2c1, I2C_ANALOGFILTER_ENABLE) != HAL_OK)
- 80007a2: 4b0a ldr r3, [pc, #40] ; (80007cc )
- 80007a4: 2100 movs r1, #0
- 80007a6: 0018 movs r0, r3
- 80007a8: f001 fd42 bl 8002230
- 80007ac: 1e03 subs r3, r0, #0
- 80007ae: d001 beq.n 80007b4
- {
- Error_Handler();
- 80007b0: f000 f9d4 bl 8000b5c
- }
- /** Configure Digital filter
- */
- if (HAL_I2CEx_ConfigDigitalFilter(&hi2c1, 0) != HAL_OK)
- 80007b4: 4b05 ldr r3, [pc, #20] ; (80007cc )
- 80007b6: 2100 movs r1, #0
- 80007b8: 0018 movs r0, r3
- 80007ba: f001 fd85 bl 80022c8
- 80007be: 1e03 subs r3, r0, #0
- 80007c0: d001 beq.n 80007c6
- {
- Error_Handler();
- 80007c2: f000 f9cb bl 8000b5c
- }
- /* USER CODE BEGIN I2C1_Init 2 */
-
- /* USER CODE END I2C1_Init 2 */
-
-}
- 80007c6: 46c0 nop ; (mov r8, r8)
- 80007c8: 46bd mov sp, r7
- 80007ca: bd80 pop {r7, pc}
- 80007cc: 2000003c .word 0x2000003c
- 80007d0: 40005400 .word 0x40005400
- 80007d4: 40000a0b .word 0x40000a0b
-
-080007d8 :
- * @brief TIM2 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_TIM2_Init(void)
-{
- 80007d8: b580 push {r7, lr}
- 80007da: b08a sub sp, #40 ; 0x28
- 80007dc: af00 add r7, sp, #0
-
- /* USER CODE BEGIN TIM2_Init 0 */
-
- /* USER CODE END TIM2_Init 0 */
-
- TIM_ClockConfigTypeDef sClockSourceConfig = {0};
- 80007de: 2318 movs r3, #24
- 80007e0: 18fb adds r3, r7, r3
- 80007e2: 0018 movs r0, r3
- 80007e4: 2310 movs r3, #16
- 80007e6: 001a movs r2, r3
- 80007e8: 2100 movs r1, #0
- 80007ea: f003 fda1 bl 8004330
- TIM_MasterConfigTypeDef sMasterConfig = {0};
- 80007ee: 2310 movs r3, #16
- 80007f0: 18fb adds r3, r7, r3
- 80007f2: 0018 movs r0, r3
- 80007f4: 2308 movs r3, #8
- 80007f6: 001a movs r2, r3
- 80007f8: 2100 movs r1, #0
- 80007fa: f003 fd99 bl 8004330
- TIM_OC_InitTypeDef sConfigOC = {0};
- 80007fe: 003b movs r3, r7
- 8000800: 0018 movs r0, r3
- 8000802: 2310 movs r3, #16
- 8000804: 001a movs r2, r3
- 8000806: 2100 movs r1, #0
- 8000808: f003 fd92 bl 8004330
-
- /* USER CODE BEGIN TIM2_Init 1 */
-
- /* USER CODE END TIM2_Init 1 */
- htim2.Instance = TIM2;
- 800080c: 4b32 ldr r3, [pc, #200] ; (80008d8 )
- 800080e: 2280 movs r2, #128 ; 0x80
- 8000810: 05d2 lsls r2, r2, #23
- 8000812: 601a str r2, [r3, #0]
- htim2.Init.Prescaler = led_pwm_prescaler;
- 8000814: 4b31 ldr r3, [pc, #196] ; (80008dc )
- 8000816: 001a movs r2, r3
- 8000818: 4b2f ldr r3, [pc, #188] ; (80008d8 )
- 800081a: 605a str r2, [r3, #4]
- htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
- 800081c: 4b2e ldr r3, [pc, #184] ; (80008d8 )
- 800081e: 2200 movs r2, #0
- 8000820: 609a str r2, [r3, #8]
- htim2.Init.Period = led_pwm_period;
- 8000822: 2363 movs r3, #99 ; 0x63
- 8000824: 001a movs r2, r3
- 8000826: 4b2c ldr r3, [pc, #176] ; (80008d8 )
- 8000828: 60da str r2, [r3, #12]
- htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 800082a: 4b2b ldr r3, [pc, #172] ; (80008d8 )
- 800082c: 2200 movs r2, #0
- 800082e: 611a str r2, [r3, #16]
- htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
- 8000830: 4b29 ldr r3, [pc, #164] ; (80008d8 )
- 8000832: 2280 movs r2, #128 ; 0x80
- 8000834: 615a str r2, [r3, #20]
- if (HAL_TIM_Base_Init(&htim2) != HAL_OK)
- 8000836: 4b28 ldr r3, [pc, #160] ; (80008d8 )
- 8000838: 0018 movs r0, r3
- 800083a: f002 fc57 bl 80030ec
- 800083e: 1e03 subs r3, r0, #0
- 8000840: d001 beq.n 8000846
- {
- Error_Handler();
- 8000842: f000 f98b bl 8000b5c
- }
- sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
- 8000846: 2118 movs r1, #24
- 8000848: 187b adds r3, r7, r1
- 800084a: 2280 movs r2, #128 ; 0x80
- 800084c: 0152 lsls r2, r2, #5
- 800084e: 601a str r2, [r3, #0]
- if (HAL_TIM_ConfigClockSource(&htim2, &sClockSourceConfig) != HAL_OK)
- 8000850: 187a adds r2, r7, r1
- 8000852: 4b21 ldr r3, [pc, #132] ; (80008d8 )
- 8000854: 0011 movs r1, r2
- 8000856: 0018 movs r0, r3
- 8000858: f002 fd96 bl 8003388
- 800085c: 1e03 subs r3, r0, #0
- 800085e: d001 beq.n 8000864
- {
- Error_Handler();
- 8000860: f000 f97c bl 8000b5c
- }
- if (HAL_TIM_PWM_Init(&htim2) != HAL_OK)
- 8000864: 4b1c ldr r3, [pc, #112] ; (80008d8 )
- 8000866: 0018 movs r0, r3
- 8000868: f002 fc80 bl 800316c
- 800086c: 1e03 subs r3, r0, #0
- 800086e: d001 beq.n 8000874
- {
- Error_Handler();
- 8000870: f000 f974 bl 8000b5c
- }
- sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- 8000874: 2110 movs r1, #16
- 8000876: 187b adds r3, r7, r1
- 8000878: 2200 movs r2, #0
- 800087a: 601a str r2, [r3, #0]
- sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 800087c: 187b adds r3, r7, r1
- 800087e: 2200 movs r2, #0
- 8000880: 605a str r2, [r3, #4]
- if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK)
- 8000882: 187a adds r2, r7, r1
- 8000884: 4b14 ldr r3, [pc, #80] ; (80008d8 )
- 8000886: 0011 movs r1, r2
- 8000888: 0018 movs r0, r3
- 800088a: f003 f843 bl 8003914
- 800088e: 1e03 subs r3, r0, #0
- 8000890: d001 beq.n 8000896
- {
- Error_Handler();
- 8000892: f000 f963 bl 8000b5c
- }
- sConfigOC.OCMode = TIM_OCMODE_PWM1;
- 8000896: 003b movs r3, r7
- 8000898: 2260 movs r2, #96 ; 0x60
- 800089a: 601a str r2, [r3, #0]
- sConfigOC.Pulse = led_pwm_pulse_b;
- 800089c: 4b10 ldr r3, [pc, #64] ; (80008e0 )
- 800089e: 881b ldrh r3, [r3, #0]
- 80008a0: 001a movs r2, r3
- 80008a2: 003b movs r3, r7
- 80008a4: 605a str r2, [r3, #4]
- sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- 80008a6: 003b movs r3, r7
- 80008a8: 2200 movs r2, #0
- 80008aa: 609a str r2, [r3, #8]
- sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- 80008ac: 003b movs r3, r7
- 80008ae: 2200 movs r2, #0
- 80008b0: 60da str r2, [r3, #12]
- if (HAL_TIM_PWM_ConfigChannel(&htim2, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
- 80008b2: 0039 movs r1, r7
- 80008b4: 4b08 ldr r3, [pc, #32] ; (80008d8 )
- 80008b6: 2200 movs r2, #0
- 80008b8: 0018 movs r0, r3
- 80008ba: f002 fc9f bl 80031fc
- 80008be: 1e03 subs r3, r0, #0
- 80008c0: d001 beq.n 80008c6
- {
- Error_Handler();
- 80008c2: f000 f94b bl 8000b5c
- }
- /* USER CODE BEGIN TIM2_Init 2 */
-
- /* USER CODE END TIM2_Init 2 */
- HAL_TIM_MspPostInit(&htim2);
- 80008c6: 4b04 ldr r3, [pc, #16] ; (80008d8 )
- 80008c8: 0018 movs r0, r3
- 80008ca: f000 fad7 bl 8000e7c
-
-}
- 80008ce: 46c0 nop ; (mov r8, r8)
- 80008d0: 46bd mov sp, r7
- 80008d2: b00a add sp, #40 ; 0x28
- 80008d4: bd80 pop {r7, pc}
- 80008d6: 46c0 nop ; (mov r8, r8)
- 80008d8: 20000100 .word 0x20000100
- 80008dc: 000004af .word 0x000004af
- 80008e0: 2000002c .word 0x2000002c
-
-080008e4 :
- * @brief TIM21 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_TIM21_Init(void)
-{
- 80008e4: b580 push {r7, lr}
- 80008e6: b086 sub sp, #24
- 80008e8: af00 add r7, sp, #0
-
- /* USER CODE BEGIN TIM21_Init 0 */
-
- /* USER CODE END TIM21_Init 0 */
-
- TIM_ClockConfigTypeDef sClockSourceConfig = {0};
- 80008ea: 2308 movs r3, #8
- 80008ec: 18fb adds r3, r7, r3
- 80008ee: 0018 movs r0, r3
- 80008f0: 2310 movs r3, #16
- 80008f2: 001a movs r2, r3
- 80008f4: 2100 movs r1, #0
- 80008f6: f003 fd1b bl 8004330
- TIM_MasterConfigTypeDef sMasterConfig = {0};
- 80008fa: 003b movs r3, r7
- 80008fc: 0018 movs r0, r3
- 80008fe: 2308 movs r3, #8
- 8000900: 001a movs r2, r3
- 8000902: 2100 movs r1, #0
- 8000904: f003 fd14 bl 8004330
-
- /* USER CODE BEGIN TIM21_Init 1 */
-
- /* USER CODE END TIM21_Init 1 */
- htim21.Instance = TIM21;
- 8000908: 4b1f ldr r3, [pc, #124] ; (8000988 )
- 800090a: 4a20 ldr r2, [pc, #128] ; (800098c )
- 800090c: 601a str r2, [r3, #0]
- htim21.Init.Prescaler = tim21_prescaler;
- 800090e: 4b20 ldr r3, [pc, #128] ; (8000990 )
- 8000910: 001a movs r2, r3
- 8000912: 4b1d ldr r3, [pc, #116] ; (8000988 )
- 8000914: 605a str r2, [r3, #4]
- htim21.Init.CounterMode = TIM_COUNTERMODE_UP;
- 8000916: 4b1c ldr r3, [pc, #112] ; (8000988 )
- 8000918: 2200 movs r2, #0
- 800091a: 609a str r2, [r3, #8]
- htim21.Init.Period = tim21_period;
- 800091c: 4b1d ldr r3, [pc, #116] ; (8000994 )
- 800091e: 001a movs r2, r3
- 8000920: 4b19 ldr r3, [pc, #100] ; (8000988 )
- 8000922: 60da str r2, [r3, #12]
- htim21.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 8000924: 4b18 ldr r3, [pc, #96] ; (8000988 )
- 8000926: 2200 movs r2, #0
- 8000928: 611a str r2, [r3, #16]
- htim21.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
- 800092a: 4b17 ldr r3, [pc, #92] ; (8000988 )
- 800092c: 2280 movs r2, #128 ; 0x80
- 800092e: 615a str r2, [r3, #20]
- if (HAL_TIM_Base_Init(&htim21) != HAL_OK)
- 8000930: 4b15 ldr r3, [pc, #84] ; (8000988 )
- 8000932: 0018 movs r0, r3
- 8000934: f002 fbda bl 80030ec
- 8000938: 1e03 subs r3, r0, #0
- 800093a: d001 beq.n 8000940
- {
- Error_Handler();
- 800093c: f000 f90e bl 8000b5c
- }
- sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
- 8000940: 2108 movs r1, #8
- 8000942: 187b adds r3, r7, r1
- 8000944: 2280 movs r2, #128 ; 0x80
- 8000946: 0152 lsls r2, r2, #5
- 8000948: 601a str r2, [r3, #0]
- if (HAL_TIM_ConfigClockSource(&htim21, &sClockSourceConfig) != HAL_OK)
- 800094a: 187a adds r2, r7, r1
- 800094c: 4b0e ldr r3, [pc, #56] ; (8000988 )
- 800094e: 0011 movs r1, r2
- 8000950: 0018 movs r0, r3
- 8000952: f002 fd19 bl 8003388
- 8000956: 1e03 subs r3, r0, #0
- 8000958: d001 beq.n 800095e
- {
- Error_Handler();
- 800095a: f000 f8ff bl 8000b5c
- }
- sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- 800095e: 003b movs r3, r7
- 8000960: 2200 movs r2, #0
- 8000962: 601a str r2, [r3, #0]
- sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 8000964: 003b movs r3, r7
- 8000966: 2200 movs r2, #0
- 8000968: 605a str r2, [r3, #4]
- if (HAL_TIMEx_MasterConfigSynchronization(&htim21, &sMasterConfig) != HAL_OK)
- 800096a: 003a movs r2, r7
- 800096c: 4b06 ldr r3, [pc, #24] ; (8000988 )
- 800096e: 0011 movs r1, r2
- 8000970: 0018 movs r0, r3
- 8000972: f002 ffcf bl 8003914
- 8000976: 1e03 subs r3, r0, #0
- 8000978: d001 beq.n 800097e
- {
- Error_Handler();
- 800097a: f000 f8ef bl 8000b5c
- }
- /* USER CODE BEGIN TIM21_Init 2 */
-
- /* USER CODE END TIM21_Init 2 */
-
-}
- 800097e: 46c0 nop ; (mov r8, r8)
- 8000980: 46bd mov sp, r7
- 8000982: b006 add sp, #24
- 8000984: bd80 pop {r7, pc}
- 8000986: 46c0 nop ; (mov r8, r8)
- 8000988: 200001cc .word 0x200001cc
- 800098c: 40010800 .word 0x40010800
- 8000990: 0000ea5f .word 0x0000ea5f
- 8000994: 000004af .word 0x000004af
-
-08000998 :
- * @brief TIM22 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_TIM22_Init(void)
-{
- 8000998: b580 push {r7, lr}
- 800099a: b08a sub sp, #40 ; 0x28
- 800099c: af00 add r7, sp, #0
-
- /* USER CODE BEGIN TIM22_Init 0 */
-
- /* USER CODE END TIM22_Init 0 */
-
- TIM_ClockConfigTypeDef sClockSourceConfig = {0};
- 800099e: 2318 movs r3, #24
- 80009a0: 18fb adds r3, r7, r3
- 80009a2: 0018 movs r0, r3
- 80009a4: 2310 movs r3, #16
- 80009a6: 001a movs r2, r3
- 80009a8: 2100 movs r1, #0
- 80009aa: f003 fcc1 bl 8004330
- TIM_MasterConfigTypeDef sMasterConfig = {0};
- 80009ae: 2310 movs r3, #16
- 80009b0: 18fb adds r3, r7, r3
- 80009b2: 0018 movs r0, r3
- 80009b4: 2308 movs r3, #8
- 80009b6: 001a movs r2, r3
- 80009b8: 2100 movs r1, #0
- 80009ba: f003 fcb9 bl 8004330
- TIM_OC_InitTypeDef sConfigOC = {0};
- 80009be: 003b movs r3, r7
- 80009c0: 0018 movs r0, r3
- 80009c2: 2310 movs r3, #16
- 80009c4: 001a movs r2, r3
- 80009c6: 2100 movs r1, #0
- 80009c8: f003 fcb2 bl 8004330
-
- /* USER CODE BEGIN TIM22_Init 1 */
-
- /* USER CODE END TIM22_Init 1 */
- htim22.Instance = TIM22;
- 80009cc: 4b39 ldr r3, [pc, #228] ; (8000ab4 )
- 80009ce: 4a3a ldr r2, [pc, #232] ; (8000ab8 )
- 80009d0: 601a str r2, [r3, #0]
- htim22.Init.Prescaler = led_pwm_prescaler;
- 80009d2: 4b3a ldr r3, [pc, #232] ; (8000abc )
- 80009d4: 001a movs r2, r3
- 80009d6: 4b37 ldr r3, [pc, #220] ; (8000ab4 )
- 80009d8: 605a str r2, [r3, #4]
- htim22.Init.CounterMode = TIM_COUNTERMODE_UP;
- 80009da: 4b36 ldr r3, [pc, #216] ; (8000ab4 )
- 80009dc: 2200 movs r2, #0
- 80009de: 609a str r2, [r3, #8]
- htim22.Init.Period = led_pwm_period;
- 80009e0: 2363 movs r3, #99 ; 0x63
- 80009e2: 001a movs r2, r3
- 80009e4: 4b33 ldr r3, [pc, #204] ; (8000ab4 )
- 80009e6: 60da str r2, [r3, #12]
- htim22.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 80009e8: 4b32 ldr r3, [pc, #200] ; (8000ab4 )
- 80009ea: 2200 movs r2, #0
- 80009ec: 611a str r2, [r3, #16]
- htim22.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
- 80009ee: 4b31 ldr r3, [pc, #196] ; (8000ab4 )
- 80009f0: 2280 movs r2, #128 ; 0x80
- 80009f2: 615a str r2, [r3, #20]
- if (HAL_TIM_Base_Init(&htim22) != HAL_OK)
- 80009f4: 4b2f ldr r3, [pc, #188] ; (8000ab4 )
- 80009f6: 0018 movs r0, r3
- 80009f8: f002 fb78 bl 80030ec
- 80009fc: 1e03 subs r3, r0, #0
- 80009fe: d001 beq.n 8000a04
- {
- Error_Handler();
- 8000a00: f000 f8ac bl 8000b5c
- }
- sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
- 8000a04: 2118 movs r1, #24
- 8000a06: 187b adds r3, r7, r1
- 8000a08: 2280 movs r2, #128 ; 0x80
- 8000a0a: 0152 lsls r2, r2, #5
- 8000a0c: 601a str r2, [r3, #0]
- if (HAL_TIM_ConfigClockSource(&htim22, &sClockSourceConfig) != HAL_OK)
- 8000a0e: 187a adds r2, r7, r1
- 8000a10: 4b28 ldr r3, [pc, #160] ; (8000ab4 )
- 8000a12: 0011 movs r1, r2
- 8000a14: 0018 movs r0, r3
- 8000a16: f002 fcb7 bl 8003388
- 8000a1a: 1e03 subs r3, r0, #0
- 8000a1c: d001 beq.n 8000a22
- {
- Error_Handler();
- 8000a1e: f000 f89d bl 8000b5c
- }
- if (HAL_TIM_PWM_Init(&htim22) != HAL_OK)
- 8000a22: 4b24 ldr r3, [pc, #144] ; (8000ab4 )
- 8000a24: 0018 movs r0, r3
- 8000a26: f002 fba1 bl 800316c
- 8000a2a: 1e03 subs r3, r0, #0
- 8000a2c: d001 beq.n 8000a32
- {
- Error_Handler();
- 8000a2e: f000 f895 bl 8000b5c
- }
- sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- 8000a32: 2110 movs r1, #16
- 8000a34: 187b adds r3, r7, r1
- 8000a36: 2200 movs r2, #0
- 8000a38: 601a str r2, [r3, #0]
- sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 8000a3a: 187b adds r3, r7, r1
- 8000a3c: 2200 movs r2, #0
- 8000a3e: 605a str r2, [r3, #4]
- if (HAL_TIMEx_MasterConfigSynchronization(&htim22, &sMasterConfig) != HAL_OK)
- 8000a40: 187a adds r2, r7, r1
- 8000a42: 4b1c ldr r3, [pc, #112] ; (8000ab4 )
- 8000a44: 0011 movs r1, r2
- 8000a46: 0018 movs r0, r3
- 8000a48: f002 ff64 bl 8003914
- 8000a4c: 1e03 subs r3, r0, #0
- 8000a4e: d001 beq.n 8000a54
- {
- Error_Handler();
- 8000a50: f000 f884 bl 8000b5c
- }
- sConfigOC.OCMode = TIM_OCMODE_PWM1;
- 8000a54: 003b movs r3, r7
- 8000a56: 2260 movs r2, #96 ; 0x60
- 8000a58: 601a str r2, [r3, #0]
- sConfigOC.Pulse = led_pwm_pulse_g;
- 8000a5a: 4b19 ldr r3, [pc, #100] ; (8000ac0 )
- 8000a5c: 881b ldrh r3, [r3, #0]
- 8000a5e: 001a movs r2, r3
- 8000a60: 003b movs r3, r7
- 8000a62: 605a str r2, [r3, #4]
- sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- 8000a64: 003b movs r3, r7
- 8000a66: 2200 movs r2, #0
- 8000a68: 609a str r2, [r3, #8]
- sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- 8000a6a: 003b movs r3, r7
- 8000a6c: 2200 movs r2, #0
- 8000a6e: 60da str r2, [r3, #12]
- if (HAL_TIM_PWM_ConfigChannel(&htim22, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
- 8000a70: 0039 movs r1, r7
- 8000a72: 4b10 ldr r3, [pc, #64] ; (8000ab4 )
- 8000a74: 2200 movs r2, #0
- 8000a76: 0018 movs r0, r3
- 8000a78: f002 fbc0 bl 80031fc
- 8000a7c: 1e03 subs r3, r0, #0
- 8000a7e: d001 beq.n 8000a84
- {
- Error_Handler();
- 8000a80: f000 f86c bl 8000b5c
- }
- sConfigOC.Pulse = led_pwm_pulse_r;
- 8000a84: 4b0f ldr r3, [pc, #60] ; (8000ac4 )
- 8000a86: 881b ldrh r3, [r3, #0]
- 8000a88: 001a movs r2, r3
- 8000a8a: 003b movs r3, r7
- 8000a8c: 605a str r2, [r3, #4]
- if (HAL_TIM_PWM_ConfigChannel(&htim22, &sConfigOC, TIM_CHANNEL_2) != HAL_OK)
- 8000a8e: 0039 movs r1, r7
- 8000a90: 4b08 ldr r3, [pc, #32] ; (8000ab4 )
- 8000a92: 2204 movs r2, #4
- 8000a94: 0018 movs r0, r3
- 8000a96: f002 fbb1 bl 80031fc
- 8000a9a: 1e03 subs r3, r0, #0
- 8000a9c: d001 beq.n 8000aa2
- {
- Error_Handler();
- 8000a9e: f000 f85d bl 8000b5c
- }
- /* USER CODE BEGIN TIM22_Init 2 */
-
- /* USER CODE END TIM22_Init 2 */
- HAL_TIM_MspPostInit(&htim22);
- 8000aa2: 4b04 ldr r3, [pc, #16] ; (8000ab4 )
- 8000aa4: 0018 movs r0, r3
- 8000aa6: f000 f9e9 bl 8000e7c
-
-}
- 8000aaa: 46c0 nop ; (mov r8, r8)
- 8000aac: 46bd mov sp, r7
- 8000aae: b00a add sp, #40 ; 0x28
- 8000ab0: bd80 pop {r7, pc}
- 8000ab2: 46c0 nop ; (mov r8, r8)
- 8000ab4: 20000090 .word 0x20000090
- 8000ab8: 40011400 .word 0x40011400
- 8000abc: 000004af .word 0x000004af
- 8000ac0: 2000002a .word 0x2000002a
- 8000ac4: 20000028 .word 0x20000028
-
-08000ac8 :
- * @brief USART2 Initialization Function
- * @param None
- * @retval None
- */
-static void MX_USART2_UART_Init(void)
-{
- 8000ac8: b580 push {r7, lr}
- 8000aca: af00 add r7, sp, #0
- /* USER CODE END USART2_Init 0 */
-
- /* USER CODE BEGIN USART2_Init 1 */
-
- /* USER CODE END USART2_Init 1 */
- huart2.Instance = USART2;
- 8000acc: 4b16 ldr r3, [pc, #88] ; (8000b28 )
- 8000ace: 4a17 ldr r2, [pc, #92] ; (8000b2c )
- 8000ad0: 601a str r2, [r3, #0]
- huart2.Init.BaudRate = 115200;
- 8000ad2: 4b15 ldr r3, [pc, #84] ; (8000b28 )
- 8000ad4: 22e1 movs r2, #225 ; 0xe1
- 8000ad6: 0252 lsls r2, r2, #9
- 8000ad8: 605a str r2, [r3, #4]
- huart2.Init.WordLength = UART_WORDLENGTH_9B;
- 8000ada: 4b13 ldr r3, [pc, #76] ; (8000b28 )
- 8000adc: 2280 movs r2, #128 ; 0x80
- 8000ade: 0152 lsls r2, r2, #5
- 8000ae0: 609a str r2, [r3, #8]
- huart2.Init.StopBits = UART_STOPBITS_1;
- 8000ae2: 4b11 ldr r3, [pc, #68] ; (8000b28 )
- 8000ae4: 2200 movs r2, #0
- 8000ae6: 60da str r2, [r3, #12]
- huart2.Init.Parity = UART_PARITY_EVEN;
- 8000ae8: 4b0f ldr r3, [pc, #60] ; (8000b28 )
- 8000aea: 2280 movs r2, #128 ; 0x80
- 8000aec: 00d2 lsls r2, r2, #3
- 8000aee: 611a str r2, [r3, #16]
- huart2.Init.Mode = UART_MODE_TX_RX;
- 8000af0: 4b0d ldr r3, [pc, #52] ; (8000b28 )
- 8000af2: 220c movs r2, #12
- 8000af4: 615a str r2, [r3, #20]
- huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
- 8000af6: 4b0c ldr r3, [pc, #48] ; (8000b28 )
- 8000af8: 2200 movs r2, #0
- 8000afa: 619a str r2, [r3, #24]
- huart2.Init.OverSampling = UART_OVERSAMPLING_16;
- 8000afc: 4b0a ldr r3, [pc, #40] ; (8000b28 )
- 8000afe: 2200 movs r2, #0
- 8000b00: 61da str r2, [r3, #28]
- huart2.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;
- 8000b02: 4b09 ldr r3, [pc, #36] ; (8000b28 )
- 8000b04: 2200 movs r2, #0
- 8000b06: 621a str r2, [r3, #32]
- huart2.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT;
- 8000b08: 4b07 ldr r3, [pc, #28] ; (8000b28 )
- 8000b0a: 2200 movs r2, #0
- 8000b0c: 625a str r2, [r3, #36] ; 0x24
- if (HAL_RS485Ex_Init(&huart2, UART_DE_POLARITY_HIGH, 0, 0) != HAL_OK)
- 8000b0e: 4806 ldr r0, [pc, #24] ; (8000b28 )
- 8000b10: 2300 movs r3, #0
- 8000b12: 2200 movs r2, #0
- 8000b14: 2100 movs r1, #0
- 8000b16: f003 fb77 bl 8004208
- 8000b1a: 1e03 subs r3, r0, #0
- 8000b1c: d001 beq.n 8000b22
- {
- Error_Handler();
- 8000b1e: f000 f81d bl 8000b5c
- }
- /* USER CODE BEGIN USART2_Init 2 */
-
- /* USER CODE END USART2_Init 2 */
-
-}
- 8000b22: 46c0 nop ; (mov r8, r8)
- 8000b24: 46bd mov sp, r7
- 8000b26: bd80 pop {r7, pc}
- 8000b28: 20000140 .word 0x20000140
- 8000b2c: 40004400 .word 0x40004400
-
-08000b30 :
- * @brief GPIO Initialization Function
- * @param None
- * @retval None
- */
-static void MX_GPIO_Init(void)
-{
- 8000b30: b580 push {r7, lr}
- 8000b32: b082 sub sp, #8
- 8000b34: af00 add r7, sp, #0
-
- /* GPIO Ports Clock Enable */
- __HAL_RCC_GPIOA_CLK_ENABLE();
- 8000b36: 4b08 ldr r3, [pc, #32] ; (8000b58 )
- 8000b38: 6ada ldr r2, [r3, #44] ; 0x2c
- 8000b3a: 4b07 ldr r3, [pc, #28] ; (8000b58 )
- 8000b3c: 2101 movs r1, #1
- 8000b3e: 430a orrs r2, r1
- 8000b40: 62da str r2, [r3, #44] ; 0x2c
- 8000b42: 4b05 ldr r3, [pc, #20] ; (8000b58 )
- 8000b44: 6adb ldr r3, [r3, #44] ; 0x2c
- 8000b46: 2201 movs r2, #1
- 8000b48: 4013 ands r3, r2
- 8000b4a: 607b str r3, [r7, #4]
- 8000b4c: 687b ldr r3, [r7, #4]
-
-}
- 8000b4e: 46c0 nop ; (mov r8, r8)
- 8000b50: 46bd mov sp, r7
- 8000b52: b002 add sp, #8
- 8000b54: bd80 pop {r7, pc}
- 8000b56: 46c0 nop ; (mov r8, r8)
- 8000b58: 40021000 .word 0x40021000
-
-08000b5c :
-/**
- * @brief This function is executed in case of error occurrence.
- * @retval None
- */
-void Error_Handler(void)
-{
- 8000b5c: b580 push {r7, lr}
- 8000b5e: 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");
- 8000b60: b672 cpsid i
-}
- 8000b62: 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)
- 8000b64: e7fe b.n 8000b64
-
-08000b66 :
-
-#include "scd4x.h"
-#include "main.h" /* for uart_disable_interrupts() */
-
-int8_t scd4x_send_cmd(scd4x_cmd_t cmd)
-{
- 8000b66: b580 push {r7, lr}
- 8000b68: b08c sub sp, #48 ; 0x30
- 8000b6a: af00 add r7, sp, #0
- 8000b6c: 0002 movs r2, r0
- 8000b6e: 1dbb adds r3, r7, #6
- 8000b70: 801a strh r2, [r3, #0]
- uint8_t buffer[32];
- int result;
-
- // start measurement
- buffer[0] = cmd >> 8;
- 8000b72: 1dbb adds r3, r7, #6
- 8000b74: 881b ldrh r3, [r3, #0]
- 8000b76: 0a1b lsrs r3, r3, #8
- 8000b78: b29b uxth r3, r3
- 8000b7a: b2da uxtb r2, r3
- 8000b7c: 210c movs r1, #12
- 8000b7e: 187b adds r3, r7, r1
- 8000b80: 701a strb r2, [r3, #0]
- buffer[1] = cmd & 0x00ff;
- 8000b82: 1dbb adds r3, r7, #6
- 8000b84: 881b ldrh r3, [r3, #0]
- 8000b86: b2da uxtb r2, r3
- 8000b88: 187b adds r3, r7, r1
- 8000b8a: 705a strb r2, [r3, #1]
- result = i2c_transmit(SCD4X_I2C_ADDRESS<<1, buffer, 2);
- 8000b8c: 187b adds r3, r7, r1
- 8000b8e: 2202 movs r2, #2
- 8000b90: 0019 movs r1, r3
- 8000b92: 20c4 movs r0, #196 ; 0xc4
- 8000b94: f7ff fca0 bl 80004d8
- 8000b98: 0003 movs r3, r0
- 8000b9a: 62fb str r3, [r7, #44] ; 0x2c
- if (result != I2C_OK) {
- 8000b9c: 6afb ldr r3, [r7, #44] ; 0x2c
- 8000b9e: 2b00 cmp r3, #0
- 8000ba0: d002 beq.n 8000ba8
- return SCD4X_ERROR;
- 8000ba2: 2301 movs r3, #1
- 8000ba4: 425b negs r3, r3
- 8000ba6: e000 b.n 8000baa
- }
-
- return SCD4X_OK;
- 8000ba8: 2300 movs r3, #0
-}
- 8000baa: 0018 movs r0, r3
- 8000bac: 46bd mov sp, r7
- 8000bae: b00c add sp, #48 ; 0x30
- 8000bb0: bd80 pop {r7, pc}
- ...
-
-08000bb4 :
-{
- return SCD4X_OK;
-}
-
-int8_t scd4x_start_periodic_measurement( void )
-{
- 8000bb4: b580 push {r7, lr}
- 8000bb6: af00 add r7, sp, #0
- return scd4x_send_cmd(SCD4X_START_PERIODIC_MEASUREMENT);
- 8000bb8: 4b03 ldr r3, [pc, #12] ; (8000bc8 )
- 8000bba: 0018 movs r0, r3
- 8000bbc: f7ff ffd3 bl 8000b66
- 8000bc0: 0003 movs r3, r0
-}
- 8000bc2: 0018 movs r0, r3
- 8000bc4: 46bd mov sp, r7
- 8000bc6: bd80 pop {r7, pc}
- 8000bc8: 000021b1 .word 0x000021b1
-
-08000bcc :
-{
- return scd4x_send_cmd(SCD4X_PERFORM_FACTORY_RESET);
-}
-
-int8_t scd4x_read_measurement(uint16_t * co2, int16_t *temperature, uint16_t *relative_humidity)
-{
- 8000bcc: b5b0 push {r4, r5, r7, lr}
- 8000bce: b094 sub sp, #80 ; 0x50
- 8000bd0: af02 add r7, sp, #8
- 8000bd2: 60f8 str r0, [r7, #12]
- 8000bd4: 60b9 str r1, [r7, #8]
- 8000bd6: 607a str r2, [r7, #4]
-// result = i2c_receive(SCD4X_I2C_ADDRESS<<1, buffer, 9);
-// if (result != I2C_OK)
-// {
-// return SCD4X_ERROR;
-// }
- result = i2c_transmit_receive(SCD4X_I2C_ADDRESS<<1, SCD4X_READ_MEASUREMENT, I2C_MEMADD_SIZE_16BIT, buffer, 9);
- 8000bd8: 2543 movs r5, #67 ; 0x43
- 8000bda: 197c adds r4, r7, r5
- 8000bdc: 2310 movs r3, #16
- 8000bde: 18fb adds r3, r7, r3
- 8000be0: 492b ldr r1, [pc, #172] ; (8000c90 )
- 8000be2: 2209 movs r2, #9
- 8000be4: 9200 str r2, [sp, #0]
- 8000be6: 2202 movs r2, #2
- 8000be8: 20c4 movs r0, #196 ; 0xc4
- 8000bea: f7ff fcc5 bl 8000578
- 8000bee: 0003 movs r3, r0
- 8000bf0: 7023 strb r3, [r4, #0]
- if (result != I2C_OK)
- 8000bf2: 197b adds r3, r7, r5
- 8000bf4: 781b ldrb r3, [r3, #0]
- 8000bf6: b25b sxtb r3, r3
- 8000bf8: 2b00 cmp r3, #0
- 8000bfa: d002 beq.n 8000c02
- {
- return SCD4X_ERROR;
- 8000bfc: 2301 movs r3, #1
- 8000bfe: 425b negs r3, r3
- 8000c00: e041 b.n 8000c86
- }
-// uart_enable_interrupts();
-
- // TODO checksum
- // Convert to T and RH; taken directly from pseudocode in SHT4x datasheet, page 3
- uint32_t co2_ticks = (buffer[0] << 8) + buffer[1];
- 8000c02: 2110 movs r1, #16
- 8000c04: 187b adds r3, r7, r1
- 8000c06: 781b ldrb r3, [r3, #0]
- 8000c08: 021b lsls r3, r3, #8
- 8000c0a: 187a adds r2, r7, r1
- 8000c0c: 7852 ldrb r2, [r2, #1]
- 8000c0e: 189b adds r3, r3, r2
- 8000c10: 63fb str r3, [r7, #60] ; 0x3c
- uint32_t t_ticks = (buffer[3] << 8) + buffer[4];
- 8000c12: 187b adds r3, r7, r1
- 8000c14: 78db ldrb r3, [r3, #3]
- 8000c16: 021b lsls r3, r3, #8
- 8000c18: 187a adds r2, r7, r1
- 8000c1a: 7912 ldrb r2, [r2, #4]
- 8000c1c: 189b adds r3, r3, r2
- 8000c1e: 63bb str r3, [r7, #56] ; 0x38
- uint32_t rh_ticks = (buffer[6] << 8) + buffer[7];
- 8000c20: 000a movs r2, r1
- 8000c22: 18bb adds r3, r7, r2
- 8000c24: 799b ldrb r3, [r3, #6]
- 8000c26: 021b lsls r3, r3, #8
- 8000c28: 18ba adds r2, r7, r2
- 8000c2a: 79d2 ldrb r2, [r2, #7]
- 8000c2c: 189b adds r3, r3, r2
- 8000c2e: 637b str r3, [r7, #52] ; 0x34
- int t_degC = -450 + 10 * 175 * t_ticks / 65535;
- 8000c30: 6bbb ldr r3, [r7, #56] ; 0x38
- 8000c32: 4a18 ldr r2, [pc, #96] ; (8000c94 )
- 8000c34: 4353 muls r3, r2
- 8000c36: 4918 ldr r1, [pc, #96] ; (8000c98 )
- 8000c38: 0018 movs r0, r3
- 8000c3a: f7ff fa65 bl 8000108 <__udivsi3>
- 8000c3e: 0003 movs r3, r0
- 8000c40: 3bc3 subs r3, #195 ; 0xc3
- 8000c42: 3bff subs r3, #255 ; 0xff
- 8000c44: 633b str r3, [r7, #48] ; 0x30
- int rh_pRH = 100 * rh_ticks / 65535;
- 8000c46: 6b7b ldr r3, [r7, #52] ; 0x34
- 8000c48: 2264 movs r2, #100 ; 0x64
- 8000c4a: 4353 muls r3, r2
- 8000c4c: 4912 ldr r1, [pc, #72] ; (8000c98 )
- 8000c4e: 0018 movs r0, r3
- 8000c50: f7ff fa5a bl 8000108 <__udivsi3>
- 8000c54: 0003 movs r3, r0
- 8000c56: 647b str r3, [r7, #68] ; 0x44
- if (rh_pRH > 100) {
- 8000c58: 6c7b ldr r3, [r7, #68] ; 0x44
- 8000c5a: 2b64 cmp r3, #100 ; 0x64
- 8000c5c: dd01 ble.n 8000c62
- rh_pRH = 100;
- 8000c5e: 2364 movs r3, #100 ; 0x64
- 8000c60: 647b str r3, [r7, #68] ; 0x44
- }
- if (rh_pRH < 0) {
- 8000c62: 6c7b ldr r3, [r7, #68] ; 0x44
- 8000c64: 2b00 cmp r3, #0
- 8000c66: da01 bge.n 8000c6c
- rh_pRH = 0;
- 8000c68: 2300 movs r3, #0
- 8000c6a: 647b str r3, [r7, #68] ; 0x44
- }
- *co2 = co2_ticks;
- 8000c6c: 6bfb ldr r3, [r7, #60] ; 0x3c
- 8000c6e: b29a uxth r2, r3
- 8000c70: 68fb ldr r3, [r7, #12]
- 8000c72: 801a strh r2, [r3, #0]
- *temperature = t_degC;
- 8000c74: 6b3b ldr r3, [r7, #48] ; 0x30
- 8000c76: b21a sxth r2, r3
- 8000c78: 68bb ldr r3, [r7, #8]
- 8000c7a: 801a strh r2, [r3, #0]
- *relative_humidity = rh_pRH;
- 8000c7c: 6c7b ldr r3, [r7, #68] ; 0x44
- 8000c7e: b29a uxth r2, r3
- 8000c80: 687b ldr r3, [r7, #4]
- 8000c82: 801a strh r2, [r3, #0]
-
- return SCD4X_OK;
- 8000c84: 2300 movs r3, #0
-}
- 8000c86: 0018 movs r0, r3
- 8000c88: 46bd mov sp, r7
- 8000c8a: b012 add sp, #72 ; 0x48
- 8000c8c: bdb0 pop {r4, r5, r7, pc}
- 8000c8e: 46c0 nop ; (mov r8, r8)
- 8000c90: 0000ec05 .word 0x0000ec05
- 8000c94: 000006d6 .word 0x000006d6
- 8000c98: 0000ffff .word 0x0000ffff
-
-08000c9c :
-{
- return SHT4X_OK;
-}
-
-int8_t sht4x_measure(int16_t *temperature, uint16_t *relative_humidity)
-{
- 8000c9c: b590 push {r4, r7, lr}
- 8000c9e: b091 sub sp, #68 ; 0x44
- 8000ca0: af00 add r7, sp, #0
- 8000ca2: 6078 str r0, [r7, #4]
- 8000ca4: 6039 str r1, [r7, #0]
- uint8_t buffer[32];
- int result;
-
- // start measurement
- buffer[0] = SHT4X_START_MEAS_HIGH_PRECISION;
- 8000ca6: 240c movs r4, #12
- 8000ca8: 193b adds r3, r7, r4
- 8000caa: 22fd movs r2, #253 ; 0xfd
- 8000cac: 701a strb r2, [r3, #0]
- result = i2c_transmit(SHT4X_I2C_ADDRESS<<1, buffer, 1);
- 8000cae: 193b adds r3, r7, r4
- 8000cb0: 2201 movs r2, #1
- 8000cb2: 0019 movs r1, r3
- 8000cb4: 2088 movs r0, #136 ; 0x88
- 8000cb6: f7ff fc0f bl 80004d8
- 8000cba: 0003 movs r3, r0
- 8000cbc: 63bb str r3, [r7, #56] ; 0x38
- }*/
- /*uart_disable_interrupts();
- LL_mDelay(10); // 10 ms should be enough
- uart_enable_interrupts();
- */
- HAL_Delay(10);
- 8000cbe: 200a movs r0, #10
- 8000cc0: f000 fa3c bl 800113c
- // read out
- result = i2c_receive(SHT4X_I2C_ADDRESS<<1, buffer, 6);
- 8000cc4: 193b adds r3, r7, r4
- 8000cc6: 2206 movs r2, #6
- 8000cc8: 0019 movs r1, r3
- 8000cca: 2088 movs r0, #136 ; 0x88
- 8000ccc: f7ff fc2c bl 8000528
- 8000cd0: 0003 movs r3, r0
- 8000cd2: 63bb str r3, [r7, #56] ; 0x38
- if (result != I2C_OK) {
- 8000cd4: 6bbb ldr r3, [r7, #56] ; 0x38
- 8000cd6: 2b00 cmp r3, #0
- 8000cd8: d002 beq.n 8000ce0
- return SHT4X_ERROR;
- 8000cda: 2301 movs r3, #1
- 8000cdc: 425b negs r3, r3
- 8000cde: e03a b.n 8000d56
- }
- // TODO checksum
- // Convert to T and RH; taken directly from pseudocode in SHT4x datasheet, page 3
- uint32_t t_ticks = (buffer[0] << 8) + buffer[1];
- 8000ce0: 210c movs r1, #12
- 8000ce2: 187b adds r3, r7, r1
- 8000ce4: 781b ldrb r3, [r3, #0]
- 8000ce6: 021b lsls r3, r3, #8
- 8000ce8: 187a adds r2, r7, r1
- 8000cea: 7852 ldrb r2, [r2, #1]
- 8000cec: 189b adds r3, r3, r2
- 8000cee: 637b str r3, [r7, #52] ; 0x34
- uint32_t rh_ticks = (buffer[3] << 8) + buffer[4];
- 8000cf0: 000a movs r2, r1
- 8000cf2: 18bb adds r3, r7, r2
- 8000cf4: 78db ldrb r3, [r3, #3]
- 8000cf6: 021b lsls r3, r3, #8
- 8000cf8: 18ba adds r2, r7, r2
- 8000cfa: 7912 ldrb r2, [r2, #4]
- 8000cfc: 189b adds r3, r3, r2
- 8000cfe: 633b str r3, [r7, #48] ; 0x30
- int t_degC = -450 + 10 * 175 * t_ticks / 65535; /* temperature * 10 */
- 8000d00: 6b7b ldr r3, [r7, #52] ; 0x34
- 8000d02: 4a17 ldr r2, [pc, #92] ; (8000d60 )
- 8000d04: 4353 muls r3, r2
- 8000d06: 4917 ldr r1, [pc, #92] ; (8000d64 )
- 8000d08: 0018 movs r0, r3
- 8000d0a: f7ff f9fd bl 8000108 <__udivsi3>
- 8000d0e: 0003 movs r3, r0
- 8000d10: 3bc3 subs r3, #195 ; 0xc3
- 8000d12: 3bff subs r3, #255 ; 0xff
- 8000d14: 62fb str r3, [r7, #44] ; 0x2c
- int rh_pRH = -6 + 125 * rh_ticks / 65535;
- 8000d16: 6b3a ldr r2, [r7, #48] ; 0x30
- 8000d18: 0013 movs r3, r2
- 8000d1a: 015b lsls r3, r3, #5
- 8000d1c: 1a9b subs r3, r3, r2
- 8000d1e: 009b lsls r3, r3, #2
- 8000d20: 189b adds r3, r3, r2
- 8000d22: 4910 ldr r1, [pc, #64] ; (8000d64 )
- 8000d24: 0018 movs r0, r3
- 8000d26: f7ff f9ef bl 8000108 <__udivsi3>
- 8000d2a: 0003 movs r3, r0
- 8000d2c: 3b06 subs r3, #6
- 8000d2e: 63fb str r3, [r7, #60] ; 0x3c
- if (rh_pRH > 100) {
- 8000d30: 6bfb ldr r3, [r7, #60] ; 0x3c
- 8000d32: 2b64 cmp r3, #100 ; 0x64
- 8000d34: dd01 ble.n 8000d3a
- rh_pRH = 100;
- 8000d36: 2364 movs r3, #100 ; 0x64
- 8000d38: 63fb str r3, [r7, #60] ; 0x3c
- }
- if (rh_pRH < 0) {
- 8000d3a: 6bfb ldr r3, [r7, #60] ; 0x3c
- 8000d3c: 2b00 cmp r3, #0
- 8000d3e: da01 bge.n 8000d44
- rh_pRH = 0;
- 8000d40: 2300 movs r3, #0
- 8000d42: 63fb str r3, [r7, #60] ; 0x3c
- }
- *temperature = t_degC;
- 8000d44: 6afb ldr r3, [r7, #44] ; 0x2c
- 8000d46: b21a sxth r2, r3
- 8000d48: 687b ldr r3, [r7, #4]
- 8000d4a: 801a strh r2, [r3, #0]
- *relative_humidity = rh_pRH;
- 8000d4c: 6bfb ldr r3, [r7, #60] ; 0x3c
- 8000d4e: b29a uxth r2, r3
- 8000d50: 683b ldr r3, [r7, #0]
- 8000d52: 801a strh r2, [r3, #0]
-
- return SHT4X_OK;
- 8000d54: 2300 movs r3, #0
-}
- 8000d56: 0018 movs r0, r3
- 8000d58: 46bd mov sp, r7
- 8000d5a: b011 add sp, #68 ; 0x44
- 8000d5c: bd90 pop {r4, r7, pc}
- 8000d5e: 46c0 nop ; (mov r8, r8)
- 8000d60: 000006d6 .word 0x000006d6
- 8000d64: 0000ffff .word 0x0000ffff
-
-08000d68 :
-void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
- /**
- * Initializes the Global MSP.
- */
-void HAL_MspInit(void)
-{
- 8000d68: b580 push {r7, lr}
- 8000d6a: af00 add r7, sp, #0
- /* USER CODE BEGIN MspInit 0 */
-
- /* USER CODE END MspInit 0 */
-
- __HAL_RCC_SYSCFG_CLK_ENABLE();
- 8000d6c: 4b07 ldr r3, [pc, #28] ; (8000d8c