mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 11:44:38 +02:00
Added STM32F1 Cube HAL support (we had StdPeriLib, not Cube).
This commit is contained in:
@@ -165,6 +165,10 @@ extern "C" {
|
|||||||
#elif defined(STM32F207xx)
|
#elif defined(STM32F207xx)
|
||||||
#define WOLFSSL_STM32F2
|
#define WOLFSSL_STM32F2
|
||||||
#define HAL_CONSOLE_UART huart3
|
#define HAL_CONSOLE_UART huart3
|
||||||
|
#elif defined(STM32F107xC)
|
||||||
|
#define WOLFSSL_STM32F1
|
||||||
|
#define HAL_CONSOLE_UART huart4
|
||||||
|
#define NO_STM32_RNG
|
||||||
#else
|
#else
|
||||||
#warning Please define a hardware platform!
|
#warning Please define a hardware platform!
|
||||||
#define WOLFSSL_STM32F4 /* default */
|
#define WOLFSSL_STM32F4 /* default */
|
||||||
|
@@ -1242,7 +1242,9 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#endif
|
#endif
|
||||||
#define NO_OLD_RNGNAME
|
#define NO_OLD_RNGNAME
|
||||||
#ifdef WOLFSSL_STM32_CUBEMX
|
#ifdef WOLFSSL_STM32_CUBEMX
|
||||||
#if defined(WOLFSSL_STM32F2)
|
#if defined(WOLFSSL_STM32F1)
|
||||||
|
#include "stm32f1xx_hal.h"
|
||||||
|
#elif defined(WOLFSSL_STM32F2)
|
||||||
#include "stm32f2xx_hal.h"
|
#include "stm32f2xx_hal.h"
|
||||||
#elif defined(WOLFSSL_STM32L5)
|
#elif defined(WOLFSSL_STM32L5)
|
||||||
#include "stm32l5xx_hal.h"
|
#include "stm32l5xx_hal.h"
|
||||||
|
Reference in New Issue
Block a user