Hellen needs text representation of GPIOI
H7 dreams are asking for J and K
This commit is contained in:
parent
1c410364c3
commit
aaa9f2a608
|
@ -74,6 +74,18 @@ const char *portname(ioportid_t GPIOx) {
|
||||||
if (GPIOx == GPIOH)
|
if (GPIOx == GPIOH)
|
||||||
return "PH";
|
return "PH";
|
||||||
#endif /* STM32_HAS_GPIOH */
|
#endif /* STM32_HAS_GPIOH */
|
||||||
|
#if STM32_HAS_GPIOI
|
||||||
|
if (GPIOx == GPIOI)
|
||||||
|
return "PI";
|
||||||
|
#endif /* STM32_HAS_GPIOI */
|
||||||
|
#if STM32_HAS_GPIOJ
|
||||||
|
if (GPIOx == GPIOJ)
|
||||||
|
return "PJ";
|
||||||
|
#endif /* STM32_HAS_GPIOJ */
|
||||||
|
#if STM32_HAS_GPIOK
|
||||||
|
if (GPIOx == GPIOK)
|
||||||
|
return "PK";
|
||||||
|
#endif /* STM32_HAS_GPIOK */
|
||||||
return "unknown";
|
return "unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue