Skip to content

Commit

Permalink
ESP32: Update to ESP-IDF 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rojer committed Dec 27, 2020
1 parent 46e32f7 commit 2e64f42
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 105 deletions.
1 change: 1 addition & 0 deletions include/esp32/esp32_wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define CS_MOS_LIBS_WIFI_ESP32_SRC_ESP32_WIFI_H_

#include "esp_event.h"
#include "esp_wifi_types.h"

#ifdef __cplusplus
extern "C" {
Expand Down
18 changes: 18 additions & 0 deletions mos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,24 @@ conds:
- ["wifi.sta.listen_interval_ms", "i", 0, {title: "DTIM Listen Interval (ms)"}]
cdefs:
MGOS_WIFI_ENABLE_AP_STA: 1
build_vars:
ESP_IDF_EXTRA_COMPONENTS: >
${build_vars.ESP_IDF_EXTRA_COMPONENTS}
esp_wifi wpa_supplicant
ESP_IDF_SDKCONFIG_OPTS: >
${build_vars.ESP_IDF_SDKCONFIG_OPTS}
CONFIG_WIFI_ENABLED=y
CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE=n
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=4
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=16
CONFIG_ESP32_WIFI_STATIC_TX_BUFFER=n
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=16
CONFIG_ESP32_WIFI_NVS_ENABLED=y
CONFIG_ESP32_WIFI_RX_BA_WIN=4
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION=n
- when: mos.platform == "rs14100"
apply:
Expand Down
Loading

0 comments on commit 2e64f42

Please sign in to comment.