-
Notifications
You must be signed in to change notification settings - Fork 294
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
add new board stm32f412 #110
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: PengJun <[email protected]>
@@ -64,12 +64,26 @@ void can_init(can_data_t *hcan, CAN_TypeDef *instance) | |||
itd.Alternate = GPIO_AF4_CAN; | |||
HAL_GPIO_Init(GPIOB, &itd); | |||
#elif defined(STM32F4) | |||
#if defined(BOARD_STM32F412_DevBoard) | |||
__HAL_RCC_GPIOB_CLK_ENABLE(); |
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.
The call to __HAL_RCC_GPIOB_CLK_ENABLE
could go in gpio.c::gpio_init() but this is fine too I guess.
More info on this please :
|
我英文不是很好,本次请求是基于核心板 stm32f412 |
What is that board, and where can you purchase it ? |
That URL doesn't work here . It redirects to a login page. |
FWIW: The URL works for me on mobile, not on a desktop browser. |
maybe you need a vpn ,this is a China Web Shop ,like amazon |
Signed-off-by: PengJun [email protected]