diff --git a/Src/main.c b/Src/main.c index da2d2f6..f4a4c96 100644 --- a/Src/main.c +++ b/Src/main.c @@ -126,7 +126,7 @@ osMessageQId dacOutputQueueHandle; uint8_t dacOutputQueueBuffer[ 128 * sizeof( uint8_t ) ]; osStaticMessageQDef_t dacOutputQueueControlBlock; osMessageQId adcInputQueueHandle; -uint8_t adcInputQueueBuffer[ 3 * sizeof( uint32_t ) ]; +uint8_t adcInputQueueBuffer[ 8 * sizeof( uint32_t ) ]; osStaticMessageQDef_t adcInputQueueControlBlock; osTimerId beaconTimer1Handle; osStaticTimerDef_t beaconTimer1ControlBlock; @@ -596,7 +596,7 @@ int main(void) dacOutputQueueHandle = osMessageCreate(osMessageQ(dacOutputQueue), NULL); /* definition and creation of adcInputQueue */ - osMessageQStaticDef(adcInputQueue, 3, uint32_t, adcInputQueueBuffer, &adcInputQueueControlBlock); + osMessageQStaticDef(adcInputQueue, 8, uint32_t, adcInputQueueBuffer, &adcInputQueueControlBlock); adcInputQueueHandle = osMessageCreate(osMessageQ(adcInputQueue), NULL); /* USER CODE BEGIN RTOS_QUEUES */ diff --git a/firmware.ioc b/firmware.ioc index 00eccd6..a832d1b 100644 --- a/firmware.ioc +++ b/firmware.ioc @@ -1,7 +1,7 @@ #MicroXplorer Configuration settings - do not modify VP_RCC_LSE.Signal=RCC_LSE PCC.Series=STM32L4 -FREERTOS.Queues01=ioEventQueue,16,uint32_t,0,Static,ioEventQueueBuffer,ioEventQueueControlBlock;serialInputQueue,16,uint32_t,0,Static,serialInputQueueBuffer,serialInputQueueControlBlock;serialOutputQueue,16,uint32_t,0,Static,serialOutputQueueBuffer,serialOutputQueueControlBlock;audioInputQueue,4,uint8_t,0,Static,audioInputQueueBuffer,audioInputQueueControlBlock;hdlcInputQueue,3,uint32_t,0,Static,hdlcInputQueueBuffer,hdlcInputQueueControlBlock;hdlcOutputQueue,3,uint32_t,0,Static,hdlcOutputQueueBuffer,hdlcOutputQueueControlBlock;dacOutputQueue,128,uint8_t,0,Static,dacOutputQueueBuffer,dacOutputQueueControlBlock;adcInputQueue,3,uint32_t,0,Static,adcInputQueueBuffer,adcInputQueueControlBlock +FREERTOS.Queues01=ioEventQueue,16,uint32_t,0,Static,ioEventQueueBuffer,ioEventQueueControlBlock;serialInputQueue,16,uint32_t,0,Static,serialInputQueueBuffer,serialInputQueueControlBlock;serialOutputQueue,16,uint32_t,0,Static,serialOutputQueueBuffer,serialOutputQueueControlBlock;audioInputQueue,4,uint8_t,0,Static,audioInputQueueBuffer,audioInputQueueControlBlock;hdlcInputQueue,3,uint32_t,0,Static,hdlcInputQueueBuffer,hdlcInputQueueControlBlock;hdlcOutputQueue,3,uint32_t,0,Static,hdlcOutputQueueBuffer,hdlcOutputQueueControlBlock;dacOutputQueue,128,uint8_t,0,Static,dacOutputQueueBuffer,dacOutputQueueControlBlock;adcInputQueue,8,uint32_t,0,Static,adcInputQueueBuffer,adcInputQueueControlBlock RTC.Alarm_B-Alarm\ B=RTC_ALARM_B PB13.GPIOParameters=PinState,GPIO_Label,GPIO_ModeDefaultOutputPP VP_RCC_LSE.Mode=CRS SYNC Source LSE