Bugs in mcf5282.h return in 4.9.3

Andrei Chichak groups at chichak.ca
Thu Nov 19 15:42:54 UTC 2009


I posted this earlier, Thomas Dörfler mentioned that he had fixed the issue, but it seems to have made it into 4.9.3. So, here we go:

There are 4 macros in libcpu/m68k/mcf5282/include/mcf5282.h that are missing their parameter declarations.

The definitions of:

MCF5282_SCM_PACR_ACCESSCTRL1
MCF5282_SCM_PACR_ACCESSCTRL0
MCF5282_SCM_GPACR_ACCESSCTRL
MCF5282_QSPI_QCR_CS

all need the parameter "(x)" but the parameter is not declared. Invoking these macros yields an error like

../src/dspcommtask.c:75: error: 'x' undeclared (first use in this function)



Thanks,
Andrei


---------------------
Andrei Chichak

Systems Developer
CBF Systems Inc.
4-038 NINT Innovation Centre
11421 Saskatchewan Drive
Edmonton, Alberta
Canada
T6G 2M9

Phone: 780-628-2072
Skype: andrei.chichak


_______________________________________________
rtems-users mailing list
rtems-users at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users





More information about the users mailing list