Skip to content

[New Variant] STM32F407IGH #2589

Closed
@hlgzhx

Description

@hlgzhx

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 .

Activity

fpistm

fpistm commented on Dec 4, 2024

@fpistm
Member

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

fpistm commented on Dec 12, 2024

@fpistm
Member

Hi @hlgzhx

did you plan to provide a PR ?

fpistm

fpistm commented on Dec 17, 2024

@fpistm
Member

Added to #722.

hlgzhx

hlgzhx commented on Dec 18, 2024

@hlgzhx
ContributorAuthor

sorry i forgot to answer that.I'd like to provide a PR

fpistm

fpistm commented on Dec 18, 2024

@fpistm
Member

No worry. This issue is referenced. When you have time to do the PR it will be linked to this issue and update accordingly.

linked a pull request that will close this issueadd support for stm32F407IGHx #2649on Feb 4, 2025
added a commit that references this issue on Feb 5, 2025
d54d5f7
added this to the 2.10.0 milestone on Feb 5, 2025

1 remaining item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    new variantAdd support of new bard

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [New Variant] STM32F407IGH · Issue #2589 · stm32duino/Arduino_Core_STM32