We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Any one know the solution, please reply.
After declaration,
FILE *fin;
and implementation,
fin = fopen ("test.txt","r");
The error message results when compiling:
Build target 'ADuC7020' assembling Startup.s... compiling ADC.c... ADC.C(30):error C67:'FILE': undefined identifier ADC.C(31):error C67:'fin': undefined identifier
I already include the header file 'rtl.h' in my program.
Do you have a library with a flash file system implementation?
File functions are not part of the standard compiler packages for embedded development.
Thanks much your reply.
All I have is the evaluation version Keil uVision3 from CD-ROM.
I understand your point having read on this page,
http://www.keil.com/rl-arm/
at the bottom 'Note Box',
'The RealView MDK-ARM includes the RTX Real-Time Kernel but not the RTX Real-Time Kernel Source Code, Flash File System, TCP/IP Protocol Suite, or USB/CAN Drivers.'
Is this meaning that those programs in folder C:\Keil\ARM\RV30\RTL\Kernel\Examples\ cannot be run ?
But there are some source codes in path C:\Keil\ARM\RV30\RTL\Kernel\Examples\SRC\ ?
Hope you reply
Examples that only makes use of the RTX real-time kernel should be possible to build. It's only the kernel source that isn't available.
You will not be able to build projects making use of flash file systems, TCP/IP or CAN. Any pre-built applications with these features should be possible to run.
Correct.Thanks much.