kopia lustrzana https://github.com/mobilinkd/tnc3-firmware
Make the adcInputQueue size match the number of buffers allocated in AudioInput.hpp (8).
rodzic
00e30ff598
commit
fd6d13cfa4
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue