Pico Multicore Example - Blue Leader Only #115
Replies: 3 comments 10 replies
-
You need the GIT version, not the release one, to get the multicore setup1()/loop1() to work. Maybe you're running the packaged version? I'll put a new package release once I finalize the multicore flash write protection, but it may be a little bit for that. Also, just to be clear, you need to be running this version, not the one from Arduino.cc (it has "MBED" in the name IIRC). They do things differently and I think they didn't yet add support for everything in the RP2040. |
Beta Was this translation helpful? Give feedback.
-
FWIW, I've now got Release 1.2.2 installed through the Arduino IDE boards manager (after dealing with problems caused by MalwareBytes), and ran this example on my Raspberry Pi Pico. Here's the output I get: C0: Blue leader standing by... |
Beta Was this translation helpful? Give feedback.
-
Here's an adaptation of that to make a multicore Blink, to generate a pseudo random pattern which won't repeat for quite a while. This might help eliminate the Serial interface as a problem - it only uses the built in LED:
|
Beta Was this translation helpful? Give feedback.
-
The multicore example under "arduino-pico/libraries/rp2040/examples/Multicore/" should output Red Leader and Blue Leader messages. I get Blue Leader only. This is similar to the problem with my own code where only one core seems to be assigned, so I was hoping that the example would give me a clue to where I am going wrong.
Beta Was this translation helpful? Give feedback.
All reactions