NUCLEO_F103RB: minor changes

pull/118/head
bcostm 2013-12-02 09:22:28 +01:00
parent 1159845529
commit 3bcf77e4f7
3 changed files with 5 additions and 3 deletions

View File

@ -65,6 +65,7 @@ struct spi_s {
struct i2c_s { struct i2c_s {
I2CName i2c; I2CName i2c;
uint32_t clk_speed;
}; };
struct pwmout_s { struct pwmout_s {

View File

@ -24,7 +24,8 @@ static const uint32_t AF_mapping[] = {
GPIO_Remap_USART1, // 3 GPIO_Remap_USART1, // 3
GPIO_Remap_USART2, // 4 GPIO_Remap_USART2, // 4
GPIO_FullRemap_TIM2, // 5 GPIO_FullRemap_TIM2, // 5
GPIO_FullRemap_TIM3 // 6 GPIO_FullRemap_TIM3, // 6
GPIO_Remap_I2C1 // 7
}; };
/** /**