Link error undefined __files in CW 10.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Link error undefined __files in CW 10.1

552 Views
pjb
Contributor I

I am using CW 10.1 on Win7 and have a ColdFire MCf5329 app that uses functions in stdio.h. When I try to link I get an error "undefined __files". How do I fix this?

 

Thanks.

Labels (1)
0 Kudos
4 Replies

285 Views
CrasyCat
Specialist III

Hello

 

 EWL libraries do not come with support for file I/O. Why do you need that functionality?

 

In order to add support for file I/O unction you can either add an operating system supporting file I/O to your application or implement your own file system for the board.

   

Please refer to {Install}\MCU\help\PDF\EWL C Reference.pdf chapter Configuring EWL section Configuring Input and Output for information how to extend EWL libraries with file I/O support.

 

CrasyCat

0 Kudos

285 Views
pjb
Contributor I
Actually I am using printf, not doing file I/O.
0 Kudos

285 Views
CrasyCat
Specialist III

Hello

 

How did you create your project?

 

I did create a project using the wizard for MCF5329 and I am able to use printf in there.

I did not get any linker errors.

 

Which configuration are you building (MCF5329_Console_Internal_RAM, MCF5329_Internal_RAM, ...)?

 

If you intend to use printf it is recommended to use the MCF5329_Console_Internal_RAM configuration.

 

CrasyCat

0 Kudos

285 Views
pjb
Contributor I
I created the project using the bare board option. I want to run from flash, not internal RAM. The project is too big for that.
0 Kudos