Skip to content

Commit c8a0420

Browse files
committed
Update version for release
- small fix in board detect for manual build
1 parent 5e7a244 commit c8a0420

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

CMakeLists.txt

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ cmake_minimum_required(VERSION 3.17)
2929
set(PROJECT_NAME usbsidpico)
3030
set(PROJECT_MANUFACTURER "LouD")
3131
set(PRODUCT_STRING "USBSID-Pico")
32-
set(MAGIC_SMOKE "20241120")
33-
set(PROJECT_VERSION "0.2.2-BETA.${MAGIC_SMOKE}") # Must be the same as in config.h
32+
set(MAGIC_SMOKE "20241208")
33+
set(PROJECT_VERSION "0.2.3-BETA.${MAGIC_SMOKE}") # Must be the same as in config.h
3434

3535
### Want a cookie?
3636
# NOTICE: ENABLING THESE DEBUGGING DEFINITIONS WILL HAVE SIGNIFICANT IMPACT AND WILL DELAY PLAYING!
@@ -67,8 +67,15 @@ endif()
6767
if(DEFINED PICO_PLATFORM)
6868
message("PICO_PLATFORM is defined as ${PICO_PLATFORM}")
6969
else()
70-
message("PICO_PLATFORM not defined, defaulting to 'rp2040'")
71-
set(PICO_PLATFORM rp2040)
70+
if(DEFINED PICO_BOARD)
71+
if(PICO_BOARD STREQUAL "pico2")
72+
set(PICO_PLATFORM rp2350)
73+
message("PICO_PLATFORM not defined, board is ${PICO_BOARD} setting PICO_PLATFORM to ${PICO_PLATFORM}")
74+
endif()
75+
else()
76+
message("PICO_PLATFORM not defined, defaulting to 'rp2040'")
77+
set(PICO_PLATFORM rp2040)
78+
endif()
7279
endif()
7380

7481
### Target product & output filename

src/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
#define MAGIC_SMOKE 19700101 /* DATEOFRELEASE */
5656
#endif
5757
#ifndef PROJECT_VERSION
58-
#define PROJECT_VERSION "0.2.2-BETA.20241120" /* Must be the same as in CMakeLists.txt */
58+
#define PROJECT_VERSION "0.2.3-BETA.20241208" /* Must be the same as in CMakeLists.txt */
5959
#endif
6060

6161
#ifdef PICO_DEFAULT_LED_PIN

0 commit comments

Comments
 (0)