rp2/machine_rtc: In RTC.datetime, compute weekday automatically.
rp2/machine_rtc: In RTC.datetime, compute weekday automatically.

Calculating the weekday each time you want to set a date is error prone and
tiresome.  MicroPython can do it on its own - hardware on some ports do not
support storing weekday in hardware and always computes it on the fly,
ignoring the value given to the constructor.

During discussion for #7432 the conclusion was that there seems to be no
obvious reason to let user set the weekday to an incorrect value so it
makes sense to just ignore the provided weekday value and always compute
the correct value.  This patch introduces this change for the rp2 port.

Signed-off-by: Krzysztof Adamski <13fbd79c3d390e5d6585a21e11ff5ec1970cff0c@japko.eu>

bvernoux/micropython,adafruit/circuitpython,adafruit/circuitpython,bvernoux/micropython,adafruit/circuitpython,bvernoux/micropython,bvernoux/micropython,adafruit/circuitpython,bvernoux/micropython,adafruit/circuitpython,adafruit/circuitpython