I have set my board.h appropriately for the remapped outputs:
Code: Select all
#define VAL_GPIOBCRL 0xDDB4B888 /* PB7...PB0 */and disabled JTAG and remapped SPI1:
Code: Select all
halInit();
chSysInit();
// disable JTAG and remap spi1
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
AFIO->MAPR |= AFIO_MAPR_SPI1_REMAP;I'm trying to use the MMC over SPI driver. Commenting out the last line in the above code block disables the SPI remap and I see the expected output using my logic probe with no other changes.