Search results

  1. V

    Teensy 4.1 Blink Sketch Doesn't Run if Optimize = "Smallest Code" (-Os)

    Thanks, we will tell the user to upgrade. Are you using Teensyduino install to 1.8 or board manager package?
  2. V

    Teensy 4.1 Blink Sketch Doesn't Run if Optimize = "Smallest Code" (-Os)

    Teensy Board Package v1.58.1 Affects: Arduino IDE, Visual Micro Summary: After uploading the Blink Sketch to a Standard Teensy 4.1, the LED does not blink. This is only found when using the "Smallest Code" Optimization, all other Optimization levels work as expected. Code: // Teensy Board...
  3. V

    Serial.println not working

    Thanks for the update. Support for teensy virtual usb ports was added to Visual Micro a few years ago. This is an old post but still a useful post :)
  4. V

    [duplicate] Arduino Debug via Serial

    @CraigF thank you for the useful update and the nudge. We should certainly post an update about the more recent GDB Stub addition for Teensy. Editing/Viewing libraries and examples There are few other options that might be useful sometimes... 1) The "vMicro>Show/hide hidden files" menu item...
  5. V

    Using Teensy with Atmel Studio

    Please provide the logs as requested. The location of the arduino ide is a configuration option as are other options. It sounds like you have something configured slightly wrong. With correct settings (normally default) you should see same or faster build speed in Atmel Stdudio. It is also a...
  6. V

    Using Teensy with Atmel Studio

    Hi, it sounds like visual micro is pointing to a different version of the Arduino IDE or that some options have been enabled/changed. Please create a log in the forum at visualmicro.com and follow the guide in yellow that appears at the top of the forum. Thanks. Forum is here...
  7. V

    [duplicate] Arduino Debug via Serial

    Yes probably better in the Visual Micro forum. You can either leave the libraries where they are and click "vMicro>Show Hidden Files". That adds short cuts for the real sources into the project explorer which makes the originals easier to edit and explore. Alternatively the clone library...
  8. V

    [duplicate] Arduino Debug via Serial

    Visual Micro does have equivalent functionality to achieve what you need. Libraries can be added to your sketch, with the "Add Libraries" > "Clone for Project when Including Libraries" option checked. Ensure the "Use Library Version in Clones" is unchecked. When adding them to your sketch they...
  9. V

    [duplicate] Arduino Debug via Serial

    Thanks for the update on the GDBStub you have produced, it really is brilliant! We have added the options into Visual Micro so your GDBStub can be used easily (once installed) in our latest update (posted here). We still feel the Serial debugger is a separate offering due to its universal...
  10. V

    Teensy GDBStub Debugging via Serial with VS Integration

    Using the amazing GDBStub Library for Teensy 3/4 by Fernando Trias, you can now have the GDB experience on Teensy 3/4 without any additional hardware! With the Teensy servicing multiple Serial Ports you don't lose your Serial output or need extra hardware. This has been integrated into Visual...
  11. V

    [photo needed] Teensy Debug via Virtual Serial

    Thanks Paul, an Image is below and the hardware wasn't visible in the provided videos, we will make sure it is in future.
  12. V

    [photo needed] Teensy Debug via Virtual Serial

    Further to the Serial Debugging Features in Visual Micro, there is now full support for all Teensy USB Types (MIDI, Audio, Keyboard etc...) for use with both the Monitor, and all Serial Debugging tools. Using the Virtual Serial port is the same as with any other COM port, and boards are listed...
  13. V

    [duplicate] Arduino Debug via Serial

    Yes we are currently looking at giving some more flexibility to serial debug without need to recompile. It's looking quite exciting so will update this post with more info when/if it works. One gotcha of dynamic breakpoints will be optimization settings. By identifying variables and...
  14. V

    [duplicate] Arduino Debug via Serial

    It's a good question. We support both the injected serial (or software serial) debugger described in this post and also hardware debuggers. Both types of debuggers have advantages and disadvantages. Without hardware debug users either add their own serial debug statements throughout their code...
  15. V

    [duplicate] Arduino Debug via Serial

    We have a created a Debugging tool compatible with the Teensyduino platform, for all Teensy boards, running over the Serial port. This is part of the Visual Studio development extension Visual Micro. This allows you to: Step by Step execution using breakpoints Performance Monitoring for...
  16. V

    Teensy3Time.ino updates wrong time ...

    As you can read this was resolve a while back. Please open a thread in the visual micro forum and provide the information shown in yellow at the top of each forum board. https://www.visualmicro.com/forums/ Thanks
  17. V

    Please add vid/pid for all boards or remove from teensy31 (boards.txt)

    Ideally it would be great if each Teensy model had unique vid/pid then the "auto selected" board feature will work in IDE's that support it. However, that might be complicated so removing the vid_0... from teensy31 or adding the same vid/pid settings to all other boards in boards.txt would be...
  18. V

    Compiler Library Resolution

    Thanks Paul and sorry to waste time. We had a user who installed arduino into the sketchbook, "sketchbook\libraries" was the same as "ide\libraries" This thread can be deleted. Thanks again.
  19. V

    Compiler Library Resolution

    Thanks very much for the reply. I think the order of compiler include paths is slightly different to the way the location of each library is established. Unless I am confused ... When testing with the Arduino IDE it is not possible to make use of a Teensy library if the same named library...
  20. V

    Compiler Library Resolution

    Hi Paul, I am authoring Visual Micro and have a question. It seems that a user has more success building his project when the Arduino IDE ignores the Teensy specific libraries. Can you please explain what libraries you expect to be used. For example we might have an Ethernet library in...
  21. V

    Teensy3Time.ino updates wrong time ...

    In the next release of Visual Micro, all of the arduino "extra" build properties are now correct. Thanks for the help.
  22. V

    Teensy3Time.ino updates wrong time ...

    Sorry for all the confusion. What do we need the __rtc_localtime to contain? Thanks
  23. V

    Visual Micro with Teensy 3 support, new release

    Teensy is now also available in Visual Studio 2015. For 2015 and beyond Visual Micro has moved from Visual Studio "Add-in" to Visual Studio "Extension". This gives us much great flexibility and more reliable/tighter integration with Visual Studio. Installation is easier, all you have to do...
  24. V

    Visual Micro help needed

    A few notes here that might help.
  25. V

    Visual Micro help needed

    Hi there, There are plenty of ways to change the build events using the config system, however for standard Teensy upload this should not be required Visual Micro will invoke the standard Teensy uploader (uses the Teensy config files). In any event, if this is a bug report or a product change...
  26. V

    Visual Micro help needed

    Duplicate post being discussed in the visualmicro.com forum here http://www.visualmicro.com/forums/YaBB.pl?num=1390608647/0#3
  27. V

    Visual Micro help needed

    @stevech, Yes agreed we need better documentation! I should have posted links with what we have right now visualmicro.com getting started teensy settings compile and upload youtube overview forum wiki adding libraries Creating the free tool, providing the wiki, youtube and forum...
  28. V

    Visual Micro help needed

    Update: how to upload to Teensy Clicking "Project>Build" will simply compile the sketch, the docs need more examples! Please click the blue arrow on the tool bar in Atmel Studio (Green arrow in Visual Studio) to compile and upload to Teensy. Or click "Debug>Start" or "Debug>Start without...
  29. V

    Using Teensy with Atmel Studio

    @Cass55 So to be clear, you now know which defines to set for your board such as keyboard, cpu speed etc so all is working including debug? Thanks
Back
Top