f731763211
board: nucleo-l152re: Added registering logic I2C on /dev. squash 5 commits board: nucleo-l152re: Add missing I2C1 GPIO definition I2C1 not worked due to it's GPIO pin definition has been missing on board.h. Fix it through include two pin macros on stm32l15xxx_pinmap.h(arch/arm/src/stm32/hardware) to board.h GPIO_I2C1_SCL => PB8 (CN5 pin 10, D15) GPIO_I2C1_SDA => PB9 (CN5 pin 9, D14) Added board_late_initialize() function for init I2C. board: nucleo-l152re: Added registering logic I2C on /dev. I2C1 hasn't been registered on /dev. Fix it. board: nucleo-l152re: Fix code style. Update board.h board: nucleo-l152re: Fix code style. Variables starting with symbol '"g_*" means it is a global variable, I think this is not the case here. Fix code style |
||
---|---|---|
.. | ||
board.h |