precision-converters-firmware
Loading...
Searching...
No Matches
app_config.h
Go to the documentation of this file.
1/*****************************************************************************
2 * @file app_config.h
3 *
4 * @brief Configuration file of AD5770R firmware example program
5******************************************************************************
6 *
7Copyright (c) 2020-2022,2025 Analog Devices, Inc. All Rights Reserved.
8
9This software is proprietary to Analog Devices, Inc. and its licensors.
10By using this software you agree to the terms of the associated
11Analog Devices Software License Agreement.
12 ******************************************************************************/
13
14#ifndef APP_CONFIG_H_
15#define APP_CONFIG_H_
16
17/******************************************************************************/
18/***************************** Include Files **********************************/
19/******************************************************************************/
20
21#include <stdint.h>
22#include <common_macros.h>
23
24/******************************************************************************/
25/********************** Macros and Constants Definitions **********************/
26/******************************************************************************/
27
28/* Select the Active Platform */
29#if !defined(ACTIVE_PLATFORM)
30#define ACTIVE_PLATFORM STM32_PLATFORM
31#endif
32
33#if (ACTIVE_PLATFORM == STM32_PLATFORM)
34#include "app_config_stm32.h"
35#define spi_init_extra_params stm32_spi_extra_init_params
36#define uart_extra_init_params stm32_uart_extra_init_params
37#define hw_ldacb_extra_init_params stm32_gpio_ldac_init_params
38#endif
39
40#endif /* APP_CONFIG_H_ */
The file contain common macros that needs to be followed same across all the projects.
Header file for STM32 platform configurations.