28#define MBED_PLATFORM 1
29#define STM32_PLATFORM 2
34#if defined(DEV_AD7124_4)
35#define ACTIVE_DEVICE "AD7124-4"
36#elif defined(DEV_AD7124_8)
37#define ACTIVE_DEVICE "AD7124-8"
39#define ACTIVE_DEVICE "AD7124-8"
40#warning "No active device selected. AD7124-8 is assumed as default"
43#if !defined(ACTIVE_PLATFORM)
44#define ACTIVE_PLATFORM STM32_PLATFORM
47#if (ACTIVE_PLATFORM == MBED_PLATFORM)
49#define spi_init_extra_params mbed_spi_extra_init_params
50#define spi_ops mbed_spi_ops
52#include "app_config_stm32.h"
53#define spi_init_extra_params stm32_spi_extra_init_params
54#define uart_extra_init_params stm32_uart_extra_init_params
55#define spi_ops stm32_spi_ops
56#define uart_ops stm32_uart_ops
struct no_os_spi_init_param spi_init_params
Definition ad3530r_user_config.c:48
struct no_os_uart_init_param uart_init_params
Definition app_config.c:45
Header file for Mbed platform configurations.