-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add more info to the README and separate architecture docs
Signed-off-by: deadprogram <[email protected]>
- Loading branch information
1 parent
750d331
commit 87b2603
Showing
2 changed files
with
110 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Architecture | ||
|
||
```mermaid | ||
flowchart TD | ||
subgraph Application | ||
App | ||
end | ||
App-->Engine | ||
subgraph Modules | ||
WASM1 | ||
WASM2 | ||
end | ||
subgraph Engine | ||
FileStore | ||
Interpreter | ||
Devices | ||
end | ||
FileStore-->Modules | ||
Interpreter-->Modules | ||
Interpreter-->Devices | ||
Devices--->Machine | ||
Devices--->Hardware | ||
Devices--->Network | ||
subgraph Hardware | ||
Sensor | ||
Displayer | ||
LEDSetter | ||
end | ||
subgraph Network | ||
Net | ||
Bluetooth | ||
end | ||
subgraph Machine | ||
GPIO | ||
ADC | ||
I2C | ||
SPI | ||
end | ||
Displayer-->SPI | ||
Sensor-->GPIO | ||
Sensor-->I2C | ||
``` | ||
|
||
## Application | ||
|
||
The host application that the developer who uses Mechanoid is creating. | ||
|
||
## Modules | ||
|
||
The WASM modules that developers who are creating code for this Application are writing. | ||
|
||
## Engine | ||
|
||
The capabilities that the Application uses/exposes for Modules. | ||
|
||
## Devices | ||
|
||
Wrappers around specific devices such as displays or sensors that can be used by the Application and/or Modules. | ||
|
||
## Network | ||
|
||
Wrappers around specific networking capabilities such as WiFi or Bluetooth that can be used by the Application and/or Modules. | ||
|
||
## Machine | ||
|
||
Wrappers around low-level hardware interfaces such as GPIO or I2C that can be used by the Application and/or Modules. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters