stm32: Add optimized stm32h7_gpio.c
Add optimized gpio functions for stm32h7 - caching the ODR register can notably improve the performance of the gpio_out_toggle() code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -13,7 +13,7 @@ config STM32_SELECT
|
||||
select HAVE_GPIO_HARD_PWM if MACH_STM32F070 || MACH_STM32F072 || MACH_STM32F1 || MACH_STM32F4 || MACH_STM32F7 || MACH_STM32G0 || MACH_STM32H7
|
||||
select HAVE_STRICT_TIMING
|
||||
select HAVE_CHIPID
|
||||
select HAVE_STEPPER_OPTIMIZED_BOTH_EDGE
|
||||
select HAVE_STEPPER_OPTIMIZED_BOTH_EDGE if !MACH_STM32H7
|
||||
select HAVE_BOOTLOADER_REQUEST
|
||||
select HAVE_LIMITED_CODE_SIZE if FLASH_SIZE < 0x10000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user