Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Miosix Kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
Miosix Kernel
Compare revisions
57b5a1c8ec0896de63a174ba781549ebb5180eac to d9c27d87e35ec11cc3eb72ebf2b22b59d2104ce1
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
avn/swd/miosix-kernel
Select target project
No results found
d9c27d87e35ec11cc3eb72ebf2b22b59d2104ce1
Select Git revision
Swap
Target
avn/swd/miosix-kernel
Select target project
avn/swd/miosix-kernel
emilio.corigliano/miosix-kernel
2 results
57b5a1c8ec0896de63a174ba781549ebb5180eac
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
[SDDriver] Added acceptance of pre-defined clock divider
· 6b2c4468
Matteo Pignataro
authored
1 year ago
6b2c4468
[StackV4] Added 1 bit databus
· d9c27d87
Matteo Pignataro
authored
1 year ago
d9c27d87
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp
+5
-0
5 additions, 0 deletions
miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp
miosix/config/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/board_settings.h
+1
-1
1 addition, 1 deletion
...m32f7/stm32f767zi_skyward_death_stack_v4/board_settings.h
with
6 additions
and
1 deletion
miosix/arch/common/drivers/sd_stm32f2_f4_f7.cpp
View file @
d9c27d87
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
miosix/config/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/board_settings.h
View file @
d9c27d87
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.