WiFi: Add support for ESP32S2

1) Update WiFi and PHY libs for ESP32S2.
2) Remove KConfig options ESP32S2 PHY lib selection.
3) Change target macros from ESP32S2BETA to ESP32S2
This commit is contained in:
Sagar Bijwe
2020-02-05 18:34:05 +05:30
parent f515db1a3e
commit 4f93a707f8
7 changed files with 16 additions and 38 deletions

View File

@@ -765,3 +765,8 @@ void esp_phy_load_cal_and_init(phy_rf_module_t module)
free(cal_data); // PHY maintains a copy of calibration data, so we can free this
}
#if CONFIG_IDF_TARGET_ESP32S2
/* Just a stub to avoid SSC build failure. Need to update phylib */
void set_cca(bool en ,uint8_t cca_thr) {}
#endif