File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,6 +128,13 @@ macro(HyperSerialPicoTarget HyperSerialPicoTargetName)
128128 if (BOOT_WORKAROUND)
129129 target_compile_definitions (${HyperSerialPicoTargetName} PUBLIC -DBOOT_WORKAROUND -DPICO_XOSC_STARTUP_DELAY_MULTIPLIER=64 )
130130 endif ()
131+
132+ target_compile_definitions (${HyperSerialPicoTargetName} PRIVATE
133+ CFG_TUD_CDC_RX_BUFSIZE=8192
134+ CFG_TUD_CDC_EP_BUFSIZE=2048
135+ CFG_TUD_CDC_TX_BUFSIZE=512
136+ )
137+
131138 target_include_directories (${HyperSerialPicoTargetName} PRIVATE ${HyperSerialPicoCompanionIncludes} )
132139 target_link_libraries (${HyperSerialPicoTargetName} ${HyperSerialPicoCompanionLibs} )
133140 pico_add_extra_outputs (${HyperSerialPicoTargetName} )
Original file line number Diff line number Diff line change 126126#define yield () busy_wait_us(100 )
127127#define millis xTaskGetTickCount
128128
129+ #if !defined(SIO_IRQ_FIFO)
130+ #define SIO_IRQ_FIFO SIO_IRQ_PROC0
131+ #endif
132+
129133#include " main.h"
130134
131135static void core1 ()
@@ -191,7 +195,7 @@ int main(void)
191195 base.receiverSemaphore = xSemaphoreCreateBinary ();
192196
193197 multicore_fifo_clear_irq ();
194- irq_set_exclusive_handler (SIO_IRQ_FIFO , on_fifo_irq);
198+ irq_set_exclusive_handler (SIO_IRQ_PROC0 , on_fifo_irq);
195199 irq_set_enabled (SIO_IRQ_FIFO , true );
196200
197201 multicore_launch_core1 (core1);
You can’t perform that action at this time.
0 commit comments