nuttx/boards/arm/stm32
John Bonham f731763211 board: nucleo-l152re: Added registering logic I2C on /dev.
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
2022-02-09 12:26:01 +08:00
..
axoloti board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
b-g431b-esc1 sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
b-g474e-dpow1 board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
clicker2-stm32 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
cloudctrl sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
common stm32f4discovery: Add support to MS5611 2022-01-24 10:23:45 +08:00
emw3162 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
et-stm32-stamp sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
fire-stm32v2 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
hymini-stm32v sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
maple sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
mikroe-stm32f4 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f4x1re sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f103rb sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-f207zg sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f302r8 sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-f303re sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f303ze sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f334r8 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f410rb sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f412zg sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f429zi sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f446re sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-g431kb sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-g431rb sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-l152re board: nucleo-l152re: Added registering logic I2C on /dev. 2022-02-09 12:26:01 +08:00
olimex-stm32-e407 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-h405 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-h407 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-p107 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-p207 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-p407 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimexino-stm32 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
omnibusf4 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
photon sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
shenzhou sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32_tiny sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32butterfly2 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f3discovery sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f4discovery sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f103-minimum sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
stm32f334-disco sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f411-minimum sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f411e-disco sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f429i-disco sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32ldiscovery sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32vldiscovery sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm3210e-eval sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm3220g-eval sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm3240g-eval sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
viewtool-stm32f107 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00