Forum Rule: Always post complete source code & details to reproduce any issue!
Page 1 of 3 1 2 3 LastLast
Results 1 to 25 of 68

Thread: Teensyduino 1.52 Beta #3

  1. #1
    Administrator Paul's Avatar
    Join Date
    Oct 2012
    Posts
    374

    Teensyduino 1.52 Beta #3

    Here is a third beta test for Teensyduino 1.52.


    Edit: links removed, please use 1.52-beta5.


    Changes since Teensyduino 1.52-beta2:

    Support for Teensy 4.1 - still in beta testing
    Allow SD.begin() to be called more than once
    Support hardware serial CTS pins on Teensy 4.1 (KurtE)
    Fix double float promotion (Frank B)
    Fix I2S input use of cache (Frank B)
    Fix installer crash on Jetson Nano
    Update libs: RA8875, ILI9844_t3, QuadEncoder, ST7735_t3

  2. #2
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,371
    Just downloaded and installed on a Windows 10x64 pc with no problems. As a quick test of the ILI9488_t3 lib I re-compiled and loaded one of the OpenGL examples and worked without an issue on a T4.1. Tested the ST7735_t3 lib using a T4.0 with @KurtE's printTest using the INITR_MINI160x80_ST7735S initializer and duplicated what I saw prior to the 1.52-beta3 install.

  3. #3
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    129
    Hmmm. I have a Jetson Nano... haven't used it in months... I'll give it a go.

  4. #4
    Senior Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    129
    Click image for larger version. 

Name:	668562BD-A1D2-4AD0-84F9-8A579C25691B.jpeg 
Views:	6 
Size:	91.1 KB 
ID:	19829

    Worked for me

  5. #5
    Senior Member DD4WH's Avatar
    Join Date
    Oct 2015
    Location
    Central Europe
    Posts
    619
    Works on Windows 10

    Tested with Teensy 4.0 Convolution SDR using latest ili9341_t3n lib, Etherkit_Si5351 lib and FrankBs audio codec lib.

    Excellent!

    Canīt wait to test it with T4.1

  6. #6
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    172
    Mac Catalina, installed great, super easy, however, as mentioned in b2 for newbies the instructions for Catalina on the download page will be very confusing.

    Tried many T4 with ILI9341_t3 programs, T2,3,4 all worked great. No issues yet. T4.1 due by USPS Monday.

    One question. This code in the setup gives me some info of what I'm playing with:
    Code:
    void Processor_Compiler(){
      Serial.print("Processor:  ");
    #ifdef __MK20DX256__
      Serial.print("Teensy 3.2");
    #elif __MK66FX1M0__
      Serial.print("Teensy 3.6");
    #elif __MK64FX512__
      Serial.print("Teensy 3.5");
    #elif __IMXRT1062__
      Serial.print("Teensy 4");
    #elif ARDUINO_SAM_DUE
      Serial.print("Due");
    #endif
      const char compile_date[] =__DATE__ " " __TIME__ ;  // " " __FILE__ ;
      Serial.print("\t\tCompiled ");  Serial.println(compile_date);
    }
    What should be used to ID 4.1 vs 4.0 ?

  7. #7
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    New/Recent IDE standard all the boards have something like this - certainly for any build supporting T_4.1

    Code:
    #ifdef ARDUINO_TEENSY41
    	Serial.println(" ARDUINO_TEENSY41");
    #elif ARDUINO_TEENSY40
    	Serial.println(" ARDUINO_TEENSY40");
    #endif
    From boards.txt ::
    teensy41.build.board=TEENSY41
    teensy40.build.board=TEENSY40
    teensy36.build.board=TEENSY36
    teensy35.build.board=TEENSY35
    teensy31.build.board=TEENSY32
    teensy30.build.board=TEENSY30
    teensyLC.build.board=TEENSYLC

  8. #8
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    Reminded me of the CPUSpecs I wrote years back - last updated for T_3.6. Was handy as it points out some extra IO counts … never updated for T_4 … it was handy and found a bad IO count on a #define. I should re-update that for F_CPU_ACTUAL etc ...

    Quote Originally Posted by defragster View Post
    Here is a version looking at compile time #defines written for K66 beta - not finding old posting in quick search:

    Code:
    void CPUspecs() {
      Serial.println();
    #if defined(__MK20DX128__)
      Serial.println( "CPU is T_LC");
    #elif defined(__MK20DX256__)
      Serial.println( "CPU is T_3.1/3.2");
    #elif defined(__MKL26Z64__)
      Serial.println( "CPU is T_3.0");
    #elif defined(__MK64FX512__)
      Serial.println( "CPU is T_3.5");
    #elif defined(__MK66FX1M0__)
      Serial.println( "CPU is T_3.6");
    #endif
      Serial.print( "F_CPU =");   Serial.println( F_CPU );
      Serial.print( "F_PLL =");   Serial.println( F_PLL );
      Serial.print( "F_BUS =");   Serial.println( F_BUS );
      Serial.print( "F_MEM =");   Serial.println( F_MEM );
      Serial.print( "NVIC_NUM_INTERRUPTS =");   Serial.println( NVIC_NUM_INTERRUPTS );
      Serial.print( "DMA_NUM_CHANNELS =");   Serial.println( DMA_NUM_CHANNELS );
      Serial.print( "CORE_NUM_TOTAL_PINS =");   Serial.println( CORE_NUM_TOTAL_PINS );
      Serial.print( "CORE_NUM_DIGITAL =");   Serial.println( CORE_NUM_DIGITAL );
      Serial.print( "CORE_NUM_INTERRUPT =");   Serial.println( CORE_NUM_INTERRUPT );
      Serial.print( "CORE_NUM_ANALOG =");   Serial.println( CORE_NUM_ANALOG );
      Serial.print( "CORE_NUM_PWM =");   Serial.println( CORE_NUM_PWM );
      Serial.print( "ARDUINO =");   Serial.println( ARDUINO );
      Serial.print( "TEENSYDUINO =");   Serial.println( TEENSYDUINO );
    
    #if 1 // defined(KINETISK)
      if ((RCM_SRS0 & RCM_SRS0_PIN))
        Serial.println( "\n RTC hardware Present!!!");
    #endif
    }

  9. #9
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    172
    @defragster, saw that but didn't realize all that info was exposed to #ifdef's
    thanks, that does it!

    Here's something I noticed that doesn't matter but since your into minutia...

    Attached is a bunch of stuff that I have all my programs spit out on boot or save somewhere I can access. The first group is from beta #2 the second beta #3 of the same program, same Arduino 1.8.12, same part.
    All is as expected except the ITCM = FASTRUN: and FLASH: are different.

    Code:
    from beta #2
    
    myT4InternalTempGraph 12/11/2019    Processor:  Teensy 4		Compiled Mar  5 2020 16:43:29
    Constant ?	yaa!, -fsingle-precision-constant  disabled
    F_CPU (MHz) 	600
    1/F_CPU (us)	0.0017
    -------------
    FlexRAM-Banks: [ DDDD DDDD DDDD DDII ] ITCM: 64 KB, DTCM: 448 KB, OCRAM: 0(+512) KB
    MEM (static usage):
    RAM1:
    ITCM = FASTRUN:      34176   52.15%  of  64kb     (31360 Bytes free)
    DTCM = Variables:    12992   2.83%  of  448kb     (445760 Bytes free)
    RAM2:
    OCRAM = DMAMEM:      12384   2.36%  of  512kb     (511904 Bytes free)
    FLASH:               46272   2.21%  of  2048kb    (2050880 Bytes free)
    
    
    from beta #3
    
    myT4InternalTempGraph 12/11/2019    Processor:  Teensy 4		Compiled Apr 24 2020 15:31:32
    Constant ?	yaa!, -fsingle-precision-constant  disabled
    F_CPU (MHz) 	600
    1/F_CPU (us)	0.0017
    -------------
    FlexRAM-Banks: [ DDDD DDDD DDDD DDII ] ITCM: 64 KB, DTCM: 448 KB, OCRAM: 0(+512) KB
    MEM (static usage):
    RAM1:
    ITCM = FASTRUN:      34112   52.05%  of  64kb     (31424 Bytes free)
    DTCM = Variables:    12992   2.83%  of  448kb     (445760 Bytes free)
    RAM2:
    OCRAM = DMAMEM:      12384   2.36%  of  512kb     (511904 Bytes free)
    FLASH:               46352   2.21%  of  2048kb    (2050800 Bytes free)
    I guess some libraries are putting more in FLASH?

  10. #10
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    Installed TD 1.52 b3 on Win 10 latest with NO issues. Built and uploaded just two HEX files to work so far { for both T_4.x's }.

    >> Only odd issue is that Teensy.exe takes about 15 seconds to start up. This is an updated WINDOWS issue {not new to TD 1.52} it seems as powering up Teensy.exe from TD 1.49 now acts the same. Problem is with first upload the IDE build aborts the upload waiting for it to respond.


    @bicycleguy: Some startup code is marked FLASHMEM and stays/run from there. But on startup both the ITCM/code and DTCM/data are pulled from flash to their place in RAM. That is 34176 + 12992 = 47168 which is actually larger than size FLASH:46272

  11. #11
    Senior Member+ manitou's Avatar
    Join Date
    Jan 2013
    Posts
    2,534
    installed 1.52-beta3 on linux-64 (Ubuntu 18.04) with IDE 1.8.12. Tested lwIP httpd with latest SdFat-beta (v2) on Teensy 4.1. all is good.

  12. #12
    Member
    Join Date
    Jan 2020
    Posts
    97
    All running well here with T4.0 on Windows 10 pro x64 1909 build 18363.815 (latest).
    @defragster this odd issue with 15 seconds start up I do not have

    Again I am amazed how fast Teensy 4 is. Rebuilt all the ME-70 effects chain plus an ultrasick wah, uses less than 14% CPU time all together. Whaaat? Only the sound could definitely be nicer, it is audible the Audio Library only runs 16 bit. So I'll not yet publish that guitar effects project until I've made some tune-up.

  13. #13
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    Quote Originally Posted by flashburn View Post
    All running well here with T4.0 on Windows 10 pro x64 1909 build 18363.815 (latest).
    @defragster this odd issue with 15 seconds start up I do not have

    Again I am amazed how fast Teensy 4 is. Rebuilt all the ME-70 effects chain plus an ultrasick wah, uses less than 14% CPU time all together. Whaaat? Only the sound could definitely be nicer, it is audible the Audio Library only runs 16 bit. So I'll not yet publish that guitar effects project until I've made some tune-up.
    Thanks for Teensy.exe note ??? I run it from T: SSD - even moved a copy to C: HDD and both STALL on start - after the machine ahs been up some time. Time for a reboot after 9.5 days of abuse there are a few things being sluggish with EDGE having some 49 pages and stuff open

    When run from T: drive SSD I told Windows and Malwarebytes to NOT do any scanning - funny even a right click 'scan this download' says "not scanned because you said so". Something 'new' is gumming up the works here then.

    1909.815 - time to update and restart …

    Teensy 4.0 is really fast and nice - the pending 4.1 the same only better for having easy to use SD and USB Host if desired and all 10 bottom pads and a few more I/O easier to get to on edge pins - and ethernet possible - plus spare chips spots for QSPI FLASH or RAM add good utility when needed.

  14. #14
    Member
    Join Date
    Jan 2020
    Posts
    97
    Some days ago I've installed a new Arduino 1.8.2 at default location C:\Program Files (x86)\Arduino with Teensyduino 1.51, then the betas just over that once they were published. So nothing special.
    I've even installed the recent ESP stuff into this as well, no problems so far. It has been more trouble with older Teensyduino together with ESP in one single Arduino install, which made us run different installs with 'portable' directories, but now it does not seem to be necessary any more.
    I did not exclude anything from scanning, but all \hardware\tools\*.exe i've given firewall rules to allow only localhost in/out. Before that there have always been some firewall alerts in the logs I don't remember any more.

  15. #15
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    I just rebooted - Machine wouldn't even complete a Windows update check - left it for an hour++ and helped cut down some trees … still searching when I came back.

    Fresh reboot and the IDE started Teensy.exe in a SNAP - as normal. Something clogs up the system and if closed it takes 10-15 seconds to restart.

    First IDE BUILT took about forever to start … running CmdLine IDE from inside sublime Editor with a batch file is much faster - clean build in 8 seconds for latest posted simpleBlink.

    In the time I typed the aobve Windows update is now ready with the next update - machine was really hogged up. I started 'Sleep' at might and it messes with stuff.

    <>took yet another update 1909.778 now gave way to 1909.815
    Last edited by defragster; 04-26-2020 at 03:24 AM.

  16. #16
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    Fails trying to compile this for T_4.0: ...\hardware\teensy\avr\libraries\Audio\examples\A nalysis\PeakMeterMono\PeakMeterMono.ino

    Is AudioInputAnalog adc1; working on T_4.0?

    Compiles for T_3.6.

    Code:
    T:\TEMP\arduino_build_PeakMeterMono.ino\sketch\PeakMeterMono.ino.cpp.o: In function `AudioInputAnalog::AudioInputAnalog()':
    T:\arduino-1.8.12\hardware\teensy\avr\libraries\Audio/input_adc.h:37: undefined reference to `AudioInputAnalog::init(unsigned char)'
    T:\TEMP\arduino_build_PeakMeterMono.ino\sketch\PeakMeterMono.ino.cpp.o: In function `AudioStream::AudioStream(unsigned char, audio_block_struct**)':
    T:\arduino-1.8.12\hardware\teensy\avr\cores\teensy4/AudioStream.h:130: undefined reference to `vtable for AudioInputAnalog'
    collect2.exe: error: ld returned 1 exit status
    Multiple libraries were found for "SD.h"
     Used: T:\arduino-1.8.12\hardware\teensy\avr\libraries\SD
     Not used: T:\arduino-1.8.12\libraries\SD
    Using library Audio at version 1.3 in folder: T:\arduino-1.8.12\hardware\teensy\avr\libraries\Audio 
    Using library SPI at version 1.0 in folder: T:\arduino-1.8.12\hardware\teensy\avr\libraries\SPI 
    Using library SD at version 1.2.2 in folder: T:\arduino-1.8.12\hardware\teensy\avr\libraries\SD 
    Using library SerialFlash at version 0.5 in folder: T:\arduino-1.8.12\hardware\teensy\avr\libraries\SerialFlash 
    Using library Wire at version 1.0 in folder: T:\arduino-1.8.12\hardware\teensy\avr\libraries\Wire 
    exit status 1

  17. #17
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    6,910
    No, there were several threads absolut this... as with PWM,
    this is still a missing part in the T4 Audiolib.
    I would help with this, or add it, if I knew a way to clock it with 44.100kHz

  18. #18
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    Quote Originally Posted by Frank B View Post
    No, there were several threads absolut this... as with PWM,
    this is still a missing part in the T4 Audiolib.
    I would help with this, or add it, if I knew a way to clock it with 44.100kHz
    Thanks Frank - Another thread question was about FFT not working - which it does - just that it doesn't work from ADC1 on T4 - which is what I found trying that example. Apparently above error showed up - but wasn't made clear until I tried it myself.

    I see WMXZ just posted to that thread.

    Post was that the output was a screen shot … not clicked - it shows the vtable error. I recall notes you made about PWM, but didn't associate that with ADC before the failed trial.

  19. #19
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,118
    Quote Originally Posted by Frank B View Post
    I would help with this, or add it, if I knew a way to clock it with 44.100kHz
    I've been looking at this recently. It's a difficult problem.

    Unfortunately PLL4 only routes to I2S, SPDIF and FlexIO. But sadly, NXP didn't implement FlexIO output triggers to the crossbar (FlexIO can receive triggers, but not transmit them), so FlexIO can't directly trigger ADC through the ADCETC. Looks like NXP didn't provide any other paths from PLL4 to any other timers that could feed trigger pulses into the crossbar. I can't see any to trigger the ADC in sync with PLL4.

    So I'm afraid the only solution, at least that I can see, is to run the ADC asynchronously and resample its data. I have long wanted to run the ADC and DAC on Teensy 3.x at 4X the sample rate, and I'd like to do that (or slightly faster) from the start on Teensy 4. Fortunately we have plenty of CPU power.

    My best guess so far looks like the ADC / ADCETC running continuously with a DMA channel in circular buffer mode (but no interrupts from the ADC or its DMA). Something generates an interrupt in sync with PLL4 every 128 sample, either FlexIO or one of the I2S ports. Might be simplest to just use I2S1 in a dummy configuration when the project isn't using I2S, rather than bother with FlexIO. The interrupt would read the ADC's DMA channel destination address to get the current write position in the circular buffer, than just read backwards from that point and run the data into a short FIR low pass filter. Before filtering, we'll probably linear interpolate to translate the raw ADC samples to an exact multiple of the actual audio sample rate, so then only 1 FIR calculation is needed for each output sample.

    One of the unused quadtimers or flexpwm timers will probably need to be commandeered to trigger the ADC. Maybe we should start a list of which libraries are known to grab those "unused" timers so we can hopefully design libraries to have as few conflicts as possible if users try to use them together in a project.

    Also, as a longer term goal (well beyond version 1.52), I want to move analogRead() to using the ADCETC. Hopefully this can give us a nice situation where people can freely mix audio library ADC use with ordinary Arduino analogRead(), and maybe also other time muxed use from other libraries needing analog inputs. Some sort of allocation of whether to use ADC1 vs ADC2 also needs to be worked out...

  20. #20
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,118
    I reached out to NXP to ask if they have any guidance for triggering the ADC in sync with the PLL4-based audio clock. Who knows, maybe they have some way to do this which we just haven't seen buried somewhere in those 3437 pages?

  21. #21
    Member
    Join Date
    Jan 2020
    Posts
    97
    IMXRT1060RM_rev1.pdf on pages 3168 and 3500. Looks like it is possible to use PWM for ADC triggering.
    Or sacrifice two pins and make a loopback?

  22. #22
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,954
    @flashburn (and Paul) - Not sure if the same thing would apply, but when we were working on the ADC library, I did get the ADC modules to work off of the Quad Timer, I setup to use maybe two of the unused ones that did not have any PWM pins associated with them.

    It requires you to setup the ADC to use the ADC_ETC, If I remember you also had to setup the XBar... I know that other tried with I think with a different timer and was having issues.

  23. #23
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,371
    Quote Originally Posted by KurtE View Post
    @flashburn (and Paul) - Not sure if the same thing would apply, but when we were working on the ADC library, I did get the ADC modules to work off of the Quad Timer, I setup to use maybe two of the unused ones that did not have any PWM pins associated with them.

    It requires you to setup the ADC to use the ADC_ETC, If I remember you also had to setup the XBar... I know that other tried with I think with a different timer and was having issues.
    Yep. You have to set up xbar to use the different timers. Attached is a zip for what we were playing for chaining pin pairs for analog reads. Pretty much shows how to set up the timers. Does get a bit confusing with all the timers we set up to use. Basically with xbara you connect the timer to the ADC trigger.
    Attached Files Attached Files

  24. #24
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,832
    Posted on TD 1.52 b2 thread was a note about Time Sync with T_4.x from secure RTC : pjrc.com/threads/60354-Teensyduino-1-52-Beta-2

    Source working fix to apply?::
    pjrc.com/threads/45377-TimeTeensy3-example-gt-Time-chosen-is-not-permanent

    <edit> Also noted there (or related post) that Teensy.exe loader time set on T_4.x is "Off by one hour" for Windows users.
    Last edited by defragster; 04-30-2020 at 01:08 AM. Reason: Loader time off an hour on WINDOWS

  25. #25
    Senior Member
    Join Date
    Oct 2015
    Location
    Roma (IT, EU)
    Posts
    336
    Installed 1.52beta3 with Arduino IDE 1.8.12, on Windows 10 Pro 64 bit.

    I'm having a problem building a low power test based upon Duff's Snooze library: the library included with TD 1.52b3 can not find "SnoozeTimer.h"

    Target was Teensy 4.0.

    Full build log:

    Code:
    D:\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\Arduino\hardware -hardware C:\Users\Fernando\AppData\Local\Arduino15\packages -hardware L:\Progetti\Arduino\hardware -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -tools C:\Users\Fernando\AppData\Local\Arduino15\packages -built-in-libraries D:\Arduino\libraries -libraries L:\Progetti\Arduino\libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=600,opt=o3std,keys=en-us -ide-version=10812 -build-path c:\temp\arduino_build_306898 -warnings=none -build-cache c:\temp\arduino_cache_376848 -verbose L:\Progetti\Arduino\TeensyLowPowerTestOK\TeensyLowPowerTestOK.ino
    D:\Arduino\arduino-builder -compile -logger=machine -hardware D:\Arduino\hardware -hardware C:\Users\Fernando\AppData\Local\Arduino15\packages -hardware L:\Progetti\Arduino\hardware -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -tools C:\Users\Fernando\AppData\Local\Arduino15\packages -built-in-libraries D:\Arduino\libraries -libraries L:\Progetti\Arduino\libraries -fqbn=teensy:avr:teensy40:usb=serial,speed=600,opt=o3std,keys=en-us -ide-version=10812 -build-path c:\temp\arduino_build_306898 -warnings=none -build-cache c:\temp\arduino_cache_376848 -verbose L:\Progetti\Arduino\TeensyLowPowerTestOK\TeensyLowPowerTestOK.ino
    Using board 'teensy40' from platform in folder: D:\Arduino\hardware\teensy\avr
    Using core 'teensy4' from platform in folder: D:\Arduino\hardware\teensy\avr
    Detecting libraries used...
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "c:\\temp\\arduino_build_306898\\sketch\\TeensyLowPowerTestOK.ino.cpp" -o nul
    Alternatives for Snooze.h: [Snooze_OLD@6.3.4 Snooze@6.3.4]
    ResolveLibrary(Snooze.h)
      -> candidates: [Snooze_OLD@6.3.4 Snooze@6.3.4]
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "c:\\temp\\arduino_build_306898\\sketch\\TeensyLowPowerTestOK.ino.cpp" -o nul
    Alternatives for TimeLib.h: [Time@1.6]
    ResolveLibrary(TimeLib.h)
      -> candidates: [Time@1.6]
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "c:\\temp\\arduino_build_306898\\sketch\\TeensyLowPowerTestOK.ino.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\Snooze.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\SnoozeBlock.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeAlarm.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeAudio.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeCompare.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeDigital.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeSPI.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeTimer.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeTouch.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\SnoozeUSBSerial.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\Snoozelc5vBuffer.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_32\\hal.c" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeAlarm.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeAudio.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeCompare.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeDigital.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeSPI.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeTimer.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeTouch.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\SnoozeUSBSerial.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\Snoozelc5vBuffer.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_35\\hal.c" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeAlarm.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeAudio.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeCompare.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeDigital.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeSPI.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeTimer.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeTouch.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\SnoozeUSBSerial.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\Snoozelc5vBuffer.cpp" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_36\\hal.c" -o nul
    "D:\\Arduino\\hardware\\teensy/../tools/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=152 -DARDUINO=10812 -DARDUINO_TEENSY40 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-ID:\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src" "-ID:\\Arduino\\hardware\\teensy\\avr\\libraries\\Time" "D:\\Arduino\\hardware\\teensy\\avr\\libraries\\Snooze\\src\\hal\\TEENSY_40\\hal.c" -o nul
    Alternatives for SnoozeTimer.h: []
    In file included from D:\Arduino\hardware\teensy\avr\libraries\Snooze\src\hal\TEENSY_40\hal.c:5:0:
    ResolveLibrary(SnoozeTimer.h)
    
      -> candidates: []
    D:\Arduino\hardware\teensy\avr\libraries\Snooze\src\hal\TEENSY_40\hal.h:41:25: fatal error: SnoozeTimer.h: No such file or directory
    
    Multiple libraries were found for "Snooze.h"
    compilation terminated.
    
     Used: D:\Arduino\hardware\teensy\avr\libraries\Snooze
     Not used: L:\Progetti\Arduino\libraries\Snooze_OLD
    Using library Snooze at version 6.3.4 in folder: D:\Arduino\hardware\teensy\avr\libraries\Snooze 
    Using library Time at version 1.6 in folder: D:\Arduino\hardware\teensy\avr\libraries\Time 
    
    Error compiling for board Teensy 4.0.

    The relevant part (includes and defines):

    Code:
    #include <Snooze.h>
    #include <TimeLib.h>
    
    volatile unsigned long int	g_elapsedMilliseconds;
    volatile elapsedMillis g_millis;
    volatile unsigned long int g_pulseCount1 = 0;
    volatile unsigned long int g_pulseCount2 = 0;
    
    // Snooze:
    // Load drivers
    // SnoozeTouch g_snoozeModule_touch;
    SnoozeDigital g_snoozeModule_digitalPinInterrupt;
    SnoozeTimer g_snoozeModule_timer;
    // Install drivers to a Snooze Config Block
    SnoozeBlock g_snoozeConfig(g_snoozeModule_timer, g_snoozeModule_digitalPinInterrupt);
    Please let me know if I can be of further help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •