Skip to content

Commit e333d50

Browse files
Don't compile VM code unless using external heap
1 parent f3927f1 commit e333d50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cores/esp8266/core_esp8266_vm.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
6161
*/
6262

63-
63+
#ifdef UMM_HEAP_EXTERNAL
6464

6565
#include <Arduino.h>
6666
#include <esp8266_undocumented.h>
@@ -405,3 +405,5 @@ void install_vm_exception_handler()
405405

406406

407407
};
408+
409+
#endif // ifdef(UMM_HEAP_EXTERNAL)

0 commit comments

Comments
 (0)