My First Dance with ESP32, IDF, and FreeRTOS: From Blinking Lights to Talking Tasks
For a while now, I've been happily living in the Arduino world. setup() , loop() , a few libraries, and you've got a working project. It's fantastic for getting ideas off the ground quickly. But I kept hearing whispers of something more powerful, more professional: the ESP-IDF (Espressif IoT Development Framework) and its built-in operating system, FreeRTOS . The promise was tantalizing: true multitasking, better control over the hardware, and the ability to build really complex, robust applications. So, I decided to take the plunge. Here's a raw look at my first few steps into this new and slightly intimidating world. With FreeRTOS, the fundamental concept changes. You don't just have one big loop() . Instead, you have Tasks —independent, concurrent functions that the OS schedules to run. It's like having multiple loop() functions running at the same time. My goal was simple: create one task dedicated solely to blinking an LED. Here’s what my first piece of r...