When comparing NanoPi M4 vs esp32, the Slant community recommends esp32 for most people. In the question“What are the best single-board computers?” esp32 is ranked 45th while NanoPi M4 is ranked 54th. The most important reason people chose esp32 is:
Many different variants are available depending how good you are at soldering or how small it needs to be.
Ranked in these QuestionsQuestion Ranking
Pros
Pro 6 core HexaCore, compact nvme extender, 4GB RAM
Pro Open Source
Works with mainline Linux kernel and open source Mesa Panfrost drivers.
Pro Many ports
4 x USB3
2 x USB2 available via pins
PCI-E available via pins
Pro Fast
Rockchip 3399 with two fast A72 cores. Good heatsink limites throttling.
Pro Many variants available
Many different variants are available depending how good you are at soldering or how small it needs to be.
Pro Very small
Can fit inside small devices.
Pro Very cheap
Without case can be below $5.
Pro Has ultra-low power mode
Pro Has bluetooth and wifi modules
Cons
Con Bleeding edge...
To have mainline kernel requires a bit of tinkering (e.g. installing Armbian). Panfrost drivers for 3d acceleration are not mature and crash sometimes...
Con Some variants require soldering
Not all variants include easily plugable pins. Usually only the more expensive variants include these.
