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: Undefined external “__close” referred in ?fclose ( C:Program FilesIAR SystemsEmbedded Workbench 6.0 Evaluation430LIBDLIBdl430xlff.r43 )
Error: Undefined external “remove” referred in ?fclose ( C:Program FilesIAR SystemsEmbedded Workbench 6.0 Evaluation430LIBDLIBdl430xlff.r43 )
Error: Undefined external “__write” referred in ?fflush ( C:Program FilesIAR SystemsEmbedded Workbench 6.0 Evaluation430LIBDLIBdl430xlff.r43 )
Error: Undefined external “__lseek” referred in ?xfspos ( C:Program FilesIAR SystemsEmbedded Workbench 6.0 Evaluation430LIBDLIBdl430xlff.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?
FreeRTOS Demo for TI MSP430F5438_IAR errors
FreeRTOS Demo for TI MSP430F5438_IAR errors
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
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