Move out of CMM (#3750)
This needs additional investigation. But allocating these structs in CMM cause HardFault
This commit is contained in:
parent
fcdb7b340d
commit
5bc9289d74
|
@ -17,8 +17,10 @@
|
|||
#include "dc_motors.h"
|
||||
#if ! EFI_UNIT_TEST
|
||||
#include "stepper.h"
|
||||
static StepDirectionStepper iacStepperHw CCM_OPTIONAL;
|
||||
static DualHBridgeStepper iacHbridgeHw CCM_OPTIONAL;
|
||||
/* Storing two following structs in CCM memory cause HardFault (at least on F4)
|
||||
* This need deep debuging. Until it is moved out of CMM. */
|
||||
static StepDirectionStepper iacStepperHw /*CCM_OPTIONAL*/;
|
||||
static DualHBridgeStepper iacHbridgeHw /*CCM_OPTIONAL*/;
|
||||
StepperMotor iacMotor CCM_OPTIONAL;
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
||||
|
|
Loading…
Reference in New Issue