periph_conf.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2018 Gunar Schorcht
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
17 #include <stdint.h>
18 
19 #ifdef __cplusplus
20  extern "C" {
21 #endif
22 
27 #ifndef I2C0_SPEED
28 #define I2C0_SPEED I2C_SPEED_FAST
29 #endif
30 #ifndef I2C0_SDA
31 #define I2C0_SDA GPIO4
32 #endif
33 #ifndef I2C0_SCL
34 #define I2C0_SCL GPIO5
35 #endif
51 #ifndef PWM0_GPIOS
52 #define PWM0_GPIOS { GPIO0, GPIO4, GPIO5 }
53 #endif
54 
57 #ifdef __cplusplus
58 } /* end extern "C" */
59 #endif
60 
65 #define SPI_FLASH_CHIP_SIZE 0x80000
66 
67 /* include common peripheral definitions as last step */
68 #include "periph_conf_common.h"
69