Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katyo/nodemcu-mode
NodeMCU helper minor mode for Emacs.
https://github.com/katyo/nodemcu-mode
Last synced: 16 days ago
JSON representation
NodeMCU helper minor mode for Emacs.
- Host: GitHub
- URL: https://github.com/katyo/nodemcu-mode
- Owner: katyo
- License: mit
- Created: 2015-07-27T14:12:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-20T08:37:07.000Z (over 8 years ago)
- Last Synced: 2024-10-30T16:12:09.052Z (2 months ago)
- Language: Emacs Lisp
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nodemcu-mode
NodeMCU helper minor mode for Emacs.
This mode allows to communicate with [NodeMCU-firmware][nodemcu] in order to help Lua-scripts development.
[nodemcu]: https://github.com/nodemcu/nodemcu-firmware "NodeMCU-firmware"
## Features
* Communicating using serial device or telnet connection.
* Executing Lua code and evaluate Lua expressions on device.
* Listing uploading and removing files on/to/from device.
* Compiling Lua scripts after uploading to device.
* Some other useful commands.## Bindings
| Key | Command | Description |
| ------- | ------------------------- | ------------------------------------------------ |
| C-x C-e | nodemcu-evaluate-at-point | Evaluate current line or marked region on device |
| C-c C-b | nodemcu-send-buffer | Execute current buffer on device |
| C-c C-d | nodemcu-remove-file | Remove file from device (with completion) |
| C-c C-e | nodemcu-evaluate | Evaluate some Lua-code on device |
| C-c C-h | nodemcu-get-heap | Get heap size (node.heap()) |
| C-c C-r | nodemcu-restart-node | Restart node (node.restart()) |
| C-c C-s | nodemcu-list-files | List files on device file-system (file . size) |
| C-c C-t | nodemcu-execute | Execute some Lua-code on device |
| C-c C-u | nodemcu-upload-file | Upload some local file local to device |## Hacking
You can activate Debugging IO using `nodemcu-debug-io` variable.