Open fbarbero opened 3 years ago
I thought I could do similar workaround as with Teensy LC issue. I tried commenting out the SnoozeUSBSerial.h in hal.h and additionally replaced the MR and IMR defines to
const int DR = 0;
const int IMR = 5;
Compiled SUCCESS! ------BUT, when ran, my board became unresponsive (hang).
+1. It appears to be a naming conflict with defines in the teensy library? Changing the defines to non-conflicting names or switching back to teensy release 4.12.0 or ealier resolves the compile issue.
However, I'm on a Teensy 4.1, and my board hangs too after fixing the issue. Limited probing on the sleep_usb_serial
example makes it seem like the USB connection is never established, and if I skip the usb connection establishment, the board hangs somewhere in timer startup. But I don't know the library super very well and, since I'm not sure if t4.1 is even expected to work anyway, will hold off on probing farther!
Just ran into this, without HID. These defines are suboptimal.
Using Arduino 1.8.16 with Snooze v6.3.9. Here's my config:
I just need SnoozeDigital and really don't need USBSerial sleep functionality. It would be nice to have #defines to not include other drivers. Thanks!
Here's my simple code to test
Here's the compiler error