ESP8266EX vs RP2040

The same measures, side by side. A dot marks the stronger figure where two numbers can be ranked.

Espressif SystemsESP8266EXA 32-bit processor and a complete 2.4 GHz Wi-Fi radio in a 5 mm package.Not recommended for new designs. Espressif suggests the ESP8684 instead.
Raspberry Pi LtdRP2040Raspberry Pi's first microcontroller. Two Cortex-M0+ cores, generous memory and programmable IO in a 7 mm package.
Core and memory
ArchitectureTensilica L106, 32-bitArm Cortex-M0+
Cores12 (stronger)
Max clock160 MHz (stronger)133 MHz
RAMUnder 50 kB264 kB (stronger)
On-chip flashNoneNone
External flashUp to 16 MB, SPIUp to 16 MB, QSPI
Connectivity
WirelessWi-Fi 802.11 b/g/nNone
USBNone1.1 host or device
Inputs and outputs
GPIO pins1730 (stronger)
ADC1 input, 10-bit4 inputs, 12-bit
UART2 (one transmit-only)2
SPI2 (one shares the flash pins)2
I2C1, in software2
PWM4 outputs16 channels (stronger)
Programmable IONone8 state machines
Power
Supply2.5–3.6 V1.8–3.3 V
Deepest sleep20 µA (stronger)0.18 mA typical
Temperature−40 to +125 °C−40 to +85 °C
Package
PackageQFN-32QFN-56
Body5 × 5 mm7 × 7 mm
Space on the board5 × 5 mm7 × 7 mm
Pin pitch0.5 mm0.4 mm
Released20142021

Swap sides