|
1 | 1 | MicroPython port to Zephyr RTOS
|
2 | 2 | ===============================
|
3 | 3 |
|
4 |
| -This is an initial port of MicroPython to Zephyr RTOS |
| 4 | +This is an work-in-progress port of MicroPython to Zephyr RTOS |
5 | 5 | (http://zephyrproject.org).
|
6 | 6 |
|
7 |
| -The port integrates well with Zephyr build system, using the latest |
8 |
| -features which will be available in 1.6.0, and thus requires Zephyr |
9 |
| -master to build against. All boards supported by Zephyr (with standard |
10 |
| -level of feature support, like UART console) should work with |
11 |
| -MicroPython (but not all were tested). |
| 7 | +This port requires Zephyr version 1.8 or higher. All boards supported |
| 8 | +by Zephyr (with standard level of features support, like UART console) |
| 9 | +should work with MicroPython (but not all were tested). |
12 | 10 |
|
13 | 11 | Features supported at this time:
|
14 | 12 |
|
15 | 13 | * REPL (interactive prompt) over Zephyr UART console.
|
16 | 14 | * `utime` module for time measurements and delays.
|
17 | 15 | * `machine.Pin` class for GPIO control.
|
| 16 | +* `usocket` module for networking (IPv4/IPv6). |
18 | 17 | * "Frozen modules" support to allow to bundle Python modules together
|
19 | 18 | with firmware. Including complete applications, including with
|
20 | 19 | run-on-boot capability.
|
@@ -97,10 +96,10 @@ MicroPython is committed to maintain minimal binary size for Zephyr port
|
97 | 96 | below 128KB, as long as Zephyr project is committed to maintain stable
|
98 | 97 | minimal size of their kernel (which they appear to be). Note that at such
|
99 | 98 | size, there is no support for any Zephyr features beyond REPL over UART,
|
100 |
| -and only very minimal set of builtin Python modules. Thus, this build |
101 |
| -is more suitable for code size control and quick demonstrations on |
102 |
| -smaller systems. It's also suitable for careful enabling of features one |
103 |
| -by one to achieve needed functionality and code size. This is in a |
| 99 | +and only very minimal set of builtin Python modules is available. Thus, |
| 100 | +this build is more suitable for code size control and quick demonstrations |
| 101 | +on smaller systems. It's also suitable for careful enabling of features |
| 102 | +one by one to achieve needed functionality and code size. This is in the |
104 | 103 | contrast to the "default" build, which may get more and more features
|
105 | 104 | enabled over time.
|
106 | 105 |
|
|
0 commit comments