FQBN: teensy:avr:teensy41
Using board 'teensy41' from platform in folder: C:\Users\fa125436\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0
Using core 'teensy4' from platform in folder: C:\Users\fa125436\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0
Detecting libraries used...
C:\Users\fa125436\AppData\Local\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=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IC:\Users\fa125436\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4 C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92\sketch\Aidge_Teensy_LeNet.ino.cpp -o nul
Using cached library dependencies for file: C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92\sketch\src\dnn\src\forward.cpp
Using cached library dependencies for file: C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92\sketch\src\main.cpp
Generating function prototypes...
C:\Users\fa125436\AppData\Local\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=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IC:\Users\fa125436\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4 C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92\sketch\Aidge_Teensy_LeNet.ino.cpp -o C:\Users\fa125436\AppData\Local\Temp\1295585233\sketch_merged.cpp
C:\Users\fa125436\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\fa125436\AppData\Local\Temp\1295585233\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/precompile_helper" "C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.59.0/cores/teensy4" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92" "C:\\Users\\fa125436\\AppData\\Local\\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=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.59.0/cores/teensy4" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/pch/Arduino.h" -o "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/pch/Arduino.h.gch"
Using previously compiled file: C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92\pch\Arduino.h.gch
"C:\\Users\\fa125436\\AppData\\Local\\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=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/pch" "-IC:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.59.0\\cores\\teensy4" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92\\sketch\\Aidge_Teensy_LeNet.ino.cpp" -o "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92\\sketch\\Aidge_Teensy_LeNet.ino.cpp.o"
Using previously compiled file: C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92\sketch\src\dnn\src\forward.cpp.o
Using previously compiled file: C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92\sketch\src\main.cpp.o
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\fa125436\AppData\Local\Temp\arduino\cores\teensy_avr_teensy41_usb_serial,speed_600,opt_o2std,keys_en-us_50d3b0596634d969818e6c14bce20a4c\core.a
Linking everything together...
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-gcc" -O2 -Wl,--gc-sections,--relax "-TC:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.59.0\\cores\\teensy4/imxrt1062_t41.ld" -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -o "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.elf" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92\\sketch\\Aidge_Teensy_LeNet.ino.cpp.o" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92\\sketch\\src\\dnn\\src\\forward.cpp.o" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92\\sketch\\src\\main.cpp.o" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/..\\..\\cores\\teensy_avr_teensy41_usb_serial,speed_600,opt_o2std,keys_en-us_50d3b0596634d969818e6c14bce20a4c\\core.a" "-LC:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92" -larm_cortexM7lfsp_math -lm -lstdc++
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.elf" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.eep"
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.elf" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.hex"
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/teensy_secure" encrypthex TEENSY41 "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.hex"
No key .pem file found, skipping .ehex encryption
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/teensy_post_compile" -file=Aidge_Teensy_LeNet.ino "-path=C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92" "-tools=C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/" -board=TEENSY41
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/stdout_redirect" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.sym" "C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objdump" -t -C "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.elf"
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/teensy_size" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.elf"
Memory Usage on Teensy 4.1:
FLASH: code:35268, data:5064, headers:8816 free for files:8077316
RAM1: variables:5920, code:32576, padding:192 free for local variables:485600
RAM2: variables:12416 free for malloc/new:511872
"C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.59.0/stdout_redirect" "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.lst" "C:\\Users\\fa125436\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\fa125436\\AppData\\Local\\Temp\\arduino\\sketches\\B4B16A4F64589B5F3E443A7CAC1BEE92/Aidge_Teensy_LeNet.ino.elf"
"C:\Users\fa125436\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.59.0/teensy_post_compile" "-file=Aidge_Teensy_LeNet.ino" "-path=C:\Users\fa125436\AppData\Local\Temp\arduino\sketches\B4B16A4F64589B5F3E443A7CAC1BEE92" "-tools=C:\Users\fa125436\AppData\Local\Arduino15\packages\teensy\tools\teensy-tools\1.59.0" "-board=TEENSY41" -reboot "-port=usb:20000/0/0/1/2/1/2/4" "-portlabel={serial.port.label}" "-portprotocol={serial.port.protocol}"