L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
platform.h
Go to the documentation of this file.
1/* USER CODE BEGIN Header */
2/**
3 ******************************************************************************
4 * @file platform.h
5 * @author MCD Application Team
6 * @brief Header for General HW instances configuration
7 ******************************************************************************
8 * @attention
9 *
10 * Copyright (c) 2026 STMicroelectronics.
11 * All rights reserved.
12 *
13 * This software is licensed under terms that can be found in the LICENSE file
14 * in the root directory of this software component.
15 * If no LICENSE file comes with this software, it is provided AS-IS.
16 *
17 ******************************************************************************
18 */
19/* USER CODE END Header */
20
21/* Define to prevent recursive inclusion -------------------------------------*/
22#ifndef __PLATFORM_H__
23#define __PLATFORM_H__
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/* Exported constants --------------------------------------------------------*/
30
31/* USER CODE BEGIN EC */
32
33/* USER CODE END EC */
34
35/* Includes ------------------------------------------------------------------*/
36#include <stdbool.h>
37#include "stm32wlxx.h"
38#include "main.h"
39#include "stm32wlxx_ll_gpio.h"
40#if defined(USE_BSP_DRIVER)
41/* code generated by STM32CubeMX does not support BSP. */
42/* In order to use BSP, users can add the BSP files in the IDE project space */
43/* and define USE_BSP_DRIVER in the preprocessor definitions */
44#include "stm32wlxx_nucleo_radio.h"
45#include "stm32wlxx_nucleo.h" /* not used by this project*/
46#endif /* defined(USE_BSP_DRIVER) */
47
48/* USER CODE BEGIN include */
49
50/* USER CODE END include */
51
52/* Exported types ------------------------------------------------------------*/
53/* USER CODE BEGIN ET */
54
55/* USER CODE END ET */
56
57/* External variables --------------------------------------------------------*/
58/* USER CODE BEGIN EV */
59
60/* USER CODE END EV */
61
62/* Exported macro ------------------------------------------------------------*/
63/* USER CODE BEGIN EM */
64
65/* USER CODE END EM */
66
67/* Exported functions prototypes ---------------------------------------------*/
68/* USER CODE BEGIN EFP */
69
70/* USER CODE END EFP */
71
72#ifdef __cplusplus
73}
74#endif
75
76#endif /* __PLATFORM_H__ */
: Header for main.c file. This file contains the common defines of the application.