Hi, I am doing a development for a CNC/Motion Controller.
As a first target HW I want to run it on a Teensy3.5
I would like to achieve the following :
So what are my options ?
An example for this is GRBL, which achieves the above (for the Arduino Uno) as follows :
Many thanks for your suggestions/opinions!
As a first target HW I want to run it on a Teensy3.5
I would like to achieve the following :
- It should be easy to compile the SW and download to the target HW - eg. as simple as in the Arduino IDE today..
- I do not want to include the typical Arduino 'overhead', ie. no setup of peripherals behind the scenes. All peripherals config will be done by the application itself and I don't want anything running that we don't know about, as this could disturb the real-time behaviour that we need to control multiple stepper-motors at high speeds..
So what are my options ?
- Arduino IDE / Teensyduino : is there a way to omit the peripheral configuration (eg USB, Serial, timers, ...) and go for the minimum build with a crt0.s, sysinit.c ?
- Visual Studio (optionally with Visual Micro extension) - I probably need a customized makefile here - how could we distribute that in a failproof way to the community ?
- PlatformIO - can we do a minimum build here, and is there a simple upload for the resulting .hex
- other..
An example for this is GRBL, which achieves the above (for the Arduino Uno) as follows :
- all .c files are in a 'grbl' *library* folder - (so you have to install a library, not just download a sketch-file)
- this library has an 'examples' folder - as an 'example' there is an 'upload.ino' sketch.
- the upload.ino sketch has no setup() or loop(), it only #includes the 'top-level' grbl.h file
Many thanks for your suggestions/opinions!