本帖最后由 fengye5340 于 2014-11-28 16:58 编辑 一、摩尔吧视频地址链接 二、课程简介 STM32 NUCLEO开发平台是ST最新发布的易用性好、可扩展性佳的低成本平台。NUCLEO开发板具有mbed功能支持Arduino接口,同时还提供STMorpho扩展排针,可连接微控制器的所有周边外设,可以利用Arduino巨大生态系统优势,便于快速实现STM32学习和评估!STM32因为有着良好的生态系统,学习本课程的方式和方法,可以有助于其它STM32系列型号的学习!本课程采用逐步深入的方式讲解,步步为营,结合一些应用实例进行讲解,适合对STM32感兴趣的初学者和有一定STM32基础的入门级工程师提高自己!本课程的目标是让大家在短时间内(一周到一个月)快速上手开发板,并能独立以此平台进行项目开发应用!所以,有些技术细节如有遗漏,请多包涵,有问题,请随时留言!对于有些局部内容,我的理解可能有误,欢迎批评指正,在此不胜感谢! 三、课程资料 本课程共有8个章节,各个章节的PPT课件内容和MDK见附件! 第一章:资料篇-NUCLEO-072RB开发板特性讲解及资料准备 课件PPT: |
楼主用到的板子现在可以19.9买到,活动网址:https://www.stmcu.org.cn/page/STM32Nucleo-homepage/
assembling startup_stm32f072.s...
compiling stm32f0xx_adc.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_adc.c: 0 warnings, 1 error
compiling stm32f0xx_can.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_can.c: 0 warnings, 1 error
compiling stm32f0xx_cec.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_cec.c: 0 warnings, 1 error
compiling stm32f0xx_comp.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_comp.c: 0 warnings, 1 error
compiling stm32f0xx_crc.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_crc.c: 0 warnings, 1 error
compiling stm32f0xx_crs.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_crs.c: 0 warnings, 1 error
compiling stm32f0xx_dac.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_dac.c: 0 warnings, 1 error
compiling stm32f0xx_dbgmcu.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_dbgmcu.c: 0 warnings, 1 error
compiling stm32f0xx_dma.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_dma.c: 0 warnings, 1 error
compiling stm32f0xx_exti.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_exti.c: 0 warnings, 1 error
compiling stm32f0xx_flash.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_flash.c: 0 warnings, 1 error
compiling stm32f0xx_gpio.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_gpio.c: 0 warnings, 1 error
compiling stm32f0xx_i2c.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_i2c.c: 0 warnings, 1 error
compiling stm32f0xx_iwdg.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_iwdg.c: 0 warnings, 1 error
compiling stm32f0xx_misc.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_misc.c: 0 warnings, 1 error
compiling stm32f0xx_pwr.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_pwr.c: 0 warnings, 1 error
compiling stm32f0xx_rcc.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_rcc.c: 0 warnings, 1 error
compiling stm32f0xx_rtc.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_rtc.c: 0 warnings, 1 error
compiling stm32f0xx_spi.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_spi.c: 0 warnings, 1 error
compiling stm32f0xx_syscfg.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_syscfg.c: 0 warnings, 1 error
compiling stm32f0xx_tim.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_tim.c: 0 warnings, 1 error
compiling stm32f0xx_usart.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_usart.c: 0 warnings, 1 error
compiling stm32f0xx_wwdg.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\lib\src\stm32f0xx_wwdg.c: 0 warnings, 1 error
compiling LED.C...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\driver\LED.C: 0 warnings, 1 error
compiling main.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\user\main.c: 0 warnings, 1 error
compiling system_stm32f0xx.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\stm32f072rbt6\system_stm32f0xx.c: 0 warnings, 1 error
compiling stm32f0xx_it.c...
..\stm32f072rbt6\core_cm0.h(127): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h> /* Core Instruction Access */
..\stm32f072rbt6\stm32f0xx_it.c: 0 warnings, 1 error
".\LED.axf" - 27 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:12
谢谢分享!
https://www.stmcu.org.cn/module/forum/thread-597522-1-1.html
多谢沐紫老师的大力支持!
你KEIL-MDK版本是用的MDKV5还是V4呢?以前遇到过ST-LINK固件升级后不能KEIL下载的问题!分析可能是版本不匹配造成的,后来把升级的ST-LINK固件又更改回来就好了,你下载旧版本的UTILITY,然后把版本更改回来再试一下
感谢支持!
我用的是MDK5.11a,旧版本的UTILITY哪里有下,ST-LINK的固件如何更改回来旧版本?以后不敢乱升级固件了额,看官网有那个工具直接给升级了,乏力
你去网上搜索一下ST-LINK-UTILITYV3.1.0,那个是以前的版本,装上后,更新固件就改回来了,新的是V340,那个是针对ST-LINNKV2-1的版本
不客气的,那些比较复杂的代码要过段时间了