wwatson
Well-known member
Has anybody tried compiling for the Devboard 5 using the latest Arduino 2.3.6 and TD 0.60.5? Here is the error messages for the blink sketch:
This is with the working "core_pins.h" file. Arduino 1.8.19 also fails with the same errors. The previous versions of 0.60.5 still work with the Devboard 5.
Just wondering if I missed some information
I have two other computers that have the original working TD 0.60.5 to backup. will probably backup IDE 2.36, Arduino 1.8.19 and .arduino15 folders as well...
Code:
FQBN: teensy-dev:avr:teensyDevBrd5
Using board 'teensyDevBrd5' from platform in folder: /home/wwatson/Arduino/hardware/teensy-dev/avr
Using core 'teensy4' from platform in folder: /home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5
Detecting libraries used...
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO_TEENSY_MICROMOD -DARDUINO=10607 -DARDUINO_TEENSY_DEVBRD5 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 -I/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5 /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/sketch/Blink.ino.cpp -o /dev/null
Generating function prototypes...
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO_TEENSY_MICROMOD -DARDUINO=10607 -DARDUINO_TEENSY_DEVBRD5 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 -I/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5 /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/sketch/Blink.ino.cpp -o /tmp/40042317/sketch_merged.cpp
/home/wwatson/.arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/40042317/sketch_merged.cpp
Compiling sketch...
/home/wwatson/.arduino15/packages/teensy/tools/teensy-tools/0.60.5/precompile_helper /home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353 /home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -x c++-header -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO_TEENSY_MICROMOD -DARDUINO=10607 -DARDUINO_TEENSY_DEVBRD5 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 -I/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5 /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/pch/Arduino.h -o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/pch/Arduino.h.gch
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO_TEENSY_MICROMOD -DARDUINO=10607 -DARDUINO_TEENSY_DEVBRD5 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/pch -I/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 -I/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5 /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/sketch/Blink.ino.cpp -o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/sketch/Blink.ino.cpp.o
Compiling libraries...
Compiling core...
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO_TEENSY_MICROMOD -DARDUINO=10607 -DARDUINO_TEENSY_DEVBRD5 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 -I/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5 /home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/clockspeed.c -o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/clockspeed.c.o
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-g++ -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++17 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO_TEENSY_MICROMOD -DARDUINO=10607 -DARDUINO_TEENSY_DEVBRD5 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/pch -I/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 -I/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5 /home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/variant_cpp.cpp -o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant_cpp.cpp.o
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-gcc -c -O2 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=159 -DARDUINO_TEENSY_MICROMOD -DARDUINO=10607 -DARDUINO_TEENSY_DEVBRD5 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -I/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4 -I/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5 /home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/variant.c -o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant.c.o
Using precompiled core: /home/wwatson/.cache/arduino/cores/ecb0f4017e5f59629d7792e047f6c5a4/core.a
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: Linking everything together...
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/arm-none-eabi-gcc -O2 -Wl,--gc-sections,--relax -T/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/imxrt1062_mm_sdram.ld -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/Blink.ino.elf /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/sketch/Blink.ino.cpp.o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/clockspeed.c.o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant.c.o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant_cpp.cpp.o /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/../../cores/ecb0f4017e5f59629d7792e047f6c5a4/core.a -L/home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353 -larm_cortexM7lfsp_math -lm -lstdc++
/home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/../../cores/ecb0f4017e5f59629d7792e047f6c5a4/core.a(digital.c.o):/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4/digital.c:24: multiple definition of `digital_pin_to_info_PGM'; /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant.c.o:/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/variant.c:40: first defined here
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/../../cores/ecb0f4017e5f59629d7792e047f6c5a4/core.a(HardwareSerial.cpp.o):/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4/HardwareSerial.cpp:760: multiple definition of `count_pin_to_xbar_info'; /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant_cpp.cpp.o:/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/variant_cpp.cpp:69: first defined here
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/../../cores/ecb0f4017e5f59629d7792e047f6c5a4/core.a(HardwareSerial.cpp.o):/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4/HardwareSerial.cpp:720: multiple definition of `pin_to_xbar_info'; /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant_cpp.cpp.o:/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/variant_cpp.cpp:38: first defined here
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/../../cores/ecb0f4017e5f59629d7792e047f6c5a4/core.a(analog.c.o):/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4/analog.c:11: multiple definition of `pin_to_channel'; /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant.c.o:/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/variant.c:335: first defined here
/home/wwatson/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/../../cores/ecb0f4017e5f59629d7792e047f6c5a4/core.a(pwm.c.o):/home/wwatson/.arduino15/packages/teensy/hardware/avr/0.60.5/cores/teensy4/pwm.c:19: multiple definition of `pwm_pin_info'; /home/wwatson/.cache/arduino/sketches/EFD8060CD376880344661705856FA353/core/variant.c.o:/home/wwatson/Arduino/hardware/teensy-dev/avr/variants/DevBrd5/variant.c:126: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
This is with the working "core_pins.h" file. Arduino 1.8.19 also fails with the same errors. The previous versions of 0.60.5 still work with the Devboard 5.
Just wondering if I missed some information
I have two other computers that have the original working TD 0.60.5 to backup. will probably backup IDE 2.36, Arduino 1.8.19 and .arduino15 folders as well...