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
  • angel-swi
  • clang
  • cmake
  • cmake-old
  • compute-unit-v2
  • con-rig
  • ignition
  • master
  • parafoil-sensortile
  • processes_wip
  • sd-fix
  • shield_stackX
  • testing_ram_cu_v2
  • unstable
  • alderaan-v1
  • miosix-2.22
16 results

Target

Select target project
  • avn/swd/miosix-kernel
  • emilio.corigliano/miosix-kernel
2 results
Select Git revision
  • angel-swi
  • clang
  • cmake
  • cmake-old
  • compute-unit-v2
  • con-rig
  • ignition
  • master
  • parafoil-sensortile
  • processes_wip
  • sd-fix
  • shield_stackX
  • testing_ram_cu_v2
  • unstable
  • alderaan-v1
  • miosix-2.22
16 results
Show changes
Commits on Source (2)
...@@ -815,6 +815,10 @@ private: ...@@ -815,6 +815,10 @@ private:
void ClockController::calibrateClockSpeed(SDIODriver *sdio) 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() //During calibration we call readBlock() which will call reduceClockSpeed()
//so not to invalidate calibration clock reduction must not be available //so not to invalidate calibration clock reduction must not be available
clockReductionAvailable=0; clockReductionAvailable=0;
...@@ -843,6 +847,7 @@ void ClockController::calibrateClockSpeed(SDIODriver *sdio) ...@@ -843,6 +847,7 @@ void ClockController::calibrateClockSpeed(SDIODriver *sdio)
setClockSpeed(minFreq); setClockSpeed(minFreq);
DBG("Optimal CLKCR=%d\n",minFreq); DBG("Optimal CLKCR=%d\n",minFreq);
} }
#endif
//Make clock reduction available //Make clock reduction available
clockReductionAvailable=MAX_ALLOWED_REDUCTIONS; clockReductionAvailable=MAX_ALLOWED_REDUCTIONS;
......
...@@ -65,7 +65,7 @@ const unsigned int defaultSerialSpeed=115200; ...@@ -65,7 +65,7 @@ const unsigned int defaultSerialSpeed=115200;
// SD card driver // SD card driver
static const unsigned char sdVoltage=33; //Board powered @ 3.3V 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 #define SD_SDMMC 1 //Select either SDMMC1 or SDMMC2
/// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL /// Analog supply voltage for ADC, DAC, Reset blocks, RCs and PLL
......