Fixes github issues #1012 and #1013 https://github.com/espressif/esp-idf/issues/1012 https://github.com/espressif/esp-idf/issues/1013
Will now automatically initialise as part of "make".