Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Ads

Discussion Groups

Discussion Groups | Freescale DSPs | SDK 2.5 and 56f805 spi driver

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

SDK 2.5 and 56f805 spi driver - waynerob92780 - May 15 23:34:00 2002



I'm trying to troubleshoot a compile error in the spi driver for the
dsp56805evm. I compile the demo spi project OK
"dps56805evm/nos/applications/spi".
But i create my own test project using "embedded SDK stationary", copy
the spi.c and configextram/appconfig.h from the demo project into my
own test project directory and i get compile errors:

Error : cannot convert
'unsigned int (*)(int, unsighed short *, unsigned int)' to
'unsigned int (*)(int, const void *, unsigned int)'
const.c line 2335 spiWrite,
Error : cannot convert
'void (*)()' to
'void (*)(union sigval)'
spi.c line 71 Timer1Event.sigev_notify_function = WriteOneSampleToDAC;

I have to unclick "relaxed pointer type rules" under c/c++ language
settings (project preferences). The demo spi project has this relaxed
setting turned on. A new project created using embedded sdk
stationary will not have relaxed pointer rules and spi driver compile
will fail.




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )