Open alex85k opened 4 years ago
I am using ESPLorer to experiment with newer NodeMCU firmware built with make LUA=53
make LUA=53
There are problems when code includes newly introduced right shift operator >> like
a=7 b=a>>3
When saving the script to flash the process hangs and module reboots. The problem is in these 2 lines of code checking the module answer: https://github.com/4refr0nt/ESPlorer/blob/142ff90e6af26ef845880eb21c023c372bead3c4/src/main/java/ESPlorer/ESPlorer.java#L12038
data = data.replace(">> ", ""); data = data.replace(">>", "");
(I commented them for myself, it seems to work)
As Lua 5.3 will become the standard sooner or later (see https://github.com/nodemcu/nodemcu-firmware/issues/3144#issuecomment-944456112 from @TerryE) this should be addressed.
I am using ESPLorer to experiment with newer NodeMCU firmware built with
make LUA=53
There are problems when code includes newly introduced right shift operator >> like
When saving the script to flash the process hangs and module reboots. The problem is in these 2 lines of code checking the module answer: https://github.com/4refr0nt/ESPlorer/blob/142ff90e6af26ef845880eb21c023c372bead3c4/src/main/java/ESPlorer/ESPlorer.java#L12038
(I commented them for myself, it seems to work)