4ec3e239ba
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
15 lines
382 B
C
15 lines
382 B
C
// Copyright 2023 Andrian (@PoringH)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include_next <mcuconf.h>
|
|
|
|
#undef STM32_I2C_USE_I2C1
|
|
#define STM32_I2C_USE_I2C1 TRUE
|
|
|
|
#undef STM32_I2C_I2C1_RX_DMA_STREAM
|
|
#define STM32_I2C_I2C1_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
|
|
|
|
#undef STM32_I2C_I2C1_TX_DMA_STREAM
|
|
#define STM32_I2C_I2C1_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 2)
|