Here is a first beta test for Teensyduino 1.53.
Linux 64 bit:
https://www.pjrc.com/teensy/td_153-beta1/TeensyduinoInstall.linux64
what kind of file is this? when downloaded, ubuntu has no idea what to do with "TeensyduinoInstall.linux64".... what do i need to do to "install" this beta?
@Paul - Maybe you should add something to the Teensyduino download and Install page: https://www.pjrc.com/teensy/td_download.htmlwhat kind of file is this? when downloaded, ubuntu has no idea what to do with "TeensyduinoInstall.linux64".... what do i need to do to "install" this beta?
@Paul - Maybe you should add something to the Teensyduino download and Install page: https://www.pjrc.com/teensy/td_download.html
But I am assuming it is like all other linux releases. That once you download it, you need to mark the file as executable and then run it.
Command line: chmod +x TeensyduinoInstall.linux64
Which is another hint, if this is the first time you have run Teensyduino on a Linux machine, you need to download and install the udev rules.
D:\Mes documents\Arduino\libraries\TeensyTimerTool\src\Teensy\TCK\TCK.cpp: In function 'void yield()':
D:\Mes documents\Arduino\libraries\TeensyTimerTool\src\Teensy\TCK\TCK.cpp:72:67: error: 'processSerialEvents' is not a member of 'HardwareSerial'
if (HardwareSerial::serial_event_handlers_active) HardwareSerial::processSerialEvents();
@KurtE
Know we have been making changes to the RA8875, ST7735/ST7789, ILI9488 libraries as well that may need to checked for latest changes.
I've updated ILI9488 to the latest. Looks like no changes or pull requests on ST7735_t3 since 1.52.
RA8875 has many branches. I don't know which we should be including with Teensyduino. Looks like we're using "0.70" right now, which hasn't changed since 1.52.
Probably one of the real questions should be, can we (or should we) remove all of these libraries from being installed by Teensyduino?
The branch that we have been maintaining is the RA8875_t4
Yes, I want to remove Adafruit_GFX and all of Adafruit's libraries which require it. Those are all available from Arduino's Library Manager for anyone who needs them. We really shouldn't be bundling copies of Adafruit's libraries which only become out of date.
Is there any compelling reason to keep Adafruit_RA8875 when we have the faster RA8875 library? It's been years, but my recollection is early versions of Adafruit_RA8875 only worked on slow AVR boards with certain font settings, which is why we are bundling a Teensy specific copy...
I'm also leaning towards removing the ST7565 library. Those displays are obsolete and seem to be long gone from the market.
Maybe OpenGLCD can go too?
Actually it is quite simple to add libraries to the library manager: https://github.com/arduino/Arduino/...Q#how-can-i-add-my-library-to-library-managerThere are times like this, it would be good to have a setup using the library manager
Yes. I've updated Teensy 3.x in boards.txt which will be in beta2, and committed this for Teensy 4.x.
https://github.com/PaulStoffregen/cores/commit/2f8568659cb7553ca12e5ca2d0358df9d30427a6
#include <map>
#include <vector>
#include <string>
#include <functional>
using namespace std;
void setup()
{
while (!Serial);
Serial.println("Testing std::vector ------------");
vector<string> myVector;
myVector.push_back("First string");
myVector.push_back("Last string");
myVector.insert(myVector.begin() + 1, "Second string");
for (string s : myVector)
{
Serial.println(s.c_str());
}
Serial.println("\nTesting std::map--------------");
std::map<string, unsigned> myMap; // use fully qualified name otherwise it clashes with arduino map function
myMap["zero"] = 0;
myMap["answer"] = 42;
Serial.println(myMap["zero"]);
Serial.println(myMap["answer"]);
Serial.println("\nTesting std::function----------");
function<unsigned(string)> myFunction;
myFunction = testFunction;
string s = "some string";
Serial.printf("The string '%s' has %u characters\n", s.c_str(), myFunction(s));
}
void loop()
{
}
unsigned testFunction(string s)
{
return s.length();
}
Testing std::vector ------------
First string
Second string
Last string
Testing std::map--------------
0
42
Testing std::function----------
The string 'some string' has 11 characters
what kind of file is this? when downloaded, ubuntu has no idea what to do with "TeensyduinoInstall.linux64".... what do i need to do to "install" this beta?
~/Downloads $ [B]file ./TeensyduinoInstall.linux64 [/B]
./TeensyduinoInstall.linux64: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped