Hi all,
I'm trying to run the Snooze Library from @duff on a Teensy 3.6
Everything works fine until I lower the CPU Speed under 24MHz.
For my project I don't need the USB connection anyway.
When compiling at 16MHz or lower I get the following errors
Is there a workaround or am I missing something? From other posts it seems like the lower CPU speeds are not supported for Teensy 3.6 but work for Teensy 3.2?
Is there a possibility I can fix that myself as I'm a bit in a hurry cause the project belongs to my master thesis.
best regards
RASTA
I'm trying to run the Snooze Library from @duff on a Teensy 3.6
Everything works fine until I lower the CPU Speed under 24MHz.
For my project I don't need the USB connection anyway.
When compiling at 16MHz or lower I get the following errors
Code:
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Snooze\src/hal/TEENSY_36/hal.h:47:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Snooze\src/Snooze.h:43,
from C:\Users\Louis\Documents\Uni\MASTER\SENSOR\Programming\Master_sketch_v3\Master_sketch_v3.ino:61:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Snooze\src/hal/TEENSY_36/SnoozeUSBSerial.h: In member function 'SnoozeUSBSerial::operator bool()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Snooze\src/hal/TEENSY_36/SnoozeUSBSerial.h:59:16: error: 'usb_configuration' was not declared in this scope
return usb_configuration && ( usb_cdc_line_rtsdtr & USB_SERIAL_DTR ) && ( ( uint32_t )( systick_millis_count - usb_cdc_line_rtsdtr_millis ) >= 15 );
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Snooze\src/hal/TEENSY_36/SnoozeUSBSerial.h:59:39: error: 'usb_cdc_line_rtsdtr' was not declared in this scope
return usb_configuration && ( usb_cdc_line_rtsdtr & USB_SERIAL_DTR ) && ( ( uint32_t )( systick_millis_count - usb_cdc_line_rtsdtr_millis ) >= 15 );
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Snooze\src/hal/TEENSY_36/SnoozeUSBSerial.h:59:61: error: 'USB_SERIAL_DTR' was not declared in this scope
return usb_configuration && ( usb_cdc_line_rtsdtr & USB_SERIAL_DTR ) && ( ( uint32_t )( systick_millis_count - usb_cdc_line_rtsdtr_millis ) >= 15 );
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Snooze\src/hal/TEENSY_36/SnoozeUSBSerial.h:59:120: error: 'usb_cdc_line_rtsdtr_millis' was not declared in this scope
return usb_configuration && ( usb_cdc_line_rtsdtr & USB_SERIAL_DTR ) && ( ( uint32_t )( systick_millis_count - usb_cdc_line_rtsdtr_millis ) >= 15 );
Is there a workaround or am I missing something? From other posts it seems like the lower CPU speeds are not supported for Teensy 3.6 but work for Teensy 3.2?
Is there a possibility I can fix that myself as I'm a bit in a hurry cause the project belongs to my master thesis.
best regards
RASTA