This looks like it's missing define for teensy 3.1/3.2D:\ChuckW\Arduino\libraries\MTP_t4-master\examples\mtp-test/mtp-test.ino:41: undefined reference to `MTPD::loop()'
collect2.exe: error: ld returned 1 exit status![]()
This looks like it's missing define for teensy 3.1/3.2D:\ChuckW\Arduino\libraries\MTP_t4-master\examples\mtp-test/mtp-test.ino:41: undefined reference to `MTPD::loop()'
collect2.exe: error: ld returned 1 exit status![]()
How or what would that define be?
// T3.0 __MK20DX128__How or what would that define be?
// T3.1 - T3.2 __MK20DX256__
// T3.5 __MK64FX512__
// T3.6 __MK66FX1M0__
I am getting the same compilation error with T3.5, T3.2 - T3.1.Code:#if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
Well there's some issues in MTP.h and MTP.cpp files.
In MTP.cpp: about LINE #519 #if defined(__MK66FX1M0__)
Replace with: #if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
in MTP.h: about LINE #61 #if defined(__MK66FX1M0__)
Replace with: #if defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
This is of course not tested on teensy 3.2
Edit:
@ WMXZ
https://github.com/WMXZ-EU/MTP_t4
Missing define for teensy 3.0/3.1/3.2/3.5
Last edited by Chris O.; 10-30-2020 at 02:55 AM.