|
1 | | -# PICO_BUILD_DEFINE: PICO_SDK_VERSION_MAJOR, SDK major version number, type=int, pico_base |
2 | | -# PICO_CONFIG: PICO_SDK_VERSION_MAJOR, SDK major version number, type=int, pico_base |
| 1 | +# PICO_BUILD_DEFINE: PICO_SDK_VERSION_MAJOR, SDK major version number, type=int, group=pico_base |
| 2 | +# PICO_CONFIG: PICO_SDK_VERSION_MAJOR, SDK major version number, type=int, group=pico_base |
3 | 3 | set(PICO_SDK_VERSION_MAJOR 1) |
4 | | -# PICO_BUILD_DEFINE: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, pico_base |
5 | | -# PICO_CONFIG: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, pico_base |
| 4 | +# PICO_BUILD_DEFINE: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, group=pico_base |
| 5 | +# PICO_CONFIG: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, group=pico_base |
6 | 6 | set(PICO_SDK_VERSION_MINOR 1) |
7 | | -# PICO_BUILD_DEFINE: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, pico_base |
8 | | -# PICO_CONFIG: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, pico_base |
9 | | -set(PICO_SDK_VERSION_REVISION 0) |
| 7 | +# PICO_BUILD_DEFINE: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, group=pico_base |
| 8 | +# PICO_CONFIG: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, group=pico_base |
| 9 | +set(PICO_SDK_VERSION_REVISION 1) |
| 10 | +# PICO_BUILD_DEFINE: PICO_SDK_VERSION_PRE_RELEASE_ID, optional SDK pre-release version identifier, type=string, group=pico_base |
| 11 | +# PICO_CONFIG: PICO_SDK_VERSION_PRE_RELEASE_ID, optional SDK pre-release version identifier, type=string, group=pico_base |
| 12 | +set(PICO_SDK_VERSION_PRE_RELEASE_ID develop) |
| 13 | + |
10 | 14 | # PICO_BUILD_DEFINE: PICO_SDK_VERSION_STRING, SDK version, type=string, group=pico_base |
11 | 15 | # PICO_CONFIG: PICO_SDK_VERSION_STRING, SDK version, type=string, group=pico_base |
12 | 16 | set(PICO_SDK_VERSION_STRING "${PICO_SDK_VERSION_MAJOR}.${PICO_SDK_VERSION_MINOR}.${PICO_SDK_VERSION_REVISION}") |
| 17 | + |
| 18 | +if (PICO_SDK_VERSION_PRE_RELEASE_ID) |
| 19 | + set(PICO_SDK_VERSION_STRING "${PICO_SDK_VERSION_STRING}-${PICO_SDK_VERSION_PRE_RELEASE_ID}") |
| 20 | +endif() |
0 commit comments