Adds a menu item to enable onboard profiling. This requires significant RAM and really only makes sense on devices with PSRAM to store the state. When the menu item is selected, allocates RAM and tracks function calls and periodically samples the PC to generate a histogram of application usage. The onboard gmon.out file can be written over Semihosting or some other way to transfer to a PC for analysis. Adds a profiling example with command lines.
79 lines
2 KiB
ReStructuredText
79 lines
2 KiB
ReStructuredText
Arduino-Pico
|
|
============
|
|
|
|
This is the documentation for the Raspberry Pi Pico Arduino core,
|
|
Arduino-Pico. Arduino-Pico is a community port of Arduino to the
|
|
RP2040 (Raspberry Pi Pico processor) and RP2350 (Raspberry Pi Pico 2
|
|
processor), intended to make it easier and more fun to use and
|
|
program the Raspberry Pi Pico / RP2040 / RP2350 based boards.
|
|
|
|
This Arduino core uses a custom toolset with GCC 14.2 and Newlib 4.3
|
|
and doesn't require any system-installed prerequisites.
|
|
|
|
For the latest version, always check https://github.com/earlephilhower/arduino-pico
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
:caption: Contents:
|
|
|
|
Getting Help <help>
|
|
Contributing <contrib>
|
|
|
|
Installation <install>
|
|
IDE Menus <ide>
|
|
|
|
Platform.IO Integration <platformio>
|
|
|
|
Pin (Re)Assignment <pins>
|
|
|
|
RP2040/RP2350 Helper <rp2040>
|
|
|
|
Analog I/O <analog>
|
|
Digital I/O <digital>
|
|
BOOTSEL Button <bootsel>
|
|
EEPROM <eeprom>
|
|
I2S Audio <i2s>
|
|
PWM Audio <pwm>
|
|
Microphone (and Analog Sensor) Input <adc>
|
|
Serial USB and UARTs <serial>
|
|
"Software Serial" PIO UART <piouart>
|
|
Servo <servo>
|
|
SPI <spi>
|
|
Wire(I2C) <wire>
|
|
File Systems (SD, SDFS, LittleFS) <fs>
|
|
USB (Arduino and Adafruit_TinyUSB) <usb>
|
|
Multicore Processing <multicore>
|
|
Semihosting <semihosting>
|
|
Profiling (GPROF) <profiling>
|
|
|
|
RP2350 Specific Notes <rp2350>
|
|
RP2350 PSRAM <psram>
|
|
|
|
Bluetooth <bluetooth>
|
|
Bluetooth HID Master <hidmaster>
|
|
Bluetooth Audio (A2DP) <a2dp>
|
|
|
|
Single File USB Drive <singlefile>
|
|
FatFSUSB - full FS access over USB <fatfsusb>
|
|
|
|
FreeRTOS SMP (multicore) <freertos>
|
|
|
|
WiFi (Pico-W Support) <wifi>
|
|
Ethernet (Wired) <ethernet>
|
|
WiFiClient <wificlient>
|
|
WiFiServer <wifiserver>
|
|
WiFiUDP <wifiudp>
|
|
NTP client <wifintp>
|
|
BearSSL Encrypted TLS <bearssl>
|
|
WiFiClientSecure (TLS/SSL/HTTPS) <bearssl-client-secure-class>
|
|
WiFiServerSecure (TLS/SSL/HTTPS) <bearssl-server-secure-class>
|
|
|
|
HTTP/HTTPS Client <httpclient>
|
|
|
|
Over-the-Air (OTA) Updates <ota>
|
|
|
|
Ported/Optimized Libraries <libraries>
|
|
Using Pico-SDK <sdk>
|
|
|
|
|
|
Licenses <license>
|