mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix missing bank enables
This commit is contained in:
parent
cdb4712f03
commit
434bb10bf3
@ -247,5 +247,7 @@
|
||||
// Enable additional GPIO banks for DRAM...
|
||||
#define ENABLE_GPIO_BANK_F
|
||||
#define ENABLE_GPIO_BANK_G
|
||||
#define ENABLE_GPIO_BANK_H
|
||||
#define ENABLE_GPIO_BANK_I
|
||||
|
||||
#endif //__OMV_BOARDCONFIG_H__
|
||||
|
||||
@ -92,6 +92,12 @@ void HAL_MspInit(void)
|
||||
#ifdef ENABLE_GPIO_BANK_G
|
||||
__GPIOG_CLK_ENABLE();
|
||||
#endif
|
||||
#ifdef ENABLE_GPIO_BANK_H
|
||||
__GPIOH_CLK_ENABLE();
|
||||
#endif
|
||||
#ifdef ENABLE_GPIO_BANK_I
|
||||
__GPIOI_CLK_ENABLE();
|
||||
#endif
|
||||
|
||||
#if defined(STM32F769xx)
|
||||
__GPIOF_CLK_ENABLE();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user