Skip to content

Commit afb3a6f

Browse files
committed
README: Add install instructios for XIAO
1 parent f6c4863 commit afb3a6f

1 file changed

Lines changed: 19 additions & 8 deletions

File tree

README.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,31 +116,42 @@ Install project dependencies
116116
pip install -e .
117117
```
118118

119-
#### Flash MicroPython to device
120119

121-
Uses MicroPython 1.24 for ESP32
120+
## For M5Stack M5Stick C PLUS 2
121+
122+
Flash device with MicroPython for ESP32
122123

123124
```
124125
mpflash flash --version 1.24
125126
```
126127

127-
#### Copy dependencies to device
128+
Copy dependencies to device
128129

129-
Minimum requirements
130130
```
131131
mpremote mip install https://emlearn.github.io/emlearn-micropython/builds/master/xtensawin_6.3/emlearn_trees.mpy
132132
mpremote mip install github:jonnor/micropython-npyfile
133133
mpremote mip install github:jonnor/micropython-mpu6886
134134
mpremote mip install https://github.com/emlearn/emlearn-micropython/raw/refs/heads/master/examples/har_trees/timebased.py
135+
mpremote mip install https://github.com/emlearn/emlearn-micropython/raw/refs/heads/master/examples/har_trees/recorder.py
136+
```
137+
138+
## For XIAO BLE Sense NRF52840
139+
140+
Flash device with MicroPython
141+
142+
```
143+
TODO: provide pre-built firmware
135144
```
136145

137-
Additional dependencies to use har_record.py for recording data
146+
Copy dependencies to device
138147
```
139-
mpremote mip install https://github.com/emlearn/emlearn-micropython/raw/refs/heads/master/examples/har_trees/recorder.py
148+
mpremote mip install --target lib https://emlearn.github.io/emlearn-micropython/builds/master/armv7m_6.3/emlearn_trees.mpy
149+
mpremote mip install --target lib github:jonnor/micropython-npyfile
150+
mpremote mip install --target lib https://github.com/emlearn/emlearn-micropython/raw/refs/heads/master/examples/har_trees/timebased.py
151+
mpremote mip install --target lib https://github.com/emlearn/emlearn-micropython/raw/refs/heads/master/examples/har_trees/recorder.py
152+
mpremote cp firmware/lsm6ds.py :lib/
140153
```
141154

142-
The GUI libraries are not used by the main firmware,
143-
but is used by some of the tools like for data-recording.
144155

145156
#### Copy application to device
146157

0 commit comments

Comments
 (0)