Skip to content

Commit 4e8e9f1

Browse files
committed
Use single cycle IOPORT interface for GPIO (FGPIO) in kl27. It now matches IO_PORT_WRITE_CYCLES of 1 in DAP_config.h
1 parent e444f35 commit 4e8e9f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/hic_hal/freescale/kl27z/IO_Config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ COMPILER_ASSERT(DAPLINK_HIC_ID == DAPLINK_HIC_ID_KL27Z);
4242

4343
// SWCLK Pin PTC6
4444
#define PIN_SWCLK_PORT PORTC
45-
#define PIN_SWCLK_GPIO PTC
45+
#define PIN_SWCLK_GPIO FGPIOC
4646
#define PIN_SWCLK_BIT (6)
4747
#define PIN_SWCLK (1<<PIN_SWCLK_BIT)
4848

4949
// SWDIO Pin PTC5
5050
#define PIN_SWDIO_PORT PORTC
51-
#define PIN_SWDIO_GPIO PTC
51+
#define PIN_SWDIO_GPIO FGPIOC
5252
#define PIN_SWDIO_BIT (5)
5353
#define PIN_SWDIO (1<<PIN_SWDIO_BIT)
5454

0 commit comments

Comments
 (0)