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) && defined(PICO_RP2040)
130+ #define SIO_IRQ_FIFO SIO_IRQ_PROC0
131+ #endif
132+
129133#include " main.h"
130134
131135static void core1 ()
@@ -160,7 +164,7 @@ static void core0( void *pvParameters )
160164 {
161165 statistics.printToSerial (base.processDataHandle , base.processSerialHandle );
162166 stdio_flush ();
163- vTaskDelay (pdMS_TO_TICKS (2 ));
167+ vTaskDelay (pdMS_TO_TICKS (5 ));
164168 }
165169
166170 sem_release (&base.serialSemaphore );
You can’t perform that action at this time.
0 commit comments