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

Thread: Compiler between Arduino and Visual Studio for Teensy?

  1. #1
    Member
    Join Date
    Jun 2018
    Location
    Northeast USA
    Posts
    25

    Compiler between Arduino and Visual Studio for Teensy?

    Hello All,
    Does anyone have a recommendation for an IDE/compiler that's a step-up from Arduino, but not necessarily as complex as Visual Studio?
    Thank You,
    -John

  2. #2
    Junior Member
    Join Date
    Jul 2016
    Posts
    4
    Exactly how is Visual Studio Code complex unless you make it so?

    Or better question, what are you looking for in an IDE?

  3. #3
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,385
    Many software developers are already familiar with Eclipse (which is freeware under Win, macOS and Linux). Dutch developer Jantje created and maintains actively Sloeber which is either a Teensyduino compatible Arduino-Plugin for existing Eclipse installations or a full bundle of Eclipse with the Plugin.
    http://eclipse.baeyens.it/

    I’m using it for many years now, for php and java development at my day job and for Teensy stuff in my free time.

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,381
    Visual Studio and VS CODE are different right? @Luni did a nice add on as VisualTeensy that builds on that - and that is multi OS supported.

    If you are Windows only and have a decent editor you like? I use Windows and SublimeText and FrankB created a Batch/CMD file for Windows that executes Arduino IDE BUILD from a command line - I put some added Batch files around that where CMDLINE or SublimeText executing those batch files uses installed Arduino+TeensyDuino to build and upload with TyCommander without opening the IDE.

  5. #5
    Junior Member
    Join Date
    Jul 2016
    Posts
    4
    True VS and VSC really only share part of the name. Everything else is really different.

    I would highly recommend VSC with PlatformIO.

  6. #6
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,381
    Here is the link to Compiling-Teensy-Sketches-with-VisualCode-(Win10)

    I have not tried it lately - but it started well and AFAIK went stable and good.

  7. #7
    Member
    Join Date
    Jun 2018
    Location
    Northeast USA
    Posts
    25
    Thanks for the suggestions all..... will poke at them a bit. ;-)

  8. #8
    Senior Member
    Join Date
    Oct 2015
    Location
    Roma (IT, EU)
    Posts
    163
    Another option: you could use Arduino IDE (+ TeensyDuino) just for compiling and library management (it's quite convenient, runs out-of-the-box) and your IDE of choice (I voice for Visual Studio Code) for editing and whatelse.
    To do this, in Arduino IDE go to File->Preferences and enable "Use External Editor".
    The integrated editor goes "gray" (editing disabled) but promptly reflects any change you do with your preferred editor. You can still use Serial Monitor, change options (port, board, compile options etc.), build and upload.

  9. #9
    Junior Member
    Join Date
    Apr 2019
    Posts
    2
    Quote Originally Posted by amensch View Post
    Hello All,
    Does anyone have a recommendation for an IDE/compiler that's a step-up from Arduino, but not necessarily as complex as Visual Studio?
    Thank You,
    -John
    I use Windows and SublimeText and FrankB created a Batch/CMD file for Windows that executes Arduino IDE BUILD from a command line - I put some added Batch files around that where CMDLINE or SublimeText executing those batch files uses installed Arduino+TeensyDuino to build and upload with TyCommander without opening the IDE.

  10. #10
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,381
    For Windows I wrote added batch files to create the compile.cmd with a 4 question prompting of the device and speed, compile options and USB type. Also added ability to make a NEW sketch like in IDE with batch files from SublimeText. Very handy with Tycommander when multiple Teensy of one or more types are connected.


  11. #11
    Junior Member
    Join Date
    Apr 2019
    Posts
    2
    Quote Originally Posted by Dennis6395 View Post
    I use Windows and SublimeText and FrankB created a Batch/CMD file for Windows that executes Arduino IDE BUILD from a command line - I put some added Batch files around that where CMDLINE or SublimeText executing those batch files tellpopeyes uses installed Arduino+TeensyDuino to build and upload with TyCommander without opening the IDE.
    Any Update????

  12. #12
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    5,567
    for what??

Posting Permissions

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