Hiya!
I'm new to all this (just started today, actually), so do bear that in mind when rolling your eyes up at what I'm doing or asking! :-)
I'm trying to get an mbed blink program (you know the one :-) to work on my Teensy 3.1, and the latest thing I tried was:
- exporting Magic Commit 633 to a zip as GCC-ARM/Teensy
(that's https://developer.mbed.org/users/mbed_official/code/mbed-src/export )
(which includes commit 634)
- copying over the blink main.cpp to the mbed-src dir
- adding a couple of bits to the makefile for 'main' and typing 'make'
- uploading the .hex via the Teensy Loader.
But it still doesn't go. :-(
It does seem odd that I have to do that adding-main thing, so any tips would be very much appreciated!
Arduino blink works fine on the board, so the basics are there.
Any ideas?
Duncan Cragg
PS: In fact, I think I'd maybe like a yotta target for the Teensy, although I'm more comfortable with 'make' than anything like that, (or than with online IDEs.. :-). So any idea when a Teensy target will hit the yotta repo?
Great progress! Old and new flash with no issue (.hex via teensy_loader_cli). Program behavior on both is a little odd. Blink works fine without USBSerial. With USBSerial, device reports as busy with LED blinking. After 30 seconds or so, the LED stops blinking. I can then start a terminal connection to the serial device and the LED starts blinking again. As soon as the terminal is closed, the LED stops blinking. But both devices are obviously flashing, booting, and running the code now.