mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
PICO: Adding getMcuTypeInfo
This commit is contained in:
parent
24524a3e29
commit
67fc783070
1 changed files with 12 additions and 0 deletions
|
@ -214,3 +214,15 @@ void unusedPinsInit(void)
|
||||||
{
|
{
|
||||||
IOTraversePins(unusedPinInit);
|
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;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue