From 44be5947928180e34e50e8bdc2e3a5a7f2e2bfcc Mon Sep 17 00:00:00 2001 From: Anish Kumar Date: Thu, 8 Apr 2021 17:09:13 +0530 Subject: [PATCH] Modified STM32_gen_PeripheralPins.py replaced GPIO_PULLUP with GPIO_NOPULL in print_pwm function --- targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py b/targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py index c78a9e213e..0d7e822673 100644 --- a/targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py +++ b/targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py @@ -809,7 +809,7 @@ def print_pwm(): chan = chan.strip('N') else: neg = ', 0' - s1 += 'STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_PULLUP, ' + s1 += 'STM_PIN_DATA_EXT(STM_MODE_AF_PP, GPIO_NOPULL, ' r = result.split(' ') prev_s1 = "" for af in r: