Skip to content

Commit

Permalink
ESP8266: Update to the latest non-OS SDK
Browse files Browse the repository at this point in the history
Remove the esf-buf monitor workaround, this bug has been fixed in the SDK.
  • Loading branch information
rojer committed Jul 26, 2021
1 parent ee752be commit fcc40e5
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 145 deletions.
3 changes: 1 addition & 2 deletions platforms/esp8266/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ MGOS_SRCS += cs_file.c cs_hex.c cs_rbuf.c \
MGOS_SRCS += esp_config.c \
esp_coredump.c \
esp_debug.c \
esp_esf_buf_monitor.c \
esp_exc.c \
esp_flash_writer.c \
esp_gpio.c \
Expand Down Expand Up @@ -209,7 +208,7 @@ BOOT_LOADER_BIN = $(RBOOT_BUILD_DIR)/rboot.bin
APP_BIN = $(BUILD_DIR)/$(APP).bin
APP_ELF = $(BUILD_DIR)/$(APP).elf
LD_SCRIPT = $(GEN_DIR)/$(APP0_ADDR).ld
LD_WRAPPERS = esf_buf_alloc esf_buf_recycle lmacProcessTXStartData
LD_WRAPPERS =
HEAP_LOG_FLAGS =

ifneq "${MGOS_ENABLE_HEAP_LOG}${MGOS_ENABLE_CALL_TRACE}" "00"
Expand Down
2 changes: 1 addition & 1 deletion platforms/esp8266/sdk.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker.io/mgos/esp8266-build:3.0.4_158bb7a5-r1
docker.io/mgos/esp8266-build:3.0.5_b57142b8-r1
104 changes: 0 additions & 104 deletions platforms/esp8266/src/esp_esf_buf_monitor.c

This file was deleted.

33 changes: 0 additions & 33 deletions platforms/esp8266/src/esp_esf_buf_monitor.h

This file was deleted.

5 changes: 0 additions & 5 deletions platforms/esp8266/src/esp_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include "esp_adc.h"
#endif
#include "esp_coredump.h"
#include "esp_esf_buf_monitor.h"
#include "esp_exc.h"
#include "esp_features.h"
#include "esp_fs.h"
Expand Down Expand Up @@ -174,10 +173,6 @@ enum mgos_init_result esp_mgos_init2(void) {
return ir;
}

#if ESP_ESF_BUF_MONITOR_INTERVAL_MS > 0
esp_esf_buf_monitor_init();
#endif

return MGOS_INIT_OK;
}

Expand Down

0 comments on commit fcc40e5

Please sign in to comment.