Skip to content
Snippets Groups Projects
Commit 5892f471 authored by Damien's avatar Damien
Browse files

Working SD card, but no functionality yet (was hardware error).

parent 8f7491a1
Branches
No related tags found
No related merge requests found
......@@ -612,7 +612,7 @@ int main(void) {
// enable the CCM RAM and the GPIO's
RCC->AHB1ENR |= RCC_AHB1ENR_CCMDATARAMEN | RCC_AHB1ENR_GPIOAEN | RCC_AHB1ENR_GPIOBEN | RCC_AHB1ENR_GPIOCEN;
// configure SDIO pins to be high to start with (doesn't seem to fix problem...)
// configure SDIO pins to be high to start with (apparently makes it more robust)
{
GPIO_InitTypeDef GPIO_InitStructure;
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8 | GPIO_Pin_9 | GPIO_Pin_10 | GPIO_Pin_11 | GPIO_Pin_12;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment