Comments (12)
标准库已经正确安装了吗?
from arduino-for-keil.
之前安装的是Keil.STM32F4xx_DFP.2.13.0的pack包,刚刚替换了您发布的1.0.8的pack包,错误还存在。
from arduino-for-keil.
组件不可用于目标项目
from arduino-for-keil.
取消勾选组件使用即可,并且启动文件需要更新。更新后报如下错误
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'G:\ARM\ARMCC\Bin'
Build target 'Project'
compiling dtostrf.c...
compiling itoa.c...
compiling WMath.cpp...
compiling Print.cpp...
compiling WString.cpp...
compiling Stream.cpp...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\ArduinoAPI\Stream.cpp: 0 warnings, 1 error
compiling Tone.cpp...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\ArduinoAPI\Tone.cpp: 0 warnings, 1 error
compiling Wire.cpp...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\ArduinoAPI\Wire.cpp: 0 warnings, 1 error
compiling WireBase.cpp...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\ArduinoAPI\WireBase.cpp: 0 warnings, 1 error
compiling HardwareSerial.cpp...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\ArduinoAPI\HardwareSerial.cpp: 0 warnings, 1 error
compiling Arduino.c...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\ArduinoAPI\Arduino.c: 0 warnings, 1 error
compiling SPI.cpp...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\ArduinoAPI\SPI.cpp: 0 warnings, 1 error
compiling adc.c...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\Core\adc.c: 0 warnings, 1 error
assembling startup_stm32f407xx.s...
compiling delay.c...
..\CORE\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\CORE\delay.c: 0 warnings, 1 error
compiling gpio.c...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\Core\gpio.c: 0 warnings, 1 error
compiling timer.c...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\Core\timer.c: 0 warnings, 1 error
compiling pwm.c...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\Core\pwm.c: 0 warnings, 1 error
compiling main.cpp...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
main.cpp: 0 warnings, 1 error
compiling exti.c...
..\Core\mcu_type.h(5): error: #5: cannot open source input file "stm32f4xx_conf.h": No such file or directory
#include "stm32f4xx_conf.h"
..\Core\exti.c: 0 warnings, 1 error
compiling system_stm32f4xx.c...
"..\OBJ\Pro.axf" - 14 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:29
from arduino-for-keil.
工程里应该有这个头文件,重新添加一下
from arduino-for-keil.
目前没有F401Re的Device,请问呢能用STM32F401CC或STM32F401CB代替吗
from arduino-for-keil.
添加完成后,又有新错误
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'G:\ARM\ARMCC\Bin'
Build target 'Project'
compiling WMath.cpp...
compiling dtostrf.c...
compiling itoa.c...
compiling Print.cpp...
compiling WString.cpp...
compiling SPI.cpp...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\ArduinoAPI\SPI.cpp: 0 warnings, 1 error
compiling Arduino.c...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\ArduinoAPI\Arduino.c: 0 warnings, 1 error
compiling WireBase.cpp...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\ArduinoAPI\WireBase.cpp: 0 warnings, 1 error
compiling Stream.cpp...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\ArduinoAPI\Stream.cpp: 0 warnings, 1 error
compiling HardwareSerial.cpp...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\ArduinoAPI\HardwareSerial.cpp: 0 warnings, 1 error
compiling Tone.cpp...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\ArduinoAPI\Tone.cpp: 0 warnings, 1 error
compiling Wire.cpp...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\ArduinoAPI\Wire.cpp: 0 warnings, 1 error
compiling gpio.c...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\Core\gpio.c: 0 warnings, 1 error
compiling adc.c...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\Core\adc.c: 0 warnings, 1 error
compiling delay.c...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\CORE\delay.c: 0 warnings, 1 error
compiling exti.c...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\Core\exti.c: 0 warnings, 1 error
compiling timer.c...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\Core\timer.c: 0 warnings, 1 error
compiling pwm.c...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) /
..\Core\pwm.c: 0 warnings, 1 error
compiling main.cpp...
.\RTE\Device\STM32F401CB\stm32f4xx_conf.h(90): error: #5: cannot open source input file "misc.h": No such file or directory
#include "misc.h" / High level functions for NVIC and SysTick (add-on to CMSIS functions) */
main.cpp: 0 warnings, 1 error
compiling system_stm32f4xx.c...
"..\OBJ\Pro.axf" - 14 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:23
from arduino-for-keil.
缺少misc.h的头文件
from arduino-for-keil.
from arduino-for-keil.
F401系列应该都差不多,只有RAM和FLASH容量的区别
from arduino-for-keil.
想用QQ请教下,请问大牛QQ多少
from arduino-for-keil.
在我的个人简介里有个邮箱地址,那个就是
from arduino-for-keil.
Related Issues (20)
- [user contribution] Libraries - Tested HOT 3
- sd卡读写问题 HOT 3
- 移植STM32F107出错 HOT 2
- Low Power Mode [Help nedeed] HOT 2
- 请教一下,如何移植到正点原子的F407或F429开发板里去? HOT 4
- 移植库文件报错 HOT 2
- Some ERROR in Print.h..
- STM32SD 移植失败,补了很多路径也不行 HOT 1
- STM32用此包导致芯片锁死 HOT 2
- BMP280
- Keil5不能引用Arduino库中的Class HOT 2
- 编译无法使用C++11 arduino的很多库在头文件中就给成员赋值了 导致出错 这个问题怎么解决 HOT 8
- 调试IIC时,初始化出不来, HOT 1
- 使用F401RC仿真运行,为什么不停的复位? HOT 2
- 按照教程移植,但是导入库失败 HOT 4
- 移植到其他平台问题 HOT 2
- 我在其他地方找不到答案, 为什么不是只编译修改过的文件 HOT 1
- STM32F103RC移植报错 HOT 9
- stm32f103IIC读取mpu9250失败 HOT 1
- 对FastLED库的支持!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-for-keil.