Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

FreeRTOS Demo for TI MSP430F5438_IAR errors

Posted by K-man on February 22, 2011
Hi All,

Just starting with FreeRTOS... Baby steps first - just wanted to try already existed port before doing anything.

Got the Experimenter board MSP-EXP430F5438, IAR EW for MSP430 5.20 Evaluation, downloaded a demo,
compiled as Release_Large_Data_Model with no changes whatsoever and... got some errors:

Linking
Error[e46]: Undefined external "__close" referred in ?fclose ( C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\LIB\DLIB\dl430xlff.r43 )
Error[e46]: Undefined external "remove" referred in ?fclose ( C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\LIB\DLIB\dl430xlff.r43 )
Error[e46]: Undefined external "__write" referred in ?fflush ( C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\LIB\DLIB\dl430xlff.r43 )
Error[e46]: Undefined external "__lseek" referred in ?xfspos ( C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\LIB\DLIB\dl430xlff.r43 )
Error while running Linker

However, in debug mode everything compiles and runs with no errors.

Can anyone shed some light on a problem for a newbie, please?



RE: FreeRTOS Demo for TI MSP430F5438_IAR errors

Posted by Richard on February 24, 2011
I just tried a clean build of a clean V6.1.1 installation and using the Release_Large_Data_Model found it compiled with no errors or warnings (IAR V5.20). The output is below. Those errors sound like a mis-configured library configuration. I would suggest unzipping a clean V6.1.1 download and trying it again - and if you get the same problem, try comparing the linker/library settings between the debug and release configurations to see what the differences are.


Building configuration: RTOSDemo - Release_Large_Data_Model
Updating build tree...
GenQTest.c
ParTest.c
RegTest.s43
RunTimeStatsConfig.c
comtest.c
dynamic.c
hal_UCS.c
hal_board.c
hal_buttons.c
hal_lcd.c
hal_lcd_fonts.c
heap_1.c
list.c
low_level_init.c
main.c
port.c
portext.s43
queue.c
serial.c
tasks.c
Linking

Total number of errors: 0
Total number of warnings: 0


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists