3 years, 9 months ago.

Error: Identifier "PD_8" is undefined in "src/..... nucleo-f030r8

Why do I get error for something that should be defined in pinname.h as it is shown in the image of the hardware pin layout?

1 Answer

3 years, 9 months ago.

Hi Mariwan,

Thanks for your question :) .

If you look at the pin out for F030R8, you can see that PD_8 is not a valid pin name:

Nucleo pinout

Arduino-compatible headers


Morpho headers

These headers give access to all STM32 pins.



Andrea, team mbed

Accepted Answer