7 years, 6 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

7 years, 6 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

/media/uploads/bcostm/nucleo64_revc_f030r8_mbed_pinout_v2_arduino.png

Morpho headers

These headers give access to all STM32 pins.

/media/uploads/bcostm/nucleo64_revc_f030r8_mbed_pinout_v2_morpho.png

Regards,

Andrea, team mbed

Accepted Answer