diff --git a/uCNC/src/hal/boards/esp8266/esp8266.ini b/uCNC/src/hal/boards/esp8266/esp8266.ini index 2deec9412..7f3af7bcf 100644 --- a/uCNC/src/hal/boards/esp8266/esp8266.ini +++ b/uCNC/src/hal/boards/esp8266/esp8266.ini @@ -12,3 +12,4 @@ board = d1 build_flags = -DBOARD=BOARD_WEMOS_D1 -DENABLE_WIFI upload_speed = 256000 board_build.f_cpu = 160000000L +board_build.ldscript=eagle.flash.2m512.ld diff --git a/uCNC/src/hal/mcus/esp8266/esp8266_arduino.cpp b/uCNC/src/hal/mcus/esp8266/esp8266_arduino.cpp index 2bdd63892..ea408c31e 100644 --- a/uCNC/src/hal/mcus/esp8266/esp8266_arduino.cpp +++ b/uCNC/src/hal/mcus/esp8266/esp8266_arduino.cpp @@ -362,7 +362,7 @@ extern "C" #ifndef CUSTOM_OTA_ENDPOINT httpUpdater.setup(&web_server, update_path, update_username, update_password); #endif - FLASH_FS.begin(true); + FLASH_FS.begin(); web_server.begin(); }