summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/boards/STEMCELL/configs/config.h
blob: 82f6c63636e270917a07be905df100cba3664ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2022 Mega Mind(@megamind4089)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
#    define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
#endif

/**======================
 **    I2C Driver
 *========================**/

#if !defined(I2C1_SDA_PIN)
#    define I2C1_SDA_PIN D0
#endif

#if !defined(I2C1_SCL_PIN)
#    define I2C1_SCL_PIN D1
#endif

/**======================
 **      SERIAL Driver
 *========================**/

#if !defined(SERIAL_USART_DRIVER)
#    define SERIAL_USART_DRIVER SD2
#endif