You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different silicon families have conenct in different ways. For many ST board, for example, the Moddable SDK build can automatically detect the correct port. For ESP boards, you specify the serial port by setting the `UPLOAD_PORT` environment variable:
Zephyr supports hundreds of development boards. The Moddable SDK includes support for some of them.
328
336
329
337
To add new board to Moddable:
330
338
331
339
1. Select a similar board from `$MODDABLE/build/devices/zephyr/targets` and duplicate its directory.
332
340
333
341
```sh
334
342
cd $MODDABLE/build/devices/zephyr/targets
335
-
cp -r nucleo_f413zh newboard
343
+
cp -r nucleo_f413zh new_board
336
344
```
337
345
338
-
2. Edit the `manifest.json` file and change the `ZEPHYR_BOARD` specifier to match the Zephyr board name (same as "newboard" above).).
346
+
2. Edit the `manifest.json` file and change the `ZEPHYR_BOARD` specifier to match the Zephyr board name (same as "new_board" above). The `ZEPHYR_BOARD` must match the name used in the Zephyr SDK for your board.
<sup>[9]</sup> *See also: [Using the Moddable SDK with ESP32](./documentation/devices/esp32.md)*<BR>
114
114
115
115
### Pico by Raspberry Pi
@@ -179,6 +179,21 @@ The following developer resources are also available:
179
179
-[QCA4020 Getting Started with the Moddable SDK](https://developer.qualcomm.com/project/qca4020-getting-started-moddable-sdk) blog post on the Qualcomm Developer Network
180
180
-[QCA4020 Modern UI Application Development with the Moddable SDK](https://developer.qualcomm.com/project/qca4020-modern-ui-application-development-moddable-sdk) blog post on the Qualcomm Developer Network
181
181
182
+
### Zephyr RTOS
183
+
184
+
To use the Moddable SDK with Zephyr-based devices, you need to:
185
+
186
+
1. Install the [Moddable SDK](./documentation/Moddable%20SDK%20-%20Getting%20Started.md)
@@ -196,6 +211,8 @@ To use the Moddable SDK with WebAssembly, you need to:
196
211
197
212
We have tested a variety of SPI displays with the ESP8266 and ESP32. Video demonstrations of these displays are [on our website](http://www.moddable.com/display). Wiring guides are available in the [documentation/displays](./documentation/displays) directory. The source code for the corresponding display and touch drivers is available in the [modules/drivers](./modules/drivers) directory.
198
213
214
+
On the Zephyr RTOS, there is a single Moddable SDK [display driver](modules/io/display/zephyr/display.c) for all displays supported by Zephyr. The driver has been tested with displays that have 16-bit pixels. It may need to be modified to work with displays that use other pixel formats.
215
+
199
216
## Source tree
200
217
201
218
The Moddable SDK repository contains the following top level directories:
@@ -246,6 +263,6 @@ To learn more about Moddable, see [our website](http://www.moddable.com).
246
263
247
264
For companies interested in the benefits of using JavaScript and the Moddable SDK to power your products, Moddable provides consulting services to help you get started. We're available to help with design, implementation, training, and support.
248
265
249
-
You can also reach out to us on Twitter ([@moddabletech](https://twitter.com/moddabletech)). Following us on Twitter is the best way to keep up with what we’re doing—we post announcements about new blog posts there, along with other Moddable news.
266
+
You can also reach out to us on X (aka Twitter) ([@moddabletech](https://twitter.com/moddabletech)). Following us is the best way to keep up with what we’re doing—we post announcements about new blog posts there, along with other Moddable news.
250
267
251
268
You can contact us directly by e-mail at [info@moddable.com](mailto:info@moddable.com).
0 commit comments