Recent releases may work better with some newer MacOS releases according to their commit logs. Ensure esptool detects the flash size and doesn't use the one hardcoded in the bootloader. Thanks to @d-a-v for noticing the esptool change.