Design a schematic that integrates the BQ24074 battery charger IC with an ESP32-WROOM-32 module and a USB Type-C connector. The system should support charging a single-cell 3.7V Li-Po battery, powering the ESP32 from either USB or battery (with automatic switching), and programming the ESP32 via the same USB Type-C port. Use an appropriate 3.3V LDO regulator between the BQ24074 and ESP32. Ensure the design supports both battery charging and ESP32 programming over USB.