Setup on WSL2

Due to the well known fact amongst my peers that I am a stupid buffoon, I opted to install the entire toolkit on WSL2. This is because I decided long ago that I was going to do all my development from there, so all the terminal tools and whatnot have already been installed.

Erm

If you’re wondering why I chose to do everything in WSL2, it’s because I don’t like windows shell stuff, and I can’t commit to full Linux distros because I play games that use anticheat. A tragic story as old as time.

Anyways, I followed this guide to set everything up. The only thing that pains me is having to enable systemd, which added about 5 seconds to my load times.

Of course it’ll be a pain to develop without any completions or formatting. Luckily ESP-IDF has it’s own clang-tidy, though it’s still under development. Here is another tutorial I used for that.

Tip

Probably don’t do what I did. Most people use VSCode, which has nice extensions that set up everything nice and automatically, without tears

With that out of the way we can start making things. How about a starting with reading from a sensor?