Part 5: The uFerris BSP (Bonus)
~20-30 min (if time permits)
You've now worked at the HAL level (GPIO, I2C with esp-hal) and used driver crates (I/O expander). There's one more layer in the stack: the Board Support Package.
A BSP allows us to skip the Configure step. The pattern becomes simply Instantiate → Control.
Same idea as HAL with PAC — BSP takes PAC singletons as input to create HAL instances and use them.
What You'll Do
- Redo earlier exercises using the BSP — repeat your GPIO and I2C exercises using the uFerris BSP instead of raw HAL calls
- Examine the adapter layer — look at how the ESP32-C3 adapter was created