File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ monitor_speed = 115200
107
107
; NO_EXTRA_4K_HEAP - this forces the default NONOS-SDK user's heap location
108
108
; Default currently overlaps cont stack (Arduino) with sys stack (System)
109
109
; to save up-to 4 kB of heap. (starting core_2.4.2)
110
+ ; ESP8266_DISABLE_EXTRA4K - Calls disable_extra4k_at_link_time() from setup
111
+ ; to force the linker keep user's stack in user ram.
110
112
; CONT_STACKSIZE to set the 'cont' (Arduino) stack size. Default = 4096
111
113
112
114
[common]
@@ -218,6 +220,7 @@ debug_tool = ftdi
218
220
monitor_speed = ${common.monitor_speed}
219
221
board_build.partitions = esp32_partition_app1810k_spiffs316k.csv
220
222
board_upload.maximum_size = 1900544
223
+ debug_extra_cmds = break Misc.ino:3011
221
224
222
225
223
226
[env:esp32dev]
Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ int firstEnabledBlynkController() {
106
106
\*********************************************************************************************/
107
107
void setup ()
108
108
{
109
+ #ifdef ESP8266_DISABLE_EXTRA4K
110
+ disable_extra4k_at_link_time ();
111
+ #endif
109
112
WiFi.persistent (false ); // Do not use SDK storage of SSID/WPA parameters
110
113
WiFi.setAutoReconnect (false );
111
114
setWifiMode (WIFI_OFF);
You can’t perform that action at this time.
0 commit comments