Remove deprecated features, update sdkconfig

This commit is contained in:
Ivan Grokhotkov
2016-11-25 11:48:21 +08:00
parent b18317a8a9
commit bd26045075
3 changed files with 53 additions and 13 deletions

View File

@@ -1,10 +1,8 @@
#
# Main Makefile. This is basically the same as a component makefile.
# Main component makefile.
#
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default,
# this will take the sources in the src/ directory, compile them and link them into
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
# This Makefile can be left empty. By default, it will take the sources in the
# src/ directory, compile them and link them into lib(subdirectory_name).a
# in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this.
#
include $(IDF_PATH)/make/component_common.mk

View File

@@ -14,7 +14,6 @@ esp_err_t event_handler(void *ctx, system_event_t *event)
void app_main(void)
{
nvs_flash_init();
system_init();
tcpip_adapter_init();
ESP_ERROR_CHECK( esp_event_loop_init(event_handler, NULL) );
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();