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
Copy file name to clipboardExpand all lines: README.md
+27-18Lines changed: 27 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,28 +7,28 @@ This README provides instructions for building and running MicroPython firmware
7
7
Before building the MicroPython firmware, ensure you have the following:
8
8
9
9
1.**Zephyr Development Environment**:
10
-
- Install the Zephyr SDK and set up the development environment by following the [Zephyr Getting Started Guide](https://docs.zephyrproject.org/latest/getting_started/index.html).
11
-
- Ensure you have Zephyr version 4.0 or later installed, as the Xiao nRF54L15 requires a recent version due to its nRF54L15 SoC.
12
-
- Example command to initialize Zephyr v4.0.0:
13
-
```bash
14
-
west init zephyrproject -m https://github.com/zephyrproject-rtos/zephyr --mr v4.0.0
15
-
cd zephyrproject/zephyr
16
-
west update
17
-
```
18
-
- Source the Zephyr environment:
19
-
```bash
20
-
source zephyrproject/zephyr/zephyr-env.sh
21
-
```
10
+
- Install the Zephyr SDK and set up the development environment by following the [Zephyr Getting Started Guide](https://docs.zephyrproject.org/latest/getting_started/index.html).
11
+
- Ensure you have Zephyr version 4.0 or later installed, as the Xiao nRF54L15 requires a recent version due to its nRF54L15 SoC.
12
+
- Example command to initialize Zephyr v4.0.0:
13
+
```bash
14
+
west init zephyrproject -m https://github.com/zephyrproject-rtos/zephyr --mr v4.0.0
15
+
cd zephyrproject/zephyr
16
+
west update
17
+
```
18
+
- Source the Zephyr environment:
19
+
```bash
20
+
source zephyrproject/zephyr/zephyr-env.sh
21
+
```
22
22
23
23
2. **MicroPython Repository**:
24
-
- Clone the MicroPython repository to your local machine:
- Install required tools: Python 3.10 or later, CMake 3.20.0 or later, and the Zephyr SDK toolchain.
31
-
- Verify the installation by building a sample Zephyr application to confirm your setup.
30
+
- Install required tools: Python 3.10 or later, CMake 3.20.0 or later, and the Zephyr SDK toolchain.
31
+
- Verify the installation by building a sample Zephyr application to confirm your setup.
32
32
33
33
## Building the Firmware
34
34
@@ -68,6 +68,15 @@ west build ./lib/micropython/ports/zephyr --pristine --board xiao_nrf54l15/nrf54
68
68
west build ./lib/micropython/ports/zephyr --pristine --board xiao_ble -- -DCONF_FILE=./lib/micropython/ports/zephyr/prj_minimal.conf
69
69
```
70
70
71
+
#### For Xiao esp32c5
72
+
* For the MicroPython firmware of the Seeed XIAO ESP32C5, a CI (Continuous Integration) automatic compilation workflow has been added. You only need to download the corresponding firmware from the release and use the appropriate flashing method.
73
+
* Here, the esptool tool is recommended for flashing. It should be noted that when flashing the MicroPython firmware, **the starting address must be specified as 0x2000.**
- If you encounter issues with undefined Kconfig symbols (e.g., `NET_SOCKETS_POSIX_NAMES`), check the `lib/micropython/ports/zephyr/prj.conf` file and comment out or remove unsupported configurations.
73
82
- Ensure the Zephyr version matches the requirements of the MicroPython port (v4.0 is recommended).
0 commit comments