新人求助关于please select firstdevice的问题

4730人阅读
A03-STM32(16)
1.设置工程时,如果忘记了在C/C++选项卡上设置STM32F10X_HD,USE_STDPEFIPH_DRIVER编译时会报如下的错误
Build target 'USART'
compiling stm32f10x_it.c...
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(96): error:
#35: #error directive: &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
#error &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h: ..\User\stm32f10x_it.c: 0 warnings, 1 error
compiling main.c...
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(96): error:
#35: #error directive: &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
#error &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h: ..\User\main.c: 0 warnings, 1 error
compiling core_cm3.c...
compiling system_stm32f10x.c...
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(96): error:
#35: #error directive: &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
#error &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h: ..\User\system_stm32f10x.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(96): error:
#35: #error directive: &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
#error &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(96): error:
#35: #error directive: &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
#error &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(96): error:
#35: #error directive: &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
#error &Please select first the target STM32F10x device used in your application (in stm32f10x.h file)&
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h:
..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h: ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 0 warnings, 1 error
Target not created
2.要注意新建工程包含库文件的路径是
\Libraries\STM32F10x_StdPeriph_Driver\inc
\Libraries\STM32F10x_StdPeriph_Driver\src
3.Overlapping of Algorithms at Address H错误
工程设置里,误多添加了下载算法,删除后即可。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:256383次
积分:4248
积分:4248
排名:第4082名
原创:167篇
转载:56篇
评论:54条
(5)(1)(1)(7)(1)(4)(6)(2)(2)(2)(7)(7)(2)(2)(4)(8)(10)(3)(7)(20)(20)(1)(7)(4)(3)(4)(5)(19)(7)(2)(2)(11)(1)(13)(22)(1)(1)新人求助关于Please select device的问题_百度知道
新人求助关于Please select device的问题
我有更好的答案
出现这样的问题可能是主板电池缺电,按F10保存.
如果经过选择还是不能进入系统的话这个是提示你选择:
开机按DEL.如果你是想装系统的话:HDD-O(主硬盘为第一启动项目).
设置完成后,导致BIOS设置不能保存,用上下键选中Advanced BIOS Features回车,就选择.你可以先尝试用上下键选择想要电脑启动的项目.
我没有处理过这样的问题.
如果你不做别的事情,你可以这样做.最坏的可能就是主版出现了故障,上下键选中First Boot Device将它设置为,用上下键.你可以选择,就是想打开电脑的话:CD-ROM或CD开头的项目,按Y退出.
笔记本电脑进入BIOS就要按F2:第一启动项目:HDD-0或HDD开头的项目
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁新人求助关于Please select device的问题_百度知道
新人求助关于Please select device的问题
我有更好的答案
Please select device请选择驱动
其他类似问题
为您推荐:
select的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁新人求助关于Please select device的问题_百度知道
新人求助关于Please select device的问题
就是想打开电脑的话.
我没有处理过这样的问题.如果你是想装系统的话.
如果经过选择还是不能进入系统的话:
开机按DEL,就选择.
如果你不做别的事情,上下键选中First Boot Device将它设置为.你可以选择,用上下键选中Advanced BIOS Features回车.最坏的可能就是主版出现了故障:第一启动项目:HDD-0或HDD开头的项目,导致BIOS设置不能保存,按Y退出.
笔记本电脑进入BIOS就要按F2,用上下键这个是提示你选择:HDD-O(主硬盘为第一启动项目).
设置完成后.你可以先尝试用上下键选择想要电脑启动的项目,按F10保存:CD-ROM或CD开头的项目,你可以这样做.出现这样的问题可能是主板电池缺电
知道智能回答机器人
我是知道站内的人工智能,可高效智能地为您解答问题。很高兴为您服务。
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁}

我要回帖

更多关于 please select 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信