1

I spent lot of my time in basic setup. I do not know why it is so complicated in making a basic program to compile with FreeRTOS If there is any expert in this field please help me to fix these errors.

I dont get an idea how to explain my situation, I am tired after long 2 day trails. I am completely new to this area. so i am giving the screenshots of my errors below.

Errors

Errors

I got some kind of warning in this part of code

Updated:

I will try to express my self more brief,Few days back I started experimenting with TelosB Mote and Contiki OS, that set up was very easy and straight forward, even though I was new to this topic it took me only few minutes to set up complete Virtual System for compiling and downloading the code to hardware TelosB. I was happy to see my small application running on target hardware.

Right now, From more than 24 hours I am struggling to compile code for FreeRTOS using IAR Emmbeded Work Bench, I wasted lot of time over here and later tried to use eclipse, even it did not turn out well. Is it really possible for me to run FreeRTOS Demo on my target Hardware (TelosB Mote - Texas Instruments MSP430 micro controller ) I connect it to my PC using USB.

What I mean by Eclipse IDE is here in this link.

As far as I know I am not trying to make a new port, I am trying to compile the existing port. I also tried demo code that is given with freeRTOS

When I mean basic program, I mean demo here in case of FreeRTOS, because in the getting starting guide instructions for compiling demo for target hardware is given. TelosB datasheet

TelosB Mote

The the Problems that I faced in IAR Embedded Workbench IDE are below.

The project settings for target hardware are below

Settings

Settings for usb

the errors that I get while I try to download is shown below. enter image description here

The Connected USB Hardware that is shown in Device Manager

Detected USB Mote

4

1 回答 1

0

当您说 Eclipse IDE 时,您是什么意思?这是代码编辑器吗?

您是否为您的 IDE 和确切的处理器获取了一个工作端口并只是尝试编译它,或者您是否正在尝试创建一个全新的端口?

当您说基本程序时,您是否编写了任务?还是您只是在谈论获得演示编译?

我们需要很多很多的信息来提供帮助。

作为一项基本原则,您应该始终使用正在工作的端口或非常接近的端口。例如,我将它用于 Atmel Cortex 从 Studio 移植到 Crossworks,但这相当容易,因为两者都使用 gcc。如果你使用了一个 IAR 端口并试图让它与 gcc 或其他一些编译器一起工作,那么这将比你有一个紧密匹配的端口要复杂得多。

于 2013-10-08T15:36:33.180 回答