M7 dcache ctrl via a parameter (#11769)

* Support for armv7-m_dcache control via parameter

  The FORCE_F7_DCACHE parameter can be set to
   0 - (default) if Eratta exits turn dcache off else leave it on
   1 -  Force it off
   2 -  Force it on

   At boot the system will disable the d-cache if the silicon
   has the 1259864 Data corruption in a sequence of Write-Through
   stores and loads eratta.

   Post nsh script execution the FORCE_F7_DCACHE paramater
   will be used to set the d-cache to the state indicated
   above.
This commit is contained in:
David Sidrane
2019-04-03 13:14:19 -07:00
committed by Daniel Agar
parent daa3c733e9
commit 1c212e3f84
17 changed files with 483 additions and 3 deletions
+1
View File
@@ -48,6 +48,7 @@ px4_add_board(
roboclaw
stm32
stm32/adc
stm32/armv7-m_dcache
#stm32/tone_alarm
tap_esc
telemetry # all available telemetry drivers