1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

PICO: Adding getMcuTypeInfo

This commit is contained in:
blckmn 2025-01-25 14:58:05 +11:00
parent 24524a3e29
commit 67fc783070

View file

@ -214,3 +214,15 @@ void unusedPinsInit(void)
{
IOTraversePins(unusedPinInit);
}
const mcuTypeInfo_t *getMcuTypeInfo(void)
{
static const mcuTypeInfo_t info = {
#if defined(RP2350B)
.id = MCU_TYPE_RP2350B, .name = "RP2350B"
#else
#error MCU Type info not defined for STM (or clone)
#endif
};
return &info;
}