davids5 commented on code in PR #8992:
URL: https://github.com/apache/nuttx/pull/8992#discussion_r1169866493


##########
arch/arm/src/stm32/Kconfig:
##########
@@ -3452,6 +3452,26 @@ config STM32_NOEXT_VECTORS
                Sometimes you may not need any Vector support beyond SysTick
                and wish to save memory. This applies only to ARMv7-M 
architectures.
 
+config STM32_USE_LEGACY_PINMAP
+       bool "Use the legacy pinmap with GPIO_SPEED_xxx included."
+       default y
+       ---help---
+               In the past, pinmap files included GPIO_SPEED_xxxMhz. These 
speed
+               settings should have come from the board.h as it describes the 
wiring
+               of the SoC to the board. The speed is really slew rate control 
and
+               therefore is related to the layout and can only be properly set
+               in board.h.
+
+               STM32_USE_LEGACY_PINMAP is provided, to allow 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

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to