Skip to content

Development Environment Setup

Tarek Al Ayoubi edited this page Nov 19, 2021 · 9 revisions
  • Install Git Bash and make sure to enable symbolic link support during installation.
    • NOTE: If you have already installed Git Bash without enabling symbolic links, you will need to reinstall it
  • Install SmartGit and after installation enable run as administrator which can be accessed as follows (if you already comfortable with another Git interface then this step is optional, but SmartGit is highly recommended)
    • right click on SmartGit shortcut
    • click on properties
    • click on advanced
    • enable run as administrator
  • Open SmartGit and clone this repo
  • Make sure that you see some files as symlinks in Windows Explorer.
  • Install VScode.
  • Install PlatformIO and Workbench IDE extentions.
  • Open VScode in ESP32 folder and disable Workbench IDE for this for this workspace only.
    • If you're unfamiliar with how to install extensions on VSCode, see code.visualstudio.com/docs/editor/extension-gallery
    • To disable the extension, go to 'Extensions' (blocks icon on the left bar), gear icon on the Workbench IDE extension, and select 'Disable (Workspace)'
  • Open VScode in Particle folder and disable PlatformIO for this workspace only.
    • To open the Particle folder in VSCode, navigate to the folder in your file explorer, right click, and select "Open with Code"
  • Check that you can build successfully for Particle and ESP32.
    • For ESP32:
    1. Connect the ESP32 to your computer with a micro USB cable (make sure the cable supports data, not just power!)
    2. Open the ESP32 folder in VSCode (make sure Workbench IDE is disabled)
    3. Click on main.cpp in the file explorer
    4. Click build (the white checkmark in the blue bar at the bottom)
    5. If it builds correctly, click upload (the right-pointing arrow next to the build button)
    • For Particle, see 'Building for Particle Photon' in the RadioHead docs
  • You are all set!

ESP32 Drivers

silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

Clone this wiki locally