Quality RTOS & Embedded Software

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




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) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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

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

OpenRTOS and SafeRTOS