X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fstm32.h;h=b41b5c7602a2ecbe8bf0676050e52dc2be3d98e0;hb=946dee22e8981cf6df94faeeb691b31ff8917ce1;hp=707d1653a57a60bd386c06e19ad8fc1771faeca8;hpb=1f46d2eef6da180225030c7196733f03bbc9b242;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/stm32.h b/bertos/cpu/cortex-m3/io/stm32.h index 707d1653..b41b5c76 100644 --- a/bertos/cpu/cortex-m3/io/stm32.h +++ b/bertos/cpu/cortex-m3/io/stm32.h @@ -39,12 +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) @@ -54,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 */