__ENDI__ Build Error on Arduino Mega Platform

cairdke wrote on Tuesday, December 26, 2017:

I am using Free RTOS Version 10.0.0 . I am using two hardware platforms:

  1. Arduino UNO
  2. Arduino Mega 2560

I am using the Arduino IDE Version 1.8.5

When compiling source for the Arduino UNO everything compiles and uploads correctly.

However, if I compile the same code for the Arduino Mega I get the following build errors:

Compiling debug version of ‘RT_BiTT_Controller_Ver1_0’ for ‘Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)’

Error linking for board Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)
Debug build failed for project ‘RT_BiTT_Controller_Ver1_0’

ccgOF8u5.ltrans0.ltrans.o*: In function main
ccgOF8u5.ltrans0.o*: (.text.startup+0x24a): undefined reference to EIND

ccgOF8u5.ltrans1.ltrans.o*: In function vPortYieldFromTick
ccgOF8u5.ltrans1.o*: (.text.hot+0xc): undefined reference to EIND
ccgOF8u5.ltrans1.o*: (.text.hot+0x386): undefined reference to EIND

ccgOF8u5.ltrans1.ltrans.o*: In function vPortYield
ccgOF8u5.ltrans1.o*: (.text.hot+0x4d0): undefined reference to EIND
ccgOF8u5.ltrans1.o*: (.text.hot+0x640): undefined reference to EIND

collect2.exe*: error: ld returned 1 exit status

Ay help would be appreciated!

rtel wrote on Tuesday, December 26, 2017:

Where did the code come from? Is it official FreeRTOS code?

cairdke wrote on Saturday, December 30, 2017:

I uploaded Free RTOs from Arduino site. Therefore I assume it is official.

tlafleur wrote on Saturday, December 30, 2017:

The ONLY official FreeRTOS version are from www.freertos.org

All other are considered derivative works…

~~ _/) _/) _/) ``` _/) ~~

Tom Lafleur

On Dec 30, 2017, at 10:36 AM, Ken Caird cairdke@users.sf.net wrote:

I uploaded Free RTOs from Arduino site. Therefore I assume it is official.

ENDI Build Error on Arduino Mega Platform

Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/freertos/discussion/382005/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/