pub fn core_count() -> u32 {
        if Self::read_bit(DISABLE_APP_CPU) {
            1
        } else {
            2
        }
    }
Returns the number of CPUs available on the chip.

While ESP32 chips usually come with two mostly equivalent CPUs (protocol
CPU and application CPU), the application CPU is unavailable on
some.
esp-hal/src/soc/esp32/efuse/mod.rs