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

Thread: Teensy 3 bug on 1.14rc2

  1. #1
    Senior Member
    Join Date
    Mar 2013
    Posts
    126

    Teensy 3 bug on 1.14rc2

    I have't gotten to the bottom of it but our OSC l library SLIP serial test sketch fails now on Teensy 3.0

    Our code has no specific Teensy 3.0 dependencies and works on Teensy 2.0 and all the other Arduinos I have tested.
    We make heavy use of malloc, realloc and also serial USB I/O, of course.

    I am backpedaling as fast as possible to see if it is something we did in our code, something Arduino 1.05 introduced or the problem
    crept in with 1.14rc1 or 1.14rc2

    I will update as soon as I can with a small example and more details, but I wanted to give you a heads up and prompt
    others to test the release candidate...

  2. #2
    Senior Member
    Join Date
    Mar 2013
    Posts
    126
    I found it: a subtle bug in our SLIP state machine that was made visible probably with the enhanced performance of
    USB serial on 1.14rc2.

    The bug involved doing a peek() without checking for available()>0. I wonder if the semantics of that changed with rc2.
    Last edited by adrianfreed; 05-24-2013 at 03:38 PM.

Posting Permissions

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