Experimental Physics and
| |||||||||||||||
|
Hi All,
I am try to compile
and loading to new uC5282 target module.
Model : uC5282-16E16C80-X
Flash size is : 16
M
CPU clock is 80
MHz
Added linking flag to my
application and base-3.14.9:
ARCH_DEP_CFLAGS += -D_CPUClockSpeed=80000000 -D_FlashSize=16M Error messages
below;
/usr/local/rtems/rtems-4.7/bin/m68k-rtems4.7-gcc --pipe
-B/usr/local/rtems/rtems-4.7/m68k-rtems4.7/uC5282/lib/ -specs bsp_specs
-qrtems -fasm -c
-m528x
-DUNIX -ansi -O2 -g -g
-Wall -DMY_DO_BOOTP=NULL
-D_CPUClockSpeed=80000000 -D_FlashSize=16M
-DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=aps.anl.gov
-DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=aps.anl.gov -I. -I..
-I../../../../include/os/RTEMS
-I../../../../include
../rtems_init.c
../rtems_init.c:136:17: error: invalid suffix "M" on integer constant ../rtems_init.c: In function 'initialize_local_filesystem': ../rtems_init.c:136: error: expected identifier or '(' before numeric constant ../rtems_init.c:139:9: error: invalid suffix "M" on integer constant ../rtems_init.c:147:72: error: invalid suffix "M" on integer constant ../rtems_init.c:151: warning: implicit declaration of function 'open' ../rtems_init.c: In function 'initialize_remote_filesystem': ../rtems_init.c:192: warning: implicit declaration of function 'rpcUdpInit' ../rtems_init.c:193: warning: implicit declaration of function 'nfsInit' ../rtems_init.c:248: warning: implicit declaration of function 'nfsMount' ../rtems_init.c: In function 'initConsole': ../rtems_init.c:378: warning: implicit declaration of function 'fileno' ../rtems_init.c: In function 'Init': ../rtems_init.c:535: warning: implicit declaration of function 'tzset' ../rtems_init.c:545: warning: implicit declaration of function 'main' make[4]: *** [rtems_init.o] error 1 How can i solve this
problem for new uC5282 target ?
At this time my
applications worked at RAM base.
But the flash based
loading was access fault.
Regards,
Kiman
Pohang Light
Source
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |