This changes read/write accesses to the GPIO registers to be 8 bits wide instead of 32 bits wide.
This is more correct, since the actual register widths are 8 bits. While real hardware doesn't seem to mind 32 bit read/writes anyway, the wider accesses causes an assert on the Clicky emulator.
This PR also moves many of the GPIO memory address magic numbers into constants within ipodhw.h. It also includes some cleanup of the RTC definition.
This changes read/write accesses to the GPIO registers to be 8 bits wide instead of 32 bits wide.
This is more correct, since the actual register widths are 8 bits. While real hardware doesn't seem to mind 32 bit read/writes anyway, the wider accesses causes an assert on the Clicky emulator.
This PR also moves many of the GPIO memory address magic numbers into constants within ipodhw.h. It also includes some cleanup of the RTC definition.
Should fix https://github.com/crozone/ipodloader2/issues/8