forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stm32:stm32f3{0|3|7}xxx pinmap Remove GPIO_SPEED_xxx and add legacy p…
…inmap Pinmaps should not have contained GPIO_SPEED_xxx settings. This is board dependent. This change adds CONFIG_STM32_USE_LEGACY_PINMAP to allow for lazy migration to using pinmaps without speeds. The work required to do this can be aided by running tools/stm32_pinmap_tool.py. The tools will take a board.h file and a legacy pinmap and outut the required changes that one needs to make to a board.h file. Eventually, STM32_USE_LEGACY_PINMAP will be deprecated and the legacy pinmaps removed from NuttX. Any new boards added should set STM32_USE_LEGACY_PINMAP=n and fully define the pins in board.h
- Loading branch information
1 parent
35258a2
commit 98cd82f
Showing
7 changed files
with
2,905 additions
and
1,187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
661 changes: 661 additions & 0 deletions
661
arch/arm/src/stm32/hardware/stm32f30xxx_pinmap_legacy.h
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
450 changes: 450 additions & 0 deletions
450
arch/arm/src/stm32/hardware/stm32f33xxx_pinmap_legacy.h
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
595 changes: 595 additions & 0 deletions
595
arch/arm/src/stm32/hardware/stm32f37xxx_pinmap_legacy.h
Large diffs are not rendered by default.
Oops, something went wrong.