Teensy4.1 <-> Platformio?

180 views
Skip to first unread message

Pito Salas

unread,
Jul 10, 2022, 6:35:37 PM7/10/22
to LINOROBOT

Are we sure that the platforio on the linorobot.org install kit will properly compile code for Teensy4.x? Because the directories, the make file and so on all say Teensy 3.x and that is worrysome. 

Can someone confirm this? Thanks


jime...@gmail.com

unread,
Jul 10, 2022, 8:17:10 PM7/10/22
to LINOROBOT
I just pushed some changes for Teensy4.1 compatiblity here: https://github.com/linorobot/linorobot/commit/ce17dc24be44e9a2ea30386773540df77b8b04db
 
Take note that you'll now need to specify the board that you're using. Pull the most recent firmware and run:

cd linorobot/teensy/firmware
pio run --target upload -e teensy41
 
teensy41.png

Pito Salas

unread,
Jul 11, 2022, 5:31:11 PM7/11/22
to Juan Miguel Jimeno, LINOROBOT
Success! These changes and switching to the 4.1 environment seems to have fixed the problem. Thanks!

Pito Salas
Faculty, Computer Science
Brandeis University

On Jul 10, 2022, at 8:17 PM, jime...@gmail.com <jime...@gmail.com> wrote:

I just pushed some changes for Teensy4.1 compatiblity here: https://github.com/linorobot/linorobot/commit/ce17dc24be44e9a2ea30386773540df77b8b04db
 
Take note that you'll now need to specify the board that you're using. Pull the most recent firmware and run:

cd linorobot/teensy/firmware
pio run --target upload -e teensy41
 
<teensy41.png>


On Monday, July 11, 2022 at 6:35:37 AM UTC+8 rps...@brandeis.edu wrote:

Are we sure that the platforio on the linorobot.org install kit will properly compile code for Teensy4.x? Because the directories, the make file and so on all say Teensy 3.x and that is worrysome. 

Can someone confirm this? Thanks



-- 
You received this message because you are subscribed to the Google Groups "LINOROBOT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linorobot+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linorobot/c7a74cdd-99d3-4acc-9596-151d8f5337ffn%40googlegroups.com.
<teensy41.png>

Pito Salas

unread,
Jul 13, 2022, 3:26:51 PM7/13/22
to LINOROBOT, Juan Miguel Jimeno
Hi again

I have several linorobts, with teensy 4.1 and teensy 3.6. Is the linorobot/teensy source tree the same in each case? In other words, if I put it into GitHub and use the same one on the two robots, given that they are recomiled with the -e teens41 or -e teensy36? Or are they different and I need two different github repos?

Thanks for your efforts.

Pito Salas
Faculty, Computer Science
Brandeis University

Juan Miguel Jimeno

unread,
Jul 13, 2022, 8:39:16 PM7/13/22
to Pito Salas, LINOROBOT
Hi Pito,

You don’t have to. The only difference is the definition of which Teensy board to use which is already done automatically by Platformio when u use the -e tag.

Sam Rossiter

unread,
Jul 18, 2022, 8:56:43 AM7/18/22
to Juan Miguel Jimeno, Pito Salas, LINOROBOT
Hi Juan

Good chatting with you today.

This is the I2C interface:
https://github.com/simplefoc/Arduino-FOC-drivers/tree/master/src/comms/i2c

Which should support our small driver:
https://github.com/rosmo-robot/Rosmo_ESC#readme

Or the larger one
https://github.com/Twisted-Fields/rp2040-motor-controller#rp2040-motor-controller

I'll let you know if I have any success with the grant.

Thanks

Sam
> To view this discussion on the web visit https://groups.google.com/d/msgid/linorobot/CADncHG8Nw-i7acFnwP88fZ5%3D-6frMhidNwQmWGS%3D6%2B%3DvjN_pqA%40mail.gmail.com.



--

Sam Rossiter

Transition Network


07503386283


Web: www.transitionnetwork.org

Facebook: https://www.facebook.com/transitionnetwork/

Twitter: @transitiontowns

Instagram: @transitionnetwork

Subscribe to our newsletter


Address: Transition Network C/O Darnells 30 Fore St, Totnes, Devon, TQ9 5RP, UK

Telephone: +44 (0)1803 865 669


Transition Network is a registered charity

TN company no: 6135675 TN charity no: 1128675
Reply all
Reply to author
Forward
0 new messages