#Fubarino serial library code#
Most projects using Arduino code are more like "rapid prototyping". I know this may be hard to understand from a perspective of traditional (or "professional") embedded design, where code designed and optimized to the traits of a specific chip. Only boards with native USB ports were tested, because reception with ordinary UART ports is limited by their relatively slow baud rates. The idea is to measure how fast Arduino code can receive data when running on various boards. I don't understand what kind of testing is he doing (UART / USB)?īrainwash got it. Sorry for ranting but this double effort always annoys me and I come from a PIC background (triple effort then, nothing like AVR or ARM).
If you buy a fairly popular module you can get try a sketch and maybe it will work in 5 minutes with minimal modifications or you might have to spend the time to look into the datasheet for both the uC and the module and write everything from scratch in a day/week. Even though I like TIs toolchain I have the impression that for most hobbyists it's a moving target. This is why I'm pushing towards Energia since it unifies all these different platforms and allows better collaboration and easy entry. See hardware\lm4f\cores\lm4f\ HardwareSerial.cpp. AFAIK, for the Stellaris the Energia hardware serial implementation does not make use of advanced features. I'm a little late to the party but I would venture to say that he did it this way because the article is a comparison on Arduino-style boards with Arduino code (check the sources).įor Arduino Due and Maple board the SerialUSB configuration was used, as well as for LM4F120. I don't think it is supported yet, but try asking it here. If it exists, please forgive my ignorance and point me to the right place? So far, I've been unable to find much documentation on Energia regarding the native USB port. I tried "Serial1" and a few other guesses, but no luck. On the others "Serial" is the USB virtual serial. On Arduino Due and Maple, "SerialUSB" accesses the native serial port.I tried this on Energia, but no luck. It measures a slow 11 kbytes/sec, because it's obviously a hardware serial port running at 115200 baud, not USB virtual serial. I was able to compile and run my benchmark, but only through "Serial" from the debug part of the board. So far, I've tested Arduino Leonardo, Arduino Due, Fubarino Mini, Maple, Teensy 2.0 and Teensy 3.0. I've been running benchmarks on all the Arduino compatible boards with native USB. Does Energia support the native USB port on the LM4F120 launchpad board?