Hello,
I'm using a Trinket connected to a Ds3231 RTC card and after one year of problemless functionning of 3 such circuits, I'm now trying to adjust the time on the RTC with a small program but nothing works as expected (eg i get hour() which is 28,..). The RTCLib library I'm using now is not the same as the initial one as I have updated it to the most recent version. I have tried all possible solutions but none of them works. I need help
Thank you
Richard
PS the circuit has not been modified, it is mounted on a PCB
RTCLib - Trinket don't work correctly
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
I think i have not been explicit enough. In 2021, I have built 3 identical PCB's on which one Trinket 5V, one DS3231 RTC and two 74HC595 shift registers are soldered and interconnected. The shift registers are used to drive LEDs. Those 3 PCB's have been running with no problems for one year. One year ago i loaded a "RTC setup" sketch to initialize the RTC with the correct date and time and then i loaded the "normal" sketch that reads the date and time from the DS3231 and displays them on leds through the shift registers. Everything has been running correctly for one year until last week when i tried to adjust the date and time on the DS3231 with the same sketch as one year ago but with a newer version of the RTCLib. Moreover, i did that on 2 of the 3 Trinkets but not on the third one on which i only reload the same"normal" sketch (the DS3231 has thus not been adjusted). I get now inconsistent values like "28" for the hours, on the 3 circuits. The only difference between the current version and the version of one year ago is the RTC library version. Everything else runs OK: compilation, download (bootloader,..). I really don't understand what is wrong. The circuitry has obviously not changed, the problem is the same on each Trinket. I suppose the origin of this issue has to do with the software. If i do understand there are two versions of the RTCLib library, one for Arduino boards and one for Adafruit, I'm not sure that my sketches use the right one. How can i check this?
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
I said that the set-up sketch had not changed since one year but actually that was not completely true, I have added a function which returns 0 or 1 depending on the "Day Light Saving" period and guess what, I filled many "if" conditions with the = sign instead of ==. Results are now better and I'm on the right way to fix all the remaining issues.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: RTCLib - Trinket don't work correctly
I deleted my earlier response. That was meant for another thread and USB adapters on Qt Py's. Totally unrelated.
You can check which RTClib you are using through the Arduino IDE:
Sketch --> Include Library --> Manager Libraries
Search "RTClib"
I would also check the batteries (coincell) on each unit to see what their voltage is. Maybe the third one has a weak battery?
You can check which RTClib you are using through the Arduino IDE:
Sketch --> Include Library --> Manager Libraries
Search "RTClib"
I would also check the batteries (coincell) on each unit to see what their voltage is. Maybe the third one has a weak battery?
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
Thank you!
I'll come back later with more details, but at this moment i try to understand strange things happening in my code. For example, when i adjust the date and time in the DS3231 RTC by "rtc.adjust(DateTime(F(__DATE__),F(__TIME__)));" and then read the current date and time and extract the hour (nw = rtc.now() and realHours = nw.hour()) i get 30 for realHours (??)
Could it be possible that the pin numbers for SCL and SDA have been changed in a library for the Trinket 5V @8MHz?
I'll keep investigating.
Richard
I checked the button battery OK
I'll come back later with more details, but at this moment i try to understand strange things happening in my code. For example, when i adjust the date and time in the DS3231 RTC by "rtc.adjust(DateTime(F(__DATE__),F(__TIME__)));" and then read the current date and time and extract the hour (nw = rtc.now() and realHours = nw.hour()) i get 30 for realHours (??)
Could it be possible that the pin numbers for SCL and SDA have been changed in a library for the Trinket 5V @8MHz?
I'll keep investigating.
Richard
I checked the button battery OK
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
I couldn't solve my problem. This is the code i'm using. I wrote a small "blinkLed()" function to visualize the value of some variable. With the code hereunder the led blinks 4 times for the day of the week (today is Monday).
There are error messages during compilation (i can send them if necessary)
My code (i comment the line to adjust the RTC in summer season)
What am I doing wrong?
Thanks so much for any help,
Richard
There are error messages during compilation (i can send them if necessary)
My code (i comment the line to adjust the RTC in summer season)
Code: Select all
/* ATtiny85 Digital clock
* Set-up program
* Copyright (c) 2022 Richard Van de Moosdijk
*/
#include <RTClib.h>
RTC_DS3231 rtc;
DateTime nw ;
boolean DLS = false;
uint8_t realSeconds = 0;
uint8_t realMinutes = 0;
uint8_t realHours = 0;
uint8_t realDay = 0;
uint8_t realDow = 0;
uint8_t realMonth = 0;
uint16_t realYear = 0;
/*=============== SETUP =====================*/
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
// Adjust date and time in DS3231 RTC
rtc.adjust(DateTime(F(__DATE__),F(__TIME__)));
delay(1000);
nw = rtc.now();
realMonth = nw.month();
realDay = nw.day();
realDow = nw.dayOfTheWeek();
DLS = checkDLS(realMonth, realDay, realDow);
if(DLS){
realHours = realHours - 1; // Decrease hour to adjust RTC with winter time
realMinutes = nw.minute();
realSeconds = nw.second();
realYear = nw.year();
// rtc.adjust(DateTime(realYear, realMonth, realDay, realHours, realMinutes, realSeconds));
blinkLed(3,100);
}
}
/*=============== LOOP =====================*/
void loop() {
nw = rtc.now();
if(nw.isValid()){blinkLed(3,100);} // Blinks 3 times
realYear = nw.year();
realMonth = nw.month();
realDay = nw.day();
realDow = nw.dayOfTheWeek();
realHours = nw.hour();
realMinutes = nw.minute();
blinkLed(realDow,500); // Blinks 4 times (??)
delay(5000);
}
boolean checkDLS(uint8_t locMonth, uint8_t locDay, uint8_t locDow){
uint8_t locDayMinusDow = locDay-locDow;
// [(month > 3) and (month < 10)
// or [(month = 3) and (date > 24) and ([(date – dow) > 24] or (dow = 7))] (7 = Sunday)
// or [(month = 10) and [(date < 25) or ([(date – dow) < 25] and (dow != 7))]]
if((locMonth > 3) && (locMonth < 10)){return true;}
if((locMonth < 3) || (locMonth > 10)){return false;}
if(((locMonth == 3) && (locDay > 24)) && ((locDayMinusDow > 24) || (locDow == 0)) // 0 = Sunday ??
|| ((locMonth == 10) && ((locDay < 25) || ((locDayMinusDow < 25) && (locDow != 0))))
){ return true;}
return false;
}
void blinkLed(uint8_t nrCycle, int interv){
if(nrCycle > 0){
for(int i=0; i < nrCycle; i++ ){
digitalWrite(LED_BUILTIN,HIGH);
delay(interv);
digitalWrite(LED_BUILTIN,LOW);
delay(interv);
}
}
delay(1000);
}
Thanks so much for any help,
Richard
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: RTCLib - Trinket don't work correctly
What was the reading on the battery voltage? 3.0v is dead.
Go ahead and paste in the full compile error in CODE tags. It might provide some clues and we can confirm your RTClib.
Can you add some print lines to your code and save the serial console for the date/time values that are mangled? There might be clues there.
Go ahead and paste in the full compile error in CODE tags. It might provide some clues and we can confirm your RTClib.
Can you add some print lines to your code and save the serial console for the date/time values that are mangled? There might be clues there.
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
I replaced the battery with an other one i'm sure it was OK as i just used it with a test Trinket 5V @8MHz and DS3231 RTC on a breadboard. I measured the voltage of both batteries and got 2.9 V on each one, which is for me enough to keep the values in the RTC memory when RTC is not powered (my voltage measurement is not accurate, probably, but the lowest voltage is 2.3V, found on Adafruit site ). Anyway all my tests are done with the PCB powered with 9V.
I have adapted a sketch found on Internet which is based on Wire.h and DS3231.h and which works perfectly (with both batteries).
I'll try to post the compile messages.
If I did understand, no USB serial communication seems to be available with the type of Trinket I'm using, is that right?
Thank you,
Richard
I have adapted a sketch found on Internet which is based on Wire.h and DS3231.h and which works perfectly (with both batteries).
Code: Select all
#include <Wire.h>
#include <DS3231.h>
// (__DATE__[ 7] - '0') * 1000 + \
// (__DATE__[ 8] - '0') * 100 + \
#define COMPUTE_BUILD_YEAR \
( \
(__DATE__[ 9] - '0') * 10 + \
(__DATE__[10] - '0') \
)
#define COMPUTE_BUILD_DAY \
( \
((__DATE__[4] >= '0') ? (__DATE__[4] - '0') * 10 : 0) + \
(__DATE__[5] - '0') \
)
#define BUILD_MONTH_IS_JAN (__DATE__[0] == 'J' && __DATE__[1] == 'a' && __DATE__[2] == 'n')
#define BUILD_MONTH_IS_FEB (__DATE__[0] == 'F')
#define BUILD_MONTH_IS_MAR (__DATE__[0] == 'M' && __DATE__[1] == 'a' && __DATE__[2] == 'r')
#define BUILD_MONTH_IS_APR (__DATE__[0] == 'A' && __DATE__[1] == 'p')
#define BUILD_MONTH_IS_MAY (__DATE__[0] == 'M' && __DATE__[1] == 'a' && __DATE__[2] == 'y')
#define BUILD_MONTH_IS_JUN (__DATE__[0] == 'J' && __DATE__[1] == 'u' && __DATE__[2] == 'n')
#define BUILD_MONTH_IS_JUL (__DATE__[0] == 'J' && __DATE__[1] == 'u' && __DATE__[2] == 'l')
#define BUILD_MONTH_IS_AUG (__DATE__[0] == 'A' && __DATE__[1] == 'u')
#define BUILD_MONTH_IS_SEP (__DATE__[0] == 'S')
#define BUILD_MONTH_IS_OCT (__DATE__[0] == 'O')
#define BUILD_MONTH_IS_NOV (__DATE__[0] == 'N')
#define BUILD_MONTH_IS_DEC (__DATE__[0] == 'D')
#define COMPUTE_BUILD_MONTH \
( \
(BUILD_MONTH_IS_JAN) ? 1 : \
(BUILD_MONTH_IS_FEB) ? 2 : \
(BUILD_MONTH_IS_MAR) ? 3 : \
(BUILD_MONTH_IS_APR) ? 4 : \
(BUILD_MONTH_IS_MAY) ? 5 : \
(BUILD_MONTH_IS_JUN) ? 6 : \
(BUILD_MONTH_IS_JUL) ? 7 : \
(BUILD_MONTH_IS_AUG) ? 8 : \
(BUILD_MONTH_IS_SEP) ? 9 : \
(BUILD_MONTH_IS_OCT) ? 10 : \
(BUILD_MONTH_IS_NOV) ? 11 : \
(BUILD_MONTH_IS_DEC) ? 12 : \
/* error default */ 99 \
)
#define COMPUTE_BUILD_HOUR ((__TIME__[0] - '0') * 10 + __TIME__[1] - '0')
#define COMPUTE_BUILD_MIN ((__TIME__[3] - '0') * 10 + __TIME__[4] - '0')
#define COMPUTE_BUILD_SEC ((__TIME__[6] - '0') * 10 + __TIME__[7] - '0')
DS3231 myRTC;
boolean century = true;
bool h12Flag;
bool pmFlag;
int locYear = 0;
int locMonth = 0;
int locDay = 0;
int locDow = 2; // To be adapted each time
int locHour = 0;
int locMin = 0;
int locSec = 0;
void setup () {
// Serial.begin(57600);
pinMode(LED_BUILTIN, OUTPUT);
Wire.begin();
myRTC.setClockMode(false);
setDateAndTime();
}
void loop () {
delay(5000);
getDateAndTime();
blinkLed(locYear, 300); // Blinks 22
blinkLed(locMonth, 300); // Blinks 11
blinkLed(locDay, 300); // Blinks 1
blinkLed(locDow, 300); // Blinks 2
// blinkLed(locHour, 300); // Comment to avoid
// blinkLed(locMin, 300); // too long waiting time
// blinkLed(locSec, 300);
}
void setDateAndTime(){
myRTC.setYear(COMPUTE_BUILD_YEAR);
myRTC.setMonth(COMPUTE_BUILD_MONTH);
myRTC.setDate(COMPUTE_BUILD_DAY);
myRTC.setDoW(locDow);
myRTC.setHour(COMPUTE_BUILD_HOUR);
myRTC.setMinute(COMPUTE_BUILD_MIN);
myRTC.setSecond(COMPUTE_BUILD_SEC);
}
void getDateAndTime(){
locYear = myRTC.getYear();
locMonth = myRTC.getMonth(century);
locDay = myRTC.getDate();
locDow = myRTC.getDoW();
// locHour = myRTC.getHour(h12Flag,pmFlag);
// locMin = myRTC.getMinute();
// locSec = myRTC.getSecond();
}
void blinkLed(int nrc, int cycle){
if(nrc > 0){
for(int i=0; i<nrc;i++){
digitalWrite(LED_BUILTIN, HIGH);
delay(cycle);
digitalWrite(LED_BUILTIN, LOW);
delay(cycle);
}
delay(2000);
}
}
I'll try to post the compile messages.
If I did understand, no USB serial communication seems to be available with the type of Trinket I'm using, is that right?
Thank you,
Richard
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
Here the compile report/Part 1
Code: Select all
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/rivdmoosdyk/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/rivdmoosdyk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/rivdmoosdyk/Développements/libraries -fqbn=adafruit:avr:trinket3 -vid-pid=0000_0000 -ide-version=10816 -build-path /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781 -warnings=default -build-cache /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_cache_172585 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.avrdude.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -verbose /Users/rivdmoosdyk/Développements/Arduino/Sketches/Binary-Clock-Setup/Binary-Clock-Setup.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/rivdmoosdyk/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/rivdmoosdyk/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/rivdmoosdyk/Développements/libraries -fqbn=adafruit:avr:trinket3 -vid-pid=0000_0000 -ide-version=10816 -build-path /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781 -warnings=default -build-cache /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_cache_172585 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.avrdude.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -verbose /Users/rivdmoosdyk/Développements/Arduino/Sketches/Binary-Clock-Setup/Binary-Clock-Setup.ino
Using board 'trinket3' from platform in folder: /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15
Using core 'arduino' from platform in folder: /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5
Detecting libraries used...
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp -o /dev/null
Alternatives for RTClib.h: [[email protected]]
ResolveLibrary(RTClib.h)
-> candidates: [[email protected]]
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp -o /dev/null
Alternatives for Adafruit_I2CDevice.h: [[email protected]]
ResolveLibrary(Adafruit_I2CDevice.h)
-> candidates: [[email protected]]
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp -o /dev/null
Alternatives for Wire.h: [[email protected] [email protected]]
ResolveLibrary(Wire.h)
-> candidates: [[email protected] [email protected]]
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_DS1307.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_DS3231.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_Micros.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_Millis.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_PCF8523.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_PCF8563.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTClib.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/TinyWireM.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/USI_TWI_Master.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/Wire.cpp -o /dev/null
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility/twi.c -o /dev/null
Generating function prototypes...
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/preproc/ctags_target_for_gcc_minus_e.cpp
Compilation du croquis...
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp.o
Compiling libraries...
Compiling library "RTClib"
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_DS1307.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_DS1307.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_PCF8563.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_PCF8563.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_PCF8523.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_PCF8523.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_Millis.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_Millis.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTClib.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTClib.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_Micros.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_Micros.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/RTClib/src/RTC_DS3231.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_DS3231.cpp.o
Compiling library "Adafruit_BusIO"
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp.o
/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp: In member function 'bool Adafruit_I2CDevice::write(const uint8_t*, size_t, bool, const uint8_t*, size_t)':
/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp:112:47: warning: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
if (_wire->write(prefix_buffer, prefix_len) != prefix_len) {
^
In file included from /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/Wire.h:24:0,
from /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.h:5,
from /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp:1:
/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/TinyWireM.h:62:19: note: initializing argument 1 of 'size_t TinyM_USI_TWI::write(uint8_t*, uint8_t)'
inline size_t write(uint8_t* d, uint8_t n) { uint16_t i; for (i = 0; i < n; i++) write(d[i]); return (size_t)n; }
^~~~~
/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp:121:31: warning: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
if (_wire->write(buffer, len) != len) {
^
In file included from /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/Wire.h:24:0,
from /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.h:5,
from /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp:1:
/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/TinyWireM.h:62:19: note: initializing argument 1 of 'size_t TinyM_USI_TWI::write(uint8_t*, uint8_t)'
inline size_t write(uint8_t* d, uint8_t n) { uint16_t i; for (i = 0; i < n; i++) write(d[i]); return (size_t)n; }
^~~~~
Compiling library "Wire"
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/TinyWireM.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/TinyWireM.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/Wire.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/Wire.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/USI_TWI_Master.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/USI_TWI_Master.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 -I/Users/rivdmoosdyk/Développements/libraries/RTClib/src -I/Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire/utility/twi.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/utility/twi.c.o
Compiling core...
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -x assembler-with-cpp -flto -MMD -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/wiring_pulse.S -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_pulse.S.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/wiring_pulse.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_pulse.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/hooks.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/hooks.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/wiring_shift.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_shift.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/wiring_digital.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_digital.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/wiring.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/WInterrupts.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -c -g -Os -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/wiring_analog.c -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_analog.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c: In function 'attachInterrupt':
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c:198:8: warning: #warning attachInterrupt may need some more work for this cpu (case 1) [-Wcpp]
#warning attachInterrupt may need some more work for this cpu (case 1)
^~~~~~~
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c: In function 'detachInterrupt':
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c:312:8: warning: #warning detachInterrupt may need some more work for this cpu (case 1) [-Wcpp]
#warning detachInterrupt may need some more work for this cpu (case 1)
^~~~~~~
In file included from /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c:29:0:
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c: In function 'INT1_vect':
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c:373:15: warning: 'INT1_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WInterrupts.c:373:1: note: in expansion of macro 'IMPLEMENT_ISR'
IMPLEMENT_ISR(INT1_vect, EXTERNAL_INT_1)
^~~~~~~~~~~~~
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
Part 2
Code: Select all
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/CDC.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/CDC.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/PluggableUSB.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/PluggableUSB.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/HardwareSerial0.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial0.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/HardwareSerial.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/HardwareSerial2.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial2.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/HardwareSerial1.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial1.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/IPAddress.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/IPAddress.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/HardwareSerial3.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial3.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Print.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/Print.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Stream.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/Stream.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Tone.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/Tone.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/USBCore.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/USBCore.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WMath.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/WMath.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/WString.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/WString.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/abi.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/abi.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/main.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/main.cpp.o
In file included from /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Tone.cpp:37:0:
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Tone.cpp: In function 'void TIMER2_COMPA_vect()':
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Tone.cpp:538:5: warning: 'TIMER2_COMPA_vect' appears to be a misspelled 'signal' handler, missing '__vector' prefix [-Wmisspelled-isr]
ISR(TIMER2_COMPA_vect)
^
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=attiny85 -DF_CPU=8000000L -DARDUINO=10816 -DARDUINO_AVR_TRINKET3 -DARDUINO_ARCH_AVR -I/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino -I/Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/variants/tiny8 /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/new.cpp -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/new.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_pulse.S.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/WInterrupts.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/hooks.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_analog.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_digital.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_pulse.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/wiring_shift.c.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/CDC.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial0.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial1.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial2.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/HardwareSerial3.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/IPAddress.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/PluggableUSB.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/Print.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/Stream.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/Tone.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/USBCore.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/WMath.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/WString.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/abi.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/main.cpp.o
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc-ar rcs /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/new.cpp.o
Archivage du noyau construit (mise en cache) dans : /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_cache_172585/core/core_adafruit_avr_trinket3_50bfd528f872e2074c93a69a038c9362.a
Linking everything together...
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=attiny85 -o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/Binary-Clock-Setup.ino.elf /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/sketch/Binary-Clock-Setup.ino.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_DS1307.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_DS3231.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_Micros.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_Millis.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_PCF8523.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTC_PCF8563.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/RTClib/RTClib.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Adafruit_BusIO/Adafruit_BusIO_Register.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Adafruit_BusIO/Adafruit_I2CDevice.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Adafruit_BusIO/Adafruit_SPIDevice.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/TinyWireM.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/USI_TWI_Master.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/Wire.cpp.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/libraries/Wire/utility/twi.c.o /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/core/core.a -L/var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781 -lm
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/Binary-Clock-Setup.ino.elf /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/Binary-Clock-Setup.ino.eep
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy -O ihex -R .eeprom /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/Binary-Clock-Setup.ino.elf /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/Binary-Clock-Setup.ino.hex
Plusieurs bibliothèque trouvées pour "Wire.h"
Utilisé : /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire
Non utilisé : /Users/rivdmoosdyk/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/libraries/Wire
Utilisation de la bibliothèque RTClib version 2.1.1 dans le dossier: /Users/rivdmoosdyk/Développements/libraries/RTClib
Utilisation de la bibliothèque Adafruit_BusIO version 1.14.0 dans le dossier: /Users/rivdmoosdyk/Développements/libraries/Adafruit_BusIO
Utilisation de la bibliothèque Wire version 1.0 dans le dossier: /Users/rivdmoosdyk/Library/Arduino15/packages/adafruit/hardware/avr/1.4.15/libraries/Wire
/Users/rivdmoosdyk/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-size -A /var/folders/93/943hqqws21xdlw51bshh4s140000gn/T/arduino_build_950781/Binary-Clock-Setup.ino.elf
Le croquis utilise 3208 octets (60%) de l'espace de stockage de programmes. Le maximum est de 5310 octets.
Les variables globales utilisent 41 octets de mémoire dynamique.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: RTCLib - Trinket don't work correctly
I was hoping the compile output would name the RTClib, but it is just a directory called RTClib without a reference to repository or version.
Can you go back to where we started with looking in the Arduino IDE Library manager and check the origin or your library and version? This is most likely resolvable by reverting back to a release from 2021 when you originally coded the boards. Then we can figure out what has changed with the library since then. I need to know which library and version of RTClib you are using.
You are correct that the Trinket 5v does not have easy access to serial output. There is a fake serial hack for it, but I don’t want to distract us with that wormhole unless it is really necessary.
https://learn.adafruit.com/trinket-fake-usb-serial
Can you go back to where we started with looking in the Arduino IDE Library manager and check the origin or your library and version? This is most likely resolvable by reverting back to a release from 2021 when you originally coded the boards. Then we can figure out what has changed with the library since then. I need to know which library and version of RTClib you are using.
You are correct that the Trinket 5v does not have easy access to serial output. There is a fake serial hack for it, but I don’t want to distract us with that wormhole unless it is really necessary.
https://learn.adafruit.com/trinket-fake-usb-serial
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
This is a copy of the Library Manager page with RTC libs.
The file README.md in the Libraries->RTClib folder, the "Trinket 5V @8MHz" board is not included in
* ATtiny85 @ 8MHz : Adafruit Gemma, Arduino Gemma, Adafruit Trinket 3V
only the 3V version.
In "libraries", there is only one RTClib folder (12.08.23.png image)
My board is still running OK since yesterday (Day and DoW have changed this night as expected)
The file README.md in the Libraries->RTClib folder, the "Trinket 5V @8MHz" board is not included in
* ATtiny85 @ 8MHz : Adafruit Gemma, Arduino Gemma, Adafruit Trinket 3V
only the 3V version.
In "libraries", there is only one RTClib folder (12.08.23.png image)
My board is still running OK since yesterday (Day and DoW have changed this night as expected)
- Attachments
-
- Capture d’écran 2022-11-02 à 12.08.28.png (244.98 KiB) Viewed 223 times
-
- Capture d’écran 2022-11-02 à 11.55.22.png (115.49 KiB) Viewed 223 times
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: RTCLib - Trinket don't work correctly
Thank you for this.
I see that you are using the Adafruit Fork of RTClib v2.1.1 (current).
If you wanted to determine which library version change was effecting your original code you could go back to the approximate date in 2021 when you installed RTClib install an older library through the library manager. I did look at the release notes and there was a flurry of development around the 2.0.0 release. Nothing particular to the ATmega85, but some work on the Wire interface and DS3231 features in the last year of releases.
Maybe try 1.14.2 and see if your original code calling rtc.adjust() starts working again?
https://github.com/adafruit/RTClib/releases
I see that you are using the Adafruit Fork of RTClib v2.1.1 (current).
If you wanted to determine which library version change was effecting your original code you could go back to the approximate date in 2021 when you installed RTClib install an older library through the library manager. I did look at the release notes and there was a flurry of development around the 2.0.0 release. Nothing particular to the ATmega85, but some work on the Wire interface and DS3231 features in the last year of releases.
Maybe try 1.14.2 and see if your original code calling rtc.adjust() starts working again?
https://github.com/adafruit/RTClib/releases
- rivandemo
- Posts: 29
- Joined: Fri Feb 12, 2021 1:06 pm
Re: RTCLib - Trinket don't work correctly
Thank you for your advice, i will do that tomorrow if i can..
In the meantime i have adapted two sketches, the first one is used to set-up the RTC and the second is the "real" sketch to read date and time from the DS3231 and display the time and date alternatively on a led matrix (4 columns with 2, 4, 3 and 4 leds respectively to display the 4 digits of either the time or the date in binary format, hhmm and ddmm, the bottom leds value being 1, the second leds 2, the third 4 and the fourth 8), the leds are mounted on a slate (the two top leds show what is currently displayed, the time, left led, or the date, right one, but in the newer version i removed them). Both sketches work now but i will try to get the RTClib based version running again.
In the meantime i have adapted two sketches, the first one is used to set-up the RTC and the second is the "real" sketch to read date and time from the DS3231 and display the time and date alternatively on a led matrix (4 columns with 2, 4, 3 and 4 leds respectively to display the 4 digits of either the time or the date in binary format, hhmm and ddmm, the bottom leds value being 1, the second leds 2, the third 4 and the fourth 8), the leds are mounted on a slate (the two top leds show what is currently displayed, the time, left led, or the date, right one, but in the newer version i removed them). Both sketches work now but i will try to get the RTClib based version running again.
- Attachments
-
- 20210303-BC-V1-Front.jpg (603.62 KiB) Viewed 218 times
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: RTCLib - Trinket don't work correctly
That is a beautiful project. Thank you for sharing the photo.
Glad to hear you have found alternatives to RTClib.
If you are able to locate a library version that breaks rtc.adjust() please let me know. This might be worthy of a patch or documentation update. I suspect that rtc.adjust() not working is just the symptom of a change to how Wire needs to be setup to work the Trinket 5v in new RTClib versions.
Glad to hear you have found alternatives to RTClib.
If you are able to locate a library version that breaks rtc.adjust() please let me know. This might be worthy of a patch or documentation update. I suspect that rtc.adjust() not working is just the symptom of a change to how Wire needs to be setup to work the Trinket 5v in new RTClib versions.
Please be positive and constructive with your questions and comments.