Similarly to the ESP8266, although these look like a great family of microcontrollers for an IoT application, I think the better decision would be to take the opportunity to dive deeper into an ARM-architecture STM32, perhaps exploring the CMSIS layer/APIs.