Status printout in Shell from Pico W:
Code: Select all
]0;🐍REPL | 8.0.0-beta.3 \
Adafruit CircuitPython 8.0.0-beta.3 on 2022-10-20; Raspberry Pi Pico W with rp2040
- Fresh install of CircuitPython
- Created Azure Application, created & connected device, obtained credentials
- Created .env file w/ Azure credentials (id_scope, device_id and device_primary_key)
- Downloaded & installed the Project Bundle from Pico W with Azure IoT
- Ran the "Pico W Basic WiFi Test" ==> PASSED
- Ran the "Pico W Requests Test (Adafruit Quotes)" ==> PASSED
- Ran the "Azure IoT Central Test" ==> FAILED
Code: Select all
>>> %Run -c $EDITOR_CONTENT
Connecting to WiFi...
Connected to WiFi!
Year seems good, skipping set time.
Connecting to Azure IoT Central...
Traceback (most recent call last):
File "<stdin>", line 47, in <module>
File "adafruit_azureiot/iotcentral_device.py", line 159, in connect
File "adafruit_azureiot/device_registration.py", line 204, in register_device
File "adafruit_azureiot/device_registration.py", line 141, in _start_registration
File "adafruit_minimqtt/adafruit_minimqtt.py", line 874, in loop
MemoryError: memory allocation failed, allocating 65536 bytes
>>>
System Info
IDE:
- Thonny 4.0.1
- Darwin 21.6.0
- Python 3.10.6
- Tk 8.6.12
- MacBook Pro (14-inch, 2021) M1 Pro 16GB
- macOS Monterey 12.6
- Raspberry Pi Pico W RP2040 x 2