Intermediate step in the examples tree, looking to get USB working correctly on the
429 still
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
e4d106dce6
commit
a3ff2c9250
@@ -73,15 +73,12 @@ sdram_init(void) {
|
||||
/*
|
||||
* First all the GPIO pins that end up as SDRAM pins
|
||||
*/
|
||||
rcc_periph_clock_enable(RCC_GPIOB | RCC_GPIOC | RCC_GPIOD |
|
||||
RCC_GPIOE | RCC_GPIOF | RCC_GPIOG);
|
||||
/*
|
||||
rcc_periph_clock_enable(RCC_GPIOB);
|
||||
rcc_periph_clock_enable(RCC_GPIOC);
|
||||
rcc_periph_clock_enable(RCC_GPIOD);
|
||||
rcc_periph_clock_enable(RCC_GPIOE);
|
||||
rcc_periph_clock_enable(RCC_GPIOF);
|
||||
rcc_periph_clock_enable(RCC_GPIOG);
|
||||
*/
|
||||
|
||||
for (i = 0; i < 6; i++) {
|
||||
gpio_mode_setup(sdram_pins[i].gpio, GPIO_MODE_AF, GPIO_PUPD_NONE,
|
||||
|
||||
Reference in New Issue
Block a user