summaryrefslogtreecommitdiff
path: root/tests/basics/string_mult.py
diff options
context:
space:
mode:
authorOndrej Wisniewski <ondrej.wisniewski@dekitalia.com>2023-05-05 13:08:55 +0200
committerDamien George <damien@micropython.org>2023-05-18 13:06:06 +1000
commit29401a719fa944ae639734c69e95795023704adb (patch)
tree269d1110cb72292d0c03dbf6b82a14506a1d30d9 /tests/basics/string_mult.py
parent4ce360fa831a35d7bc0e194f11d74632a0fba60b (diff)
rp2/mphalport: Only use CYW43 MAC for WLAN0 interface.
Building the Pico-W needs the MICROPY_PY_NETWORK_CYW43 flag to be set in order to include building the CYW43 Wifi driver. But then mp_hal_get_mac() handles the MAC assignment for all nics the "CYW43 way", copying the real MAC provided by the WiFi hardware. This will fail for all other NIC types, resulting in an invalid MAC address. The solution in this commit is to add a check for the NIC type parameter idx and handle the MAC address respectively.
Diffstat (limited to 'tests/basics/string_mult.py')
0 files changed, 0 insertions, 0 deletions