duff2013 / Snooze

Teensy Low Power Library
MIT License
132 stars 37 forks source link

Examples build #107

Closed KurtE closed 2 months ago

KurtE commented 2 years ago

@duff2013 @PaulStoffregen (@mjs513)

As per Paul's list of examples that are not building using the current Teensyduino releases or soon to be released new version, that I would try to resolve a few of the examples that were not building.

Not building with current version of imxrt.h on T4.x platform: problem is that the file defined some simple defines for the imxrt registers associated with gpio, like DR.

But the imxrt now uses a structure to define each of the gpio ports: IMXRT_GPIO_t

Better fix would be to use this structure instead of the defines and offsetting, but as I don't own this library, just doing minimal to make build

Updates due to new version of SD library: New version does not support: root.openRoot(volume); Changed to: root.open("/");

KurtE commented 2 months ago

Closing out detritus