22#include "no_os_gpio.h"
29#define CONTINUOUS_DATA_CAPTURE 0
30#define BURST_DATA_CAPTURE 1
33#define SDP_120_INTERFACE 0
34#define ARDUINO_INTERFACE 1
41#if !defined(EVB_INTERFACE)
42#define EVB_INTERFACE ARDUINO_INTERFACE
46#if !defined(ACTIVE_PLATFORM)
47#define ACTIVE_PLATFORM STM32_PLATFORM
53#if !defined(USE_PHY_COM_PORT)
54#define USE_VIRTUAL_COM_PORT
67#if (ACTIVE_PLATFORM == STM32_PLATFORM)
69#define HW_CARRIER_NAME TARGET_NAME
71#define uart_extra_init_params stm32_uart_extra_init_params
72#define spi_extra_init_params stm32_spi_extra_init_params
73#define vcom_extra_init_params stm32_vcom_extra_init_params
74#define uart_extra_init_params stm32_uart_extra_init_params
75#define ext_int_extra_init_params stm32_trigger_gpio_irq_init_params
76#define uart_ops stm32_uart_ops
77#define vcom_ops stm32_usb_uart_ops
78#define irq_platform_ops stm32_gpio_irq_ops
79#define csb_platform_ops stm32_gpio_ops
80#define rdy_platform_ops stm32_gpio_ops
81#define spi_platform_ops stm32_spi_ops
82#define irq_ops stm32_irq_ops
83#define i2c_ops stm32_i2c_ops
84#define trigger_gpio_irq_ops stm32_gpio_irq_ops
85#define trigger_gpio_handle 0
86#define IRQ_INT_ID RDY_PIN
88#error "No/Invalid active platform selected"
92#define FIRMWARE_NAME "ad717x_iio"
94#if !defined(PLATFORM_NAME)
95#define PLATFORM_NAME HW_CARRIER_NAME
99#if !defined(DATA_CAPTURE_MODE)
100#define DATA_CAPTURE_MODE CONTINUOUS_DATA_CAPTURE
107#define AD717X_INTERNAL_REFERENCE 2.5
108#define AD717x_EXTERNAL_REFERENCE 2.5
109#define AD717X_AVDD_AVSS_REFERENCE 2.5
112#define IIO_UART_BAUD_RATE (230400)
114#define CONSOLE_STDIO_PORT_AVAILABLE
126extern struct no_os_gpio_desc *
csb_gpio;
128extern struct no_os_gpio_desc *
rdy_gpio;
struct no_os_irq_ctrl_desc * trigger_irq_desc
Definition app_config.c:103
int32_t init_system(void)
Initialize the system peripherals.
Definition app_config.c:185
struct no_os_uart_desc * uart_desc
Definition app_config.c:97
struct no_os_eeprom_desc * eeprom_desc
Definition app_config.c:172
struct no_os_uart_desc * uart_console_stdio_desc
Definition app_config.c:100
struct no_os_gpio_desc * csb_gpio
Definition app_config.c:51
struct no_os_gpio_desc * rdy_gpio
Definition app_config.c:54
The file contain common macros that needs to be followed same across all the projects.
Header file for STM32 platform configurations.