FreeRTOS run on eclipse
所需软件包:
FreeRTOS.7.1.0.7z
eclipse-cpp-helios-SR2-win32.zip
TDM-GCC-32(版本任意吧。。但同平台就选择一致的,32位系统就一致32位的软件,64位亦如此)
闲言少叙,想让FreeRTOS在PC上运行,还是比较简单的,因为在FreeRTOS的源码包里有如下demo:
...\FreeRTOSv9.0.0\FreeRTOS\Demo\WIN32-MingW,意为该工程是32位windows平台下,运用mingw编译器实现的,文件结构目录为:
│ .cproject
│ .project
│ FreeRTOSConfig.h
│ main.c
│ main_blinky.c
│ main_full.c
│ Run-time-stats-utils.c
│
├─.settings
│ org.eclipse.cdt.codan.core.prefs
│ org.eclipse.cdt.managedbuilder.core.prefs
│ org.eclipse.ltk.core.refactoring.prefs
│
├─DemosModifiedForLowTickRate
│ recmutex.c
│
└─Trace_Recorder_Configuration
trcConfig.h
.project就是工程文件。
解压eclipse-cpp-helios-SR2-win32.zip文件至当前目录,会生成eclipse文件,运行eclipse.exe即可。
1、进入eclipse界面,选择workbench,file->Import,选择WIN32-MingW的目录,即可导入工程文件。
2、编译build project,
编译结果:
**** Build of configuration Debug for project RTOSDemo ****
**** Internal Builder is used for build ****
Nothing to build for RTOSDemo
再点击运行run,那么会在Console一栏会一直输出程序所打印的信息。
Task 2 ----------------------------------------------------
Task 1 ****************************************************
Message printed from the tick hook interrupt ##############
Task 2 ----------------------------------------------------
Task 1 ****************************************************
Message printed from the tick hook interrupt ##############
接下去就可以学习FreeRTOS了。
FreeRTOS run on eclipse的更多相关文章
- The Linux Mint 18.1:Eclipse Run The C++ And Python ConfigorationWhen You achieve above step,you can run the c++ and python! (Next OTL ,PYOTL is Project That Write By Ruimin Shen(ability man) )
# Copyright (c) 2016, 付刘伟 (Liuwei Fu)# All rights reserved.# 转载请注明出处 1.Install The Eclipse,g++ Use T ...
- The Linux Mint 17.1:Eclipse Run The C++ And Python Configoration
p { margin-bottom: 0.1in; line-height: 120% } # Copyright (c) 2016, 付刘伟 (Liuwei Fu)# All rights rese ...
- Run Nutch In Eclipse on Linux and Windows nutch version 0.9
Running Nutch in Eclipse Here are instructions for setting up a development environment for Nutch un ...
- 如何在Eclipse和Tomcat的Debug过程中启用热部署
参考的地址是 http://blog.redfin.com/devblog/2009/09/how_to_set_up_hot_code_replacement_with_tomcat_and_ecl ...
- atitit。自定义uml MOF EMF体系eclipse emf 教程o7t
atitit.自定义uml MOF EMF体系eclipse emf 教程o7t 1. 元对象机制(MOF,Meta-Object Facility)and 结构 1 2. 元模型图.模型图.对象 ...
- 关于打开Eclipse时出现eclipse failed to create the java virtual machine与locking is not possible in the direc
原文转自:http://www.cnblogs.com/steararre/p/4037453.html 今天在机子上使用Eclipse时候打开发现这两个问题,通过查阅资料膜拜大神博客得知解决方法,特 ...
- atitit。自己定义uml MOF EMF体系eclipse emf 教程o7t
atitit.自己定义uml MOF EMF体系eclipse emf 教程o7t 1. 元对象机制(MOF,Meta-Object Facility)and 结构 1 2. 元模型图.模型图.对 ...
- 关于打开Eclipse时出现eclipse failed to create the java virtual machine与locking is not possible in the directory问题的解决
今天在机子上使用Eclipse时候打开发现这两个问题,通过查阅资料膜拜大神博客得知解决方法,特此整理下来,方便后来遇到此问题的小伙伴们. 一开始打开Eclipse时候出现问题现象1,问题1解决以后就出 ...
- 工具使用 eclipse the user operation is waiting for Building Working to be completed。
问题定位: 在使用 IDE开发时,学习一个新事物如语言,框架,出现错误时暂时无法判断是新写的代码错还是IDE使用错: 则编写简单的未使用该技术的test.java ,运行后还有异常出现,则不是代码问题 ...
随机推荐
- Excel表格解析
//add by yangwenpei WGCW-144 使用Excel表格导入纸票记录 20161212 start /** * @param fileInputStream * @param co ...
- Tesseract API在VS 2013中的配置以及调用
[Tesseract]Tesseract API在VS 2013中的配置以及调用 时间:2016-05-31 20:35:19 阅读:127 评论:0 收藏:0 ...
- shell编程之流程控制
-d 判断该文件是否存在,并且是否为目录文件 -e 判断该文件是否存在 -f 判断该文件是否存在,并且是否为普通文件 形式 [ -e /home/cao/test.txt ] -r 文件 判断该文 ...
- oracle java SE
http://www.oracle.com/technetwork/java/javase/downloads/index.html
- textArea 高度自适应
<textarea name="apparatus" class="dhxTextArea" style="width:100%;height: ...
- 数据导出Excel
package com.jy.pjbj.web.action.util; import java.io.File;import java.util.List; import javax.xml.rpc ...
- DNS弹窗广告遭遇
事情是这样的,不久前,我跟往常一样打开某新闻网页的时候,发现右下角有弹窗广告,并且在原页面任意位置点击,都会打开一个广告页面,然后原页面才能正常点击,手法太低劣了,不像是网站挂的广告,然后打开其它网页 ...
- prim
prim算法很难,但是我也把他写出来了.usaco3.1.1 #include <iostream> #include <cstring> using namespace st ...
- 使用Fiddler针对Android手机网络请求抓包
本文转载自大牛Trinea的博文:Android利用Fiddler进行网络数据抓包 主要介绍Android及IPhone手机上如何利用Fiddler进行网络数据抓包,比如我们想抓某个应用(微博.微信. ...
- JAVA生成随机数
java中一般有两种随机数,一个是Math中random()方法,一个是Random类. 一.Math.random() 随即生成0<x<1的小数. 实例:如何写,生成随机生成出0~100 ...