Chat about current Lua tools and IDEs

User avatar
By 4refr0nt
#4893 Image

ESPlorer

The essential multiplatforms tools: Integrated Development Environment (IDE) for any ESP8266 developer from luatool author's.
Including a LUA for NodeMCU and MicroPython. Also, all AT commands are supported.
Required JAVA (Standart Edition - SE ver 7 and above) installed.

Supported platforms (jSSC library)

    Windows(x86, x86-64)
    Linux(x86, x86-64, ARM soft & hard float)
    Solaris(x86, x86-64)
    Mac OS X(x86, x86-64, PPC, PPC64)

Detailed features list

    Syntax highlighting LUA and Python code
    Code editor color themes: default, dark, Eclipse, IDEA, Visual Studio
    Undo/Redo editors features
    Code Autocomplete (Ctrl+Space)
    Smart send data to ESP8266 (without dumb send with fixed line delay), check correct answer from ESP8266 after every lines and old-style sending with line delay
    Code snippets feature
    ExtraHiSpeed (up to 921600) communication with NodeMCU (approx. 30-80 lines/sec on 115200)
    Upload to ESP and Download from ESP any lua and binaries files
    Cool ESP FileManager
    and more, more, more…

Tutorial

Getting Started With The ESPlorer IDE. Format:PDF, Author: Rui Santos

Download

http://esp8266.ru/esplorer/#download

Source code

https://github.com/4refr0nt/ESPlorer

Required libraries

https://code.google.com/p/java-simple-serial-connector/
http://bobbylight.github.io/RSyntaxTextArea/

How to build ESPlorer from sources
https://github.com/devyte/nodemcu-platf ... om-sources

ChangeLog

version 0.2.0-rc3

- MicroPython firmware autodetection
- MicroPython syntax highlighting
- MicroPython files extensions *.py and *.pyc added
- MicroPython SendToESP command (send current file from editor window to ESP8266, ALT+E)
- MicroPython SendLine command (send one line from editor window to ESP8266, ALT+L)
- MicroPython SendBlock command (send selected block from editor window to ESP8266, ALT+B)
- MicroPython Coomands Tab: GPIO reading and writing, WiFi and TCP connetions)
- MicroPython Snippets (user editable code blocks, buttons for fast executing)
- MicroPython manual entered commands history
- MicroPython code autocomplete CTRL+SPACE
- Show/Hide editor window for using as simple colored terminal
- Show/Hide terminal window for full-screen code editing

version 0.2.0-rc2

- add skin selector (standart java LookAndFeel, platform depended)
- firmware autodetection can be disabled (new option on "Settings" tab)
- decreased minimum window size for low-res screens



version 0.2.0-rc1
    - add new cool ESP FileManager. Commands in popup menu: Run, Compile(New!), View(old Cat), Edit(New!), Download(New!), Rename(New!), Remove (available commands depended file extension)
    - add "Upload file to ESP from disk" function (include binaries files) in left bottom panel
    - add "Download file from ESP to disk" function (include binaries files) in file manager
    - ESP files list ABC-autosorted
    - add new button FileSystemInfo (new command file.fsinfo() since firmware 20150311 and later)
    - add firmware autodetection after serial port open
    - add check communication with MCU after serial port open or "change speed on the fly"
    - change default window size to 1024x768 and new UI conception
    - change: in all buttons/command "Run" against "Do", "View" against "Cat"
    - expanded field for serial port name
    - add "CustomSerialPort" on "Settings" tab (if enable this, PortScan never execute)
    - add DTR and RTS buttons with LED
    - add CTS LED
    - add new "Links" menu
    - add NodeMCU specific right panel (Heap button, Chip Info button, Chip ID button, Flash ID button)
    - add toolbar Show/Hide command in "View" menu
    - inc size of toolbar buttons
    - add Snippets panel Show/Hide command in "View" menu
    - add FileManager panel Show/Hide command in "View" menu
    - add Right extra buttons panel Show/Hide command in "View" menu
    - add "Use external editor" option on "Settings" tab. All files ReadOnly
    - add "EOL" option - EOL visible in terminal window
    - add new mode for snippets: Condensed executing (please, do not use this mode if you use commands without left operand: "=node.heap()", but "x=node.heap" work ok)
    - fix AutoComplete (Ctrl+Space) bug for commands contains "."
    - fix "AutoSave/AutoRestore setting enable/disable log window" bug
    - fix bug: exit app without save files
    - disable setting "AutoRun file after Save to ESP" (for do this - you can use new button "Save & Run" in 2.0.0-final version)
    - all settings autosave when changed and autorestored after app launch
    - window size autosave on close and autorestored after app launch
    - editor: tab size changed from 5 to 4
    - library rsyntaxtextarea updated to version 2.5.6
    - some code refactoring
    - improve stability
    - now semver.org versioning conception (MAJOR.MINOR.PATCH)
    - tested on NodeMCU 0.9.5_20150318
SpeedTest

TEST:File download
Baud rate:921600 Size:10k Time elapsed: 2080 ms
Baud rate:921600 Size:20k Time elapsed: 2811 ms
Baud rate:115200 Size:10k Time elapsed: 2841 ms
Baud rate:115200 Size:20k Time elapsed: 4261 ms
Baud rate:9600 Size:10k Time elapsed: 14 sec
Baud rate:9600 Size:20k Time elapsed: 25 sec

TEST:File upload
Baud rate:921600 Size:10k Time elapsed: 4565 ms
Baud rate:921600 Size:20k Time elapsed: 8591 ms
Baud rate:115200 Size:10k Time elapsed: 4550 ms
Baud rate:115200 Size:20k Time elapsed: 9158 ms
Baud rate:9600 Size:10k Time elapsed: 15 sec
Baud rate:9600 Size:20k Time elapsed: 29 sec

TODO for v0.2.0
    - add AT commands v0.22 support
    - add SaveAs... command in "File" menu
    - add popup menu with "Copy" and "Paste" functions in command field
    - add Left extra buttons panel Show/Hide command in "View" menu with buttons:
    * add "Save & Run" button
    * add "Save & Compile" button
    * add "Save & Compile & RunLC" button
    * add "Send as init.lua" button
    * add "Compile & Do LC" button
Full ChangeLog

http://esp8266.ru/esplorer/#changelog

Image
Last edited by 4refr0nt on Fri Apr 22, 2016 3:08 pm, edited 13 times in total.
User avatar
By alonewolfx2
#4894 its not starting
Code: Select allException in thread "main" java.lang.UnsupportedClassVersionError: ESPlorer/ESPl
orer : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
User avatar
By 4refr0nt
#4895
alonewolfx2 wrote:its not starting
Code: Select allException in thread "main" java.lang.UnsupportedClassVersionError: ESPlorer/ESPl
orer : Unsupported major.minor version 52.0


Latest JAVA required