Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Teensy board #275

Open
Strooom opened this issue Jan 25, 2021 · 6 comments
Open

Support for Teensy board #275

Strooom opened this issue Jan 25, 2021 · 6 comments
Labels
backend enhancement New feature or request question Further information is requested

Comments

@Strooom
Copy link

Strooom commented Jan 25, 2021

System

(Issue Summary / Feature Request)

the teensy board developed by https://github.com/PaulStoffregen (http://www.pjrc.com/teensy/) is very popular and I would like to suggest it as a platform for your CI solution. It can be used with the Arduino IDE, however, it is NOT simply installed by the Arduino Board manager, but rather you need to install TeensyDuino next to the Arduino IDE. From then on it can be used just like any other boards.

So in order to add this to the CI flow, you would need to add the install TeensyDuino step after installing the Arduino SW.

Arduino Architecture(s) Affected

Teensy3.x
Teensy4.x

@per1234
Copy link
Contributor

per1234 commented Jan 25, 2021

Note that since Teensyduino is a modified version of the Arduino IDE as Strooom mentioned, rather than a standard boards platform as we are used to using for adding support for boards, it is not usable with Arduino CLI. It's likely that eventually Teensy support will be available as a standard boards platform, at which time it will become possible to use with Arduino CLI.

@Strooom
Copy link
Author

Strooom commented Jan 25, 2021

Teensy support in Arduino CLI is on its way. Follow this thread : arduino/arduino-cli#700

@ianfixes ianfixes added this to the Potentially Backend milestone Jan 25, 2021
@ianfixes ianfixes added the enhancement New feature or request label Jan 25, 2021
@ianfixes
Copy link
Collaborator

Subscribed. What I'm hearing is that when the Teensy board becomes available as a "standard boards platform", it will be supported the same way as the other boards in the config.

@ianfixes
Copy link
Collaborator

@per1234 what compiler flags will need to go into a platform definition (for example, this one for uno) to make teensy work?

@per1234
Copy link
Contributor

per1234 commented Dec 31, 2022

There are quite a few different boards and different flags for each board, and for each of the custom board options of each of those boards.

The best thing is to install the platform on your computer so and then check the boards.txt and platform.txt files:

https://www.pjrc.com/arduino-ide-2-0-0-teensy-support/

If you don't want to install the full platform (which has a very large toolchain due to the wide variety of microcontrollers on the Teensy boards it supports), you can manually download and extract the platform archive alone:

https://www.pjrc.com/teensy/td_158-beta3/teensy-package.tar.bz2

@ianfixes
Copy link
Collaborator

Thanks. I'm not quite sure from arduino/arduino-cli#700 whether this is something that I should try to add to default.yml in this project, or whether that's something I would have to expect developers to add (as an override yml) to their own projects.

@ianfixes ianfixes added question Further information is requested backend labels Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants