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.
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
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