rp2040: the second core (setup1()/loop1()), the inter-core FIFO and chip information. More...
#include <stddef.h>#include <stdint.h>#include "pico/util/queue.h"Go to the source code of this file.
Classes | |
| class | RP2040FifoClass |
| Passes 32-bit values between the two cores: rp2040.fifo. More... | |
| class | RP2040Class |
| The second core and the chip: rp2040. More... | |
Functions | |
| void | setup1 (void) __attribute__((weak)) |
| Written by the sketch (optional): runs once on core 1, at the same time as setup() on core 0. | |
| void | loop1 (void) __attribute__((weak)) |
| Written by the sketch (optional): runs over and over on core 1 after setup1(). | |
Variables | |
| RP2040Class | rp2040 |
rp2040: the second core (setup1()/loop1()), the inter-core FIFO and chip information.
Same names as the arduino-pico core (Earle Philhower), so multicore sketches written for it also build here. Included by Arduino.h.
A sketch uses the second core by defining setup1() and loop1(); they run on core 1 at the same time as setup() and loop() on core 0. With Tools > Operating System > FreeRTOS they run as FreeRTOS tasks instead (setup()/loop() pinned to core 0, setup1()/loop1() to core 1). Design: docs/decisions/009-multicore-freertos.html