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

Thread: Is there a way to mod Teensy 4.1 to run Teensy 2.0++ python scripts?

  1. #1
    Junior Member
    Join Date
    Feb 2023
    Posts
    3

    Is there a way to mod Teensy 4.1 to run Teensy 2.0++ python scripts?

    Hello,
    Is there a way to recompile a Teensy 2.0++ hex for Teensy 4.1?

    Thanks,
    Last edited by Wolver; 02-07-2023 at 10:25 PM.

  2. #2
    Quote Originally Posted by Wolver View Post
    Is there a way to recompile a Teensy 2.0++ hex for Teensy 4.1?
    If you only have the hex file, no. If you have the source files (ino, cpp, etc.), maybe.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    27,653
    Even if you have the original source code, how much work is needed to get it running on a different board really depends on how it was written. If it mostly uses Arduino functions like pinMode and digitalWrite, it might just work. But if it has AVR registers hard coded, large parts might need to be rewritten. Really impossible to say more without seeing the code.

  4. #4
    Junior Member
    Join Date
    Feb 2023
    Posts
    3
    Thank you both.

Posting Permissions

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