Skip to content

Commit 6c5e1e2

Browse files
authored
Merge pull request #31 from LouDnl/dev
Update to v0.2.3-BETA
2 parents 1dbe7df + c8a0420 commit 6c5e1e2

File tree

3 files changed

+26
-19
lines changed

3 files changed

+26
-19
lines changed

CMakeLists.txt

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,20 @@ 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!
3737
if(NOT DEFINED $ENV{DISABLE_DEBUGGING}) # MATCHES
38-
set(USBSID_DEBUGGING 1) # Enable UART ~ mandatory enable for all other logging types
39-
set(MEMORY_LOGGING 0) # Enable memory map of SID 1 voices printing
40-
set(DEFAULT_DEBUGGING 1) # Enable debugging in usbsid.c
41-
set(USBIO_DEBUGGING 0) # Enable debugging in usbsid.c
42-
set(CONFIG_DEBUGGING 1) # Enable debugging in config.c
43-
set(GPIOBUS_DEBUGGING 0) # Enable debugging in gpio.c
44-
set(MIDI_DEBUGGING 0) # Enable debugging in midi.c
38+
set(USBSID_DEBUGGING 1) # Enable UART ~ mandatory enable for all other logging types
39+
set(MEMORY_LOGGING 0) # Enable memory map of SID 1 voices printing
40+
set(DEFAULT_DEBUGGING 1) # Enable debugging in usbsid.c
41+
set(USBIO_DEBUGGING 0) # Enable debugging in usbsid.c
42+
set(CONFIG_DEBUGGING 1) # Enable debugging in config.c
43+
set(GPIOBUS_DEBUGGING 0) # Enable debugging in gpio.c
44+
set(MIDI_DEBUGGING 0) # Enable debugging in midi.c
45+
set(MIDIVOICE_DEBUGGING 0) # Enable debugging in midi.c
4546
endif()
4647

4748

@@ -66,8 +67,15 @@ endif()
6667
if(DEFINED PICO_PLATFORM)
6768
message("PICO_PLATFORM is defined as ${PICO_PLATFORM}")
6869
else()
69-
message("PICO_PLATFORM not defined, defaulting to 'rp2040'")
70-
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()
7179
endif()
7280

7381
### Target product & output filename
@@ -198,12 +206,12 @@ list(APPEND PICOTYPES
198206
"LED"
199207
)
200208
if(${PICO_BOARD} STREQUAL "pico")
201-
list(APPEND FILENAMES
202-
${PROJECT_FILENAME}-rgb
203-
)
204-
list(APPEND PICOTYPES
209+
list(APPEND FILENAMES
210+
${PROJECT_FILENAME}-rgb
211+
)
212+
list(APPEND PICOTYPES
205213
"RGB"
206-
)
214+
)
207215
endif()
208216

209217
### Source files to compile

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,8 @@ Click [this link](https://www.retro8bitshop.com/product/usbsid-pico-by-loud/) to
148148
#### PCBWay
149149
At a minimum of 5 bare or assembled boards it is also possible to purchase at [PCBWay here](https://www.pcbway.com/project/shareproject/USBSID_Pico_c99c9748.html).
150150
#### Me (while I still have boards)
151-
While still available you can purchase assembled boards minus Pico can be purchased from me - send me a message on any of my socials.
151+
While still available you can purchase assembled boards minus Pico from me - send me a message on any of my socials.
152152

153-
I am currently negotiating the possibility for the boards to be purchasable at an online store here in NL.
154153
### Schematic and BOM
155154
If you want and are up to it you can create your own development board by using the provided [schematic](resources/v1.0-schematic.pdf) and [interactive BOM](https://loudnl.github.io/).
156155
### PCB Features ~ v1.0

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)