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

Thread: Teensyduino 1.36 Beta #3

  1. #1
    Administrator Paul's Avatar
    Join Date
    Oct 2012
    Posts
    247

    Teensyduino 1.36 Beta #3

    Here is a third beta test for Teensyduino 1.36.

    Linux 32 bit:
    https://www.pjrc.com/teensy/td_136-b...nstall.linux32

    Linux 64 bit:
    https://www.pjrc.com/teensy/td_136-b...nstall.linux64

    Linux ARM: (coming soon...)
    https://www.pjrc.com/teensy/td_136-b...stall.linuxarm

    Mac OS-X:
    https://www.pjrc.com/teensy/td_136-b...inoInstall.dmg

    Windows:
    https://www.pjrc.com/teensy/td_136-b...inoInstall.exe

    Change since 1.36-beta2:

    • Optimize SPI.transfer(buffer, length) (KurtE)
    • Fix USB audio on Macs & improve PassThroughUSB example
    • Start USB sooner
    • Add volume() function to AudioInputUSB
    • Fix rare memcpy issue (Frank B)
    • Fix 9 bit mode on Serial1 & Serial2 on Teensy LC (gecko)
    • Fix to dtostrf for small numbers (LAtimes2)
    • Fix reading of partial Wire.requestFrom results

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,514
    Yesterday & today Arduino's commit log is showing activity that looks like the stuff they usually do to prepare for a new release.

    If Arduino 1.8.2 is coming soon, it'll (probably) work out to be good timing.

    Please let me know if there are other fixes I ought to merge now.... for beta4 if they release 1.8.2 today or tomorrow.

  3. #3
    Senior Member KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    2,551
    Hi Paul: Just looking over my still pending pull requests to see if any of them make sense... I closed a few old ones...

    Some are in libraries of other users that I don't know where you pick these up.

    ADC: https://github.com/pedvide/ADC/pull/22 - If I remember correct two main issues for T3.5 and T3.6 -
    a) ISR numbers for two ISRS. So you don't get ISR on 2nd one on T3.5/6
    b) The tables were never updated, they were simply copy of T3.2

    RadioHead: https://github.com/PaulStoffregen/RadioHead/pull/10
    a) Updated Transaction stuff
    b) Added support for SPI1/SPI2 by being able to pass which one to use.
    c) merged in fix/workaround for deadlock...

    ILI9341_t3: Couple of Pull requests, but maybe more extensive than you want for first one:

    https://github.com/PaulStoffregen/ILI9341_t3/pull/41 - merged a bunch of stuff from my ili9341_t3n library, including:
    clip rectange, offsets, Opaque font support, Support for only using 1 hardware CS pin (DC), program will also work if MISO pin is not valid... But can not do reads. ...

    https://github.com/PaulStoffregen/ILI9341_t3/pull/44 - Example touchpaint using the PJRC board (XPT2046) - Note: we might want to edit the actual MIN/MAX values to some standard, was simply what I found on my first one of these boards. If I remember Defragster had some different rectangle values.

    Again not sure on some of these if you will want them or not.... If not, we can probably just go and close them off...

    Side note: right not experimenting again with trying to build program on RPI3 (Sure is slower than Odroid...) But I am trying to get it to build using Command line over Putty (or in my case KiTTy)
    Code:
    pi@raspberrypi:~ $ ./arduino-1.8.1/arduino --upload --port /dev/ttyACM0  ~/arduino-1.8.1/examples/01.Basics/Blink/Blink.ino
    Picked up JAVA_TOOL_OPTIONS:
    Loading configuration...
    Initializing packages...
    Preparing boards...
    Verifying...
    Opening Teensy Loader...
    Unable find Teensy Loader.  (p)  Is the Teensy Loader application running?
    pi@raspberrypi:~ $
    Nice thing about command line option is that you don't need X11... support to build. However Teensyloader will fail. Wonder how hard it would be to setup to either have Teensy loader know it is running in this mode and work and/or setup to use teensyloader CLI.... So when run from command line it uses the command line version.

  4. #4
    Senior Member duff's Avatar
    Join Date
    Jan 2013
    Location
    Las Vegas
    Posts
    811
    Paul, can you update Snooze to the latest version, thanks!

  5. #5
    Senior Member Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    797
    Paul, I'd like to get the following defines added in kinetis.h, please :

    - For the DAC status registers, to ease the access to the interrupt flags of the DAC ring buffer for #if defined(KINETISK), actually these are only defined for KINETISL
    Code:
    #define DAC_SR_DACBFWMF 0x04
    #define DAC_SR_DACBFRTF 0x02
    #define DAC_SR_DACBFRBF 0x01
    - And for the PDB to easier handle the DAC triggering in PDBx_DACINTCn
    Code:
    #define PDB_DACINTC_EXT 0x02
    #define PDB_DACINTC_TOE 0x01
    Thank you!
    Last edited by Theremingenieur; 03-21-2017 at 10:53 PM.

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,514
    Yup, looks like they're going to release Arduino 1.8.2 sometime later today.

    https://github.com/arduino/Arduino/c...40511345843723

    I've updated Snooze. Will look at this other stuff now. Probably going to leave ILI9341_t3 as-is for 1.36.

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,514
    Quote Originally Posted by KurtE View Post
    ADC: https://github.com/pedvide/ADC/pull/22 - If I remember correct two main issues for T3.5 and T3.6 -
    a) ISR numbers for two ISRS. So you don't get ISR on 2nd one on T3.5/6
    b) The tables were never updated, they were simply copy of T3.2
    Is this one still needed? Looks like ADC has updated, and changed quite a lot since this was written.

    RadioHead: https://github.com/PaulStoffregen/RadioHead/pull/10
    a) Updated Transaction stuff
    b) Added support for SPI1/SPI2 by being able to pass which one to use.
    c) merged in fix/workaround for deadlock...
    Merged.

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,514
    Quote Originally Posted by Theremingenieur View Post
    I'd like to get the following defines added in kinetis.h
    Done.
    https://github.com/PaulStoffregen/co...15fe9147abe974

  9. #9
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,514
    Quote Originally Posted by KurtE View Post
    Wonder how hard it would be to setup to either have Teensy loader know it is running
    Teensy Loader (GUI version) is built with wxWidgets. It uses wxSingleInstanceChecker to allow only a single instance to run.

    Code:
            m_instance = new wxSingleInstanceChecker();
            m_instance->Create(wxString("instance-Teensy-") + wxGetUserId(),
                    wxStandardPaths::Get().GetTempDir());
    If you create a wxWidgets program with that code, or do the same thing wxSingleInstanceChecker does (on Linux, I believe just write a file to /tmp with the process ID), you could prevent Teensy Loader from starting up.

  10. #10
    Senior Member KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    2,551
    QUOTE=PaulStoffregen;137680]Is this one still needed? Looks like ADC has updated, and changed quite a lot since this was written.
    [/QUOTE]

    Will take a look, he may have merged the stuff in, in a different way...

    Update: But when I look up at: https://github.com/pedvide/ADC/

    I don't see any changes since December... And at that time and at least when I look at my simple fork of it, it is still setting the IRQ like:
    , IRQ_ADC(IRQ_ADC0 + ADC_num*1)
    Which assumes the interrupts are right after each other.

    And the ADC tables in ADC.CPP had the tables as simple copy of T3.1

  11. #11
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    14,514
    Oh, opps, I was looking in the wrong part of the file.

    I've brought your changes into ADC, so they'll be in beta4 (likely later today).

Posting Permissions

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