Sujet : Re: Pi Pico and Zephyr RTOS
De : wwm (at) *nospam* wwmartin.net (wmartin)
Groupes : comp.sys.raspberry-piDate : 25. Dec 2024, 01:30:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vkfjpv$237di$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 12/24/24 12:47, mm0fmf wrote:
Has anyone used the Zephyr RTOS on a Pi Pico or any other smallish system?
I'm writing something relatively simple for a Pico in C using the SDK. It doesn't need an RTOS, the old classic cyclic executive paradigm will work fine.
At one time I'd have used an 8bit CPU but why faff about when you can get something like a Pico for hardly any cost even if 2x Cortex M0+ seems overkill.
Well, you can have two threads, kinda, with the Pico without an RTOS...just split your work between the two cores. I just did a simple project using one core to do a com link to a pc for command/response, and the other core to do a real-time hardware controller chore. Made it painless...