Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

penjun71
Copy link

@penjun71 penjun71 commented Oct 2, 2022

Signed-off-by: PengJun 545681265@qq.com

Signed-off-by: PengJun <545681265@qq.com>
@@ -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();
Copy link
Collaborator

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.

@fenugrec
Copy link
Collaborator

fenugrec commented Oct 7, 2022

More info on this please :

  • is this an off-the-shelf ST devboard ?
  • did the board require any modifications ?
  • have you tested it ?

@penjun71
Copy link
Author

penjun71 commented Oct 7, 2022

我英文不是很好,本次请求是基于核心板 stm32f412
My English is not very good. This request is based on the core board stm32f412
STM32F412RET6-双路CAN核心开发板.pdf
这是板子设计的原理图
This is the schematic diagram of the board design
我已经测试通过
I have passed the test

@fenugrec
Copy link
Collaborator

fenugrec commented Oct 8, 2022

This request is based on the core board stm32f412

What is that board, and where can you purchase it ?

@fenugrec
Copy link
Collaborator

fenugrec commented Oct 9, 2022

That URL doesn't work here . It redirects to a login page.

@marckleinebudde
Copy link
Contributor

FWIW: The URL works for me on mobile, not on a desktop browser.

@penjun71
Copy link
Author

maybe you need a vpn ,this is a China Web Shop ,like amazon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants