Merge branch 'feature/cmake' into 'master'

Merge experimental CMake support to master

See merge request idf/esp-idf!3024
This commit is contained in:
Angus Gratton
2018-09-07 13:44:17 +08:00
294 changed files with 14200 additions and 503 deletions

View File

@@ -292,8 +292,8 @@ static void emac_set_user_config_data(eth_config_t *config)
#if DMA_RX_BUF_NUM > 9
emac_config.emac_flow_ctrl_enable = config->flow_ctrl_enable;
#else
if (config->flow_ctrl_enable == true) {
ESP_LOGE(TAG, "eth flow ctrl init err!!! Please run make menuconfig and make sure DMA_RX_BUF_NUM > 9 .");
if(config->flow_ctrl_enable == true) {
ESP_LOGE(TAG, "Can only configure flow_ctrl_enable==true if DMA_RX_BUF_NUM in menuconfig is >9. Disabling flow control.");
}
emac_config.emac_flow_ctrl_enable = false;
#endif