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

[New Variant] STM32F407IGH #2589

Open
hlgzhx opened this issue Dec 4, 2024 · 2 comments
Open

[New Variant] STM32F407IGH #2589

hlgzhx opened this issue Dec 4, 2024 · 2 comments
Labels
new variant Add support of new bard

Comments

@hlgzhx
Copy link

hlgzhx commented Dec 4, 2024

Board description (please complete the following information):

  • Name: Generic STM32F407IGH

I‘ve found the variant folder of F407I(E-G)(H-T)_F417I(E-G)(H-T) in "STMicroelectronics\hardware\stm32\2.8.1\variants\STM32F4xx",but it is not added in the "STMicroelectronics\hardware\stm32\2.8.1\boards.txt".
After I add:

Generic F407IGHx

GenF4.menu.pnum.GENERIC_F407IGHX=Generic F407IGHx
GenF4.menu.pnum.GENERIC_F407IGHX.upload.maximum_size=524288
GenF4.menu.pnum.GENERIC_F407IGHX.upload.maximum_data_size=131072
GenF4.menu.pnum.GENERIC_F407IGHX.build.board=GENERIC_F407IGHX
GenF4.menu.pnum.GENERIC_F407IGHX.build.product_line=STM32F407xx
GenF4.menu.pnum.GENERIC_F407IGHX.build.variant=STM32F4xx/F407I(E-G)(H-T)_F417I(E-G)(H-T)
GenF4.menu.pnum.GENERIC_F407IGHX.debug.svd_file={runtime.tools.STM32_SVD.path}/svd/STM32F4xx/STM32F407.svd

in it,and put the ldscript.ld in F407I(E-G)(H-T)_F417I(E-G)(H-T) folder,it works perfectly.i tested several functions include Can bus.They all work correctly.My board is Robomaster Development Board Mk. C whose Mcu is STM32F407IGH.
May you stuffs add this beforehead during next version?thanks very much .

@fpistm
Copy link
Member

fpistm commented Dec 4, 2024

Hi @hlgzhx
Feel free to submit a PR.
Here you can find some advices to properly add the variant:
https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-%28board%29

@fpistm
Copy link
Member

fpistm commented Dec 12, 2024

Hi @hlgzhx

did you plan to provide a PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new variant Add support of new bard
Projects
Development

No branches or pull requests

2 participants