活动介绍

#include "stm32f10x.h" #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" // 初始化函数 void GPIO_Init_LED(void) { RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOC, &GPIO_InitStructure); } // 延时函数(使用 SysTick) void Delay_ms(uint32_t nTime) { SysTick_Config(SystemCoreClock / 1000); // 1ms 中断 uint32_t i; for(i = 0; i < nTime; i++) { while(SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk); } SysTick->CTRL &= ~SysTick_CTRL_ENABLE_Msk; // 关闭计数器 } int main(void) { SystemInit(); // 系统初始化 GPIO_Init_LED(); while (1) { // LED1 亮,LED2 灭 GPIO_ResetBits(GPIOC, GPIO_Pin_0); GPIO_SetBits(GPIOC, GPIO_Pin_1); Delay_ms(1000); // LED1 灭,LED2 亮 GPIO_SetBits(GPIOC, GPIO_Pin_0); GPIO_ResetBits(GPIOC, GPIO_Pin_1); Delay_ms(1000); } }

时间: 2025-10-17 10:16:57 AIGC 浏览: 15
### 代码优化思路 原代码框架已具备基本的LED闪烁逻辑,但存在一些可优化之处。可以添加必要的库文件引用,完善GPIO初始化和延时函数,同时提高代码的可读性和可维护性。 ### 优化后的代码示例 ```c #include "stm32f10x.h" // 包含STM32F10x系列的基本头文件 #include "stm32f10x_gpio.h" // 包含GPIO相关的头文件 #include "stm32f10x_rcc.h" // 包含RCC相关的头文件 // 延时函数 void delay_ms(uint32_t ms) { for (uint32_t i = 0; i < ms * 1000; i++); } // 初始化GPIOC的0和1引脚为输出模式 void init_led(void) { GPIO_InitTypeDef GPIO_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); // 使能GPIOC的时钟 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOC, &GPIO_InitStructure); } // 设置LED端口电平 void set_led_state(uint16_t pin, int state) { if (state) { GPIO_SetBits(GPIOC, pin); } else { GPIO_ResetBits(GPIOC, pin); } } int main(void) { // 初始化LED端口 init_led(); // 主循环 while(1) { // 设置GPIOC的0引脚为高电平,点亮LED set_led_state(GPIO_Pin_0, 1); // 设置GPIOC的1引脚为低电平,熄灭LED set_led_state(GPIO_Pin_1, 0); // 延时,保持LED点亮一段时间 delay_ms(1000); // 设置GPIOC的0引脚为低电平,熄灭LED set_led_state(GPIO_Pin_0, 0); // 设置GPIOC的1引脚为高电平,点亮LED set_led_state(GPIO_Pin_1, 1); // 延时,保持LED熄灭一段时间 delay_ms(1000); } return 0; } ``` ### 代码优化点解释 1. **头文件引用**:添加了`stm32f10x.h`、`stm32f10x_gpio.h`和`stm32f10x_rcc.h`头文件,确保使用到的外设和函数有正确的定义[^4]。 2. **延时函数**:实现了一个简单的`delay_ms`函数,用于控制LED亮灭的时间间隔。 3. **GPIO初始化**:使用`GPIO_InitTypeDef`结构体来配置GPIOC的0和1引脚为推挽输出模式,并使能GPIOC的时钟。 4. **电平设置函数**:`set_led_state`函数根据传入的引脚和状态值,使用`GPIO_SetBits`和`GPIO_ResetBits`函数来设置引脚的电平。 ### 问题排查 以下是一些常见的问题及排查方法: 1. **LED不闪烁**: - 检查硬件连接是否正确,确保GPIOC的0和1引脚正确连接到LED。 - 检查代码中GPIO初始化和电平设置是否正确,特别是时钟使能和引脚配置。 2. **闪烁间隔不符合预期**: - 检查`delay_ms`函数的延时时间是否正确,可以调整延时参数进行测试。 - 确保代码中没有其他耗时操作影响了LED的闪烁间隔。
阅读全文

相关推荐

#include "sys.h" #include "stm32f10x_conf.h" #include "delay.h" #include "beep.h" #include "bk_flame.h" int main(void) { beep_Init(); bk_flame_Init(); while(1) { } } #include "stm32f10x.h" #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "beep.h" void beep_Init() { RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOC, ENABLE); //Cmd(RCC_APB2Periph_GPIOC, ENABLE); GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_13; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOC, &GPIO_InitStructure); GPIO_ResetBits(GPIOC, GPIO_Pin_13); } #include "misc.h" #include "stm32f10x.h" #include "stm32f10x_exti.h" #include "stm32f10x_gpio.h" #include "stm32f10x_rcc.h" #include "bk_flame.h" void bk_flame_Init(void) { RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOA, &GPIO_InitStructure); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); GPIO_EXTILineConfig(GPIO_PortSourceGPIOA, GPIO_PinSource1); EXTI_InitTypeDef EXTI_InitStructure; EXTI_InitStructure.EXTI_Line = EXTI_Line1; EXTI_InitStructure.EXTI_LineCmd = ENABLE; EXTI_InitStructure.EXTI_Mode = EXTI_Mode_Interrupt; EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Falling; EXTI_Init(&EXTI_InitStructure); NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); NVIC_InitTypeDef NVIC_InitStructure; NVIC_InitStructure.NVIC_IRQChannel = EXTI1_IRQn; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1 ; NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1 ; NVIC_Init(&NVIC_InitStructure); } void EXTI1_IRQHandler(void) { if(EXTI_GetITStatus(EXTI_Line1)==

Build started: Project: 1 *** Using Compiler 'V6.16', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin' Build target 'Target_1' Device/StdPeriph_Driver/src/stm32f10x_gpio.c(22): error: 'stm32f10x_gpio.h' file not found #include "stm32f10x_gpio.h" ^~~~~~~~~~~~~~~~~~ 1 error generated. compiling stm32f10x_gpio.c... Device/StdPeriph_Driver/src/stm32f10x_rcc.c(22): error: 'stm32f10x_rcc.h' file not found #include "stm32f10x_rcc.h" ^~~~~~~~~~~~~~~~~ 1 error generated. compiling stm32f10x_rcc.c... test1.c(1): warning: In file included from... ../zx/test1.h(4): warning: In file included from... D:/Keil_v5/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include\stm32f10x.h(486): error: 'core_cm3.h' file not found #include "core_cm3.h" ^~~~~~~~~~~~ 1 error generated. compiling test1.c... Device/Source/system_stm32f10x.c(64): warning: In file included from... D:/Keil_v5/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include\stm32f10x.h(486): error: 'core_cm3.h' file not found #include "core_cm3.h" ^~~~~~~~~~~~ 1 error generated. compiling system_stm32f10x.c... key_led.c(2): warning: In file included from... D:/Keil_v5/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include\stm32f10x.h(486): error: 'core_cm3.h' file not found #include "core_cm3.h" ^~~~~~~~~~~~ 1 error generated. compiling key_led.c... Device/StdPeriph_Driver/templates/stm32f10x_it.c(24): warning: In file included from... Device/StdPeriph_Driver/templates/stm32f10x_it.h(30): warning: In file included from... D:/Keil_v5/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include\stm32f10x.h(486): error: 'core_cm3.h' file not found #include "core_cm3.h" ^~~~~~~~~~~~ 1 error generated. compiling stm32f10x_it.c... ".\Objects\1.axf" - 6 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:00

Rebuild target 'LED' assembling startup_stm32f10x_hd.s... compiling core_cm3.c... compiling system_stm32f10x.c... .\main\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" device\system_stm32f10x.c: 0 warnings, 1 error compiling misc.c... drivers\src\misc.c(24): error: #5: cannot open source input file "misc.h": No such file or directory #include "misc.h" drivers\src\misc.c: 0 warnings, 1 error compiling stm32f10x_adc.c... drivers\src\stm32f10x_adc.c(23): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" drivers\src\stm32f10x_adc.c: 0 warnings, 1 error compiling stm32f10x_bkp.c... drivers\src\stm32f10x_bkp.c(23): error: #5: cannot open source input file "stm32f10x_bkp.h": No such file or directory #include "stm32f10x_bkp.h" drivers\src\stm32f10x_bkp.c: 0 warnings, 1 error compiling stm32f10x_can.c... drivers\src\stm32f10x_can.c(23): error: #5: cannot open source input file "stm32f10x_can.h": No such file or directory #include "stm32f10x_can.h" drivers\src\stm32f10x_can.c: 0 warnings, 1 error compiling stm32f10x_cec.c... drivers\src\stm32f10x_cec.c(23): error: #5: cannot open source input file "stm32f10x_cec.h": No such file or directory #include "stm32f10x_cec.h" drivers\src\stm32f10x_cec.c: 0 warnings, 1 error compiling stm32f10x_crc.c... drivers\src\stm32f10x_crc.c(23): error: #5: cannot open source input file "stm32f10x_crc.h": No such file or directory #include "stm32f10x_crc.h" drivers\src\stm32f10x_crc.c: 0 warnings, 1 error compiling stm32f10x_dac.c... drivers\src\stm32f10x_dac.c(23): error: #5: cannot open source input file "stm32f10x_dac.h": No such file or directory #include "stm32f10x_dac.h" drivers\src\stm32f10x_dac.c: 0 warnings, 1 error compiling stm32f10x_dbgmcu.c... drivers\src\stm32f10x_dbgmcu.c(23): error: #5: cannot open source input file "stm32f10x_dbgmcu.h": No such file or directory #include "stm32f10x_dbgmcu.h" drivers\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error compiling stm32f10x_dma.c... drivers\src\stm32f10x_dma.c(23): error: #5: cannot open source input file "stm32f10x_dma.h": No such file or directory #include "stm32f10x_dma.h" drivers\src\stm32f10x_dma.c: 0 warnings, 1 error compiling stm32f10x_exti.c... drivers\src\stm32f10x_exti.c(23): error: #5: cannot open source input file "stm32f10x_exti.h": No such file or directory #include "stm32f10x_exti.h" drivers\src\stm32f10x_exti.c: 0 warnings, 1 error compiling stm32f10x_flash.c... drivers\src\stm32f10x_flash.c(23): error: #5: cannot open source input file "stm32f10x_flash.h": No such file or directory #include "stm32f10x_flash.h" drivers\src\stm32f10x_flash.c: 0 warnings, 1 error compiling stm32f10x_fsmc.c... drivers\src\stm32f10x_fsmc.c(23): error: #5: cannot open source input file "stm32f10x_fsmc.h": No such file or directory #include "stm32f10x_fsmc.h" drivers\src\stm32f10x_fsmc.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... drivers\src\stm32f10x_gpio.c(23): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory #include "stm32f10x_gpio.h" drivers\src\stm32f10x_gpio.c: 0 warnings, 1 error compiling stm32f10x_i2c.c... drivers\src\stm32f10x_i2c.c(23): error: #5: cannot open source input file "stm32f10x_i2c.h": No such file or directory #include "stm32f10x_i2c.h" drivers\src\stm32f10x_i2c.c: 0 warnings, 1 error compiling stm32f10x_iwdg.c... drivers\src\stm32f10x_iwdg.c(23): error: #5: cannot open source input file "stm32f10x_iwdg.h": No such file or directory #include "stm32f10x_iwdg.h" drivers\src\stm32f10x_iwdg.c: 0 warnings, 1 error compiling stm32f10x_pwr.c... drivers\src\stm32f10x_pwr.c(23): error: #5: cannot open source input file "stm32f10x_pwr.h": No such file or directory #include "stm32f10x_pwr.h" drivers\src\stm32f10x_pwr.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... drivers\src\stm32f10x_rcc.c(23): error: #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory #include "stm32f10x_rcc.h" drivers\src\stm32f10x_rcc.c: 0 warnings, 1 error compiling stm32f10x_rtc.c... drivers\src\stm32f10x_rtc.c(23): error: #5: cannot open source input file "stm32f10x_rtc.h": No such file or directory #include "stm32f10x_rtc.h" drivers\src\stm32f10x_rtc.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... drivers\src\stm32f10x_sdio.c(23): error: #5: cannot open source input file "stm32f10x_sdio.h": No such file or directory #include "stm32f10x_sdio.h" drivers\src\stm32f10x_sdio.c: 0 warnings, 1 error compiling stm32f10x_spi.c... drivers\src\stm32f10x_spi.c(23): error: #5: cannot open source input file "stm32f10x_spi.h": No such file or directory #include "stm32f10x_spi.h" drivers\src\stm32f10x_spi.c: 0 warnings, 1 error compiling stm32f10x_tim.c... drivers\src\stm32f10x_tim.c(23): error: #5: cannot open source input file "stm32f10x_tim.h": No such file or directory #include "stm32f10x_tim.h" drivers\src\stm32f10x_tim.c: 0 warnings, 1 error compiling stm32f10x_usart.c... drivers\src\stm32f10x_usart.c(23): error: #5: cannot open source input file "stm32f10x_usart.h": No such file or directory #include "stm32f10x_usart.h" drivers\src\stm32f10x_usart.c: 0 warnings, 1 error compiling stm32f10x_wwdg.c... drivers\src\stm32f10x_wwdg.c(23): error: #5: cannot open source input file "stm32f10x_wwdg.h": No such file or directory #include "stm32f10x_wwdg.h" drivers\src\stm32f10x_wwdg.c: 0 warnings, 1 error compiling main.c... .\main\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" main\main.c: 0 warnings, 1 error compiling stm32f10x_it.c... .\main\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" main\stm32f10x_it.c: 0 warnings, 1 error ".\Objects\LED.axf" - 26 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'E:\STM32\ARM\ARMCC\Bin' Rebuild target 'Target 1' assembling startup_stm32f10x_md.s... compiling misc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\misc.c: 0 warnings, 1 error compiling stm32f10x_adc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_adc.c: 0 warnings, 1 error compiling stm32f10x_bkp.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_bkp.c: 0 warnings, 1 error compiling core_cm3.c... compiling stm32f10x_cec.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_cec.c: 0 warnings, 1 error compiling stm32f10x_dac.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dac.c: 0 warnings, 1 error compiling stm32f10x_crc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_crc.c: 0 warnings, 1 error compiling stm32f10x_can.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_can.c: 0 warnings, 1 error compiling stm32f10x_flash.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_flash.c: 0 warnings, 1 error compiling stm32f10x_dbgmcu.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dbgmcu.c: 0 warnings, 1 error compiling stm32f10x_fsmc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_fsmc.c: 0 warnings, 1 error compiling stm32f10x_dma.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dma.c: 0 warnings, 1 error compiling system_stm32f10x.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Start\system_stm32f10x.c: 0 warnings, 1 error compiling stm32f10x_exti.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_exti.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_gpio.c: 0 warnings, 1 error compiling stm32f10x_i2c.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_i2c.c: 0 warnings, 1 error compiling stm32f10x_pwr.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_pwr.c: 0 warnings, 1 error compiling stm32f10x_iwdg.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_iwdg.c: 0 warnings, 1 error compiling stm32f10x_rtc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_rtc.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_rcc.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_sdio.c: 0 warnings, 1 error compiling stm32f10x_spi.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_spi.c: 0 warnings, 1 error compiling stm32f10x_tim.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_tim.c: 0 warnings, 1 error compiling pwm.c... pwm\pwm.c(1): error: #5: cannot open source input file "pwm.h": No such file or directory #include "pwm.h" pwm\pwm.c: 0 warnings, 1 error compiling stm32f10x_usart.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_usart.c: 0 warnings, 1 error compiling stm32f10x_wwdg.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_wwdg.c: 0 warnings, 1 error compiling MyRTC.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\12-2 实时时钟\System\MyRTC.c: 0 warnings, 1 error compiling Delay.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\12-2 实时时钟\System\Delay.c: 0 warnings, 1 error compiling gesture.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" gesture\gesture.c: 0 warnings, 1 error compiling lcd.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" lcd\lcd.c: 0 warnings, 1 error compiling main.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" User\main.c: 0 warnings, 1 error compiling stm32f10x_it.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" User\stm32f10x_it.c: 0 warnings, 1 error ".\2-1工程模板.axf" - 31 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'E:\STM32\ARM\ARMCC\Bin' Build target 'Target 1' compiling system_stm32f10x.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Start\system_stm32f10x.c: 0 warnings, 1 error compiling misc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\misc.c: 0 warnings, 1 error compiling core_cm3.c... compiling stm32f10x_can.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_can.c: 0 warnings, 1 error compiling stm32f10x_adc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_adc.c: 0 warnings, 1 error compiling stm32f10x_bkp.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_bkp.c: 0 warnings, 1 error compiling stm32f10x_dbgmcu.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dbgmcu.c: 0 warnings, 1 error compiling stm32f10x_flash.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_flash.c: 0 warnings, 1 error compiling stm32f10x_dac.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dac.c: 0 warnings, 1 error compiling stm32f10x_cec.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_cec.c: 0 warnings, 1 error compiling stm32f10x_dma.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dma.c: 0 warnings, 1 error compiling stm32f10x_exti.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_exti.c: 0 warnings, 1 error compiling stm32f10x_fsmc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_fsmc.c: 0 warnings, 1 error compiling stm32f10x_crc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_crc.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_gpio.c: 0 warnings, 1 error compiling stm32f10x_i2c.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_i2c.c: 0 warnings, 1 error compiling stm32f10x_pwr.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_pwr.c: 0 warnings, 1 error compiling stm32f10x_iwdg.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_iwdg.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_rcc.c: 0 warnings, 1 error compiling stm32f10x_rtc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_rtc.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_sdio.c: 0 warnings, 1 error compiling stm32f10x_spi.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_spi.c: 0 warnings, 1 error compiling stm32f10x_tim.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_tim.c: 0 warnings, 1 error compiling stm32f10x_usart.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_usart.c: 0 warnings, 1 error compiling stm32f10x_wwdg.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_wwdg.c: 0 warnings, 1 error compiling Delay.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\12-2 实时时钟\System\Delay.c: 0 warnings, 1 error compiling MyRTC.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\12-2 实时时钟\System\MyRTC.c: 0 warnings, 1 error compiling pwm.c... pwm\pwm.c(1): error: #5: cannot open source input file "pwm.h": No such file or directory #include "pwm.h" pwm\pwm.c: 0 warnings, 1 error compiling gesture.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" gesture\gesture.c: 0 warnings, 1 error compiling main.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" User\main.c: 0 warnings, 1 error compiling stm32f10x_it.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" User\stm32f10x_it.c: 0 warnings, 1 error ".\2-1工程模板.axf" - 30 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'E:\STM32\ARM\ARMCC\Bin' Rebuild target 'Target 1' assembling startup_stm32f10x_md.s... compiling stm32f10x_crc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_crc.c: 0 warnings, 1 error compiling stm32f10x_dma.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dma.c: 0 warnings, 1 error compiling stm32f10x_exti.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_exti.c: 0 warnings, 1 error compiling stm32f10x_can.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_can.c: 0 warnings, 1 error compiling stm32f10x_adc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_adc.c: 0 warnings, 1 error compiling stm32f10x_flash.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_flash.c: 0 warnings, 1 error compiling stm32f10x_bkp.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_bkp.c: 0 warnings, 1 error compiling stm32f10x_dbgmcu.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dbgmcu.c: 0 warnings, 1 error compiling misc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\misc.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_gpio.c: 0 warnings, 1 error compiling stm32f10x_dac.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_dac.c: 0 warnings, 1 error compiling stm32f10x_cec.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_cec.c: 0 warnings, 1 error compiling stm32f10x_fsmc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_fsmc.c: 0 warnings, 1 error compiling stm32f10x_i2c.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_i2c.c: 0 warnings, 1 error compiling stm32f10x_iwdg.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_iwdg.c: 0 warnings, 1 error compiling system_stm32f10x.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Start\system_stm32f10x.c: 0 warnings, 1 error compiling stm32f10x_pwr.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_pwr.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_rcc.c: 0 warnings, 1 error compiling stm32f10x_rtc.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_rtc.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_sdio.c: 0 warnings, 1 error compiling stm32f10x_spi.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_spi.c: 0 warnings, 1 error compiling stm32f10x_tim.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_tim.c: 0 warnings, 1 error compiling stm32f10x_usart.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_usart.c: 0 warnings, 1 error compiling stm32f10x_wwdg.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" Library\stm32f10x_wwdg.c: 0 warnings, 1 error compiling Delay.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\12-2 实时时钟\System\Delay.c: 0 warnings, 1 error compiling MyRTC.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\12-2 实时时钟\System\MyRTC.c: 0 warnings, 1 error compiling pwm.c... pwm\pwm.c(1): error: #5: cannot open source input file "pwm.h": No such file or directory #include "pwm.h" pwm\pwm.c: 0 warnings, 1 error compiling gesture.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" gesture\gesture.c: 0 warnings, 1 error compiling main.c... User\main.c(2): error: #5: cannot open source input file "gesture.c/gesture.h": No such file or directory #include "gesture.c/gesture.h" User\main.c: 0 warnings, 1 error compiling lcd.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" lcd\lcd.c: 0 warnings, 1 error compiling stm32f10x_it.c... .\User\stm32f10x_conf.h(28): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" User\stm32f10x_it.c: 0 warnings, 1 error compiling core_cm3.c... ".\2-1工程模板.axf" - 31 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02

Rebuild started: Project: STM32_Proj *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'STM32F103ZE' compiling stm32f10x_adc.c... ..\Libraries\FWlib\src\stm32f10x_adc.c(23): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory #include "stm32f10x_adc.h" ..\Libraries\FWlib\src\stm32f10x_adc.c: 0 warnings, 1 error compiling stm32f10x_cec.c... ..\Libraries\FWlib\src\stm32f10x_cec.c(23): error: #5: cannot open source input file "stm32f10x_cec.h": No such file or directory #include "stm32f10x_cec.h" ..\Libraries\FWlib\src\stm32f10x_cec.c: 0 warnings, 1 error compiling stm32f10x_can.c... ..\Libraries\FWlib\src\stm32f10x_can.c(23): error: #5: cannot open source input file "stm32f10x_can.h": No such file or directory #include "stm32f10x_can.h" ..\Libraries\FWlib\src\stm32f10x_can.c: 0 warnings, 1 error compiling stm32f10x_crc.c... ..\Libraries\FWlib\src\stm32f10x_crc.c(23): error: #5: cannot open source input file "stm32f10x_crc.h": No such file or directory #include "stm32f10x_crc.h" ..\Libraries\FWlib\src\stm32f10x_crc.c: 0 warnings, 1 error compiling stm32f10x_exti.c... ..\Libraries\FWlib\src\stm32f10x_exti.c(23): error: #5: cannot open source input file "stm32f10x_exti.h": No such file or directory #include "stm32f10x_exti.h" ..\Libraries\FWlib\src\stm32f10x_exti.c: 0 warnings, 1 error compiling stm32f10x_flash.c... ..\Libraries\FWlib\src\stm32f10x_flash.c(23): error: #5: cannot open source input file "stm32f10x_flash.h": No such file or directory #include "stm32f10x_flash.h" ..\Libraries\FWlib\src\stm32f10x_flash.c: 0 warnings, 1 error compiling stm32f10x_dac.c... ..\Libraries\FWlib\src\stm32f10x_dac.c(23): error: #5: cannot open source input file "stm32f10x_dac.h": No such file or directory #include "stm32f10x_dac.h" ..\Libraries\FWlib\src\stm32f10x_dac.c: 0 warnings, 1 error compiling misc.c... ..\Libraries\FWlib\src\misc.c(24): error: #5: cannot open source input file "misc.h": No such file or directory #include "misc.h" ..\Libraries\FWlib\src\misc.c: 0 warnings, 1 error compiling stm32f10x_dma.c... ..\Libraries\FWlib\src\stm32f10x_dma.c(23): error: #5: cannot open source input file "stm32f10x_dma.h": No such file or directory #include "stm32f10x_dma.h" ..\Libraries\FWlib\src\stm32f10x_dma.c: 0 warnings, 1 error compiling stm32f10x_bkp.c... ..\Libraries\FWlib\src\stm32f10x_bkp.c(23): error: #5: cannot open source input file "stm32f10x_bkp.h": No such file or directory #include "stm32f10x_bkp.h" ..\Libraries\FWlib\src\stm32f10x_bkp.c: 0 warnings, 1 error compiling system_stm32f10x.c... compiling stm32f10x_i2c.c... ..\Libraries\FWlib\src\stm32f10x_i2c.c(23): error: #5: cannot open source input file "stm32f10x_i2c.h": No such file or directory #include "stm32f10x_i2c.h" ..\Libraries\FWlib\src\stm32f10x_i2c.c: 0 warnings, 1 error compiling stm32f10x_iwdg.c... ..\Libraries\FWlib\src\stm32f10x_iwdg.c(23): error: #5: cannot open source input file "stm32f10x_iwdg.h": No such file or directory #include "stm32f10x_iwdg.h" ..\Libraries\FWlib\src\stm32f10x_iwdg.c: 0 warnings, 1 error compiling stm32f10x_pwr.c... ..\Libraries\FWlib\src\stm32f10x_pwr.c(23): error: #5: cannot open source input file "stm32f10x_pwr.h": No such file or directory #include "stm32f10x_pwr.h" ..\Libraries\FWlib\src\stm32f10x_pwr.c: 0 warnings, 1 error compiling stm32f10x_fsmc.c... ..\Libraries\FWlib\src\stm32f10x_fsmc.c(23): error: #5: cannot open source input file "stm32f10x_fsmc.h": No such file or directory #include "stm32f10x_fsmc.h" ..\Libraries\FWlib\src\stm32f10x_fsmc.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... ..\Libraries\FWlib\src\stm32f10x_gpio.c(23): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory #include "stm32f10x_gpio.h" ..\Libraries\FWlib\src\stm32f10x_gpio.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... ..\Libraries\FWlib\src\stm32f10x_rcc.c(23): error: #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory #include "stm32f10x_rcc.h" ..\Libraries\FWlib\src\stm32f10x_rcc.c: 0 warnings, 1 error compiling stm32f10x_dbgmcu.c... ..\Libraries\FWlib\src\stm32f10x_dbgmcu.c(23): error: #5: cannot open source input file "stm32f10x_dbgmcu.h": No such file or directory #include "stm32f10x_dbgmcu.h" ..\Libraries\FWlib\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error assembling startup_stm32f10x_hd.s... compiling stm32f10x_rtc.c... ..\Libraries\FWlib\src\stm32f10x_rtc.c(23): error: #5: cannot open source input file "stm32f10x_rtc.h": No such file or directory #include "stm32f10x_rtc.h" ..\Libraries\FWlib\src\stm32f10x_rtc.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... ..\Libraries\FWlib\src\stm32f10x_sdio.c(23): error: #5: cannot open source input file "stm32f10x_sdio.h": No such file or directory #include "stm32f10x_sdio.h" ..\Libraries\FWlib\src\stm32f10x_sdio.c: 0 warnings, 1 error compiling stm32f10x_spi.c... ..\Libraries\FWlib\src\stm32f10x_spi.c(23): error: #5: cannot open source input file "stm32f10x_spi.h": No such file or directory #include "stm32f10x_spi.h" ..\Libraries\FWlib\src\stm32f10x_spi.c: 0 warnings, 1 error compiling stm32f10x_tim.c... ..\Libraries\FWlib\src\stm32f10x_tim.c(23): error: #5: cannot open source input file "stm32f10x_tim.h": No such file or directory #include "stm32f10x_tim.h" ..\Libraries\FWlib\src\stm32f10x_tim.c: 0 warnings, 1 error compiling stm32f10x_usart.c... ..\Libraries\FWlib\src\stm32f10x_usart.c(23): error: #5: cannot open source input file "stm32f10x_usart.h": No such file or directory #include "stm32f10x_usart.h" ..\Libraries\FWlib\src\stm32f10x_usart.c: 0 warnings, 1 error compiling stm32f10x_wwdg.c... ..\Libraries\FWlib\src\stm32f10x_wwdg.c(23): error: #5: cannot open source input file "stm32f10x_wwdg.h": No such file or directory #include "stm32f10x_wwdg.h" ..\Libraries\FWlib\src\stm32f10x_wwdg.c: 0 warnings, 1 error compiling main.c... D:\Keil_v5\ARM\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(486): error: #5: cannot open source input file "core_cm3.h": No such file or directory #include "core_cm3.h" ..\Source\Main\main.c: 0 warnings, 1 error compiling stm32f10x_it.c... D:\Keil_v5\ARM\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(486): error: #5: cannot open source input file "core_cm3.h": No such file or directory #include "core_cm3.h" ..\Source\Main\stm32f10x_it.c: 0 warnings, 1 error compiling core_cm3.c... ".\Objects\STM32_Proj.axf" - 25 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:05

Build started: Project: BC26-Smoker *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\迅雷下载\keil ruanj\ARM\ARMCC\Bin' Build target 'Target 1' compiling stm32f1xx_hal_rcc.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_rcc.c: 0 warnings, 1 error compiling stm32f1xx_hal_adc.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_adc.c: 0 warnings, 1 error compiling stm32f1xx_hal_flash.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_flash.c: 0 warnings, 1 error compiling stm32f1xx_hal_dma.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_dma.c: 0 warnings, 1 error compiling stm32f1xx_hal_gpio.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_gpio.c: 0 warnings, 1 error compiling stm32f1xx_hal_pwr.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_pwr.c: 0 warnings, 1 error compiling stm32f1xx_hal_adc_ex.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_adc_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal_tim.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_tim.c: 0 warnings, 1 error compiling stm32f1xx_hal_cortex.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_cortex.c: 0 warnings, 1 error compiling stm32f1xx_hal_rcc_ex.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_rcc_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal_flash_ex.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_flash_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal_gpio_ex.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_gpio_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal_exti.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_exti.c: 0 warnings, 1 error compiling stm32f1xx_hal.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal.c: 0 warnings, 1 error compiling stm32f1xx_hal_tim_ex.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_tim_ex.c: 0 warnings, 1 error compiling misc.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\misc.c: 1 warning, 1 error compiling stm32f1xx_hal_uart.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\libarary\src\stm32f1xx_hal_uart.c: 0 warnings, 1 error compiling stm32f10x_adc.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_adc.c: 1 warning, 1 error compiling stm32f10x_bkp.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_bkp.c: 1 warning, 1 error compiling stm32f10x_can.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_can.c: 1 warning, 1 error compiling stm32f10x_cec.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_cec.c: 1 warning, 1 error compiling stm32f10x_crc.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_crc.c: 1 warning, 1 error compiling stm32f10x_dac.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_dac.c: 1 warning, 1 error compiling stm32f10x_dbgmcu.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_dbgmcu.c: 1 warning, 1 error compiling stm32f10x_exti.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_exti.c: 1 warning, 1 error compiling stm32f10x_dma.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_dma.c: 1 warning, 1 error compiling stm32f10x_flash.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_flash.c: 1 warning, 1 error compiling stm32f10x_fsmc.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_fsmc.c: 1 warning, 1 error compiling stm32f10x_gpio.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_gpio.c: 1 warning, 1 error compiling stm32f10x_i2c.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_i2c.c: 1 warning, 1 error compiling stm32f10x_iwdg.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_iwdg.c: 1 warning, 1 error compiling stm32f10x_pwr.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_pwr.c: 1 warning, 1 error compiling stm32f10x_rcc.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_rcc.c: 1 warning, 1 error compiling stm32f10x_rtc.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_rtc.c: 1 warning, 1 error compiling stm32f10x_sdio.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_sdio.c: 1 warning, 1 error compiling stm32f10x_spi.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_spi.c: 1 warning, 1 error compiling gpio.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\system\gpio\gpio.c: 0 warnings, 1 error compiling stm32f10x_tim.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_tim.c: 1 warning, 1 error compiling stm32f10x_wwdg.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_wwdg.c: 1 warning, 1 error compiling stm32f10x_usart.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\src\stm32f10x_usart.c: 1 warning, 1 error compiling system.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\system\sys\system.c: 0 warnings, 1 error compiling tim.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\system\timer\tim.c: 0 warnings, 1 error compiling delay1.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\system\delay\delay1.c: 1 warning, 1 error compiling sys.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\system\sys\sys.c: 1 warning, 1 error compiling usart.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ..\system\usart\usart.c: 0 warnings, 1 error compiling adc.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" adc\adc.c: 0 warnings, 1 error compiling timer.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\system\timer\timer.c(2): error: #5: cannot open source input file "led.h": No such file or directory #include "led.h" ..\system\timer\timer.c: 1 warning, 2 errors compiling BC26.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" bc26\BC26.c: 0 warnings, 1 error compiling ds18b20.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" ds18b20\ds18b20.c: 0 warnings, 1 error compiling lcd1602.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" lcd1602\lcd1602.c: 0 warnings, 1 error compiling system_stm32f10x.c... stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; system_stm32f10x.c: 1 warning, 1 error compiling usart1.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\system\usart\usart1.c(20): warning: #260-D: explicit type is missing ("int" assumed) _sys_exit(int x) ..\system\usart\usart1.c: 2 warnings, 1 error compiling wdg.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; wdg\wdg.c: 1 warning, 1 error compiling main.c... ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" main.c: 0 warnings, 1 error assembling startup_stm32f10x_hd.s... compiling adc1.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; adc\adc1.c: 1 warning, 1 error compiling stm32f10x_it.c... stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; stm32f10x_it.c: 1 warning, 1 error compiling core_cm3.c... compiling main1.c... ..\user\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\user\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\libarary\inc\stm32f1xx_hal.h(29): error: #5: cannot open source input file "stm32f1xx_hal_conf.h": No such file or directory #include "stm32f1xx_hal_conf.h" main1.c: 1 warning, 2 errors ".\Objects\BC26-Smoker.axf" - 59 Error(s), 33 Warning(s). Target not created. Build Time Elapsed: 00:00:02

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'E:\STM32\ARM\ARMCC\Bin' Rebuild target 'Target 1' assembling startup_stm32f10x_md.s... compiling core_cm3.c... compiling stm32f10x_can.c... compiling misc.c... compiling stm32f10x_adc.c... compiling stm32f10x_dac.c... compiling stm32f10x_dbgmcu.c... compiling stm32f10x_exti.c... compiling stm32f10x_crc.c... compiling stm32f10x_bkp.c... compiling stm32f10x_cec.c... compiling stm32f10x_dma.c... compiling system_stm32f10x.c... compiling stm32f10x_gpio.c... compiling stm32f10x_flash.c... compiling stm32f10x_fsmc.c... compiling stm32f10x_i2c.c... compiling stm32f10x_iwdg.c... compiling stm32f10x_pwr.c... compiling stm32f10x_rtc.c... compiling pwm.c... pwm\pwm.c(1): error: #5: cannot open source input file "pwm.h": No such file or directory #include "pwm.h" pwm\pwm.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... compiling stm32f10x_sdio.c... compiling stm32f10x_spi.c... compiling stm32f10x_wwdg.c... compiling gesture.c... gesture\gesture.c(3): error: #5: cannot open source input file "lcd/lcd.h": No such file or directory #include "lcd/lcd.h" // 娣诲姞杩欎竴琛岋紝鐢ㄤ簬 LCD_DisplayStringLine gesture\gesture.c: 0 warnings, 1 error compiling stm32f10x_usart.c... compiling Delay.c... compiling MyRTC.c... compiling main.c... User\main.c(2): error: #5: cannot open source input file "Hardware/gesture.h": No such file or directory #include "Hardware/gesture.h" User\main.c: 0 warnings, 1 error compiling lcd.c... compiling stm32f10x_tim.c... compiling stm32f10x_it.c... ".\2-1工程模板.axf" - 3 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02

Build started: Project: Fire_Alarm *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\迅雷下载\keil ruanj\ARM\ARMCC\Bin' Build target 'Target 1' compiling stm32f1xx_it.c... .\Library\inc\main.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" Library\src\stm32f1xx_it.c: 0 warnings, 1 error compiling core_cm3.c... compiling stm32f1xx_hal_msp.c... .\Library\inc\main.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" Library\src\stm32f1xx_hal_msp.c: 0 warnings, 1 error compiling misc.c... compiling system_stm32f10x.c... compiling stm32f10x_dac.c... compiling stm32f10x_adc.c... compiling stm32f10x_cec.c... compiling stm32f10x_crc.c... compiling stm32f10x_dbgmcu.c... compiling stm32f10x_bkp.c... compiling stm32f10x_exti.c... compiling stm32f10x_dma.c... compiling stm32f10x_can.c... compiling stm32f10x_flash.c... compiling stm32f10x_fsmc.c... compiling stm32f10x_gpio.c... compiling stm32f10x_i2c.c... compiling stm32f10x_iwdg.c... compiling system_stm32f1xx.c... Library\src\system_stm32f1xx.c(77): error: #5: cannot open source input file "stm32f1xx.h": No such file or directory #include "stm32f1xx.h" Library\src\system_stm32f1xx.c: 0 warnings, 1 error assembling startup_stm32f10x_md.s... compiling stm32f10x_pwr.c... compiling adc.c... .\Library\inc\adc.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" User\adc.c: 0 warnings, 1 error compiling stm32f10x_rtc.c... compiling i2c.c... .\Library\inc\i2c.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" User\i2c.c: 0 warnings, 1 error compiling ds18b20.c... .\Library\inc\ds18b20.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" User\ds18b20.c: 0 warnings, 1 error compiling lcd1602.c... .\Library\inc\lcd1602.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" User\lcd1602.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... compiling stm32f10x_spi.c... compiling stm32f10x_rcc.c... compiling main.c... .\Library\inc\main.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" User\main.c: 0 warnings, 1 error compiling stm32f10x_usart.c... compiling stm32f10x_wwdg.c... compiling nb_iot.c... .\Library\inc\nb_iot.h(4): error: #5: cannot open source input file "stm32f10x_hal.h": No such file or directory #include "stm32f10x_hal.h" User\nb_iot.c: 0 warnings, 1 error compiling stm32f10x_tim.c... compiling stm32f10x_it.c... ".\Objects\Fire_Alarm.axf" - 9 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02

Build started: Project: BC26-Smoker *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\迅雷下载\keil ruanj\ARM\ARMCC\Bin' Build target 'Target 1' compiling stm32f1xx_hal_gpio.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_gpio.c: 0 warnings, 1 error compiling stm32f1xx_hal_adc.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_adc.c: 0 warnings, 1 error compiling stm32f1xx_hal_pwr.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_pwr.c: 0 warnings, 1 error compiling stm32f1xx_hal_tim.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_tim.c: 0 warnings, 1 error compiling stm32f1xx_hal_exti.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_exti.c: 0 warnings, 1 error compiling stm32f1xx_hal_flash.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_flash.c: 0 warnings, 1 error compiling stm32f1xx_hal_dma.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_dma.c: 0 warnings, 1 error compiling stm32f1xx_hal_rcc.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_rcc.c: 0 warnings, 1 error compiling stm32f1xx_hal_adc_ex.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_adc_ex.c: 0 warnings, 1 error compiling misc.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\misc.c: 0 warnings, 1 error compiling stm32f1xx_hal_rcc_ex.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_rcc_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal_gpio_ex.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_gpio_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal_cortex.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_cortex.c: 0 warnings, 1 error compiling stm32f1xx_hal_flash_ex.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_flash_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal.c: 0 warnings, 1 error compiling stm32f1xx_hal_tim_ex.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_tim_ex.c: 0 warnings, 1 error compiling stm32f1xx_hal_uart.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\libarary\src\stm32f1xx_hal_uart.c: 0 warnings, 1 error compiling stm32f10x_adc.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_adc.c: 0 warnings, 1 error compiling stm32f10x_bkp.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_bkp.c: 0 warnings, 1 error compiling stm32f10x_can.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_can.c: 0 warnings, 1 error compiling stm32f10x_cec.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_cec.c: 0 warnings, 1 error compiling stm32f10x_crc.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_crc.c: 0 warnings, 1 error compiling stm32f10x_dac.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_dac.c: 0 warnings, 1 error compiling stm32f10x_dbgmcu.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error compiling stm32f10x_dma.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_dma.c: 0 warnings, 1 error compiling stm32f10x_exti.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_exti.c: 0 warnings, 1 error compiling stm32f10x_flash.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_flash.c: 0 warnings, 1 error compiling stm32f10x_fsmc.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_fsmc.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_gpio.c: 0 warnings, 1 error compiling stm32f10x_i2c.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_i2c.c: 0 warnings, 1 error compiling stm32f10x_iwdg.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_iwdg.c: 0 warnings, 1 error compiling stm32f10x_pwr.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_pwr.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_rcc.c: 0 warnings, 1 error compiling stm32f10x_rtc.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_rtc.c: 0 warnings, 1 error compiling stm32f10x_sdio.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_sdio.c: 0 warnings, 1 error compiling gpio.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\system\gpio\gpio.c: 0 warnings, 1 error compiling stm32f10x_spi.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_spi.c: 0 warnings, 1 error compiling stm32f10x_tim.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_tim.c: 0 warnings, 1 error compiling tim.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\system\timer\tim.c: 0 warnings, 1 error compiling stm32f10x_usart.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_usart.c: 0 warnings, 1 error compiling usart.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\system\usart\usart.c: 0 warnings, 1 error compiling stm32f10x_wwdg.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\libarary\src\stm32f10x_wwdg.c: 0 warnings, 1 error compiling system_stm32f1xx.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ..\system\system_stm32f1xx.c: 0 warnings, 1 error compiling adc.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" adc\adc.c: 0 warnings, 1 error compiling BC26.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" bc26\BC26.c: 0 warnings, 1 error compiling ds18b20.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" ds18b20\ds18b20.c: 0 warnings, 1 error compiling delay.c... C:\Users\34317\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(8347): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" ..\system\delay\delay.c: 0 warnings, 1 error compiling lcd1602.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" lcd1602\lcd1602.c: 0 warnings, 1 error compiling main.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" main\main.c: 0 warnings, 1 error compiling stm32f1xx_hal_msp.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" main\stm32f1xx_hal_msp.c: 0 warnings, 1 error compiling stm32f1xx_it.c... ..\libarary\inc\stm32f1xx.h(140): error: #35: #error directive: "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" #error "Please select first the target STM32F1xx device used in your application (in stm32f1xx.h file)" main\stm32f1xx_it.c: 0 warnings, 1 error ".\Objects\BC26-Smoker.axf" - 51 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:02

Build started: Project: deepone *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Program Files\MDK\Core\ARM\ARMCC\Bin' Build target 'Target 1' compiling main.c... D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(8302): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" main.c: 0 warnings, 1 error compiling misc.c... D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(8302): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\StdPeriph_Driver\src\misc.c: 0 warnings, 1 error compiling stm32f10x_gpio.c... D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(8302): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\StdPeriph_Driver\src\stm32f10x_gpio.c: 0 warnings, 1 error compiling GPIO_STM32F10x.c... D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(8302): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\RTE_Driver\GPIO_STM32F10x.c: 0 warnings, 1 error compiling stm32f10x_rcc.c... D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h(8302): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory #include "stm32f10x_conf.h" D:\Program Files\MDK\Pack\Keil\STM32F1xx_DFP\2.3.0\Device\StdPeriph_Driver\src\stm32f10x_rcc.c: 0 warnings, 1 error ".\Objects\deepone.axf" - 5 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01

大家在看

recommend-type

vrml浏览器

vrml 浏览器 显示vrml文件 源代码,很好的工具
recommend-type

PBKiller反编译软件

pb反编译软件 可反编译pbd 导出 再导入到pbl
recommend-type

易语言WORD替换.rar

易语言WORD替换.rar
recommend-type

组态王月报表例程

组态王6.55月报表制作例程,其中包括制作注解。
recommend-type

不同序列对脂核显示-ns-3网络模拟器基础与应用

1.1研究对象 收集解放军总医院MRI中心2009年1月~2009 年9月35例行颈动脉MRI平扫及增强扫描检查患 者.其中男性27例,女性8例。年龄30~83岁,平均65 岁。所有患者均签知情同意书。斑块纳入标准:(1) 同时行平扫及增强扫描;(2)斑块厚度>3 mm;(3)图 像评级>2级。 1.2扫描设备及参数 使用3.0T超导型MR扫描仪(GE Signa Excite, GE Medical System,USA),梯度场40 mT/m,梯度切 换率150mT·m~·s一,使用4通道颈动脉相控阵表 面线圈。扫描序列包括:轴位3D TOF扫描(TR/ TE:29/2.1 ms),FOV 14 cm,层厚/间距为2 mm/ 0 mm,矩阵256x256,采集次数1;横轴位四翻转 恢复快速自旋回波(QIR—FSE)T,w序列(TR/TI/ TE:800/600/7.3 ms)和横轴位双回波PDW和 T2w(T刚TE:3000/13.1 ms;3000/60 ms),FOV为 14 cm,层厚/间距为2 mm/0 mm,矩阵为384× 256,采集次数2。在注射造影剂马根维显(0.1 mmol/kg)后约5 min,进行横轴位网翻转恢复快 速自旋回波(QIR.FSE)T。W(T刚Tl/TE:800/520/ 9.3 ms)序列扫描,FOV为14 cm,层厚/间距为2 mm/0 mln,矩阵为384x256,采集次数2。 1.3图像分析 2结果 35例患者共发现74个斑块,其中6个斑块因厚 度小于3 mm而排除,因此,共有68个斑块纳入分 析。各序列显示斑块成分结果见表2。敏感性、特异 性及1c值见表3。 表1 MRI辨别斑块成分标准 Tab.1 Diagnostic standard of plaque composition by TOE T】w T2W,PDW,and CE—T】W 信号高低均以邻近胸锁乳突肌为标准 表2 MRI不同序列对斑块成分显示结果 Tab.2 Plaque composition identified by TOE T1Wj T2Wj PDW,and CE—T,W 图像分级按照Yuan等p,的分级标准分为5级,即 l级:低信噪比限制了图像的使用,不能分辨动脉管 壁及m管边缘;2级:信噪比较差,动脉管壁町见,但 血管结构一管腔及外缘不清楚;3级:信噪比较差,血管 结构可见,但管腔及外缘局部不清晰;4级:高信噪比 且伪影极少,m管管壁、管腔及动脉外膜能很好显 示;5级:高信噪比没自.伪影,能够瞳示管壁细节,管 腔及动脉外膜清晰显示。MRI对斑块成分脂核、出 血、钙化的诊断标准见表1。南两名放射医师共同对 不同序列的所有图像进行分析,分别统计不同序列 对脂核、出血、钙化的阳性率,如认为存在则记为阳 性,否者记为阴性。然后南另一名放射医师观察所 有5序列图像,统计斑块内脂核、出血及钙化的阳性 率,并以此作为标准。 1.4统计学处理 分别统计各个序列对3种成分的敏感性及特异 性,计箅K值,评价各序列与标准的5序#tJx4各种成分 显示的一致性,K值在0.4~0.75间认为中度一致,而K 括号内数字为各序列真阴性病例数,前方数字为 各序列硅示真阳性病例数 3讨论 组织病理学研究提示不稳定斑块常具有一个较 大脂质坏死核心或斑块内出血睁”,有文献将表面钙 化结节作为判断脆弱斑块的一个独立的次要标准, 因为表面钙化结节突向管腔可能使纤维帽破裂Is,。 徐等一1研究认为表面钙化是斑块不稳定的重要凶素 之一,容易导致斑块内出血和溃疡形成。因此财于 斑块脂核、出血及钙化的显示有利于判断斑块的稳 定性。本组结果表明由于斑块不同成分在各个序列 信号特点,不同序列对其显示的敏感性及特异性有 所不同。 3.1不同序列对脂核显示 在5个序列中,对于脂核的硅示以CE.T。W的敏 感性及特异性最高,研究表明脂核在增强扫描后强 化程度很低,而纤维帽及新生血管明显强化。因此 在增强扫描后,斑块内脂核有很好的对比,呈明显低 信号,这有利于判断脂核的存在。但是由于斑块钙 化在所有序列均表现为低信号,而且Yuan等”叫的研 万方数据

最新推荐

recommend-type

办公自动化实训教程:Word应用详解与实操指南

资源摘要信息:"办公自动化实训教程之Word部分.ppt"是一份针对Microsoft Word办公软件的专业实训教学资料,主要面向初学者和需要提升办公文档处理能力的用户。该教程系统性地介绍了Word软件的各项功能与实际应用技巧,旨在帮助学习者掌握高效的文字处理方法,提升办公自动化水平。 本教程首先从Word的基本操作入手,包括文档的创建、打开、保存与关闭等基础流程,详细说明了Word界面的各个功能区,如快速访问工具栏、菜单栏、功能区选项卡(开始、插入、页面布局、引用、邮件、审阅、视图等)的使用方法。通过这些内容,用户能够快速熟悉Word的工作环境,并掌握基本的文档编辑能力。 在文字输入与编辑部分,教程深入讲解了文本的录入、选择、删除、复制、粘贴、查找与替换等常见操作。同时,还介绍了如何使用撤销与恢复功能、自动更正功能、拼写与语法检查等辅助工具,以提高文档编写效率和准确性。 文档格式化是Word处理中的核心内容之一。教程详细讲解了如何设置字体格式(如字体类型、字号、颜色、加粗、斜体、下划线等)、段落格式(如对齐方式、缩进、行距、段前段后间距)、边框与底纹的应用,以及项目符号和编号列表的使用。此外,还介绍了样式与格式的管理,包括内置样式的应用、自定义样式的设计与修改,以及样式的快速应用与更新,这些内容帮助用户统一文档风格,提高文档排版的一致性与专业性。 表格处理也是本教程的重要模块之一。教程从表格的插入、调整列宽与行高、合并与拆分单元格、设置表格边框与填充色等基础操作讲起,逐步深入到表格内容的格式化、排序、公式计算、跨页重复标题行等高级功能。此外,还介绍了如何将表格转换为文本,以及文本转换为表格的方法,这些技能在制作报表、清单、对比表格等办公场景中非常实用。 在图文混排方面,教程重点介绍了如何在Word文档中插入图片、剪贴画、形状图形、SmartArt图形、图表等元素,并详细讲解了如何调整图片大小、设置图片环绕方式、应用图片样式与效果、使用文本框和艺术字进行装饰等操作。通过这些功能的学习,用户可以轻松制作出视觉效果更佳的宣传文档、报告封面、项目计划书等内容。 页面布局与打印设置是文档完成前的重要环节。教程中涵盖了页面大小、页边距、纸张方向、分节符、页眉页脚设置、页码插入、页眉页脚链接与断开、背景设置、水印添加、文档保护等内容。此外,还详细介绍了打印预览功能和打印设置选项,包括打印范围、副本数量、双面打印、打印质量等,帮助用户在输出文档时获得最佳效果。 高级功能部分,教程还涉及了目录的自动创建与更新、脚注与尾注的插入、题注的使用、交叉引用、邮件合并、宏的录制与使用等内容。这些功能对于撰写长篇文档、论文、报告、批量制作信函等场景具有极大的帮助,提升了文档处理的自动化水平和工作效率。 此外,教程还注重实际操作训练,设计了多个实训项目,如制作公司简介、撰写简历、编制项目计划书、设计宣传单、制作会议纪要模板等,通过案例教学的方式帮助学习者将所学知识灵活运用到真实办公场景中。 总之,《办公自动化实训教程之Word部分.ppt》是一份结构清晰、内容全面、实操性强的教学资源,适合高校学生、办公人员、培训机构以及自学者系统学习Word文字处理技能,全面提升办公自动化应用水平。
recommend-type

Wi-Fi连接稳定性优化秘籍:深度剖析ESP32家庭网络重连机制的3大瓶颈与解决方案

# 1. Wi-Fi连接稳定性优化的核心挑战 在物联网设备大规模部署的背景下,ESP32等Wi-Fi模组的连接稳定性成为影响用户体验的关键瓶颈。频繁断连、重连振荡、DHCP超时等问题普遍存在,尤其在家庭网络环境中更为突出。其根源不仅涉及无线信号质量(如RSSI衰减、信道干扰),还与路由器策略、固件重连机制设计缺陷密切相关。本章将系统性揭示影响Wi-Fi稳定性的三大核心挑
recommend-type

检查nas映射地址

### 检查容器中 NAS 映射地址的正确性 要验证容器中的 NAS 映射地址是否正确或可用,可以从以下几个方面入手: #### 1. 验证共享文件夹挂载情况 进入已创建的容器内部,检查指定的共享文件夹是否成功挂载。例如,在上述场景中,NAS 上的共享目录 `/Public/svn` 被映射到了容器内的路径 `/var/opt/snv` 下。可以通过以下命令进入容器并查看对应目录的内容: ```bash docker exec -it <container_name> bash ls /var/opt/snv ``` 如果能够看到预期的文件或目录列表,则说明挂载正常[^1]。 ####
recommend-type

水利工程档案信息化管理的现状与优化策略

资源摘要信息:《水利工程档案管理信息化建设探索.doc》是一篇针对水利工程档案管理现状及信息化建设路径的探讨性文章,主要围绕水利工程档案管理的重要性、信息化建设中存在的问题以及相应的改进措施展开分析。文章以新疆哈密市水利水电管理站为案例背景,深入剖析了当前水利工程档案管理中存在的人员管理能力不足、信息化系统不完善等问题,并提出了加强信息化建设意识、提升管理人员专业素养、完善信息系统平台等可行对策,旨在推动水利工程档案管理向科学化、数字化、高效化方向发展。 首先,文章从水利工程的基本概念入手,明确指出水利工程涵盖水资源管理、水土保持、围垦、供水、发电、灌溉、除涝、防洪等多个领域,其建设内容包括修复、改建、加固、扩建、新建等工程类型。这些工程在实际运行过程中,对地下水与地表水进行有效调配与控制,从而实现除害兴利的目标。水利工程的重要性在于其直接关系到社会经济发展、生态环境保护以及人民生命财产安全。由于水利工程建设周期长、资金投入大、技术复杂度高,因此在工程实施过程中会生成大量档案资料,如设计图纸、施工日志、验收报告、设备维护记录、质量检测数据等。这些档案资料不仅记录了工程的建设全过程,还为后期的运行维护、改造升级、风险评估等提供了重要的参考依据。 其次,水利工程档案管理信息化建设的重要性在于提升档案管理效率、保障档案信息安全、优化档案查询服务、促进信息共享与协同工作。传统的档案管理模式以纸质档案为主,存在查找效率低、保存成本高、易损毁、共享性差等问题,难以适应现代水利工程建设与管理的高效率需求。因此,信息化手段的应用成为提升档案管理水平的关键路径。 然而,文章指出当前水利工程档案信息化建设仍面临诸多挑战。第一,档案管理人员的专业素养和信息化意识普遍不高。许多档案管理人员缺乏现代信息技术知识,对档案信息化管理的理解停留在表层,无法有效运用电子档案管理系统进行数据录入、分类、检索与归档操作。此外,部分管理人员对档案管理的重视程度不够,缺乏系统性的培训和学习,导致信息化建设难以深入推进。第二,缺乏统一、完善的信息化管理系统。目前水利工程档案管理涉及多个专业领域,例如水资源管理、水质监测、项目管理等,但各系统之间存在信息孤岛现象,数据难以实现互通共享,导致档案管理碎片化、重复建设、资源浪费等问题频发。此外,部分单位仍以纸质档案为主,电子档案的建立和管理尚未形成标准化流程,影响了整体信息化水平的提升。 针对上述问题,文章提出了多项改进措施。首先,应加强信息化建设意识。通过组织法律法规宣传、档案管理讲座、成果展览会等形式,营造良好的信息化管理氛围,提升管理人员对档案信息化建设的重视程度。同时,应加强对档案管理人员的培训与考核机制,定期组织信息化技能培训,提升其对电子档案系统的操作能力与数据管理能力。其次,要加快构建统一的水利工程档案信息管理系统。该系统应具备档案录入、分类、检索、权限管理、数据备份、共享协作等功能,并能与水利工程建设管理系统、水资源监测系统等进行数据对接,实现信息资源的整合与共享。此外,系统应具备良好的安全机制,确保档案数据在传输与存储过程中的安全性与完整性。 再次,文章强调应推动水利工程档案的数字化转型。通过扫描、OCR识别、元数据标注等技术手段,将传统纸质档案转化为电子档案,提高档案的可访问性与可利用性。同时,应建立标准化的档案分类体系与编码规则,确保档案信息的规范性与一致性。此外,可引入大数据、云计算、人工智能等先进技术,提升档案数据的分析与应用能力,例如通过数据分析预测水利工程维护周期、评估工程运行风险、优化资源配置等。 最后,文章指出,水利工程档案管理信息化建设是一项系统性工程,需要政府、企业、科研机构等多方协同推进。政府应加大政策支持与资金投入力度,推动相关标准与规范的制定;企业应加强技术应用与平台建设,提升信息化服务能力;科研机构则应加强理论研究与技术创新,为水利工程档案管理提供更加智能化、高效化的解决方案。 综上所述,该文全面分析了水利工程档案管理信息化建设的必要性、存在问题及解决路径,具有较强的现实指导意义。通过加强人员培训、完善信息系统、推动档案数字化、强化政策支持等多方面措施,能够有效提升水利工程档案管理的信息化水平,进而为水利工程建设与管理提供更加高效、安全、可持续的信息支撑服务。
recommend-type

复位信号为何频繁抖动?ESP32复位引脚特性深度解密(工程师必看)

# 1. 复位信号抖动问题的工程背景与影响 在嵌入式系统开发中,ESP32作为主流IoT芯片,其稳定性高度依赖可靠的复位机制。复位信号抖动——即复位引脚(EN/RESET)在短时间内发生多次非预期电平跳变,可能导致设备频繁重启、Boot异常甚至Flash误写。该问题在电源启停、电磁干扰强或PCB布局不合理等场景下尤为突出,严重影响产品可靠性与用户体验。 尤其在工业控制和长期无人值守设备中
recommend-type

tm32f0的库函数RTC直接读RTC_DR,RTC_TR,RTC_SSR是什么函数

### STM32F0 RTC 库函数解析 在STM32F0系列微控制器中,RTC模块提供了多种功能来管理实时时钟和日历。为了直接访问RTC_DR(Date Register)、RTC_TR(Time Register)以及RTC_SSR(Subsecond Register),可以利用HAL库中的特定函数。 #### 1. **读取 RTC_DR 寄存器** RTC_DR寄存器存储当前的日历日期信息。通过调用`HAL_RTC_GetDate()`函数可以从该寄存器获取数据并将其填充到结构体`RTC_DateTypeDef`中[^2]。 ```c // 定义RTC日期结构体 RTC_Da
recommend-type

高中数学算法初步:循环语句与经典案例解析

资源摘要信息: 本资源为高中数学课程中的《算法初步》章节,重点讲解了1.2.5节“循环语句”的相关知识。该PPT课件内容涵盖循环语句的基本概念、常见语法结构(WHILE-WEND与DO-LOOP语句)、执行流程、实际应用案例及编程练习等内容,旨在帮助学生掌握如何使用循环语句解决实际问题,是理解程序设计逻辑和算法结构的重要组成部分。 一、循环语句的基本概念与作用 循环语句是程序设计中用于重复执行一段代码块的重要控制结构。在算法中,循环常用于处理重复性操作,如累加求和、阶乘计算、数据遍历等。循环语句能够简化程序代码,提高代码的可读性和执行效率。本课件介绍了两种常见的循环语句结构:WHILE-WEND语句和DO-LOOP语句。 二、WHILE-WEND语句 WHILE-WEND语句是一种先判断条件后执行循环体的结构。其基本语法如下: WHILE 条件表达式 循环体 WEND 执行流程如下: 1. 首先判断条件是否成立; 2. 若条件成立,则执行循环体; 3. 执行完循环体后,程序返回WHILE语句,再次判断条件; 4. 如果条件不成立,则跳过WEND语句,继续执行后续代码。 WHILE循环适用于循环次数不确定的场景,只要条件成立,循环就会持续执行。例如,课件中给出了一个使用WHILE语句求1到100的累加和的示例程序: S = 0 I = 1 WHILE I <= 100 S = S + I I = I + 1 WEND PRINT S END 三、DO-LOOP语句 DO-LOOP语句是一种可以先执行循环体后判断条件的结构,也可以设置为先判断条件再执行循环体。其基本形式有两种: 1. DO ... LOOP UNTIL 条件 先执行一次循环体,再判断条件是否成立,若不成立则继续执行循环体,直到条件成立为止。 2. DO WHILE 条件 ... LOOP 先判断条件是否成立,若成立则执行循环体,否则跳过循环。 DO-LOOP语句的执行流程如下: 1. 执行循环体; 2. 判断LOOP语句中的条件; 3. 若条件不成立,则继续执行循环体; 4. 若条件成立,则退出循环,执行LOOP之后的语句。 例如,课件中使用DO-LOOP语句实现1到100的累加和: S = 0 I = 1 DO S = S + I I = I + 1 LOOP UNTIL I > 100 PRINT S END 四、WHILE与DO-LOOP语句的比较 两种循环结构的主要区别在于执行顺序不同。WHILE循环是先判断条件,条件满足才执行循环体;而DO-LOOP循环是先执行一次循环体,然后再判断条件是否满足。因此,DO-LOOP至少会执行一次循环体,而WHILE循环可能一次也不执行。 五、循环语句的实际应用案例 本课件通过“三天打鱼两天晒网”的问题,展示了循环语句在实际问题建模中的应用。问题描述为:从1990年1月1日起,某人开始“三天打鱼两天晒网”,问在某一天中此人是在打鱼还是晒网。 该问题可以通过循环结构模拟每一天的状态变化,并记录周期性规律,从而判断某一天属于打鱼还是晒网阶段。该案例展示了循环结构在模拟现实周期性行为中的重要作用。 此外,课件还提供了多个编程练习,如连续输入11个自变量值并输出对应函数值的程序设计、计算阶乘的程序设计等。这些实例帮助学生掌握如何将循环语句应用于函数计算、数据输入输出等场景。 六、循环结构流程图与基本模式 课件中还展示了循环结构的流程图表示方法,强调了循环变量、循环体和循环终止条件三要素。循环变量用于控制循环的运行次数,循环体是需要重复执行的代码块,而循环终止条件是判断是否继续循环的逻辑表达式。 七、课堂练习与作业布置 课件中包含多个课堂练习题,如根据运行结果反推循环终止条件、比较WHILE和DO-LOOP语句的异同、编写程序求阶乘、模拟连续输入输出等。这些练习有助于学生巩固循环语句的语法结构与执行逻辑。 作业部分要求完成教材P20页习题1.1 A组第1、3题,旨在通过课后练习进一步提升学生的算法设计与编程能力。 八、小结与展望 通过本课件的学习,学生能够掌握WHILE-WEND和DO-LOOP两种循环语句的基本语法、执行流程及其在实际问题中的应用。循环结构是算法设计中的核心概念之一,掌握好循环语句对于后续学习数组、函数、递归等高级编程技术具有重要意义。 总结而言,本课件系统地讲解了高中数学中算法初步章节中的循环语句内容,结合丰富的示例与练习,帮助学生建立起对程序结构的初步认识,为后续深入学习编程语言和算法设计打下坚实基础。
recommend-type

揭秘ESP32复位机制:从启动根源到稳定运行的5个关键技术点

# 1. 揭秘ESP32复位机制的启动根源 ESP32作为一款广泛应用于物联网设备中的高性能SoC,其稳定运行离不开可靠的复位机制。复位不仅是系统启动的起点,更是异常恢复的关键环节。本章将深入探讨ESP32复位的最底层触发源——从电源上电瞬间的硬件行为,到内部电路如何协同完成初始状态建立,揭示芯片“重生”的第一毫秒发
recommend-type

nfs: server 10.190.64.219 not responding, timed out

### NFS服务器无响应超时错误解决方案 当遇到"NFS server not responding timed out"错误时,通常表明客户端无法成功连接到NFS服务器。以下是可能导致此问题的原因以及相应的解决方法: #### 1. **网络连通性** 确认客户端和服务器之间的网络通信正常。可以使用`ping`命令测试两者间的连通性[^3]。 ```bash ping <server_ip> ``` 如果发现网络不通或者丢包严重,则需要排查路由器、交换机或其他网络设备设置是否存在异常。 #### 2. **防火墙配置** 检查服务器上的防火墙是否阻止了NFS端口的访问。默认情况下
recommend-type

2022年网络信息安全自查工作总结与防范措施强化汇报

资源摘要信息: 《有关2022年网络信息安全自查工作总结范文汇报材料.docx》是一份关于2022年度网络信息安全自查工作的总结性汇报材料,主要围绕网络信息安全的组织管理、制度落实、安全防护措施、隐患排查等方面展开,内容具有较强的实践性和指导意义。该文档结合了当时的政治背景(如北京奥运会期间的网络安全保障工作),强调了信息安全工作的极端重要性和紧迫性,并对如何落实相关安全制度、强化安全技术防护、提升应急响应能力等进行了系统性总结。 从标题来看,“网络信息安全自查工作总结”表明这是一份阶段性、回顾性的报告,其核心在于通过自查发现问题、总结经验、提升整体安全防护能力。该文档的描述部分与标题一致,进一步强调了其作为汇报材料的用途,适用于政府机关、企事业单位的信息安全部门在进行阶段性总结时参考。 在内容结构上,该文档分为几个关键部分:一是加强组织领导,确保安全责任落实;二是完善制度体系,推动安全制度化;三是实施技术防护措施,强化系统安全;四是开展隐患排查和整改,提升整体防护水平;五是建立应急机制,增强突发事件的应对能力。 首先,文档强调了“高度重视,加强奥运会期间网络信息安全工作”这一重点。由于北京奥运会是国家级重大活动,期间的网络信息安全保障工作尤为关键。因此,相关单位必须从政治高度出发,认识到网络安全对社会稳定、经济运行和人民利益的影响。这种背景下的信息安全工作不仅是技术问题,更是政治任务。为此,信息中心迅速响应上级通知,部署相关工作,明确职责分工,确保奥运期间网络系统的稳定运行。 其次,在制度建设方面,文档详细列出了“职责制度”“原则要求”以及“五到位”三大核心制度。职责制度包括安全责任制、应急预案、值班值守、信息发布审核等内容,这些制度是保障信息安全的基础。通过严格落实“一把手负责制”,可以确保领导层对信息安全工作的重视,形成自上而下的管理体系。同时,文档中提到的“谁主管谁负责、谁运行谁负责、谁使用谁负责、谁发布谁负责”原则,是信息安全责任制的重要体现,有助于明确责任边界,避免推诿扯皮。 “五到位”机制(即领导、机构、人员、职责、措施五个方面落实到位)则进一步细化了制度执行的落地问题。这种机制强调了组织架构的完整性、人员配置的专业性、职责划分的清晰性以及应对措施的及时性。文档中还提到,对发生重大安全责任事故的单位和人员将严肃追责,体现了制度的刚性约束和执行力。 第三,在技术防护措施方面,文档重点描述了网站安全隐患排查、安全策略管理和网络隔离等措施。例如,对政府网站和应用系统进行程序升级、账户管理、口令设置、补丁更新、杀毒处理、接口管理、服务器托管等方面的隐患排查,是确保系统安全的基础性工作。此外,文档还提到强制要求个别单位在接入政务网前完成病毒查杀,这说明在外部接入环节的安全控制同样重要。 关于网络隔离,文档强调政务内网与政务专网(外网)之间必须实现物理隔离,防止因设备共用或网络混接而导致的信息泄露或攻击风险。这一措施是防止内部敏感信息外泄的重要手段,体现了对网络安全边界控制的高度重视。 此外,文档还涉及了应急响应机制的建立。通过制定应急预案、开展演练、设置值班值守制度,确保在突发网络安全事件时能够快速响应、有效处置,从而降低事件带来的影响和损失。这种机制不仅是技术层面的准备,更是管理层面的保障,有助于提升整体安全事件的应对能力。 从实践角度来看,该文档提供了可复制、可推广的信息安全自查模式。对于其他单位而言,可以借鉴其组织架构设置、制度体系建设、技术防护措施、隐患排查流程以及应急响应机制,构建符合自身特点的信息安全管理体系。同时,文档也指出了在实际操作中可能遇到的问题,如人员配备不足、技术能力薄弱、应急机制不健全等,并提出了相应的改进建议。 总结来看,该文档全面、系统地总结了2022年度网络信息安全自查工作,涵盖了组织管理、制度建设、技术防护、隐患排查、应急管理等多个维度,具有较强的指导性和可操作性。它不仅是一份工作总结材料,更是一份信息安全治理的参考范本,适用于各类政府机关和企事业单位在进行信息安全自查和整改时参考使用。通过学习和借鉴该文档的经验做法,可以有效提升本单位的网络安全防护水平,防范各类网络攻击和信息泄露风险,为实现数字化转型和信息化建设提供坚实的安全保障。