New partitions (#192)

* Add new partition scheme

* Init NVS early, so it can be used without BT or WiFi
This commit is contained in:
Me No Dev
2017-02-10 14:11:24 +02:00
committed by GitHub
parent 1f0df1ef97
commit fb8fe671d6
7 changed files with 13 additions and 12 deletions

View File

@ -28,7 +28,6 @@ void arduino_phy_init()
if(initialized){
return;
}
nvs_flash_init();
esp_phy_calibration_mode_t calibration_mode = PHY_RF_CAL_PARTIAL;
if (rtc_get_reset_reason(0) == DEEPSLEEP_RESET) {
calibration_mode = PHY_RF_CAL_NONE;
@ -106,6 +105,7 @@ void initWiFi() __attribute__((weak));
void initWiFi() {}
void initArduino(){
nvs_flash_init();
init();
initVariant();
initWiFi();