Speedup for gQuintic: DDA freq of 300K, and marked USB object as HOT_DATA.

This commit is contained in:
Rob Giseburt
2017-02-24 13:18:56 -06:00
parent 73a772b138
commit aace4ad6e0
3 changed files with 2 additions and 82 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ typedef Motate::USBDevice< Motate::USBCDC > XIOUSBDevice_t;
typedef Motate::USBDevice<Motate::USBCDC, Motate::USBCDC> XIOUSBDevice_t;
#endif
extern XIOUSBDevice_t usb;
extern XIOUSBDevice_t usb HOT_DATA;
extern decltype(usb.mixin<0>::Serial)& SerialUSB;
#if USB_SERIAL_PORTS_EXPOSED == 2
extern decltype(usb.mixin<1>::Serial)& SerialUSB1;
+1 -1
View File
@@ -120,7 +120,7 @@ using Motate::OutputPin;
/**** Stepper DDA and dwell timer settings ****/
//#define FREQUENCY_DDA 200000UL // Hz step frequency. Interrupts actually fire at 2x (400 KHz)
#define FREQUENCY_DDA 200000UL // Hz step frequency. Interrupts actually fire at 2x (300 KHz)
#define FREQUENCY_DDA 300000UL // Hz step frequency. Interrupts actually fire at 2x (300 KHz)
#define FREQUENCY_DWELL 1000UL
#define MIN_SEGMENT_MS ((float)0.125) // S70 can handle much much smaller segements
@@ -1,80 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D492E5AE1E54C2B4005ED97D"
BuildableName = "G2 gQuadratic AxiDraw v3"
BlueprintName = "G2 gQuadratic AxiDraw v3"
ReferencedContainer = "container:g2core.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D492E5AE1E54C2B4005ED97D"
BuildableName = "G2 gQuadratic AxiDraw v3"
BlueprintName = "G2 gQuadratic AxiDraw v3"
ReferencedContainer = "container:g2core.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D492E5AE1E54C2B4005ED97D"
BuildableName = "G2 gQuadratic AxiDraw v3"
BlueprintName = "G2 gQuadratic AxiDraw v3"
ReferencedContainer = "container:g2core.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>