Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
SPI Identifiers Undefined
When trying to compile this code on the mbed Compiler, I am getting the PA7, PA6, PA5, PB6, PB9 in line 10 are undefined identifiers. Does anyone know if these are supposed to be changed to our specific application of the SPI interface?Thanks in advance!
Question relating to:
1 Answer
9 years, 6 months ago.
They are the pins you use for your SPI interface, so check for the board you are using what they are called.
I just found that the NUCLEO-F401RE development board with the STM32F401 microprocessor has the PA_7, PA_6, PA_5, PB_6, and PB_9 pins. Using this microprocessor in the compiler removes the build errors. Unfortunately, I cannot answer my own question, so someone else will probably have to update it as answered.
posted by Timothy Le 20 May 2015