Where do I find firmware.bin on mac Big Sur?

The build files are in a hidden folder in your project folder called “.pio”.

You can get to it using the Finder with the Go To Folder and enter something like:

~/Documents/PROJECTS/projectname/.pio

In there you should see a build folder and inside that, folders for each of your targets.