diff --git a/hal_st/instantiations/NucleoUi.hpp b/hal_st/instantiations/NucleoUi.hpp index fe4b27fd..ec900620 100644 --- a/hal_st/instantiations/NucleoUi.hpp +++ b/hal_st/instantiations/NucleoUi.hpp @@ -36,6 +36,7 @@ namespace main_ #endif }; +#if defined(PORTD) // UM2435: MB1355 reference board with STM32WB55RG struct Nucleo64WBUi { @@ -46,6 +47,7 @@ namespace main_ hal::GpioPinStm ledGreen{ hal::Port::B, 0 }; hal::GpioPinStm ledBlue{ hal::Port::B, 5 }; }; +#endif // UM3103: MB1863 reference board with STM32WBA52CG struct Nucleo64WBAUi