Hello,
I cannot build my code on Teensy 4.0 with core library 1.58.0-beta2
c:/users/utilisateur/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1-beta1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Utilisateur\AppData\Local\Temp\arduino-sketch-4BE4F06CEFDDFAC044404B2337125028/..\arduino-core-cache\core_9fa68f27d5e81ef98338bbff089303f0.a(rtc.c.o): in function `_gettimeofday':
.......\teensy\hardware\avr\1.58.0-beta2\cores\teensy4/rtc.c:76: multiple definition of `_gettimeofday'; ....\arduino-sketch-4BE4F06CEFDDFAC044404B2337125028\libraries\freertos-teensy-master\portable\teensy_common.cpp.o:d:\Users\Utilisateur\OneDrive\Documents\Arduino\libraries\freertos-teensy-master\src\portable/teensy_common.cpp:412: first defined here
collect2.exe: error: ld returned 1 exit status
This is a new problem, I didn't get it before Teensy core library update.
My code uses:
Any idea to fix it please?
I cannot build my code on Teensy 4.0 with core library 1.58.0-beta2
c:/users/utilisateur/appdata/local/arduino15/packages/teensy/tools/teensy-compile/11.3.1-beta1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Utilisateur\AppData\Local\Temp\arduino-sketch-4BE4F06CEFDDFAC044404B2337125028/..\arduino-core-cache\core_9fa68f27d5e81ef98338bbff089303f0.a(rtc.c.o): in function `_gettimeofday':
.......\teensy\hardware\avr\1.58.0-beta2\cores\teensy4/rtc.c:76: multiple definition of `_gettimeofday'; ....\arduino-sketch-4BE4F06CEFDDFAC044404B2337125028\libraries\freertos-teensy-master\portable\teensy_common.cpp.o:d:\Users\Utilisateur\OneDrive\Documents\Arduino\libraries\freertos-teensy-master\src\portable/teensy_common.cpp:412: first defined here
collect2.exe: error: ld returned 1 exit status
This is a new problem, I didn't get it before Teensy core library update.
My code uses:
Code:
#include <Arduino.h>
#include "arduino_freertos.h"
#include <ICM_20948.h>
#include <PWMServo.h>
#include <SPI.h>
#include <SD.h>