Files
CelloEffects/Drivers/STM32H7RSxx_BSP/STM32H7S78-DK/bumpversion.cfg
T
2026-09-04 09:57:30 +02:00

27 lines
804 B
INI

{
"name": "BSP Disco",
"configList": [
{
"file": "stm32h7s78_discovery.h",
"commit": true,
"replacements": [
{
"search":"VERSION_MAIN\\s+\\(0x[a-fA-F\\d]+U?\\)",
"replace":"'VERSION_MAIN (0x' + '{:02X}'.format(major) + 'U)'"
},
{
"search":"VERSION_SUB1\\s+\\(0x[a-fA-F\\d]+U?\\)",
"replace":"'VERSION_SUB1 (0x' + '{:02X}'.format(minor) + 'U)'"
},
{
"search":"VERSION_SUB2\\s+\\(0x[a-fA-F\\d]+U?\\)",
"replace":"'VERSION_SUB2 (0x' + '{:02X}'.format(patch) + 'U)'"
},
{
"search":"VERSION_RC\\s+\\(0x[a-fA-F\\d]+U?\\)",
"replace":"'VERSION_RC (0x' + '{:02X}'.format(rc) + 'U)'"
}
]
}
]
}