Fix comment. Reformat.
[bertos.git] / bertos / cpu / cortex-m3 / io / stm32.h
index adbf5423e73e43e9f53326f0503fd0473027d634..b41b5c7602a2ecbe8bf0676050e52dc2be3d98e0 100644 (file)
 #include <cfg/compiler.h>
 #include <cfg/macros.h>
 
-#include <io/cm3_types.h>
+#include <cpu/types.h>
+
 #include <io/stm32_memmap.h>
 
 #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 */