File tree Expand file tree Collapse file tree 14 files changed +113
-15
lines changed Expand file tree Collapse file tree 14 files changed +113
-15
lines changed Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include "mcuconf.h"
2727
297297/* I2C driver related settings. */
298298/*===========================================================================*/
299299
300+ /**
301+ * @brief Enables the I2C slave subsystem.
302+ */
303+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
304+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
305+ #endif
306+
300307/**
301308 * @brief Enables the mutual exclusion APIs on the I2C bus.
302309 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include <target_platform.h>
2727#include "mcuconf.h"
308308/* I2C driver related settings. */
309309/*===========================================================================*/
310310
311+ /**
312+ * @brief Enables the I2C slave subsystem.
313+ */
314+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
315+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
316+ #endif
317+
311318/**
312319 * @brief Enables the mutual exclusion APIs on the I2C bus.
313320 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include "mcuconf.h"
2727
297297/* I2C driver related settings. */
298298/*===========================================================================*/
299299
300+ /**
301+ * @brief Enables the I2C slave subsystem.
302+ */
303+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
304+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
305+ #endif
306+
300307/**
301308 * @brief Enables the mutual exclusion APIs on the I2C bus.
302309 */
546553
547554/** @} */
548555
549- // clang-format on
556+ // clang-format on
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include <target_platform.h>
2727#include "mcuconf.h"
308308/* I2C driver related settings. */
309309/*===========================================================================*/
310310
311+ /**
312+ * @brief Enables the I2C slave subsystem.
313+ */
314+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
315+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
316+ #endif
317+
311318/**
312319 * @brief Enables the mutual exclusion APIs on the I2C bus.
313320 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include "mcuconf.h"
2727
297297/* I2C driver related settings. */
298298/*===========================================================================*/
299299
300+ /**
301+ * @brief Enables the I2C slave subsystem.
302+ */
303+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
304+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
305+ #endif
306+
300307/**
301308 * @brief Enables the mutual exclusion APIs on the I2C bus.
302309 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include <target_platform.h>
2727#include "mcuconf.h"
309309/* I2C driver related settings. */
310310/*===========================================================================*/
311311
312+ /**
313+ * @brief Enables the I2C slave subsystem.
314+ */
315+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
316+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
317+ #endif
318+
312319/**
313320 * @brief Enables the mutual exclusion APIs on the I2C bus.
314321 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include "mcuconf.h"
2727
297297/* I2C driver related settings. */
298298/*===========================================================================*/
299299
300+ /**
301+ * @brief Enables the I2C slave subsystem.
302+ */
303+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
304+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
305+ #endif
306+
300307/**
301308 * @brief Enables the mutual exclusion APIs on the I2C bus.
302309 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include <target_platform.h>
2727#include "mcuconf.h"
308308/* I2C driver related settings. */
309309/*===========================================================================*/
310310
311+ /**
312+ * @brief Enables the I2C slave subsystem.
313+ */
314+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
315+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
316+ #endif
317+
311318/**
312319 * @brief Enables the mutual exclusion APIs on the I2C bus.
313320 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include "mcuconf.h"
2727
297297/* I2C driver related settings. */
298298/*===========================================================================*/
299299
300+ /**
301+ * @brief Enables the I2C slave subsystem.
302+ */
303+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
304+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
305+ #endif
306+
300307/**
301308 * @brief Enables the mutual exclusion APIs on the I2C bus.
302309 */
Original file line number Diff line number Diff line change 2121#define HALCONF_H
2222
2323#define _CHIBIOS_HAL_CONF_
24- #define _CHIBIOS_HAL_CONF_VER_8_4_
24+ #define _CHIBIOS_HAL_CONF_VER_9_0_
2525
2626#include <target_platform.h>
2727#include "mcuconf.h"
309309/* I2C driver related settings. */
310310/*===========================================================================*/
311311
312+ /**
313+ * @brief Enables the I2C slave subsystem.
314+ */
315+ #if !defined(I2C_SUPPORTS_SLAVE_MODE ) || defined(__DOXYGEN__ )
316+ #define I2C_SUPPORTS_SLAVE_MODE FALSE
317+ #endif
318+
312319/**
313320 * @brief Enables the mutual exclusion APIs on the I2C bus.
314321 */
You can’t perform that action at this time.
0 commit comments