-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Description
Hi
I'm trying to build an LTDC example for stm32f429 and I found a mistake in the code.
In file examples/stm32/f4/stm32f429i-discovery/lcd-dma/lcd-dma.c:101
/* set GPIO pin modes */
gpio_mode_setup(GPIOB, GPIO_MODE_AF, GPIO_PUPD_NONE,
GPIO0 | GPIO1 | GPIO8 | GPIO9 | GPIO10 | GPIO11);
gpio_set_output_options(GPIOA, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ,
^^^^^^
GPIO0 | GPIO1 | GPIO8 |
GPIO9 | GPIO10 | GPIO11);
gpio_set_af(GPIOB, GPIO_AF9, GPIO0 | GPIO1);
gpio_set_af(GPIOB, GPIO_AF14, GPIO8 | GPIO9 | GPIO10 | GPIO11);
It's obvious that this is a mistake. And this mistake continues to repeat in every GPIO group.
Thanks
Metadata
Metadata
Assignees
Labels
No labels