CONFIG_USERSPACE on its own will not do much.
From: users@... [mailto:users@...] On Behalf Of Prabhu Vinod, Karthik
Sent: Tuesday, February 12, 2019 10:21 AM
To: Boie, Andrew P <andrew.p.boie@...>; users@...
Subject: Re: [Zephyr-users] #mqtt_sock #user_mode_thread
I tried only with that config option…did not launch a thread with K_USER perms. Maybe I will try that.
Karthik Prabhu Vinod
Help save the planet by choosing not to use single use plastics. Pick paper, bamboo or metal cutlery and carry your own bag to the grocery store. Every little thing you do makes an impact.
From: "Boie, Andrew P" <andrew.p.boie@...>
I'm not sure if anyone before you has tried this. We do have system calls for the socket APIs.
Ø I tested out with CONFIG_USERSPACE=y
Did you do only this, or did you make API calls from a thread created with K_USER?
Can the current mqtt_sock implementation run in user mode thread? Are there obvious limitations that prevent it from running it in user mode?