Hi,
I'm getting that complaint when my build completes and the Teensy 4.1 I have should be downloaded & reboot. It did work from inside the Arduino environment.
Build log would be attached, but somehow that's not a valid file. Here's the final few lines of the build output:
This is based almost entirely on the teensy4 directory, except I changed the main to write to another GPIO pin (41), and changed ARDUINO_TEENSY40 to ARDUINO_TEENSY41 in the Makefile.
Everything builds, but something is saying teensy4.0 and not teensy4.1! What's saying that? I put a #error directive in the usb_desc.c file under the ARDUINO_TEENSY40 branch, and that didn't trigger, so the BUILD thinks it is 4.1
Thanks,
madGambol
I'm getting that complaint when my build completes and the Teensy 4.1 I have should be downloaded & reboot. It did work from inside the Arduino environment.
Build log would be attached, but somehow that's not a valid file. Here's the final few lines of the build output:
Code:
/home/chris/Apps/arduino-1.8.13/hardware/tools/arm/bin/arm-none-eabi-g++ -std=gnu++14 -felide-constructors -fno-exceptions -fpermissive -fno-rtti -Wno-error=narrowing -Wall -g -O2 -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb -MMD -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -DU/home/chris/Apps/arduino-1.8.13/hardware/tools/arm/bin/arm-none-eabi-gcc -Os -Wl,--gc-sections,--relax -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -mthumb -Timxrt1062.ld -o mainb.elf keylayouts.o usb_midi.o digital.o pwm.o bootdata.o tempmon.o usb_touch.o usb_rawhid.o usb_serial2.o nonstd.o debugprintf.o eeprom.o rtc.o startup.o usb_desc.o analog.o usb_serial3.o interrupt.o usb_mouse.o delay.o usb_joystick.o usb_seremu.o usb.o usb_keyboard.o clockspeed.o usb_serial.o HardwareSerial.o usb_flightsim.o new.o HardwareSerial3.o DMAChannel.o serialEvent.o Print.o serialEventUSB1.o usb_inst.o HardwareSerial7.o serialEvent1.o Stream.o usb_audio.o serialEvent2.o serialEvent7.o AudioStream.o HardwareSerial6.o IPAddress.o serialEvent3.o Tone.o WString.o serialEvent6.o HardwareSerial1.o WMath.o serialEvent8.o serialEvent5.o serialEventUSB2.o HardwareSerial4.o mainb.o HardwareSerial5.o yield.o HardwareSerial8.o HardwareSerial2.o EventResponder.o IntervalTimer.o serialEvent4.o -larm_cortexM7lfsp_math -lm -lstdc++
/home/chris/Apps/arduino-1.8.13/hardware/tools/arm/bin/arm-none-eabi-size mainb.elf
text data bss dec hex filename
39696 3184 22192 65072 fe30 mainb.elf
/home/chris/Apps/arduino-1.8.13/hardware/tools/arm/bin/arm-none-eabi-objcopy -O ihex -R .eeprom mainb.elf mainb.hex
/home/chris/Apps/arduino-1.8.13/hardware/tools/teensy_post_compile -file=mainb -path=/home/chris/Projects/teensy4 -tools=/home/chris/Apps/arduino-1.8.13/hardware/tools
/home/chris/Apps/arduino-1.8.13/hardware/tools/teensy_reboot
This is based almost entirely on the teensy4 directory, except I changed the main to write to another GPIO pin (41), and changed ARDUINO_TEENSY40 to ARDUINO_TEENSY41 in the Makefile.
Everything builds, but something is saying teensy4.0 and not teensy4.1! What's saying that? I put a #error directive in the usb_desc.c file under the ARDUINO_TEENSY40 branch, and that didn't trigger, so the BUILD thinks it is 4.1
Thanks,
madGambol