├── LinuxCNC ├── remora-ec500-DMA │ ├── tool.tbl │ ├── custom_postgui.hal │ ├── pyvcp_options.hal │ ├── postgui_call_list.hal │ ├── autosave.halscope │ ├── gcode2ngc.py │ ├── ec500-rt1052-DMA.txt │ ├── remora-ec500.hal │ ├── upload_config.py │ ├── linuxcnc.var │ └── linuxcnc.var.bak ├── remora-rt1052-basic │ ├── tool.tbl │ ├── custom_postgui.hal │ ├── pyvcp_options.hal │ ├── postgui_call_list.hal │ ├── autosave.halscope │ ├── gcode2ngc.py │ ├── remora-ec500.hal │ ├── upload_config.py │ ├── linuxcnc.var │ └── linuxcnc.var.bak ├── remora-ec500-DMA_closed_loop │ ├── tool.tbl │ ├── custom_postgui.hal │ ├── Archivo vacío nuevo │ ├── pyvcp_options.hal │ ├── postgui_call_list.hal │ ├── autosave.halscope │ ├── halshow.preferences │ ├── gcode2ngc.py │ ├── ec500-rt1052-DMA_ENC_Closed_Loop.txt │ └── upload_config.py ├── Remora DMA stepgen timing calc.xlsx └── components │ └── Remora-eth │ └── remora-eth-3.0.h ├── Remora-RT1052-cpp ├── .gitignore ├── linkscripts │ ├── bss.ldt │ ├── main_text.ldt │ └── data.ldt ├── lwip │ ├── src │ │ ├── core │ │ │ ├── linkscripts │ │ │ │ ├── main_text.ldt │ │ │ │ ├── bss.ldt │ │ │ │ └── data.ldt │ │ │ └── ipv6 │ │ │ │ └── inet6.c │ │ ├── include │ │ │ ├── netif │ │ │ │ ├── etharp.h │ │ │ │ └── ppp │ │ │ │ │ ├── chap-md5.h │ │ │ │ │ ├── chap_ms.h │ │ │ │ │ └── ecp.h │ │ │ ├── compat │ │ │ │ ├── posix │ │ │ │ │ ├── netdb.h │ │ │ │ │ ├── arpa │ │ │ │ │ │ └── inet.h │ │ │ │ │ ├── sys │ │ │ │ │ │ └── socket.h │ │ │ │ │ └── net │ │ │ │ │ │ └── if.h │ │ │ │ └── stdc │ │ │ │ │ └── errno.h │ │ │ └── lwip │ │ │ │ └── prot │ │ │ │ └── ip.h │ │ ├── FILES │ │ └── netif │ │ │ ├── ppp │ │ │ ├── polarssl │ │ │ │ └── README │ │ │ └── eui64.c │ │ │ └── FILES │ ├── FILES │ ├── contrib │ │ └── apps │ │ │ └── ping │ │ │ └── ping.h │ ├── FEATURES │ ├── COPYING │ └── port │ │ └── arch │ │ └── perf.h ├── source │ ├── lib │ │ └── ArduinoJson6 │ │ │ ├── ArduinoJson │ │ │ ├── version.hpp │ │ │ ├── Polyfills │ │ │ │ ├── assert.hpp │ │ │ │ ├── utility.hpp │ │ │ │ ├── type_traits │ │ │ │ │ ├── type_identity.hpp │ │ │ │ │ ├── integral_constant.hpp │ │ │ │ │ ├── enable_if.hpp │ │ │ │ │ ├── remove_const.hpp │ │ │ │ │ ├── is_const.hpp │ │ │ │ │ ├── is_array.hpp │ │ │ │ │ ├── is_same.hpp │ │ │ │ │ ├── remove_reference.hpp │ │ │ │ │ ├── conditional.hpp │ │ │ │ │ ├── is_floating_point.hpp │ │ │ │ │ ├── is_base_of.hpp │ │ │ │ │ ├── is_unsigned.hpp │ │ │ │ │ ├── is_signed.hpp │ │ │ │ │ ├── is_integral.hpp │ │ │ │ │ └── make_unsigned.hpp │ │ │ │ ├── ctype.hpp │ │ │ │ ├── math.hpp │ │ │ │ ├── mpl │ │ │ │ │ └── max.hpp │ │ │ │ ├── alias_cast.hpp │ │ │ │ ├── gsl │ │ │ │ │ └── not_null.hpp │ │ │ │ ├── type_traits.hpp │ │ │ │ ├── limits.hpp │ │ │ │ └── attributes.hpp │ │ │ ├── Numbers │ │ │ │ ├── Float.hpp │ │ │ │ ├── Integer.hpp │ │ │ │ ├── parseFloat.hpp │ │ │ │ └── parseInteger.hpp │ │ │ ├── Serialization │ │ │ │ ├── DummyWriter.hpp │ │ │ │ ├── measure.hpp │ │ │ │ ├── StreamWriter.hpp │ │ │ │ ├── StaticStringWriter.hpp │ │ │ │ ├── DynamicStringWriter.hpp │ │ │ │ └── serialize.hpp │ │ │ ├── Memory │ │ │ │ ├── StringSlot.hpp │ │ │ │ ├── Alignment.hpp │ │ │ │ └── StringBuilder.hpp │ │ │ ├── Deserialization │ │ │ │ ├── NestingLimit.hpp │ │ │ │ ├── IteratorReader.hpp │ │ │ │ ├── StdStreamReader.hpp │ │ │ │ ├── ArduinoStreamReader.hpp │ │ │ │ ├── FlashStringReader.hpp │ │ │ │ └── CharPointerReader.hpp │ │ │ ├── MsgPack │ │ │ │ ├── ieee754.hpp │ │ │ │ └── endianess.hpp │ │ │ ├── Misc │ │ │ │ ├── Visitable.hpp │ │ │ │ └── SerializedValue.hpp │ │ │ ├── Document │ │ │ │ ├── DynamicJsonDocument.hpp │ │ │ │ └── StaticJsonDocument.hpp │ │ │ ├── Operators │ │ │ │ ├── VariantCasts.hpp │ │ │ │ ├── VariantOperators.hpp │ │ │ │ ├── VariantShortcuts.hpp │ │ │ │ └── VariantOr.hpp │ │ │ ├── StringStorage │ │ │ │ ├── StringCopier.hpp │ │ │ │ ├── StringMover.hpp │ │ │ │ └── StringStorage.hpp │ │ │ ├── Array │ │ │ │ ├── ArrayImpl.hpp │ │ │ │ ├── ArrayFunctions.hpp │ │ │ │ ├── ArrayShortcuts.hpp │ │ │ │ └── Utilities.hpp │ │ │ ├── Variant │ │ │ │ ├── VariantTo.hpp │ │ │ │ ├── SlotFunctions.hpp │ │ │ │ ├── VariantContent.hpp │ │ │ │ └── VariantAsImpl.hpp │ │ │ ├── Json │ │ │ │ ├── Utf8.hpp │ │ │ │ └── EscapeSequence.hpp │ │ │ ├── compatibility.hpp │ │ │ ├── Strings │ │ │ │ ├── StringAdapters.hpp │ │ │ │ ├── ConstRamStringAdapter.hpp │ │ │ │ ├── RamStringAdapter.hpp │ │ │ │ ├── StlStringAdapter.hpp │ │ │ │ ├── SizedRamStringAdapter.hpp │ │ │ │ ├── SizedFlashStringAdapter.hpp │ │ │ │ ├── FlashStringAdapter.hpp │ │ │ │ ├── ArduinoStringAdapter.hpp │ │ │ │ └── String.hpp │ │ │ ├── Namespace.hpp │ │ │ ├── Object │ │ │ │ ├── Pair.hpp │ │ │ │ ├── ObjectFunctions.hpp │ │ │ │ └── ObjectImpl.hpp │ │ │ └── Collection │ │ │ │ └── CollectionData.hpp │ │ │ └── ArduinoJson.h │ ├── thread │ │ ├── createThreads.h │ │ ├── timerInterrupt.h │ │ ├── timerInterrupt.cpp │ │ ├── timer.h │ │ ├── dma.h │ │ ├── pruThread.h │ │ ├── timer.cpp │ │ └── pruThread.cpp │ ├── modules │ │ ├── comms │ │ │ ├── RemoraComms.h │ │ │ └── RemoraComms.cpp │ │ ├── blink │ │ │ ├── blink.h │ │ │ └── blink.cpp │ │ ├── pwm │ │ │ ├── softPwm.h │ │ │ ├── softPwm.cpp │ │ │ └── spindlePwm.h │ │ ├── qdc │ │ │ ├── portInterrupt.h │ │ │ ├── qdc.h │ │ │ └── portInterrupt.cpp │ │ ├── digitalPin │ │ │ └── digitalPin.h │ │ ├── module.cpp │ │ ├── module.h │ │ ├── encoder │ │ │ └── encoder.h │ │ ├── nvmpg │ │ │ └── nvmpg.h │ │ └── stepgen │ │ │ └── stepgen.h │ ├── interrupt │ │ ├── interrupt.h │ │ ├── interrupt.cpp │ │ └── irqHandlers.h │ ├── ethernet.h │ ├── crc32.h │ ├── drivers │ │ └── pin │ │ │ ├── pin.h │ │ │ └── pin.cpp │ ├── extern.h │ └── remora.h ├── mdio │ └── fsl_enet_mdio.h ├── board │ ├── dcd.h │ └── pin_mux.h ├── device │ └── fsl_device_registers.h ├── .project ├── component │ └── silicon_id │ │ └── fsl_silicon_id.h ├── .settings │ ├── org.eclipse.cdt.managedbuilder.core.prefs │ └── language.settings.xml ├── CMSIS │ └── cmsis_version.h ├── xip │ └── fsl_flexspi_nor_boot.c └── utilities │ ├── fsl_str.h │ └── fsl_assert.c ├── Firmware ├── remora-rt1052-1.0.0.bin ├── remora-rt1052-1.1.0.bin ├── remora-rt1052-2.1.0.bin ├── remora-rt1052-2.1.1.bin ├── remora-rt1052-3.0.0.bin ├── remora-rt1052-3.1.0.bin ├── remora-rt1052-3.1.1.bin ├── remora-rt1052-3.1.2.bin ├── remora-rt1052-3.1.3.bin ├── remora-rt1052-2.0.0-beta.bin ├── remora-rt1052-2.1.0-beta.bin └── remora-rt1052-3.1.4.beta.bin ├── .gitignore └── README.md /LinuxCNC/remora-ec500-DMA/tool.tbl: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /LinuxCNC/remora-rt1052-basic/tool.tbl: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/.gitignore: -------------------------------------------------------------------------------- 1 | /Release/ 2 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/tool.tbl: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/linkscripts/bss.ldt: -------------------------------------------------------------------------------- 1 | <#if memory.name=="SRAM_OC"> 2 | *(.bss*) 3 | 4 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/linkscripts/main_text.ldt: -------------------------------------------------------------------------------- 1 | *(EXCLUDE_FILE(*flexspi_nor_flash_ops.o *fsl_flexspi.o) .text*) -------------------------------------------------------------------------------- /Remora-RT1052-cpp/lwip/src/core/linkscripts/main_text.ldt: -------------------------------------------------------------------------------- 1 | *(EXCLUDE_FILE(*flexspi_nor_flash_ops.o *fsl_flexspi.o) .text*) -------------------------------------------------------------------------------- /Firmware/remora-rt1052-1.0.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-1.0.0.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-1.1.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-1.1.0.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-2.1.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-2.1.0.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-2.1.1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-2.1.1.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-3.0.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-3.0.0.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-3.1.0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-3.1.0.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-3.1.1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-3.1.1.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-3.1.2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-3.1.2.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-3.1.3.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-3.1.3.bin -------------------------------------------------------------------------------- /Remora-RT1052-cpp/lwip/src/core/linkscripts/bss.ldt: -------------------------------------------------------------------------------- 1 | <#if memory.name=="SRAM_OC"> 2 | *(.bss*) 3 | 4 | -------------------------------------------------------------------------------- /Firmware/remora-rt1052-2.0.0-beta.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-2.0.0-beta.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-2.1.0-beta.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-2.1.0-beta.bin -------------------------------------------------------------------------------- /Firmware/remora-rt1052-3.1.4.beta.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/Firmware/remora-rt1052-3.1.4.beta.bin -------------------------------------------------------------------------------- /LinuxCNC/Remora DMA stepgen timing calc.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scottalford75/Remora-RT1052-cpp/HEAD/LinuxCNC/Remora DMA stepgen timing calc.xlsx -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/.mcuxpressoide_packages_support 2 | **/.metadata 3 | **/AzureRTOS_TAD_logs 4 | **/FreeRTOS_TAD_logs 5 | **/ZephyrRTOS_TAD_logs 6 | **/Debug 7 | **/Release -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA/custom_postgui.hal: -------------------------------------------------------------------------------- 1 | # Include your custom_postgui HAL commands here 2 | # This file will not be overwritten when you run stepconf again 3 | 4 | -------------------------------------------------------------------------------- /LinuxCNC/remora-rt1052-basic/custom_postgui.hal: -------------------------------------------------------------------------------- 1 | # Include your custom_postgui HAL commands here 2 | # This file will not be overwritten when you run stepconf again 3 | 4 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/custom_postgui.hal: -------------------------------------------------------------------------------- 1 | # Include your custom_postgui HAL commands here 2 | # This file will not be overwritten when you run stepconf again 3 | 4 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/linkscripts/data.ldt: -------------------------------------------------------------------------------- 1 | <#if memory.name=="SRAM_ITC"> 2 | *flexspi_nor_flash_ops.o(.text*) 3 | *fsl_flexspi.o(.text*) 4 | 5 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/lwip/src/core/linkscripts/data.ldt: -------------------------------------------------------------------------------- 1 | <#if memory.name=="SRAM_ITC"> 2 | *flexspi_nor_flash_ops.o(.text*) 3 | *fsl_flexspi.o(.text*) 4 | 5 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/lwip/src/include/netif/etharp.h: -------------------------------------------------------------------------------- 1 | /* ARP has been moved to core/ipv4, provide this #include for compatibility only */ 2 | #include "lwip/etharp.h" 3 | #include "netif/ethernet.h" 4 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/Archivo vacío nuevo: -------------------------------------------------------------------------------- 1 | , 2 | "Step Length": 3, 3 | "Step Space": 3, 4 | "Dir Hold": 5, 5 | "Dir Setup": 5 -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA/pyvcp_options.hal: -------------------------------------------------------------------------------- 1 | # These files are loaded post GUI, in the order they appear 2 | # Generated by stepconf 1.1 at Tue Mar 7 17:21:18 2017 3 | # If you make changes to this file, they will be 4 | # overwritten when you run stepconf again 5 | sets spindle-at-speed true 6 | -------------------------------------------------------------------------------- /LinuxCNC/remora-rt1052-basic/pyvcp_options.hal: -------------------------------------------------------------------------------- 1 | # These files are loaded post GUI, in the order they appear 2 | # Generated by stepconf 1.1 at Tue Mar 7 17:21:18 2017 3 | # If you make changes to this file, they will be 4 | # overwritten when you run stepconf again 5 | sets spindle-at-speed true 6 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA/postgui_call_list.hal: -------------------------------------------------------------------------------- 1 | # These files are loaded post GUI, in the order they appear 2 | # Generated by stepconf 1.1 at Tue Mar 7 17:21:18 2017 3 | # If you make changes to this file, they will be 4 | # overwritten when you run stepconf again 5 | 6 | source custom_postgui.hal 7 | -------------------------------------------------------------------------------- /LinuxCNC/remora-rt1052-basic/postgui_call_list.hal: -------------------------------------------------------------------------------- 1 | # These files are loaded post GUI, in the order they appear 2 | # Generated by stepconf 1.1 at Tue Mar 7 17:21:18 2017 3 | # If you make changes to this file, they will be 4 | # overwritten when you run stepconf again 5 | 6 | source custom_postgui.hal 7 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/pyvcp_options.hal: -------------------------------------------------------------------------------- 1 | # These files are loaded post GUI, in the order they appear 2 | # Generated by stepconf 1.1 at Tue Mar 7 17:21:18 2017 3 | # If you make changes to this file, they will be 4 | # overwritten when you run stepconf again 5 | sets spindle-at-speed true 6 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/postgui_call_list.hal: -------------------------------------------------------------------------------- 1 | # These files are loaded post GUI, in the order they appear 2 | # Generated by stepconf 1.1 at Tue Mar 7 17:21:18 2017 3 | # If you make changes to this file, they will be 4 | # overwritten when you run stepconf again 5 | 6 | source custom_postgui.hal 7 | -------------------------------------------------------------------------------- /LinuxCNC/remora-rt1052-basic/autosave.halscope: -------------------------------------------------------------------------------- 1 | THREAD servo-thread 2 | MAXCHAN 4 3 | HMULT 1 4 | HZOOM 1 5 | HPOS 3.920139e-01 6 | CHAN 2 7 | PIN remora.input.25 8 | VSCALE 0 9 | VPOS 0.654762 10 | VOFF 0.000000e+00 11 | CHAN 1 12 | PIN remora.input.24 13 | VSCALE 0 14 | VPOS 0.500000 15 | VOFF 0.000000e+00 16 | TMODE 0 17 | RMODE 0 18 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/version.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #define ARDUINOJSON_VERSION "6.10.1" 8 | #define ARDUINOJSON_VERSION_MAJOR 6 9 | #define ARDUINOJSON_VERSION_MINOR 10 10 | #define ARDUINOJSON_VERSION_REVISION 1 11 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/assert.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #ifdef ARDUINOJSON_DEBUG 8 | #include 9 | #define ARDUINOJSON_ASSERT(X) assert(X) 10 | #else 11 | #define ARDUINOJSON_ASSERT(X) ((void)0) 12 | #endif 13 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/lwip/FILES: -------------------------------------------------------------------------------- 1 | contrib/ - lwIP examples, ports, and small apps (formerly http://git.savannah.gnu.org/cgit/lwip/lwip-contrib.git/) 2 | src/ - The source code for the lwIP TCP/IP stack. 3 | doc/ - The documentation for lwIP. 4 | test/ - Some code to test whether the sources do what they should. 5 | 6 | See also the FILES file in each subdirectory. 7 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/utility.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | template 9 | inline void swap(T& a, T& b) { 10 | T t(a); 11 | a = b; 12 | b = t; 13 | } 14 | } // namespace ARDUINOJSON_NAMESPACE 15 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/thread/createThreads.h: -------------------------------------------------------------------------------- 1 | #include "extern.h" 2 | 3 | 4 | void createThreads(void) 5 | { 6 | baseThread = new pruThread(GPT1, GPT1_IRQn, base_freq); 7 | NVIC_SetPriority(GPT1_IRQn, 2); 8 | 9 | servoThread = new pruThread(GPT2, GPT2_IRQn , servo_freq); 10 | NVIC_SetPriority(GPT2_IRQn , 3); 11 | 12 | dmaThread = new pruThread(DMA0, dma_freq); 13 | } 14 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson.h: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #ifdef __cplusplus 8 | 9 | #include "ArduinoJson.hpp" 10 | 11 | using namespace ArduinoJson; 12 | 13 | #else 14 | 15 | #error ArduinoJson requires a C++ compiler, please change file extension to .cc or .cpp 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/autosave.halscope: -------------------------------------------------------------------------------- 1 | THREAD servo-thread 2 | MAXCHAN 4 3 | HMULT 1 4 | HZOOM 1 5 | HPOS 5,369560e-01 6 | CHAN 1 7 | PIN remora.joint.0.vel-cmd 8 | VSCALE 4 9 | VPOS 0,700565 10 | VOFF 0,000000e+00 11 | CHAN 2 12 | PIN joint.0.f-error 13 | VSCALE -3 14 | VPOS 0,302260 15 | VOFF 0,000000e+00 16 | TSOURCE 1 17 | TLEVEL 0,500000 18 | TPOS 0,500000 19 | TPOLAR 1 20 | TMODE 1 21 | RMODE 1 22 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA/autosave.halscope: -------------------------------------------------------------------------------- 1 | THREAD servo-thread 2 | MAXCHAN 4 3 | HMULT 1 4 | HZOOM 1 5 | HPOS 1.862245e-01 6 | CHAN 2 7 | PIN joint.1.f-error 8 | VSCALE -5 9 | VPOS 0.500000 10 | VOFF 0.000000e+00 11 | CHAN 3 12 | PIN joint.2.f-error 13 | VSCALE -5 14 | VPOS 0.264463 15 | VOFF 0.000000e+00 16 | CHAN 1 17 | PIN joint.0.f-error 18 | VSCALE -5 19 | VPOS 0.760331 20 | VOFF 0.000000e+00 21 | TMODE 0 22 | RMODE 0 23 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Numbers/Float.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "../Configuration.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | #if ARDUINOJSON_USE_DOUBLE 12 | typedef double Float; 13 | #else 14 | typedef float Float; 15 | #endif 16 | } // namespace ARDUINOJSON_NAMESPACE 17 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/type_identity.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "integral_constant.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | template 12 | struct type_identity { 13 | typedef T type; 14 | }; 15 | } // namespace ARDUINOJSON_NAMESPACE 16 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/ctype.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | inline bool isdigit(char c) { 10 | return '0' <= c && c <= '9'; 11 | } 12 | 13 | inline bool issign(char c) { 14 | return '-' == c || c == '+'; 15 | } 16 | } // namespace ARDUINOJSON_NAMESPACE 17 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/thread/timerInterrupt.h: -------------------------------------------------------------------------------- 1 | #ifndef TIMERINTERRUPT_H 2 | #define TIMERINTERRUPT_H 3 | 4 | // Derived class for timer interrupts 5 | 6 | class pruTimer; // forward declaration 7 | 8 | class TimerInterrupt : public Interrupt 9 | { 10 | private: 11 | 12 | pruTimer* InterruptOwnerPtr; 13 | 14 | public: 15 | 16 | TimerInterrupt(int interruptNumber, pruTimer* ownerptr); 17 | 18 | void ISR_Handler(void); 19 | }; 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Serialization/DummyWriter.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | class DummyWriter { 10 | public: 11 | size_t write(uint8_t) { 12 | return 1; 13 | } 14 | 15 | size_t write(const uint8_t*, size_t n) { 16 | return n; 17 | } 18 | }; 19 | } // namespace ARDUINOJSON_NAMESPACE 20 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Memory/StringSlot.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include // for size_t 8 | #include "../Configuration.hpp" 9 | 10 | #define JSON_STRING_SIZE(SIZE) (SIZE) 11 | 12 | namespace ARDUINOJSON_NAMESPACE { 13 | 14 | struct StringSlot { 15 | char *value; 16 | size_t size; 17 | }; 18 | } // namespace ARDUINOJSON_NAMESPACE 19 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/halshow.preferences: -------------------------------------------------------------------------------- 1 | # Halshow settings 2 | # This file is generated automatically. 3 | wm geometry . 623x329+814+685 4 | placeFrames 0.36151079136690645 5 | set ::ratio 0.36151079136690645 6 | set ::old_w_leftf 160 7 | set ::watchlist { 8 | pin+remora.PV.0 9 | pin+joint.0.f-error 10 | } 11 | set ::workmode watchhal 12 | set ::watchInterval 100 13 | set ::col1_width 100 14 | set ::ffmts 15 | set ::ifmts 16 | set ::alwaysOnTop 0 17 | set ::autoSaveWatchlist 1 18 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Deserialization/NestingLimit.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "../Configuration.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | struct NestingLimit { 12 | NestingLimit() : value(ARDUINOJSON_DEFAULT_NESTING_LIMIT) {} 13 | explicit NestingLimit(uint8_t n) : value(n) {} 14 | 15 | uint8_t value; 16 | }; 17 | } // namespace ARDUINOJSON_NAMESPACE 18 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/integral_constant.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | template 10 | struct integral_constant { 11 | static const T value = v; 12 | }; 13 | 14 | typedef integral_constant true_type; 15 | typedef integral_constant false_type; 16 | 17 | } // namespace ARDUINOJSON_NAMESPACE 18 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/enable_if.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | // A meta-function that return the type T if Condition is true. 10 | template 11 | struct enable_if {}; 12 | 13 | template 14 | struct enable_if { 15 | typedef T type; 16 | }; 17 | } // namespace ARDUINOJSON_NAMESPACE 18 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Numbers/Integer.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "../Configuration.hpp" 8 | 9 | #include // int64_t 10 | 11 | namespace ARDUINOJSON_NAMESPACE { 12 | 13 | #if ARDUINOJSON_USE_LONG_LONG 14 | typedef int64_t Integer; 15 | typedef uint64_t UInt; 16 | #else 17 | typedef long Integer; 18 | typedef unsigned long UInt; 19 | #endif 20 | } // namespace ARDUINOJSON_NAMESPACE 21 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/remove_const.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | // A meta-function that return the type T without the const modifier 10 | template 11 | struct remove_const { 12 | typedef T type; 13 | }; 14 | template 15 | struct remove_const { 16 | typedef T type; 17 | }; 18 | } // namespace ARDUINOJSON_NAMESPACE 19 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/is_const.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "integral_constant.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | // A meta-function that return the type T without the const modifier 12 | template 13 | struct is_const : false_type {}; 14 | 15 | template 16 | struct is_const : true_type {}; 17 | } // namespace ARDUINOJSON_NAMESPACE 18 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA/gcode2ngc.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # gcode2ngc.py 3 | 4 | import sys 5 | 6 | 7 | # First line 8 | print "%" 9 | 10 | f = file(sys.argv[1]) 11 | for line in f: 12 | 13 | # Change extruder axis name 14 | line = line.replace(" E", " A") 15 | 16 | # S -> P 17 | line = line.replace(" S", " P") 18 | 19 | # Comment M82 code 20 | line = line.replace("M82", ";M82") 21 | 22 | # Comment M84 code 23 | line = line.replace("M84", ";M84") 24 | 25 | print line.strip() 26 | 27 | # Last line 28 | print "%" -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/is_array.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include // size_t 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | template 12 | struct is_array : false_type {}; 13 | 14 | template 15 | struct is_array : true_type {}; 16 | 17 | template 18 | struct is_array : true_type {}; 19 | } // namespace ARDUINOJSON_NAMESPACE 20 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/is_same.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "integral_constant.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | // A meta-function that returns true if types T and U are the same. 12 | template 13 | struct is_same : false_type {}; 14 | 15 | template 16 | struct is_same : true_type {}; 17 | } // namespace ARDUINOJSON_NAMESPACE 18 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/remove_reference.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | // A meta-function that return the type T without the reference modifier. 10 | template 11 | struct remove_reference { 12 | typedef T type; 13 | }; 14 | template 15 | struct remove_reference { 16 | typedef T type; 17 | }; 18 | } // namespace ARDUINOJSON_NAMESPACE 19 | -------------------------------------------------------------------------------- /LinuxCNC/remora-rt1052-basic/gcode2ngc.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # gcode2ngc.py 3 | 4 | import sys 5 | 6 | 7 | # First line 8 | print "%" 9 | 10 | f = file(sys.argv[1]) 11 | for line in f: 12 | 13 | # Change extruder axis name 14 | line = line.replace(" E", " A") 15 | 16 | # S -> P 17 | line = line.replace(" S", " P") 18 | 19 | # Comment M82 code 20 | line = line.replace("M82", ";M82") 21 | 22 | # Comment M84 code 23 | line = line.replace("M84", ";M84") 24 | 25 | print line.strip() 26 | 27 | # Last line 28 | print "%" -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/conditional.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | template 10 | struct conditional { 11 | typedef TrueType type; 12 | }; 13 | 14 | template 15 | struct conditional { 16 | typedef FalseType type; 17 | }; 18 | } // namespace ARDUINOJSON_NAMESPACE 19 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Polyfills/type_traits/is_floating_point.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "integral_constant.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | template 12 | struct is_floating_point : false_type {}; 13 | 14 | template <> 15 | struct is_floating_point : true_type {}; 16 | 17 | template <> 18 | struct is_floating_point : true_type {}; 19 | } // namespace ARDUINOJSON_NAMESPACE 20 | -------------------------------------------------------------------------------- /LinuxCNC/remora-ec500-DMA_closed_loop/gcode2ngc.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # gcode2ngc.py 3 | 4 | import sys 5 | 6 | 7 | # First line 8 | print "%" 9 | 10 | f = file(sys.argv[1]) 11 | for line in f: 12 | 13 | # Change extruder axis name 14 | line = line.replace(" E", " A") 15 | 16 | # S -> P 17 | line = line.replace(" S", " P") 18 | 19 | # Comment M82 code 20 | line = line.replace("M82", ";M82") 21 | 22 | # Comment M84 code 23 | line = line.replace("M84", ";M84") 24 | 25 | print line.strip() 26 | 27 | # Last line 28 | print "%" -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/MsgPack/ieee754.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | namespace ARDUINOJSON_NAMESPACE { 8 | 9 | inline void doubleToFloat(const uint8_t d[8], uint8_t f[4]) { 10 | f[0] = uint8_t((d[0] & 0xC0) | (d[0] << 3 & 0x3f) | (d[1] >> 5)); 11 | f[1] = uint8_t((d[1] << 3) | (d[2] >> 5)); 12 | f[2] = uint8_t((d[2] << 3) | (d[3] >> 5)); 13 | f[3] = uint8_t((d[3] << 3) | (d[4] >> 5)); 14 | } 15 | 16 | } // namespace ARDUINOJSON_NAMESPACE 17 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/mdio/fsl_enet_mdio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 NXP 3 | * All rights reserved. 4 | * 5 | * SPDX-License-Identifier: BSD-3-Clause 6 | */ 7 | 8 | #ifndef _FSL_ENET_MDIO_H_ 9 | #define _FSL_ENET_MDIO_H_ 10 | 11 | #include "fsl_enet.h" 12 | #include "fsl_mdio.h" 13 | 14 | /******************************************************************************* 15 | * Definitions 16 | ******************************************************************************/ 17 | 18 | /*! @brief ENET MDIO operations structure. */ 19 | extern const mdio_operations_t enet_ops; 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Misc/Visitable.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "../Polyfills/type_traits.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | struct Visitable { 12 | // template 13 | // void accept(Visitor&) const; 14 | }; 15 | 16 | template 17 | struct IsVisitable : is_base_of {}; 18 | 19 | template 20 | struct IsVisitable : IsVisitable {}; 21 | } // namespace ARDUINOJSON_NAMESPACE 22 | -------------------------------------------------------------------------------- /Remora-RT1052-cpp/source/lib/ArduinoJson6/ArduinoJson/Serialization/measure.hpp: -------------------------------------------------------------------------------- 1 | // ArduinoJson - arduinojson.org 2 | // Copyright Benoit Blanchon 2014-2019 3 | // MIT License 4 | 5 | #pragma once 6 | 7 | #include "./DummyWriter.hpp" 8 | 9 | namespace ARDUINOJSON_NAMESPACE { 10 | 11 | template