On Sat, 30 May 2020, Michael Schmitz wrote:
Hi Geert, the __w is used as a dummy read variable to execute a read cycle where the address encodes the value to be written to the peripheral on the ROM port. The value of this dummy variable is of no consequence (and may very well be undefined). How do I annotate this so the compiler will shut up about it?
I think you want 'u16 __maybe_unused __w'.