/***************************************************************************//** * @file * @brief Board Control ******************************************************************************* * # License * Copyright 2022 Silicon Laboratories Inc. www.silabs.com ******************************************************************************* * * SPDX-License-Identifier: Zlib * * The licensor of this software is Silicon Laboratories Inc. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * 3. This notice may not be removed or altered from any source distribution. * ******************************************************************************/ #ifndef SL_BOARD_CONTROL_CONFIG_H #define SL_BOARD_CONTROL_CONFIG_H // <<< Use Configuration Wizard in Context Menu >>> // Enable Relative Humidity and Temperature sensor // Default: 0 #define SL_BOARD_ENABLE_SENSOR_RHT 0 // Enable Hall Effect sensor // Default: 0 #define SL_BOARD_ENABLE_SENSOR_HALL 0 // Enable Barometric Pressure sensor // Default: 0 #define SL_BOARD_ENABLE_SENSOR_PRESSURE 0 // Enable Light sensor // Default: 0 #define SL_BOARD_ENABLE_SENSOR_LIGHT 0 // Enable Inertial Measurement Unit // Default: 0 #define SL_BOARD_ENABLE_SENSOR_IMU 0 // Enable Microphone // Default: 0 #define SL_BOARD_ENABLE_SENSOR_MICROPHONE 0 // Disable SPI Flash // Default: 1 #define SL_BOARD_DISABLE_MEMORY_SPI 1 // <<< end of configuration section >>> // <<< sl:start pin_tool >>> // SL_BOARD_ENABLE_SENSOR_RHT // $[GPIO_SL_BOARD_ENABLE_SENSOR_RHT] #ifndef SL_BOARD_ENABLE_SENSOR_RHT_PORT #define SL_BOARD_ENABLE_SENSOR_RHT_PORT SL_GPIO_PORT_C #endif #ifndef SL_BOARD_ENABLE_SENSOR_RHT_PIN #define SL_BOARD_ENABLE_SENSOR_RHT_PIN 9 #endif // [GPIO_SL_BOARD_ENABLE_SENSOR_RHT]$ // SL_BOARD_ENABLE_SENSOR_HALL // $[GPIO_SL_BOARD_ENABLE_SENSOR_HALL] #ifndef SL_BOARD_ENABLE_SENSOR_HALL_PORT #define SL_BOARD_ENABLE_SENSOR_HALL_PORT SL_GPIO_PORT_C #endif #ifndef SL_BOARD_ENABLE_SENSOR_HALL_PIN #define SL_BOARD_ENABLE_SENSOR_HALL_PIN 9 #endif // [GPIO_SL_BOARD_ENABLE_SENSOR_HALL]$ // SL_BOARD_ENABLE_SENSOR_PRESSURE // $[GPIO_SL_BOARD_ENABLE_SENSOR_PRESSURE] #ifndef SL_BOARD_ENABLE_SENSOR_PRESSURE_PORT #define SL_BOARD_ENABLE_SENSOR_PRESSURE_PORT SL_GPIO_PORT_C #endif #ifndef SL_BOARD_ENABLE_SENSOR_PRESSURE_PIN #define SL_BOARD_ENABLE_SENSOR_PRESSURE_PIN 9 #endif // [GPIO_SL_BOARD_ENABLE_SENSOR_PRESSURE]$ // SL_BOARD_ENABLE_SENSOR_LIGHT // $[GPIO_SL_BOARD_ENABLE_SENSOR_LIGHT] #ifndef SL_BOARD_ENABLE_SENSOR_LIGHT_PORT #define SL_BOARD_ENABLE_SENSOR_LIGHT_PORT SL_GPIO_PORT_C #endif #ifndef SL_BOARD_ENABLE_SENSOR_LIGHT_PIN #define SL_BOARD_ENABLE_SENSOR_LIGHT_PIN 9 #endif // [GPIO_SL_BOARD_ENABLE_SENSOR_LIGHT]$ // SL_BOARD_ENABLE_SENSOR_IMU // $[GPIO_SL_BOARD_ENABLE_SENSOR_IMU] #ifndef SL_BOARD_ENABLE_SENSOR_IMU_PORT #define SL_BOARD_ENABLE_SENSOR_IMU_PORT SL_GPIO_PORT_C #endif #ifndef SL_BOARD_ENABLE_SENSOR_IMU_PIN #define SL_BOARD_ENABLE_SENSOR_IMU_PIN 9 #endif // [GPIO_SL_BOARD_ENABLE_SENSOR_IMU]$ // SL_BOARD_ENABLE_SENSOR_MICROPHONE // $[GPIO_SL_BOARD_ENABLE_SENSOR_MICROPHONE] #ifndef SL_BOARD_ENABLE_SENSOR_MICROPHONE_PORT #define SL_BOARD_ENABLE_SENSOR_MICROPHONE_PORT SL_GPIO_PORT_C #endif #ifndef SL_BOARD_ENABLE_SENSOR_MICROPHONE_PIN #define SL_BOARD_ENABLE_SENSOR_MICROPHONE_PIN 8 #endif // [GPIO_SL_BOARD_ENABLE_SENSOR_MICROPHONE]$ // <<< sl:end pin_tool >>> #endif // SL_BOARD_CONTROL_CONFIG_H