Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71d1b0e

Browse files
SDK 2.2.1-develop, enable MIDI, add IRQ slots
Fixes#3189Increase the shared IRQ handler slots by 2 to account for the RP2350doorbells taking up 2 of them (since we want to allow users to have theirown doorbell handlers).Move to the latest -develop version of the SDK since we need to rebuildthe SDK anyway.Enable TinyUSB MIDI support. Right now there's not a library for it. butwith this folks like@madias123 or others who have asked for it can startthe work.
1 parent5e266ee commit71d1b0e

File tree

16 files changed

+13
-7
lines changed

16 files changed

+13
-7
lines changed

‎cores/rp2040/RP2040Support.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class _MFIFO {
7272

7373
voidregisterCore() {
7474
#ifndef __FREERTOS
75-
multicore_doorbell_clear_current_core(_doorbell);
7675
uint32_t irq =multicore_doorbell_irq_num(_doorbell);
7776
irq_add_shared_handler(irq, _irq,128);
7877
irq_set_enabled(irq,true);

‎include/rp2040/pico_base/pico/version.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#definePICO_SDK_VERSION_MAJOR 2
1515
#definePICO_SDK_VERSION_MINOR 2
16-
#definePICO_SDK_VERSION_REVISION0
17-
#definePICO_SDK_VERSION_STRING "2.2.0"
16+
#definePICO_SDK_VERSION_REVISION1
17+
#definePICO_SDK_VERSION_STRING "2.2.1-develop"
1818

1919
#endif

‎include/rp2350/pico_base/pico/version.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#definePICO_SDK_VERSION_MAJOR 2
1515
#definePICO_SDK_VERSION_MINOR 2
16-
#definePICO_SDK_VERSION_REVISION0
17-
#definePICO_SDK_VERSION_STRING "2.2.0"
16+
#definePICO_SDK_VERSION_REVISION1
17+
#definePICO_SDK_VERSION_STRING "2.2.1-develop"
1818

1919
#endif

‎include/tusb_config.h‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#defineCFG_TUD_HID (2)
7474
#defineCFG_TUD_CDC (1)
7575
#defineCFG_TUD_MSC (1)
76-
#defineCFG_TUD_MIDI (0)
76+
#defineCFG_TUD_MIDI (1)
7777
#defineCFG_TUD_VENDOR (0)
7878

7979
#defineCFG_TUD_CDC_RX_BUFSIZE (256)
@@ -84,6 +84,10 @@
8484
// HID buffer size Should be sufficient to hold ID (if any) + Data
8585
#defineCFG_TUD_HID_EP_BUFSIZE (64)
8686

87+
// MIDI
88+
#defineCFG_TUD_MIDI_RX_BUFSIZE (64)
89+
#defineCFG_TUD_MIDI_TX_BUFSIZE (64)
90+
8791
#ifdef__cplusplus
8892
}
8993
#endif

‎lib/platform_def.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
-DPICO_RP2040_USB_DEVICE_UFRAME_FIX=1
7171
-DPICO_USE_BLOCKED_RAM=0
7272
-DPICO_XOSC_STARTUP_DELAY_MULTIPLIER=64
73+
-DPICO_MAX_SHARED_IRQ_HANDLERS=6
7374

7475
-DPICO_CYW43_ARCH_HEADER=stdint.h
7576
-DCYW43_TASK_STACK_SIZE=1024

‎lib/rp2040/liblwip-bt.a‎

0 Bytes
Binary file not shown.

‎lib/rp2040/liblwip.a‎

0 Bytes
Binary file not shown.

‎lib/rp2040/libpico.a‎

33.3 KB
Binary file not shown.

‎lib/rp2350-riscv/liblwip-bt.a‎

0 Bytes
Binary file not shown.

‎lib/rp2350-riscv/liblwip.a‎

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp