diff options
| author | J08nY | 2020-02-26 17:12:47 +0100 |
|---|---|---|
| committer | J08nY | 2020-02-26 17:12:47 +0100 |
| commit | ee47dd194d90a7b4e66be13b02e105fc2ef064eb (patch) | |
| tree | 85c7c6410c723a15077c7ad73b4a0e9891603d86 /pyecsca/codegen/hal | |
| parent | f78ff987ac2df62dbd8326ce33ae61c97673710e (diff) | |
| download | pyecsca-codegen-ee47dd194d90a7b4e66be13b02e105fc2ef064eb.tar.gz pyecsca-codegen-ee47dd194d90a7b4e66be13b02e105fc2ef064eb.tar.zst pyecsca-codegen-ee47dd194d90a7b4e66be13b02e105fc2ef064eb.zip | |
Add ECDH.
Diffstat (limited to 'pyecsca/codegen/hal')
| -rw-r--r-- | pyecsca/codegen/hal/stm32f3/stm32f3_hal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/codegen/hal/stm32f3/stm32f3_hal.c b/pyecsca/codegen/hal/stm32f3/stm32f3_hal.c index 16cd2d2..b5480f3 100644 --- a/pyecsca/codegen/hal/stm32f3/stm32f3_hal.c +++ b/pyecsca/codegen/hal/stm32f3/stm32f3_hal.c @@ -76,7 +76,7 @@ void init_uart(void) HAL_GPIO_Init(GPIOA, &GpioInit); UartHandle.Instance = USART1; - UartHandle.Init.BaudRate = 38400; + UartHandle.Init.BaudRate = 115200; UartHandle.Init.WordLength = UART_WORDLENGTH_8B; UartHandle.Init.StopBits = UART_STOPBITS_1; UartHandle.Init.Parity = UART_PARITY_NONE; @@ -122,7 +122,7 @@ void putch(char c) uint8_t d = c; HAL_UART_Transmit(&UartHandle, &d, 1, 5000); } -#if (PLATFORM==CWLITEARM) +#if (PLATFORM==CWLITEARM || PLATFORM==CW308_STM32F3) void change_err_led(int x) { if (x) |
