Attempting to compile a simple program for the Teensy4.1 to use with a I2C LCD. The program complies using a UNO and MEGA2560. When I compile with the Teensy, the compile stops because a file cannot be found.
'#include <Wire.h>'
'#include <LiquidCrystal_I2C.h>'
'LiquidCrystal_I2C lcd(0x27, 8, 2);'
'void setup() {'
'lcd.init();'
lcd.backlight();'
'//lcd.setCursor (0, 0);'
' //lcd.print ("setup");'
'}'
'void loop() {'
'lcd.setCursor(0, 0);'
'lcd.print("setup");'
'}'
"C:\Users\Dale\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Users\Dale\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4" "-Ie:\Documents\Arduino\libraries\Wire\src" "-Ie:\Documents\Arduino\libraries\LiquidCrystal_I2C-1.1.2" "e:\Documents\Arduino\libraries\Wire\src\Wire.cpp" -o nul
"C:\Users\Dale\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Users\Dale\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\cores\teensy4" "-Ie:\Documents\Arduino\libraries\Wire\src" "-Ie:\Documents\Arduino\libraries\LiquidCrystal_I2C-1.1.2" "e:\Documents\Arduino\libraries\Wire\src\utility\twi.c" -o nul
Alternatives for compat/twi.h: []
ResolveLibrary(compat/twi.h)
-> candidates: []
e:\Documents\Arduino\libraries\Wire\src\utility\twi.c:29:10: fatal error: compat/twi.h: No such file or directory
29 | #include <compat/twi.h>
| ^~~~~~~~~~~~~~
compilation terminated.
Multiple libraries were found for "Wire.h"
Used: E:\Documents\Arduino\libraries\Wire
Not used: C:\Users\Dale\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\Wire
Using library Wire at version 1.0 in folder: E:\Documents\Arduino\libraries\Wire
Using library LiquidCrystal I2C at version 1.1.2 in folder: E:\Documents\Arduino\libraries\LiquidCrystal_I2C-1.1.2
exit status 1
Compilation error: exit status 1
I tried to install compat/twi.h but may be in the wrong location.H
How can I istall the AVR libaries for Teensy4.1
cherk
May 6, 2023, 5:25am
2
DId that step already but I will try it again.
what arduino-IDE are you using?
Your code
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 8, 2);
void setup() {
lcd.init();
lcd.backlight();
//lcd.setCursor(0, 0);
//lcd.print("setup");
}
void loop() {
lcd.setCursor(0, 0);
lcd.print("setup");
}
compiles just fine with IDE Version 1.8.19
These are two steps
step 1: adding the additional board URL in file - preferences
step 2: installing the board
anon26788576:
I am using 2.1.0
compiled this demo-code
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 8, 2);
void setup() {
lcd.init();
lcd.backlight();
//lcd.setCursor(0, 0);
//lcd.print("setup");
}
void loop() {
lcd.setCursor(0, 0);
lcd.print("setup");
}
with IDE 2.1.0
FQBN: teensy:avr:teensy41
Using board 'teensy41' from platform in folder: C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1
Using core 'teensy4' from platform in folder: C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1
Detecting libraries used...
"C:\\Users\\dipl-\\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\cores\\teensy4" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\sketch\\teeny4_1-LCD-Demo-002.ino.cpp" -o nul
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
"C:\\Users\\dipl-\\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\cores\\teensy4" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries\\Wire" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\sketch\\teeny4_1-LCD-Demo-002.ino.cpp" -o nul
Alternatives for LiquidCrystal_I2C.h: [LiquidCrystal I2C@1.1.2]
ResolveLibrary(LiquidCrystal_I2C.h)
-> candidates: [LiquidCrystal I2C@1.1.2]
"C:\\Users\\dipl-\\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\cores\\teensy4" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries\\Wire" "-If:\\myData\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\sketch\\teeny4_1-LCD-Demo-002.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\Wire\Wire.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\Wire\WireIMXRT.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\Wire\WireKinetis.cpp
Using cached library dependencies for file: C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\Wire\utility\twi.c
Using cached library dependencies for file: f:\myData\Arduino\libraries\LiquidCrystal_I2C\LiquidCrystal_I2C.cpp
Generating function prototypes...
"C:\\Users\\dipl-\\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\cores\\teensy4" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries\\Wire" "-If:\\myData\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\sketch\\teeny4_1-LCD-Demo-002.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/precompile_helper" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1/cores/teensy4" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0" "C:\\Users\\dipl-\\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1/cores/teensy4" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/pch/Arduino.h" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/pch/Arduino.h.gch"
Using previously compiled file: C:\Users\dipl-\AppData\Local\Temp\arduino\sketches\07574D56F9CDFC8EEA0700F3AA6956D0\pch\Arduino.h.gch
"C:\\Users\\dipl-\\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/pch" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\cores\\teensy4" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries\\Wire" "-If:\\myData\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\sketch\\teeny4_1-LCD-Demo-002.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\sketch\\teeny4_1-LCD-Demo-002.ino.cpp.o"
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: C:\Users\dipl-\AppData\Local\Temp\arduino\sketches\07574D56F9CDFC8EEA0700F3AA6956D0\libraries\Wire\Wire.cpp.o
Using previously compiled file: C:\Users\dipl-\AppData\Local\Temp\arduino\sketches\07574D56F9CDFC8EEA0700F3AA6956D0\libraries\Wire\WireKinetis.cpp.o
Using previously compiled file: C:\Users\dipl-\AppData\Local\Temp\arduino\sketches\07574D56F9CDFC8EEA0700F3AA6956D0\libraries\Wire\WireIMXRT.cpp.o
Using previously compiled file: C:\Users\dipl-\AppData\Local\Temp\arduino\sketches\07574D56F9CDFC8EEA0700F3AA6956D0\libraries\Wire\utility\twi.c.o
Compiling library "LiquidCrystal I2C"
"C:\\Users\\dipl-\\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++14 -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=158 -DARDUINO=10607 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/pch" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\cores\\teensy4" "-IC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\libraries\\Wire" "-If:\\myData\\Arduino\\libraries\\LiquidCrystal_I2C" "f:\\myData\\Arduino\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp.o"
Compiling core...
Using precompiled core: C:\Users\dipl-\AppData\Local\Temp\arduino\cores\teensy_avr_teensy41_usb_serial,speed_600,opt_o2std,keys_en-us_8640aa8959a1e149fd15942e2beb5444\core.a
Linking everything together...
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-gcc" -O2 -Wl,--gc-sections,--relax "-TC:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\hardware\\avr\\1.58.1\\cores\\teensy4/imxrt1062_t41.ld" -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\sketch\\teeny4_1-LCD-Demo-002.ino.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\libraries\\Wire\\WireIMXRT.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\libraries\\Wire\\WireKinetis.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\libraries\\Wire\\utility\\twi.c.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/..\\..\\cores\\teensy_avr_teensy41_usb_serial,speed_600,opt_o2std,keys_en-us_8640aa8959a1e149fd15942e2beb5444\\core.a" "-LC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0" -larm_cortexM7lfsp_math -lm -lstdc++
"C:\\Users\\dipl-\\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\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.eep"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.hex"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/teensy_secure" encrypthex TEENSY41 "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.hex"
No key .pem file found, skipping .ehex encryption
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/teensy_post_compile" -file=teeny4_1-LCD-Demo-002.ino "-path=C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0" "-tools=C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/" -board=TEENSY41
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/stdout_redirect" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.sym" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objdump" -t -C "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.elf"
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/teensy_size" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.elf"
Memory Usage on Teensy 4.1:
FLASH: code:12052, data:4284, headers:8236 free for files:8101892
RAM1: variables:5792, code:9024, padding:23744 free for local variables:485728
RAM2: variables:12416 free for malloc/new:511872
"C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-tools\\1.58.0/stdout_redirect" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.lst" "C:\\Users\\dipl-\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1/arm/bin/arm-none-eabi-objdump" -d -S -C "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino\\sketches\\07574D56F9CDFC8EEA0700F3AA6956D0/teeny4_1-LCD-Demo-002.ino.elf"
Using library Wire at version 1.0 in folder: C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.1\libraries\Wire
Using library LiquidCrystal I2C at version 1.1.2 in folder: F:\myData\Arduino\libraries\LiquidCrystal_I2C
uses all files under
C:\Users\dipl-\AppData\Local\Arduino15\packages\teensy\
'e:\Documents\Arduino\libraries\Wire\src\utility\twi.c:29:10:
It looks like you have a copy of the Wire library in your third-party libraries directory. I think if you move that library out of that folder the compiler will find the right "Wire" library.
You violated forum-rules by posting the same question a second time.
You should not do that
Sorry won't happen again.
system
Closed
November 2, 2023, 5:35pm
10
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.