I would like limited multicore access to the second core from circuitpython on the RP2040. It’s okay if that access is just to C/C++ code running on the second core with Circuitpython running on the first core. I’d like some means to pass variables back and forth. Could be a mailbox, queue, shared memory, or whatever is currently supported by the RP2040’s C API. The communication does not need to be real-time, 1ms would be fast enough for me, though real-time locks as supported by Micropython would be great. #CircuitPython2022
I think it would be a good idea to generalize the event system used by the keypad library so it and other core modules would be able to deliver events in a common queue. Events would be objects of a specific class for the event type deriving from an Event base class in the same way that specific exceptions derive from Exception.
#CircuitPython2022 is our annual reflection on the state of CircuitPython. We’d love to hear from you too! See the kick-off post for all of the details. Here are the previous posts:
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !
No comments yet.
Leave a comment
Adafruit has a "be excellent to each other" comment policy. Help us keep the community here positive and helpful. Stick to the topic, be respectful of makers of all ages and skill levels. Be kind, and don't spam - Thank you!