Issues using ESP* boards on MacOS Mojave.
Note: This post is only applicable to those who have recently upgraded to Mojave AND had previously installed the drivers for the CH3**G USB/serial chips.
If you have not updated to Mojave and want to know how to get these great microcontrollers working on your machine take a look at my other article detailing the process.
The USB chips that come on most of the ESP8266 and ESP32 boards we not natively supported previously. This all changed with MacOS Mojave. The drivers were included as standard. This is great for new tinkerers as you don't need to faff around with installing the 3rd part drivers.
But if you are like me and have been a long time user of these microcontrollers you may have updated and found that the boards no longer work. The fix is simple and will get you back up and running in no time. Open a new terminal and type the following:
Please make sure that you are in the correct directory and that you type the command exactly. Using
rm -rf can be really dangerous if you make a mistake.
sudo su <enter> (enter your password)
rm -rf /Library/Extensions/usbserial.kext
This removes the previously installed drivers. Reboot your machine and you will be back in business.