From c4678339908e413cbc6751cf863267807acafc85 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Sun, 28 Jun 2015 16:30:08 +0200 Subject: Enable dual USART output functionality. In other words, enable the USART connected to the serial port on the Raspberry Pi GPIO header. Sending a newline to either USART directs the generated entropy to that USART. --- src/entropy/stm_init.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/entropy/stm_init.h') diff --git a/src/entropy/stm_init.h b/src/entropy/stm_init.h index 6a5de19..d58c254 100644 --- a/src/entropy/stm_init.h +++ b/src/entropy/stm_init.h @@ -10,6 +10,7 @@ #define LED_BLUE GPIO_PIN_15 extern UART_HandleTypeDef huart1; +extern UART_HandleTypeDef huart2; extern DMA_HandleTypeDef hdma_tim; extern void stm_init(uint32_t *buf0, uint16_t counters); -- cgit v1.2.3