Skip to content

docs: Add a new variant (board) and "Generic System Clock configuration" #2557

Closed

Description

@thernstig

I had a hard time understanding https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-%28board%29#3---generic-system-clock-configuration.

I am quoting the parts I found hard and what I felt was missing/strange:

Go to Pinout tab, enable the desired peripherals which require specific clock configuration (not needed for peripherals clocked by HCLKx, or APBx clock): SDIO, USB, ... In this example only USB needs to be enabled as other peripherals default clock are correct by default.

What is "desired peripherals" here? How would I know what to enable?

Set PLL Source Mux to HSI.

There is no PLL Source Mux for the MCU I added in #2556. The sentence is written like it is something that should exist, but it does not seem true for all MCUs.

Activity

  1. added
    enhancement
    on Nov 8, 2024
  2. added
    documentation 📚
    on Nov 8, 2024
  3. thernstig commented on Nov 9, 2024

    @thernstig
    ContributorAuthor

    In addition, this part:

    6 - Restart
    Restart Arduino IDE and try one of the new entry with the CheckVariant example.

    It mentions nothing on how to do this on that above page. Should there have been a link to somewhere on how to load the new board into Arduino to test it?

  4. fpistm commented on Nov 9, 2024

    @fpistm
    Member

    The board should appears in the menu you add it that's all. Select it and voilà.

  5. thernstig commented on Nov 9, 2024

    @thernstig
    ContributorAuthor

    @fpistm I am talking about an unreleased version of Arduino_Core_STM32. Then the new board does not immediately show up in the JSON file does it?

  6. fpistm commented on Nov 9, 2024

    @fpistm
    Member

    Yes. I need to perform a release.
    But if you use the git repository in the Arduino package you will see it.

  7. thernstig commented on Nov 9, 2024

    @thernstig
    ContributorAuthor

    @fpistm I think this part:

    But if you use the git repository in the Arduino package you will see it.

    Is not explained from https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-%28board%29#6---restart.

    How would one know how to do this? I just started with both Arduino and STM32, so consider it from a point from someone who never used these tools before (even though understanding the basics).

  8. fpistm commented on Nov 9, 2024

    @fpistm
    Member
  9. thernstig commented on Nov 9, 2024

    @thernstig
    ContributorAuthor

    I would propose a lot more if I knew the answers 😆

  10. thernstig commented on Nov 9, 2024

    @thernstig
    ContributorAuthor

    Wrote #2559 as a separate issue.

    The two core issues of this topic are still valid. I do not know how to update those as I have no idea what those parts in reality mean.

  11. locked and limited conversation to collaborators on Nov 12, 2024
  12. converted this issue into a discussion #2563 on Nov 12, 2024
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

    documentation 📚enhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions