whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.18k stars 221 forks source link

CONFIG_SPIRAM_SUPPORT kills open(filename, O_RDONLY); #313

Closed the0ne closed 4 years ago

the0ne commented 4 years ago

To reproduce build with CONFIG_SPIRAM_SUPPORT disabled:

/ > edit /autorun.lua

this works as expected, opens the file in editor.

Now build with CONFIG_SPIRAM_SUPPORT=y and default settings.

/ > edit /autorun.lua

now opens the editor empty because f = open(ed->filename, O_RDONLY); now returns -1.

the0ne commented 4 years ago

After setting CONFIG_SPIRAM_CACHE_WORKAROUND to disabled, the issue is gone.