Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 250 forks source link

Arduino Menu - Board options/name #402

Closed KurtE closed 7 years ago

KurtE commented 7 years ago

Not sure how Teensy specific this is, but, I do notice a few issues with the menu.

Currently I have a Teensy 3.6 selected as my current board type.

But the Serial port section appears to always show Teensy 3.2/3.1 as the board type. Which really does not matter, but thought I would mention it.

The other problem I run into, is I was first testing out a program on a Teensy LC, which has the default (and max) CPU speed of 48mhz. I then changed the board type to Teensy 3.6 and the CPU speed was left at 48mhz instead of resetting to the default of 180mhz which the Arduino IDE I believe does.

Again not major problem, but thought I would mention it.

Robot-Will commented 7 years ago
  1. In Teensy board.txt, there are only one section for vid and pid, so the board is recognized as Teensy31.
teensy31.vid.0=0x16C0
teensy31.vid.1=0x16C0
teensy31.vid.2=0x16C0
teensy31.vid.3=0x16C0
teensy31.vid.4=0x16C0
teensy31.pid.0=0x0483
teensy31.pid.1=0x0487
teensy31.pid.2=0x0489
teensy31.pid.3=0x048A
teensy31.pid.4=0x0476
  1. I will do something for this problem.