diff --git a/bsp/bsp_iic.c b/bsp/bsp_iic.c
new file mode 100644
index 0000000..00e69ed
--- /dev/null
+++ b/bsp/bsp_iic.c
@@ -0,0 +1,194 @@
+#include "bsp_delay.h"
+#include "drv_sys.h"
+#include "bsp_iic.h"
+
+/**
+ * @brief 初始化IIC
+ * @param 无
+ * @retval 无
+ */
+void iic_init(void)
+{
+ GPIO_InitTypeDef gpio_init_struct;
+
+ IIC_SCL_GPIO_CLK_ENABLE(); /* SCL引脚时钟使能 */
+ IIC_SDA_GPIO_CLK_ENABLE(); /* SDA引脚时钟使能 */
+
+ gpio_init_struct.Pin = IIC_SCL_GPIO_PIN;
+ gpio_init_struct.Mode = GPIO_MODE_OUTPUT_PP; /* 推挽输出 */
+ gpio_init_struct.Pull = GPIO_PULLUP; /* 上拉 */
+ gpio_init_struct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; /* 快速 */
+ HAL_GPIO_Init(IIC_SCL_GPIO_PORT, &gpio_init_struct);/* SCL */
+
+ gpio_init_struct.Pin = IIC_SDA_GPIO_PIN;
+ gpio_init_struct.Mode = GPIO_MODE_OUTPUT_OD; /* 开漏输出 */
+ HAL_GPIO_Init(IIC_SDA_GPIO_PORT, &gpio_init_struct);/* SDA */
+ /* SDA引脚模式设置,开漏输出,上拉, 这样就不用再设置IO方向了, 开漏输出的时候(=1), 也可以读取外部信号的高低电平 */
+
+ iic_stop(); /* 停止总线上所有设备 */
+}
+
+/**
+ * @brief IIC延时函数,用于控制IIC读写速度
+ * @param 无
+ * @retval 无
+ */
+static void iic_delay(void)
+{
+ delay_us(2); /* 2us的延时, 读写速度在250Khz以内 */
+}
+
+/**
+ * @brief 产生IIC起始信号
+ * @param 无
+ * @retval 无
+ */
+void iic_start(void)
+{
+ IIC_SDA(1);
+ IIC_SCL(1);
+ iic_delay();
+ IIC_SDA(0); /* START信号: 当SCL为高时, SDA从高变成低, 表示起始信号 */
+ iic_delay();
+ IIC_SCL(0); /* 钳住I2C总线,准备发送或接收数据 */
+ iic_delay();
+}
+
+/**
+ * @brief 产生IIC停止信号
+ * @param 无
+ * @retval 无
+ */
+void iic_stop(void)
+{
+ IIC_SDA(0); /* STOP信号: 当SCL为高时, SDA从低变成高, 表示停止信号 */
+ iic_delay();
+ IIC_SCL(1);
+ iic_delay();
+ IIC_SDA(1); /* 发送I2C总线结束信号 */
+ iic_delay();
+}
+
+/**
+ * @brief 等待应答信号到来
+ * @param 无
+ * @retval 1,接收应答失败
+ * 0,接收应答成功
+ */
+uint8_t iic_wait_ack(void)
+{
+ uint8_t waittime = 0;
+ uint8_t rack = 0;
+
+ IIC_SDA(1); /* 主机释放SDA线(此时外部器件可以拉低SDA线) */
+ iic_delay();
+ IIC_SCL(1); /* SCL=1, 此时从机可以返回ACK */
+ iic_delay();
+
+ while (IIC_READ_SDA) /* 等待应答 */
+ {
+ waittime++;
+
+ if (waittime > 250)
+ {
+ iic_stop();
+ rack = 1;
+ break;
+ }
+ }
+
+ IIC_SCL(0); /* SCL=0, 结束ACK检查 */
+ iic_delay();
+ return rack;
+}
+
+/**
+ * @brief 产生ACK应答
+ * @param 无
+ * @retval 无
+ */
+void iic_ack(void)
+{
+ IIC_SDA(0); /* SCL 0 -> 1 时 SDA = 0,表示应答 */
+ iic_delay();
+ IIC_SCL(1); /* 产生一个时钟 */
+ iic_delay();
+ IIC_SCL(0);
+ iic_delay();
+ IIC_SDA(1); /* 主机释放SDA线 */
+ iic_delay();
+}
+
+/**
+ * @brief 不产生ACK应答
+ * @param 无
+ * @retval 无
+ */
+void iic_nack(void)
+{
+ IIC_SDA(1); /* SCL 0 -> 1 时 SDA = 1,表示不应答 */
+ iic_delay();
+ IIC_SCL(1); /* 产生一个时钟 */
+ iic_delay();
+ IIC_SCL(0);
+ iic_delay();
+}
+
+/**
+ * @brief IIC发送一个字节
+ * @param data: 要发送的数据
+ * @retval 无
+ */
+void iic_send_byte(uint8_t data)
+{
+ uint8_t t;
+
+ for (t = 0; t < 8; t++)
+ {
+ IIC_SDA((data & 0x80) >> 7); /* 高位先发送 */
+ iic_delay();
+ IIC_SCL(1);
+ iic_delay();
+ IIC_SCL(0);
+ data <<= 1; /* 左移1位,用于下一次发送 */
+ }
+ IIC_SDA(1); /* 发送完成, 主机释放SDA线 */
+}
+
+/**
+ * @brief IIC读取一个字节
+ * @param ack: ack=1时,发送ack; ack=0时,发送nack
+ * @retval 接收到的数据
+ */
+uint8_t iic_read_byte(uint8_t ack)
+{
+ uint8_t i, receive = 0;
+
+ for (i = 0; i < 8; i++ ) /* 接收1个字节数据 */
+ {
+ receive <<= 1; /* 高位先输出,所以先收到的数据位要左移 */
+ IIC_SCL(1);
+ iic_delay();
+
+ if (IIC_READ_SDA)
+ {
+ receive++;
+ }
+
+ IIC_SCL(0);
+ iic_delay();
+ }
+
+ if (!ack)
+ {
+ iic_nack(); /* 发送nACK */
+ }
+ else
+ {
+ iic_ack(); /* 发送ACK */
+ }
+
+ return receive;
+}
+
+
diff --git a/bsp/bsp_iic.h b/bsp/bsp_iic.h
new file mode 100644
index 0000000..2e24c59
--- /dev/null
+++ b/bsp/bsp_iic.h
@@ -0,0 +1,47 @@
+#ifndef __IIC_H
+#define __IIC_H
+
+#include "bsp_delay.h"
+#include "drv_sys.h"
+#include "bsp_iic.h"
+
+
+/******************************************************************************************/
+/* 引脚 定义 */
+
+#define IIC_SCL_GPIO_PORT GPIOB
+#define IIC_SCL_GPIO_PIN GPIO_PIN_6
+#define IIC_SCL_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOB_CLK_ENABLE(); }while(0) /* PB口时钟使能 */
+
+#define IIC_SDA_GPIO_PORT GPIOB
+#define IIC_SDA_GPIO_PIN GPIO_PIN_7
+#define IIC_SDA_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOB_CLK_ENABLE(); }while(0) /* PB口时钟使能 */
+
+/******************************************************************************************/
+
+/* IO操作 */
+#define IIC_SCL(x) do{ x ? \
+ HAL_GPIO_WritePin(IIC_SCL_GPIO_PORT, IIC_SCL_GPIO_PIN, GPIO_PIN_SET) : \
+ HAL_GPIO_WritePin(IIC_SCL_GPIO_PORT, IIC_SCL_GPIO_PIN, GPIO_PIN_RESET); \
+ }while(0) /* SCL */
+
+#define IIC_SDA(x) do{ x ? \
+ HAL_GPIO_WritePin(IIC_SDA_GPIO_PORT, IIC_SDA_GPIO_PIN, GPIO_PIN_SET) : \
+ HAL_GPIO_WritePin(IIC_SDA_GPIO_PORT, IIC_SDA_GPIO_PIN, GPIO_PIN_RESET); \
+ }while(0) /* SDA */
+
+#define IIC_READ_SDA HAL_GPIO_ReadPin(IIC_SDA_GPIO_PORT, IIC_SDA_GPIO_PIN) /* 读取SDA */
+
+
+/* IIC所有操作函数 */
+void iic_init(void); /* 初始化IIC的IO口 */
+void iic_start(void); /* 发送IIC开始信号 */
+void iic_stop(void); /* 发送IIC停止信号 */
+void iic_ack(void); /* IIC发送ACK信号 */
+void iic_nack(void); /* IIC不发送ACK信号 */
+uint8_t iic_wait_ack(void); /* IIC等待ACK信号 */
+void iic_send_byte(uint8_t txd);/* IIC发送一个字节 */
+uint8_t iic_read_byte(unsigned char ack);/* IIC读取一个字节 */
+
+#endif
+
diff --git a/bsp/dsp_can.c b/bsp/dsp_can.c
index e003f6e..687e151 100644
--- a/bsp/dsp_can.c
+++ b/bsp/dsp_can.c
@@ -1,10 +1,7 @@
+#include "bsp_flash.h"
#include "bsp_can.h"
#include "bsp_delay.h"
-#include "bsp_led.h"
-#include "bsp_task.h"
#include "drv_sys.h"
-#include "drv_usart.h"
-#include "drv_gpio.h"
CAN_HandleTypeDef g_canx_handler; /* CANx句柄 */
CAN_TxHeaderTypeDef g_canx_txheader; /* 发送参数句柄 */
diff --git a/bsp/dsp_can.h b/bsp/dsp_can.h
index 4fa47bb..a3ec8f6 100644
--- a/bsp/dsp_can.h
+++ b/bsp/dsp_can.h
@@ -1,13 +1,10 @@
#ifndef __CAN_H
#define __CAN_H
+#include "bsp_flash.h"
#include "bsp_can.h"
#include "bsp_delay.h"
-#include "bsp_led.h"
-#include "bsp_task.h"
#include "drv_sys.h"
-#include "drv_usart.h"
-#include "drv_gpio.h"
/******************************************************************************************/
diff --git a/main/main.c b/main/main.c
index 1c48932..16dc100 100644
--- a/main/main.c
+++ b/main/main.c
@@ -43,7 +43,7 @@ void poll_start_task1_init(void)
// uint32_t userBaudRate = 115200; // 杩欓噷鍙互璁剧疆鐢ㄦ埛闇瑕佺殑娉㈢壒鐜
InitUARTs(115200); // 浣跨敤鐢ㄦ埛鎸囧畾鐨勬尝鐗圭巼鍒濆鍖朥ART
can_init(CAN_SJW_1TQ, CAN_BS2_6TQ, CAN_BS1_7TQ, 6, CAN_MODE_LOOPBACK); /* CAN鍒濆鍖, 姝e父妯″紡, 娉㈢壒鐜500Kbps */
-
+ iic_init();
}
void poll_start_task1_handler(uint32_t baseTime)
diff --git a/prj/MDK-ARM/Objects/HF_BCU_APP.build_log.htm b/prj/MDK-ARM/Objects/HF_BCU_APP.build_log.htm
index 9c81e31..0f3bf5d 100644
--- a/prj/MDK-ARM/Objects/HF_BCU_APP.build_log.htm
+++ b/prj/MDK-ARM/Objects/HF_BCU_APP.build_log.htm
@@ -22,7 +22,7 @@ Dialog DLL: TCM.DLL V1.32.0.0
Project:
D:\GitWorkSpace\bs_bcu_app\prj\MDK-ARM\stm32f4xx_app.uvprojx
-Project File Date: 11/12/2024
+Project File Date: 11/20/2024
Output:
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'D:\keil5\ARM\ARMCC\Bin'
@@ -31,18 +31,11 @@ compiling app_demo.c...
"no source": Error: #5: cannot open source input file "..\..\app\app_demo.c": No such file or directory
..\..\app\app_demo.c: 0 warnings, 1 error
compiling dsp_can.c...
-..\..\bsp\dsp_can.c(1): error: #5: cannot open source input file "bsp_can.h": No such file or directory
+..\..\bsp\dsp_can.c(2): error: #5: cannot open source input file "bsp_can.h": No such file or directory
#include "bsp_can.h"
..\..\bsp\dsp_can.c: 0 warnings, 1 error
-compiling main.c...
-..\..\main\main.c(45): warning: #223-D: function "can_init" declared implicitly
- can_init(CAN_SJW_1TQ, CAN_BS2_6TQ, CAN_BS1_7TQ, 6, CAN_MODE_LOOPBACK); /* CAN鍒濆鍖?, 姝e父妯″紡, 娉㈢壒鐜?500Kbps */
-..\..\main\main.c(51): warning: #223-D: function "task1" declared implicitly
- task1(baseTime);
-..\..\main\main.c(56): warning: #223-D: function "task2" declared implicitly
- task2(baseTime);
-..\..\main\main.c: 3 warnings, 0 errors
-".\Objects\HF_BCU_APP.axf" - 1 Error(s), 3 Warning(s).
+compiling bsp_iic.c...
+".\Objects\HF_BCU_APP.axf" - 1 Error(s), 0 Warning(s).
Software Packages used:
diff --git a/prj/MDK-ARM/Objects/bsp_iic.crf b/prj/MDK-ARM/Objects/bsp_iic.crf
new file mode 100644
index 0000000..4456212
Binary files /dev/null and b/prj/MDK-ARM/Objects/bsp_iic.crf differ
diff --git a/prj/MDK-ARM/Objects/bsp_iic.d b/prj/MDK-ARM/Objects/bsp_iic.d
new file mode 100644
index 0000000..64cfdda
--- /dev/null
+++ b/prj/MDK-ARM/Objects/bsp_iic.d
@@ -0,0 +1,72 @@
+.\objects\bsp_iic.o: ..\..\bsp\bsp_iic.c
+.\objects\bsp_iic.o: ..\..\bsp\bsp_delay.h
+.\objects\bsp_iic.o: ..\..\drv\drv_sys.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Include\core_cm4.h
+.\objects\bsp_iic.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdint.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Include\cmsis_version.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Include\cmsis_compiler.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Include\cmsis_armcc.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Include\mpu_armv7.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h
+.\objects\bsp_iic.o: ..\..\system\stm32f4xx_hal_conf.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\Legacy/stm32_hal_legacy.h
+.\objects\bsp_iic.o: D:\keil5\ARM\ARMCC\Bin\..\include\stddef.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sram.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_fsmc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nor.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nand.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pccard.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hash.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_iwdg.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rng.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sd.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_sdmmc.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_usart.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_irda.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_smartcard.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_wwdg.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h
+.\objects\bsp_iic.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h
+.\objects\bsp_iic.o: ..\..\system\CMSIS\Include\core_cm4.h
+.\objects\bsp_iic.o: ..\..\bsp\bsp_iic.h
+.\objects\bsp_iic.o: ..\..\bsp\bsp_iic.h
diff --git a/prj/MDK-ARM/Objects/bsp_iic.o b/prj/MDK-ARM/Objects/bsp_iic.o
new file mode 100644
index 0000000..ff63301
Binary files /dev/null and b/prj/MDK-ARM/Objects/bsp_iic.o differ
diff --git a/prj/MDK-ARM/Objects/dsp_can.d b/prj/MDK-ARM/Objects/dsp_can.d
index 67d0ea6..844e9ca 100644
--- a/prj/MDK-ARM/Objects/dsp_can.d
+++ b/prj/MDK-ARM/Objects/dsp_can.d
@@ -1 +1,70 @@
.\objects\dsp_can.o: ..\..\bsp\dsp_can.c
+.\objects\dsp_can.o: ..\..\bsp\bsp_flash.h
+.\objects\dsp_can.o: ..\..\drv\drv_sys.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Include\core_cm4.h
+.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdint.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Include\cmsis_version.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Include\cmsis_compiler.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Include\cmsis_armcc.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Include\mpu_armv7.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h
+.\objects\dsp_can.o: ..\..\system\stm32f4xx_hal_conf.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\Legacy/stm32_hal_legacy.h
+.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\stddef.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sram.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_fsmc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nor.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nand.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pccard.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hash.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_iwdg.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rng.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sd.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_sdmmc.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_usart.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_irda.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_smartcard.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_wwdg.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h
+.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h
+.\objects\dsp_can.o: ..\..\system\CMSIS\Include\core_cm4.h
diff --git a/prj/MDK-ARM/Objects/stm32f4xx_app_stm32f407.dep b/prj/MDK-ARM/Objects/stm32f4xx_app_stm32f407.dep
index 09f48dd..a4600d6 100644
--- a/prj/MDK-ARM/Objects/stm32f4xx_app_stm32f407.dep
+++ b/prj/MDK-ARM/Objects/stm32f4xx_app_stm32f407.dep
@@ -928,8 +928,145 @@ I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
F (..\..\bsp\bsp_spi.h)(0x67317B34)()
-F (..\..\bsp\dsp_can.c)(0x673D8E5C)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config
-I.\RTE\_stm32f407
-ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include
-ID:\keil5\ARM\CMSIS\Include
-D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT
-o .\objects\dsp_can.o --omf_browse .\objects\dsp_can.crf --depend .\objects\dsp_can.d)
-F (..\..\bsp\dsp_can.h)(0x673D8E5C)()
+F (..\..\bsp\dsp_can.c)(0x673DA3D3)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config
-I.\RTE\_stm32f407
-ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include
-ID:\keil5\ARM\CMSIS\Include
-D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT
-o .\objects\dsp_can.o --omf_browse .\objects\dsp_can.crf --depend .\objects\dsp_can.d)
+I (..\..\bsp\bsp_flash.h)(0x67317724)
+I (..\..\drv\drv_sys.h)(0x67317724)
+I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724)
+I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x67317724)
+I (..\..\system\CMSIS\Include\core_cm4.h)(0x67317724)
+I (D:\keil5\ARM\ARMCC\include\stdint.h)(0x588B8344)
+I (..\..\system\CMSIS\Include\cmsis_version.h)(0x67317724)
+I (..\..\system\CMSIS\Include\cmsis_compiler.h)(0x67317724)
+I (..\..\system\CMSIS\Include\cmsis_armcc.h)(0x67317724)
+I (..\..\system\CMSIS\Include\mpu_armv7.h)(0x67317724)
+I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x67317724)
+I (..\..\system\stm32f4xx_hal_conf.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\Legacy/stm32_hal_legacy.h)(0x67317724)
+I (D:\keil5\ARM\ARMCC\include\stddef.h)(0x588B8344)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sram.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_fsmc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nor.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nand.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pccard.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hash.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_iwdg.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rng.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sd.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_sdmmc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_usart.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_irda.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_smartcard.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_wwdg.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
+F (..\..\bsp\dsp_can.h)(0x673DA3D3)()
+F (..\..\bsp\bsp_iic.c)(0x673DA3FB)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config
-I.\RTE\_stm32f407
-ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include
-ID:\keil5\ARM\CMSIS\Include
-D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT
-o .\objects\bsp_iic.o --omf_browse .\objects\bsp_iic.crf --depend .\objects\bsp_iic.d)
+I (..\..\bsp\bsp_delay.h)(0x67317724)
+I (..\..\drv\drv_sys.h)(0x67317724)
+I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724)
+I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x67317724)
+I (..\..\system\CMSIS\Include\core_cm4.h)(0x67317724)
+I (D:\keil5\ARM\ARMCC\include\stdint.h)(0x588B8344)
+I (..\..\system\CMSIS\Include\cmsis_version.h)(0x67317724)
+I (..\..\system\CMSIS\Include\cmsis_compiler.h)(0x67317724)
+I (..\..\system\CMSIS\Include\cmsis_armcc.h)(0x67317724)
+I (..\..\system\CMSIS\Include\mpu_armv7.h)(0x67317724)
+I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x67317724)
+I (..\..\system\stm32f4xx_hal_conf.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\Legacy/stm32_hal_legacy.h)(0x67317724)
+I (D:\keil5\ARM\ARMCC\include\stddef.h)(0x588B8344)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sram.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_fsmc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nor.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nand.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pccard.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hash.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_iwdg.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rng.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sd.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_sdmmc.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_usart.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_irda.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_smartcard.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_wwdg.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
+I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
+I (..\..\bsp\bsp_iic.h)(0x673DA3FB)
+F (..\..\bsp\bsp_iic.h)(0x673DA3FB)()
F (..\..\system\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config
-I.\RTE\_stm32f407
-ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include
-ID:\keil5\ARM\CMSIS\Include
-D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT
-o .\objects\stm32f4xx_hal.o --omf_browse .\objects\stm32f4xx_hal.crf --depend .\objects\stm32f4xx_hal.d)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x67317724)
I (..\..\system\stm32f4xx_hal_conf.h)(0x67317724)
diff --git a/prj/MDK-ARM/stm32f4xx_app.uvguix.Cola b/prj/MDK-ARM/stm32f4xx_app.uvguix.Cola
index aef46c8..838d712 100644
--- a/prj/MDK-ARM/stm32f4xx_app.uvguix.Cola
+++ b/prj/MDK-ARM/stm32f4xx_app.uvguix.Cola
@@ -91,17 +91,17 @@
-1
- 67
- -80
- 702
- 897
+ 66
+ 438
+ 1370
+ 896
0
- 234
- 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000001000000000000000100000026443A5C476974576F726B53706163655C62735F6263755F6170705C6D61696E5C6D61696E2E6300000000066D61696E2E6300000000F0A0A100FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000C400000066000000000600001A020000
+ 368
+ 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000003000000000000000100000026443A5C476974576F726B53706163655C62735F6263755F6170705C6D61696E5C6D61696E2E6300000000066D61696E2E6300000000FFDC7800FFFFFFFF28443A5C476974576F726B53706163655C62735F6263755F6170705C6273705C6273705F6969632E6300000000096273705F6969632E6300000000BECEA100FFFFFFFF28443A5C476974576F726B53706163655C62735F6263755F6170705C6273705C6273705F6969632E6800000000096273705F6969632E6800000000F0A0A100FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000C4000000660000000006000031020000
@@ -140,7 +140,7 @@
0
16
- 0300000066000000BD000000EA010000
+ 0300000066000000BD00000001020000
16
@@ -160,7 +160,7 @@
0
16
- 0300000066000000BD000000EA010000
+ 0300000066000000BD00000001020000
16
@@ -440,7 +440,7 @@
0
16
- 0300000066000000BD000000EA010000
+ 0300000066000000BD00000001020000
16
@@ -460,7 +460,7 @@
0
16
- 0300000066000000BD000000EA010000
+ 0300000066000000BD00000001020000
16
@@ -480,7 +480,7 @@
0
16
- 030000001E020000FD050000F5020000
+ 0300000035020000FD050000F5020000
16
@@ -520,7 +520,7 @@
0
16
- 030000001E020000FD050000F5020000
+ 0300000035020000FD050000F5020000
16
@@ -1120,7 +1120,7 @@
0
16
- 0300000066000000BD000000EA010000
+ 0300000066000000BD00000001020000
16
@@ -1140,7 +1140,7 @@
0
16
- 030000001E020000FD050000F5020000
+ 0300000035020000FD050000F5020000
16
@@ -1160,7 +1160,7 @@
0
16
- 030000001E020000FD050000F5020000
+ 0300000035020000FD050000F5020000
16
@@ -1220,7 +1220,7 @@
0
16
- 030000001E020000FD050000F5020000
+ 0300000035020000FD050000F5020000
16
@@ -1240,7 +1240,7 @@
0
16
- 030000001E020000FD050000F5020000
+ 0300000035020000FD050000F5020000
16
@@ -1410,7 +1410,7 @@
50008
50008
- 0
+ 1
0
0
0
@@ -1420,11 +1420,11 @@
0
16
- B3030000660000006D0400008C010000
+ B10300007D0000006D04000098000000
16
- A4000000BB000000640100005B010000
+ 0A0000000A0000006E0000006E000000
@@ -1749,14 +1749,14 @@
3256
- 000000000B000000000000000020000000000000FFFFFFFFFFFFFFFFC4000000BD00000070040000C1000000000000000100000004000000010000000000000000000000FFFFFFFF06000000CB00000057010000CC000000F08B00005A01000079070000FFFF02000B004354616262656450616E650020000000000000C40000006600000070040000D4000000C40000004F00000070040000BD0000000000000040280046060000000B446973617373656D626C7900000000CB00000001000000FFFFFFFFFFFFFFFF14506572666F726D616E636520416E616C797A6572000000005701000001000000FFFFFFFFFFFFFFFF14506572666F726D616E636520416E616C797A657200000000CC00000001000000FFFFFFFFFFFFFFFF0E4C6F67696320416E616C797A657200000000F08B000001000000FFFFFFFFFFFFFFFF0D436F646520436F766572616765000000005A01000001000000FFFFFFFFFFFFFFFF11496E737472756374696F6E205472616365000000007907000001000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000001000000FFFFFFFFCB00000001000000FFFFFFFFCB000000000000000040000000000000FFFFFFFFFFFFFFFFAC0300004F000000B0030000A5010000000000000200000004000000010000000000000000000000FFFFFFFF2B000000E2050000CA0900002D8C00002E8C00002F8C0000308C0000318C0000328C0000338C0000348C0000358C0000368C0000378C0000388C0000398C00003A8C00003B8C00003C8C00003D8C00003E8C00003F8C0000408C0000418C000050C3000051C3000052C3000053C3000054C3000055C3000056C3000057C3000058C3000059C300005AC300005BC300005CC300005DC300005EC300005FC3000060C3000061C3000062C3000063C3000001800040000000000000B00300006600000070040000BC010000B00300004F00000070040000A501000000000000404100462B0000000753796D626F6C7300000000E205000001000000FFFFFFFFFFFFFFFF0A5472616365204461746100000000CA09000001000000FFFFFFFFFFFFFFFF00000000002D8C000001000000FFFFFFFFFFFFFFFF00000000002E8C000001000000FFFFFFFFFFFFFFFF00000000002F8C000001000000FFFFFFFFFFFFFFFF0000000000308C000001000000FFFFFFFFFFFFFFFF0000000000318C000001000000FFFFFFFFFFFFFFFF0000000000328C000001000000FFFFFFFFFFFFFFFF0000000000338C000001000000FFFFFFFFFFFFFFFF0000000000348C000001000000FFFFFFFFFFFFFFFF0000000000358C000001000000FFFFFFFFFFFFFFFF0000000000368C000001000000FFFFFFFFFFFFFFFF0000000000378C000001000000FFFFFFFFFFFFFFFF0000000000388C000001000000FFFFFFFFFFFFFFFF0000000000398C000001000000FFFFFFFFFFFFFFFF00000000003A8C000001000000FFFFFFFFFFFFFFFF00000000003B8C000001000000FFFFFFFFFFFFFFFF00000000003C8C000001000000FFFFFFFFFFFFFFFF00000000003D8C000001000000FFFFFFFFFFFFFFFF00000000003E8C000001000000FFFFFFFFFFFFFFFF00000000003F8C000001000000FFFFFFFFFFFFFFFF0000000000408C000001000000FFFFFFFFFFFFFFFF0000000000418C000001000000FFFFFFFFFFFFFFFF000000000050C3000001000000FFFFFFFFFFFFFFFF000000000051C3000001000000FFFFFFFFFFFFFFFF000000000052C3000001000000FFFFFFFFFFFFFFFF000000000053C3000001000000FFFFFFFFFFFFFFFF000000000054C3000001000000FFFFFFFFFFFFFFFF000000000055C3000001000000FFFFFFFFFFFFFFFF000000000056C3000001000000FFFFFFFFFFFFFFFF000000000057C3000001000000FFFFFFFFFFFFFFFF000000000058C3000001000000FFFFFFFFFFFFFFFF000000000059C3000001000000FFFFFFFFFFFFFFFF00000000005AC3000001000000FFFFFFFFFFFFFFFF00000000005BC3000001000000FFFFFFFFFFFFFFFF00000000005CC3000001000000FFFFFFFFFFFFFFFF00000000005DC3000001000000FFFFFFFFFFFFFFFF00000000005EC3000001000000FFFFFFFFFFFFFFFF00000000005FC3000001000000FFFFFFFFFFFFFFFF000000000060C3000001000000FFFFFFFFFFFFFFFF000000000061C3000001000000FFFFFFFFFFFFFFFF000000000062C3000001000000FFFFFFFFFFFFFFFF000000000063C3000001000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000001000000FFFFFFFFE205000001000000FFFFFFFFE2050000000000000010000001000000FFFFFFFFFFFFFFFFC00000004F000000C400000003020000010000000200001004000000010000000000000000000000FFFFFFFF05000000ED0300006D000000C3000000C400000073940000018000100000010000000000000066000000C00000001A020000000000004F000000C0000000030200000000000040410056050000000750726F6A65637401000000ED03000001000000FFFFFFFFFFFFFFFF05426F6F6B73010000006D00000001000000FFFFFFFFFFFFFFFF0946756E6374696F6E7301000000C300000001000000FFFFFFFFFFFFFFFF0954656D706C6174657301000000C400000001000000FFFFFFFFFFFFFFFF09526567697374657273000000007394000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFFED03000001000000FFFFFFFFED030000000000000080000000000000FFFFFFFFFFFFFFFF0000000091010000700400009501000000000000010000000400000001000000000000000000000000000000000000000000000001000000C6000000FFFFFFFF0F0000008F070000930700009407000095070000960700009007000091070000B5010000B801000038030000B9050000BA050000BB050000BC050000CB0900000180008000000000000000000000AC010000700400002E0200000000000095010000700400001702000000000000404100460F0000001343616C6C20537461636B202B204C6F63616C73000000008F07000001000000FFFFFFFFFFFFFFFF0755415254202331000000009307000001000000FFFFFFFFFFFFFFFF0755415254202332000000009407000001000000FFFFFFFFFFFFFFFF0755415254202333000000009507000001000000FFFFFFFFFFFFFFFF15446562756720287072696E74662920566965776572000000009607000001000000FFFFFFFFFFFFFFFF0757617463682031000000009007000001000000FFFFFFFFFFFFFFFF0757617463682032000000009107000001000000FFFFFFFFFFFFFFFF10547261636520457863657074696F6E7300000000B501000001000000FFFFFFFFFFFFFFFF0E4576656E7420436F756E7465727300000000B801000001000000FFFFFFFFFFFFFFFF09554C494E4B706C7573000000003803000001000000FFFFFFFFFFFFFFFF084D656D6F7279203100000000B905000001000000FFFFFFFFFFFFFFFF084D656D6F7279203200000000BA05000001000000FFFFFFFFFFFFFFFF084D656D6F7279203300000000BB05000001000000FFFFFFFFFFFFFFFF084D656D6F7279203400000000BC05000001000000FFFFFFFFFFFFFFFF105472616365204E617669676174696F6E00000000CB09000001000000FFFFFFFFFFFFFFFFFFFFFFFF0000000001000000000000000000000001000000FFFFFFFF38020000950100003C0200001702000000000000020000000400000000000000000000000000000000000000000000000000000002000000C6000000FFFFFFFF8F07000001000000FFFFFFFF8F07000001000000C6000000000000000080000001000000FFFFFFFFFFFFFFFF00000000030200000006000007020000010000000100001004000000010000006FFDFFFF2300000000000000000000000000000001000000FFFFFFFF06000000C5000000C7000000B4010000D2010000CF0100007794000001800080000001000000000000001E02000000060000250300000000000007020000000600000E0300000000000040820056060000000C4275696C64204F757470757401000000C500000001000000FFFFFFFFFFFFFFFF0D46696E6420496E2046696C657301000000C700000001000000FFFFFFFFFFFFFFFF0A4572726F72204C69737400000000B401000001000000FFFFFFFFFFFFFFFF0E536F757263652042726F7773657200000000D201000001000000FFFFFFFFFFFFFFFF1346696E6420416C6C205265666572656E63657300000000CF01000001000000FFFFFFFFFFFFFFFF0742726F77736572000000007794000001000000FFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000000000000001000000FFFFFFFFC500000001000000FFFFFFFFC5000000000000000000000000000000
+ 000000000B000000000000000020000000000000FFFFFFFFFFFFFFFFC4000000BD00000070040000C1000000000000000100000004000000010000000000000000000000FFFFFFFF06000000CB00000057010000CC000000F08B00005A01000079070000FFFF02000B004354616262656450616E650020000000000000C40000006600000070040000D4000000C40000004F00000070040000BD0000000000000040280046060000000B446973617373656D626C7900000000CB00000001000000FFFFFFFFFFFFFFFF14506572666F726D616E636520416E616C797A6572000000005701000001000000FFFFFFFFFFFFFFFF14506572666F726D616E636520416E616C797A657200000000CC00000001000000FFFFFFFFFFFFFFFF0E4C6F67696320416E616C797A657200000000F08B000001000000FFFFFFFFFFFFFFFF0D436F646520436F766572616765000000005A01000001000000FFFFFFFFFFFFFFFF11496E737472756374696F6E205472616365000000007907000001000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000001000000FFFFFFFFCB00000001000000FFFFFFFFCB000000000000000040000000000000FFFFFFFFFFFFFFFFAC0300004F000000B0030000A5010000000000000200000004000000010000000000000000000000FFFFFFFF2B000000E2050000CA0900002D8C00002E8C00002F8C0000308C0000318C0000328C0000338C0000348C0000358C0000368C0000378C0000388C0000398C00003A8C00003B8C00003C8C00003D8C00003E8C00003F8C0000408C0000418C000050C3000051C3000052C3000053C3000054C3000055C3000056C3000057C3000058C3000059C300005AC300005BC300005CC300005DC300005EC300005FC3000060C3000061C3000062C3000063C3000001800040000000000000B00300006600000070040000BC010000B00300004F00000070040000A501000000000000404100462B0000000753796D626F6C7300000000E205000001000000FFFFFFFFFFFFFFFF0A5472616365204461746100000000CA09000001000000FFFFFFFFFFFFFFFF00000000002D8C000001000000FFFFFFFFFFFFFFFF00000000002E8C000001000000FFFFFFFFFFFFFFFF00000000002F8C000001000000FFFFFFFFFFFFFFFF0000000000308C000001000000FFFFFFFFFFFFFFFF0000000000318C000001000000FFFFFFFFFFFFFFFF0000000000328C000001000000FFFFFFFFFFFFFFFF0000000000338C000001000000FFFFFFFFFFFFFFFF0000000000348C000001000000FFFFFFFFFFFFFFFF0000000000358C000001000000FFFFFFFFFFFFFFFF0000000000368C000001000000FFFFFFFFFFFFFFFF0000000000378C000001000000FFFFFFFFFFFFFFFF0000000000388C000001000000FFFFFFFFFFFFFFFF0000000000398C000001000000FFFFFFFFFFFFFFFF00000000003A8C000001000000FFFFFFFFFFFFFFFF00000000003B8C000001000000FFFFFFFFFFFFFFFF00000000003C8C000001000000FFFFFFFFFFFFFFFF00000000003D8C000001000000FFFFFFFFFFFFFFFF00000000003E8C000001000000FFFFFFFFFFFFFFFF00000000003F8C000001000000FFFFFFFFFFFFFFFF0000000000408C000001000000FFFFFFFFFFFFFFFF0000000000418C000001000000FFFFFFFFFFFFFFFF000000000050C3000001000000FFFFFFFFFFFFFFFF000000000051C3000001000000FFFFFFFFFFFFFFFF000000000052C3000001000000FFFFFFFFFFFFFFFF000000000053C3000001000000FFFFFFFFFFFFFFFF000000000054C3000001000000FFFFFFFFFFFFFFFF000000000055C3000001000000FFFFFFFFFFFFFFFF000000000056C3000001000000FFFFFFFFFFFFFFFF000000000057C3000001000000FFFFFFFFFFFFFFFF000000000058C3000001000000FFFFFFFFFFFFFFFF000000000059C3000001000000FFFFFFFFFFFFFFFF00000000005AC3000001000000FFFFFFFFFFFFFFFF00000000005BC3000001000000FFFFFFFFFFFFFFFF00000000005CC3000001000000FFFFFFFFFFFFFFFF00000000005DC3000001000000FFFFFFFFFFFFFFFF00000000005EC3000001000000FFFFFFFFFFFFFFFF00000000005FC3000001000000FFFFFFFFFFFFFFFF000000000060C3000001000000FFFFFFFFFFFFFFFF000000000061C3000001000000FFFFFFFFFFFFFFFF000000000062C3000001000000FFFFFFFFFFFFFFFF000000000063C3000001000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000001000000FFFFFFFFE205000001000000FFFFFFFFE2050000000000000010000001000000FFFFFFFFFFFFFFFFC00000004F000000C40000001A020000010000000200001004000000010000000000000000000000FFFFFFFF05000000ED0300006D000000C3000000C400000073940000018000100000010000000000000066000000C000000031020000000000004F000000C00000001A0200000000000040410056050000000750726F6A65637401000000ED03000001000000FFFFFFFFFFFFFFFF05426F6F6B73010000006D00000001000000FFFFFFFFFFFFFFFF0946756E6374696F6E7301000000C300000001000000FFFFFFFFFFFFFFFF0954656D706C6174657301000000C400000001000000FFFFFFFFFFFFFFFF09526567697374657273000000007394000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFFED03000001000000FFFFFFFFED030000000000000080000000000000FFFFFFFFFFFFFFFF0000000091010000700400009501000000000000010000000400000001000000000000000000000000000000000000000000000001000000C6000000FFFFFFFF0F0000008F070000930700009407000095070000960700009007000091070000B5010000B801000038030000B9050000BA050000BB050000BC050000CB0900000180008000000000000000000000AC010000700400002E0200000000000095010000700400001702000000000000404100460F0000001343616C6C20537461636B202B204C6F63616C73000000008F07000001000000FFFFFFFFFFFFFFFF0755415254202331000000009307000001000000FFFFFFFFFFFFFFFF0755415254202332000000009407000001000000FFFFFFFFFFFFFFFF0755415254202333000000009507000001000000FFFFFFFFFFFFFFFF15446562756720287072696E74662920566965776572000000009607000001000000FFFFFFFFFFFFFFFF0757617463682031000000009007000001000000FFFFFFFFFFFFFFFF0757617463682032000000009107000001000000FFFFFFFFFFFFFFFF10547261636520457863657074696F6E7300000000B501000001000000FFFFFFFFFFFFFFFF0E4576656E7420436F756E7465727300000000B801000001000000FFFFFFFFFFFFFFFF09554C494E4B706C7573000000003803000001000000FFFFFFFFFFFFFFFF084D656D6F7279203100000000B905000001000000FFFFFFFFFFFFFFFF084D656D6F7279203200000000BA05000001000000FFFFFFFFFFFFFFFF084D656D6F7279203300000000BB05000001000000FFFFFFFFFFFFFFFF084D656D6F7279203400000000BC05000001000000FFFFFFFFFFFFFFFF105472616365204E617669676174696F6E00000000CB09000001000000FFFFFFFFFFFFFFFFFFFFFFFF0000000001000000000000000000000001000000FFFFFFFF38020000950100003C0200001702000000000000020000000400000000000000000000000000000000000000000000000000000002000000C6000000FFFFFFFF8F07000001000000FFFFFFFF8F07000001000000C6000000000000000080000001000000FFFFFFFFFFFFFFFF000000001A020000000600001E0200000100000001000010040000000100000085FDFFFF3900000000000000000000000000000001000000FFFFFFFF06000000C5000000C7000000B4010000D2010000CF010000779400000180008000000100000000000000350200000006000025030000000000001E020000000600000E0300000000000040820056060000000C4275696C64204F757470757401000000C500000001000000FFFFFFFFFFFFFFFF0D46696E6420496E2046696C657301000000C700000001000000FFFFFFFFFFFFFFFF0A4572726F72204C69737400000000B401000001000000FFFFFFFFFFFFFFFF0E536F757263652042726F7773657200000000D201000001000000FFFFFFFFFFFFFFFF1346696E6420416C6C205265666572656E63657300000000CF01000001000000FFFFFFFFFFFFFFFF0742726F77736572000000007794000001000000FFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000000000000001000000FFFFFFFFC500000001000000FFFFFFFFC5000000000000000000000000000000
59392
File
- 2050
- 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE803000000000000000000000000000000000000000000000001000000010000009600000002002050000000000963616E315F696E6974960000000000000003000963616E315F696E69740863616E5F696E6974075F5F43414E5F48000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018022800000020000001500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000000180C8880000000000001700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E4C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002880DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002880DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002880E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002880E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000288018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000028800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002880D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002880E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C65AC030000
+ 2069
+ 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE803000000000000000000000000000000000000000000000001000000010000009600000002002050000000000443414E31960000000000000003000443414E31195F5F48414C5F5243435F43414E325F434C4B5F454E41424C451343414E325F5258305F49525148616E646C6572000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018022800000020000001500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000000180C8880000000000001700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E4C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002880DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002880DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002880E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002880E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000288018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000028800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002880D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002880E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C65AC030000
1423
@@ -3516,9 +3516,27 @@
0
..\..\main\main.c
- 0
- 24
- 32
+ 10
+ 30
+ 46
+ 1
+
+ 0
+
+
+ ..\..\bsp\bsp_iic.c
+ 17
+ 1
+ 8
+ 1
+
+ 0
+
+
+ ..\..\bsp\bsp_iic.h
+ 56
+ 28
+ 44
1
0
diff --git a/prj/MDK-ARM/stm32f4xx_app.uvoptx b/prj/MDK-ARM/stm32f4xx_app.uvoptx
index 82bd3c3..d9b4f22 100644
--- a/prj/MDK-ARM/stm32f4xx_app.uvoptx
+++ b/prj/MDK-ARM/stm32f4xx_app.uvoptx
@@ -572,6 +572,30 @@
0
0
+
+ 8
+ 27
+ 1
+ 0
+ 0
+ 0
+ ..\..\bsp\bsp_iic.c
+ bsp_iic.c
+ 0
+ 0
+
+
+ 8
+ 28
+ 5
+ 0
+ 0
+ 0
+ ..\..\bsp\bsp_iic.h
+ bsp_iic.h
+ 0
+ 0
+
@@ -582,7 +606,7 @@
0
9
- 27
+ 29
1
0
0
@@ -594,7 +618,7 @@
9
- 28
+ 30
1
0
0
@@ -606,7 +630,7 @@
9
- 29
+ 31
1
0
0
@@ -618,7 +642,7 @@
9
- 30
+ 32
1
0
0
@@ -630,7 +654,7 @@
9
- 31
+ 33
1
0
0
@@ -642,7 +666,7 @@
9
- 32
+ 34
1
0
0
@@ -654,7 +678,7 @@
9
- 33
+ 35
1
0
0
@@ -666,7 +690,7 @@
9
- 34
+ 36
1
0
0
@@ -678,7 +702,7 @@
9
- 35
+ 37
1
0
0
@@ -690,7 +714,7 @@
9
- 36
+ 38
1
0
0
@@ -702,7 +726,7 @@
9
- 37
+ 39
1
0
0
@@ -714,7 +738,7 @@
9
- 38
+ 40
1
0
0
@@ -726,7 +750,7 @@
9
- 39
+ 41
1
0
0
@@ -738,7 +762,7 @@
9
- 40
+ 42
1
0
0
@@ -750,7 +774,7 @@
9
- 41
+ 43
1
0
0
@@ -762,7 +786,7 @@
9
- 42
+ 44
1
0
0
@@ -774,7 +798,7 @@
9
- 43
+ 45
1
0
0
@@ -786,7 +810,7 @@
9
- 44
+ 46
1
0
0
@@ -798,7 +822,7 @@
9
- 45
+ 47
1
0
0
@@ -810,7 +834,7 @@
9
- 46
+ 48
1
0
0
@@ -822,7 +846,7 @@
9
- 47
+ 49
1
0
0
@@ -834,7 +858,7 @@
9
- 48
+ 50
1
0
0
@@ -846,7 +870,7 @@
9
- 49
+ 51
1
0
0
@@ -858,7 +882,7 @@
9
- 50
+ 52
1
0
0
@@ -870,7 +894,7 @@
9
- 51
+ 53
1
0
0
@@ -882,7 +906,7 @@
9
- 52
+ 54
1
0
0
@@ -894,7 +918,7 @@
9
- 53
+ 55
1
0
0
@@ -914,7 +938,7 @@
0
10
- 54
+ 56
1
0
0
@@ -926,7 +950,7 @@
10
- 55
+ 57
1
0
0
@@ -938,7 +962,7 @@
10
- 56
+ 58
2
0
0
@@ -958,7 +982,7 @@
0
11
- 57
+ 59
1
0
0
@@ -970,7 +994,7 @@
11
- 58
+ 60
1
0
0
@@ -982,7 +1006,7 @@
11
- 59
+ 61
1
0
0
@@ -994,7 +1018,7 @@
11
- 60
+ 62
1
0
0
@@ -1014,7 +1038,7 @@
0
12
- 61
+ 63
1
0
0
@@ -1026,7 +1050,7 @@
12
- 62
+ 64
1
0
0
@@ -1038,7 +1062,7 @@
12
- 63
+ 65
2
0
0
@@ -1058,7 +1082,7 @@
0
13
- 64
+ 66
1
0
0
@@ -1070,7 +1094,7 @@
13
- 65
+ 67
1
0
0
@@ -1082,7 +1106,7 @@
13
- 66
+ 68
1
0
0
@@ -1094,7 +1118,7 @@
13
- 67
+ 69
1
0
0
@@ -1114,7 +1138,7 @@
0
14
- 68
+ 70
1
0
0
@@ -1126,7 +1150,7 @@
14
- 69
+ 71
1
0
0
@@ -1138,7 +1162,7 @@
14
- 70
+ 72
2
0
0
@@ -1150,7 +1174,7 @@
14
- 71
+ 73
1
0
0
@@ -1162,7 +1186,7 @@
14
- 72
+ 74
1
0
0
@@ -1174,7 +1198,7 @@
14
- 73
+ 75
1
0
0
@@ -1186,7 +1210,7 @@
14
- 74
+ 76
1
0
0
@@ -1198,7 +1222,7 @@
14
- 75
+ 77
1
0
0
@@ -1210,7 +1234,7 @@
14
- 76
+ 78
1
0
0
@@ -1222,7 +1246,7 @@
14
- 77
+ 79
1
0
0
@@ -1234,7 +1258,7 @@
14
- 78
+ 80
1
0
0
@@ -1246,7 +1270,7 @@
14
- 79
+ 81
1
0
0
@@ -1258,7 +1282,7 @@
14
- 80
+ 82
1
0
0
@@ -1270,7 +1294,7 @@
14
- 81
+ 83
1
0
0
@@ -1282,7 +1306,7 @@
14
- 82
+ 84
1
0
0
@@ -1294,7 +1318,7 @@
14
- 83
+ 85
1
0
0
@@ -1306,7 +1330,7 @@
14
- 84
+ 86
1
0
0
@@ -1318,7 +1342,7 @@
14
- 85
+ 87
1
0
0
@@ -1330,7 +1354,7 @@
14
- 86
+ 88
1
0
0
@@ -1350,7 +1374,7 @@
0
15
- 87
+ 89
1
0
0
@@ -1362,7 +1386,7 @@
15
- 88
+ 90
1
0
0
diff --git a/prj/MDK-ARM/stm32f4xx_app.uvprojx b/prj/MDK-ARM/stm32f4xx_app.uvprojx
index f6be890..de374db 100644
--- a/prj/MDK-ARM/stm32f4xx_app.uvprojx
+++ b/prj/MDK-ARM/stm32f4xx_app.uvprojx
@@ -539,6 +539,16 @@
5
..\..\bsp\dsp_can.h
+
+ bsp_iic.c
+ 1
+ ..\..\bsp\bsp_iic.c
+
+
+ bsp_iic.h
+ 5
+ ..\..\bsp\bsp_iic.h
+