Skip to content

ruffjs/rap-esp32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

Rap extension for esp32

This project is rap extension, or rap plug-in for ESP32.

It is dependent on Rap extension (plug-in) mechanism, to customize board-specific rap subcommands. This rap extension customize the following sub commands.

  • rap deploy: deploy Ruff Application to ESP32 board flash
  • rap system
    • rap system erase: erase ESP32 board flash
    • rap system upgrade: flash Ruff OS firmware to ESP32 board flash
  • rap log: print system and application logs

The project can be referenced by package.json of Ruff board project. For example, below is esp32-air-v40 board package.json.

{
    "name": "esp32-air-v40",
    "version": "0.1.2",
    "description": "Ruff ESP32 AIR v4.0 board",
    "author": "Nanchao Inc.",
    "dependencies": {
        "rap-esp32": "*"
    },
    "ruff": {
        "dependencies": {
            "led-gpio": "^3.0.0",
            "esp32-wifi": "^0.1.0"
        }
    }
}

After you initilize a new Ruff Application for board esp32-air-v40, this module rap-esp32 will be automatically downloaded under the directory of ruff_modules/esp32-air-v40/node_modules/rap-esp32. You can execute these customized rap subcommands in the new application root directory.

Releases

No releases published

Packages

No packages published