Skip to main content



      Home
Home » Eclipse Projects » Paho » Receiving Memory Allocation Error in Import(Running Micropython on Raspberry PI PICO W)
Receiving Memory Allocation Error in Import [message #1858526] Wed, 05 April 2023 19:25 Go to next message
Eclipse UserFriend
I used the Thonny Package Installer to install PAHO MQTT. On a RPI P400 it runs fine. I get a memory allocation error on the PICO W. If I comment out the IMPORT, the program runs till it gets to an error calling MQTT.

Is the PAHO MQTT too large to run on PICO W?
Re: Receiving Memory Allocation Error in Import [message #1858833 is a reply to message #1858526] Tue, 25 April 2023 11:17 Go to previous message
Eclipse UserFriend
Yes, for a Pico W you're running MicroPython, which is not able to run Paho. You should look at a MicroPython MQTT library instead. There are some really good options listed via awesome-micropython. I regularly use micropython-mqtt
Previous Topic:Paho MQTT C++ support for http proxy
Next Topic:attribute _on_pre_connect error
Goto Forum:
  


Current Time: Thu Jun 19 13:03:04 EDT 2025

Powered by FUDForum. Page generated in 0.04365 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top