-
-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoids the need to move Motor and Pin vtables into RAM, thus saving about 20K of precious RAM space. It also simplifies the structure of the stepping code dramatically, so it is all in one place instead of being distributed throughout a complex class hierarchy.
- Loading branch information
1 parent
c65c1d9
commit 921f32b
Showing
31 changed files
with
315 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,8 @@ | ||
/* List of files and sections to place in RAM instead of FLASH */ | ||
/* See README.md in this directory for a complete explanation */ | ||
|
||
*Laser.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
|
||
/* All files whose name ends with Spindle.cpp */ | ||
**Spindle.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
|
||
/* Motors */ | ||
*Motor.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*Dynamixel2.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*MotorDriver.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*NullMotor.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*RcServo.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*Servo.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*Solenoid.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*StandardStepper.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*StepStick.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*TMC*Driver.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*TrinamicBase.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*TrinamicSpiDriver.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*TrinamicUartDriver.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*UnipolarMotor.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
|
||
/* Pin Details */ | ||
**Detail.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*PwmPin.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
*Pin.cpp.o(.rodata .rodata.* .xt.prop .xt.prop.*) | ||
/* An earlier version included .xt.prop and .xt.prop.* but */ | ||
/* it turns out that those bits can stay in FLASH */ | ||
**Spindle.cpp.o(.rodata .rodata.*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.