Keil Logo

spi driver mismatch for cmsis?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
obdgenie obdgenie
Posted
20-Jun-2018 18:42 GMT
Toolset
ARM
New! spi driver mismatch for cmsis?

I'm trying to compile the example code from the Peripheral Interface for Middleware and Application Code. I get the Undefined symbol Driver_SPI0 (referred from thread_spi.o) error. I read this page http://www.keil.com/forum/61309/ but I think that is quite old.

My arm cmsis is at 5.0.1 and my mdk middleware is at 7.4.1

Do I need to update my drivers?

Read-Only
Author
obdgenie obdgenie
Posted
20-Jun-2018 18:44 GMT
Toolset
ARM
New! RE: spi driver mismatch for cmsis?

I should have included I'm using the stm32f205

Read-Only
Author
obdgenie obdgenie
Posted
21-Jun-2018 18:16 GMT
Toolset
ARM
New! RE: spi driver mismatch for cmsis?

I guess the example assume global? I fixed it with a static declaration.

static ARM_DRIVER_SPI Driver_SPI0;

seems to compile and run now.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.