Skip to content

Conversation

@b0661
Copy link
Contributor

@b0661 b0661 commented Oct 23, 2017

boards: arm: Add support for NUCLEO_F091RC board

Signed-off-by: Bobby Noelte b0661n0e17e@gmail.com

Copy link
Contributor

@dbkinder dbkinder left a 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.

Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

@dbkinder dbkinder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@galak galak self-assigned this Oct 24, 2017
Copy link
Contributor

@galak galak left a 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.

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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

Copy link
Member

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)

Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

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";'.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Member

@erwango erwango left a 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
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Member

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)

Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@b0661
Copy link
Contributor Author

b0661 commented Oct 27, 2017

@galak, @erwango Are the changes ok? Is there anything left that prevents mergiing?

Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, done

@b0661 b0661 force-pushed the nucleo_f091rc branch 2 times, most recently from b84c06f to 9b7b3f0 Compare October 27, 2017 15:23
@superna9999 superna9999 added the platform: STM32 ST Micro STM32 label Oct 30, 2017
@superna9999
Copy link
Contributor

@galak do you have other comments to this PR ?

b0661 added 3 commits November 6, 2017 08:57
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>
@galak galak merged commit 007a6b0 into zephyrproject-rtos:master Nov 6, 2017
@b0661 b0661 deleted the nucleo_f091rc branch October 16, 2018 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: STM32 ST Micro STM32

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants