From aace4ad6e02ed976556467cf6a36d7799194f686 Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Fri, 24 Feb 2017 13:18:56 -0600 Subject: [PATCH] Speedup for gQuintic: DDA freq of 300K, and marked USB object as HOT_DATA. --- g2core/board/gquintic/board_xio.h | 2 +- g2core/board/gquintic/hardware.h | 2 +- .../G2 gQuadratic Test copy.xcscheme | 80 ------------------- 3 files changed, 2 insertions(+), 82 deletions(-) delete mode 100644 g2core/g2core.xcodeproj/xcshareddata/xcschemes/G2 gQuadratic Test copy.xcscheme diff --git a/g2core/board/gquintic/board_xio.h b/g2core/board/gquintic/board_xio.h index 09f20fef..df866818 100755 --- a/g2core/board/gquintic/board_xio.h +++ b/g2core/board/gquintic/board_xio.h @@ -43,7 +43,7 @@ typedef Motate::USBDevice< Motate::USBCDC > XIOUSBDevice_t; typedef Motate::USBDevice 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; diff --git a/g2core/board/gquintic/hardware.h b/g2core/board/gquintic/hardware.h index 41d3215d..d82ce503 100644 --- a/g2core/board/gquintic/hardware.h +++ b/g2core/board/gquintic/hardware.h @@ -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 diff --git a/g2core/g2core.xcodeproj/xcshareddata/xcschemes/G2 gQuadratic Test copy.xcscheme b/g2core/g2core.xcodeproj/xcshareddata/xcschemes/G2 gQuadratic Test copy.xcscheme deleted file mode 100644 index e2140754..00000000 --- a/g2core/g2core.xcodeproj/xcshareddata/xcschemes/G2 gQuadratic Test copy.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -