How to compile and upload to a Teensy 4_1 from C# application

Status
Not open for further replies.
Is possible to do something similar to this but to work with a Teensy 4.1?

https://stackoverflow.com/questions...upload-to-an-arduino-from-c-sharp-application

I'm not sure I understand exactly what you want to do, but probably the simplest way to build/send from a C# program would be to (a) learn how to build/send from the command line, then (b) write a simple C# program to execute the same commands that you enter on the command line.

To build the program, you can use make and the sample makefile in cores\Teensy4 (https://github.com/PaulStoffregen/cores/blob/master/teensy4/Makefile)

To send the hex file to Teensy, you can use the command-line version of Teensy loader (https://www.pjrc.com/teensy/loader_cli.html)

You can also look at luni's VisualTeensy to see if that helps (https://github.com/luni64/VisualTeensy)
 
Status
Not open for further replies.
Back
Top