Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy 3.2 - programming with Windows / CLI software (no GUI, no Arduino please!)...

  1. #1

    Teensy 3.2 - programming with Windows / CLI software (no GUI, no Arduino please!)...

    Hello everyone!

    I am looking for software that can program (compile C input file and upload it to device) teensyduino based devices... So far I used for that purpose ARDUINO IDE + additions to program teensyduino.

    Now I need software for Windows, only CLI (no GUI !), so I can using CMD in Windows type commands to program my devices.

    Could you recommend such software (it must be free - for distribution with my own software, and Windows OS based)?.

    Thanks for any help!

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,335
    Quote Originally Posted by teensy-duino32 View Post
    Hello everyone!

    I am looking for software that can program (compile C input file and upload it to device) teensyduino based devices... So far I used for that purpose ARDUINO IDE + additions to program teensyduino.

    Now I need software for Windows, only CLI (no GUI !), so I can using CMD in Windows type commands to program my devices.

    Could you recommend such software (it must be free - for distribution with my own software, and Windows OS based)?.

    Thanks for any help!
    Use cmd, a text editor of your choice , Paul's makefile (or build your own) and teensy_loader_cli. It has been done for years.

  3. #3
    Senior Member
    Join Date
    May 2015
    Location
    San Francisco
    Posts
    157
    Check out platformio.org, it's fast, reliable and cross platform. And most importantly, it's super easy to setup.

    Quote Originally Posted by teensy-duino32 View Post
    Hello everyone!

    I am looking for software that can program (compile C input file and upload it to device) teensyduino based devices... So far I used for that purpose ARDUINO IDE + additions to program teensyduino.

    Now I need software for Windows, only CLI (no GUI !), so I can using CMD in Windows type commands to program my devices.

    Could you recommend such software (it must be free - for distribution with my own software, and Windows OS based)?.

    Thanks for any help!

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,424
    I am not sure what it is here you are asking for?

    a) You wish to do all of your own development for the Teensy and not use GUI?
    or
    b) I wish to distribute an update to locations and want them to be able to update your boards with the update?

    Solutions may be very different. Assume b)

    You can do your normal Arduino IDE and compile it and test it. Once you are ready to ship out updates, you can use the Arduino command:
    Sketch->Export compiled binary.

    You can then use the Sketch->Show sketch folder command which will open up browser window and should show a hex file in your sketch folder. You can then ship that file plus teensy_loader_cli and use a command line to program their boards...

    If instead you wish to ship source files and have them build it without GUI sort of a)
    This implies that they need to setup a complete arduino/teensyduino up on that site. Which probably requires GUI...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •