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

STM32: Prevent possible crashes before HAL init #22508

Merged
merged 12 commits into from
Aug 9, 2021

Commits on Aug 4, 2021

  1. STM32: Prevent possible crashes before HAL init

    FastIO_init() is required to fill an array of pointers to GPIO pins,
    
    If some user try to use any READ/WRITE/TOGGLE fastio command before HAL_init(), the board will crash.
    
    This is STM32 HAL specific, STM32F1 and others are not like that...
    
    I enabled it by default for all STM32 boards... I think it may avoid a lot of problems during migration of maple envs
    tpruvot committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    6612f8d View commit details
    Browse the repository at this point in the history
  2. Brackets to avoid warnings

    tpruvot committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    c59cc8a View commit details
    Browse the repository at this point in the history
  3. Handle special if/else case

    tpruvot committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    6d399ca View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2021

  1. Configuration menu
    Copy the full SHA
    1fcb6db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    047fcad View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2021

  1. Configuration menu
    Copy the full SHA
    7f08383 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93c48a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d77ebd View commit details
    Browse the repository at this point in the history
  4. ibid.

    thinkyhead committed Aug 8, 2021
    Configuration menu
    Copy the full SHA
    7baad5b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. Tweak ini comments

    thinkyhead committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    75ec003 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    875e0d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b4485d View commit details
    Browse the repository at this point in the history