Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • avn/swd/miosix-kernel
  • emilio.corigliano/miosix-kernel
2 results
Select Git revision
Show changes
Commits on Source (2)
......@@ -815,6 +815,10 @@ private:
void ClockController::calibrateClockSpeed(SDIODriver *sdio)
{
#ifdef SD_DIVIDER
// The frequency will be divided by a factor of SD_DIVIDER + 2
setClockSpeed(SD_DIVIDER);
#else
//During calibration we call readBlock() which will call reduceClockSpeed()
//so not to invalidate calibration clock reduction must not be available
clockReductionAvailable=0;
......@@ -843,6 +847,7 @@ void ClockController::calibrateClockSpeed(SDIODriver *sdio)
setClockSpeed(minFreq);
DBG("Optimal CLKCR=%d\n",minFreq);
}
#endif
//Make clock reduction available
clockReductionAvailable=MAX_ALLOWED_REDUCTIONS;
......
......@@ -65,7 +65,7 @@ const unsigned int defaultSerialSpeed=115200;
// SD card driver
static const unsigned char sdVoltage=33; //Board powered @ 3.3V
// #define SD_ONE_BIT_DATABUS
#define SD_ONE_BIT_DATABUS
#define SD_SDMMC 1 //Select either SDMMC1 or SDMMC2
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
......