{ "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)'" } ] } ] }