INTL 3:770/1 3:770/3
REPLYADDR none@invalid.com
REPLYTO 3:770/3.0 UUCP
MSGID: 167541dd
REPLY: 7b5adca1
PID: SoupGate-Win32 v1.05
On 25/12/2024 00:30, wmartin wrote:
> 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...
That was my plan. The project has to do simple things like scan a 4x4
keyboard, light assorted LEDs and send strings over the UART at 38k4 to
control something. I'd already decided that I would run all the UART
send/receive on one core and run the control on the other core. That way
the control core remains non-blocking and the UART core can block if needed.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
SEEN-BY: 10/0 1 19/10 103/705 105/81 106/201 124/5016 128/187 129/305
SEEN-BY: 153/757 7715 218/0 1 601 700 840 220/70 221/1 6 360 226/17
SEEN-BY: 226/30 100 227/114 229/110 111 114 200 206 300 317 400 426
SEEN-BY: 229/428 470 550 616 664 700 705 240/1120 266/512 267/800
SEEN-BY: 282/1038 291/111 292/854 301/1 113 812 310/31 320/219 322/757
SEEN-BY: 335/364 341/66 342/200 396/45 460/58 633/280 712/848 770/1
SEEN-BY: 770/3 100 330 340 772/210 220 230 902/26 2320/105 5020/400
SEEN-BY: 5020/1042 5075/35
PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426
|