-
Notifications
You must be signed in to change notification settings - Fork 8.3k
boards: arm: Add support for NUCLEO_F091RC board #4493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dbkinder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comma and we're good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the comma before "and":
power consumption, and features.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
dbkinder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
galak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some minor things to fix. Can you add a bit more detail in the commit message body.
drivers/serial/uart_stm32.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we do #ifndef CONFIG_SOC_SERIES_STM32F0X. So we don't have to keep updating the list for each F0 SoC that gets supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Actually FOx SoCs support the LIN break detection but the driver does not support it currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the SoC patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also make it generic to STM32F091XX (rename to Kconfig.defconfig.stm32f091xx)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to soc patch.
Did not make it generic. IMHO this should be done in a separate pull request. I plan to do that when I adapt zephyr for my custom made F091xB board.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Board's DT file configures UART_1 to pins PB6/7. Could you update the mapping here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
dts/arm/nucleo_f091rc.dts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
USART1 is disabled. We should better remove 'status = "ok";'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
erwango
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few changes needed
dts/arm/st/mem.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this is correct, I wonder why STM32F091XB is added here.
Please remove as 091XB is not supported otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also make it generic to STM32F091XX (rename to Kconfig.defconfig.stm32f091xx)
boards/arm/nucleo_f091rc/pinmux.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove one space after coma
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
arch/arm/soc/st_stm32/stm32f0/soc.h
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may enable I2C in a separate commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, done
b84c06f to
9b7b3f0
Compare
|
@galak do you have other comments to this PR ? |
Support the ST STM32F091xC SoC. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
Support the USARTs of the ST STM32F091xx SoC. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
Support the ST STM32 Nucleo-64 development board with STM32F091RC SoC. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
boards: arm: Add support for NUCLEO_F091RC board
Signed-off-by: Bobby Noelte b0661n0e17e@gmail.com