I'm trying to port some code from a previous app (running bare-metal on the STM32F4) and I'm getting stuck on things like:
Code: Select all
/**************************************************************************\
|* Enable the FSMC clock
\**************************************************************************/
// RCC_AHB3PeriphClockCmd(RCC_AHB3Periph_FSMC, ENABLE);
rccEnableAHB3(RCC_AHB3LPENR_FSMCLPEN, 1);
where the first line is what I would have used previously, and the second is the closest thing I can find. Obviously it's not portable, but at this point I don't really care - it's only ever going to run on an STM32F4.
Any pointers as to how to get down to the low-level stuff ?
Cheers
Simon