I am confused. I very quickly found the limitation with Arduino in how they build projects. They copy your source to a temp folder to do the compiling. This prevents me from having a directory structure with my code spread out. A solution might be to consolidate the code to one folder, but that would be a serious nuisance for me. My project consists of Linux, and embedded (Teensy 4.x) code that share various files.
I am trying to shed the Arduino IDE and just compile using my favorite Linux/vi/make development environment. (yes, I am an old fart).
My problem is that the various description on how to do this were written for Teensy 1 to 2.
I followed the instructions to install avr and download the blinky sample.
After fixing some errors in the code, I got it to compile but it would not load using the Teensy-Loader as the code was compiled for 2.0 and I have a 4.1.
I looked at the Makefile and found the MCU entry but my options are for 1 to 2. Googling I found that I might try TEENSY41, imxrt1062, or IMXRT1062.
All of these provided compile time failures as it is looking for "device-specs" that do not exist.
Amy hints would be welcome.
I am trying to shed the Arduino IDE and just compile using my favorite Linux/vi/make development environment. (yes, I am an old fart).
My problem is that the various description on how to do this were written for Teensy 1 to 2.
I followed the instructions to install avr and download the blinky sample.
After fixing some errors in the code, I got it to compile but it would not load using the Teensy-Loader as the code was compiled for 2.0 and I have a 4.1.
I looked at the Makefile and found the MCU entry but my options are for 1 to 2. Googling I found that I might try TEENSY41, imxrt1062, or IMXRT1062.
All of these provided compile time failures as it is looking for "device-specs" that do not exist.
Amy hints would be welcome.