X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fstm32.h;h=b41b5c7602a2ecbe8bf0676050e52dc2be3d98e0;hb=11f14621bcd59a2de4564b0e9804b15acd11ea75;hp=adbf5423e73e43e9f53326f0503fd0473027d634;hpb=25610f00d61ce1c762c99157977df8c58d05bd64;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/stm32.h b/bertos/cpu/cortex-m3/io/stm32.h index adbf5423..b41b5c76 100644 --- a/bertos/cpu/cortex-m3/io/stm32.h +++ b/bertos/cpu/cortex-m3/io/stm32.h @@ -39,13 +39,17 @@ #include #include -#include +#include + #include #include "stm32_nvic.h" #include "stm32_ints.h" +#include "stm32_gpio.h" #include "stm32_uart.h" #include "stm32_adc.h" +#include "stm32_i2c.h" +#include "stm32_flash.h" #define GPIO_USART1_TX_PIN BV(9) #define GPIO_USART1_RX_PIN BV(10) @@ -55,4 +59,9 @@ #define GPIO_USART3_RX_PIN BV(11) +#define GPIO_I2C1_SCL_PIN BV(6) +#define GPIO_I2C1_SDA_PIN BV(7) +#define GPIO_I2C2_SCL_PIN BV(10) +#define GPIO_I2C2_SDA_PIN BV(11) + #endif /* STM32_H */