Skip to content

Commit 5013c77

Browse files
committed
add micropython pre-compiled files
1 parent 4c65694 commit 5013c77

8 files changed

+39
-0
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
[submodule "Code/picocalc_kbd_tester/uthash"]
1111
path = Code/picocalc_kbd_tester/uthash
1212
url = https://github.com/troydhanson/uthash.git
13+
[submodule "Bin/MicroPython/PicoCalc-micropython-driver"]
14+
path = Bin/MicroPython/PicoCalc-micropython-driver
15+
url = https://github.com/zenodante/PicoCalc-micropython-driver.git

Bin/MicroPython/README.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# MicroPython for PicoCalc
2+
3+
Here is pre-compiled uf2 files for micropython running on PicoCalc based on [PicoCalc-micropython-driver](https://github.com/zenodante/PicoCalc-micropython-driver)
4+
5+
- micropython_pico.uf2
6+
- micropython_pico2.uf2
7+
- micropython_pico2w.uf2
8+
9+
These uf2 files already included main.py ,so just put into PicoCalc , you will get a python running terminal immediately
10+
No need to use Thonny , for those who interest to try python.
11+
12+
For developers, just visit [PicoCalc-micropython-driver](https://github.com/zenodante/PicoCalc-micropython-driver)
13+
14+
Follow the readme to
15+
- Flash firmware and upload python code through Thonny IDE.
16+
- Compile custom micropython firmware for picocalc.
17+
18+
19+
Here is the Sequence for beginners to run python on Pico with PicoCalc:
20+
21+
1. Put pico into BOOTSEL mode.
22+
2. Flash correct firmware uf2 file included all necessary python module.
23+
3. Open Thonny at the mean time, config Interpreter with correct kind and port (usuall /dev/ttyACM0 on linux).
24+
4. Upload main.py( this is the entry boot up python file) and other py files to /. from left sidebar.
25+
5. Do nothing but wait for uploading finished,then unplug the Micro-usb cable from pico.
26+
6. Plug USB-C cable into PicoCalc and Power On to see if everything goes right.
27+
28+
here is the sample screenshots about thonny:
29+
30+
![interpreter](https://github.com/clockworkpi/PicoCalc/blob/master/wiki/micropython_thonny_config.png)
31+
32+
![micropython](https://github.com/clockworkpi/PicoCalc/blob/master/wiki/micropython_thonny.png)
33+
34+
35+

Bin/MicroPython/micropython_pico.uf2

737 KB
Binary file not shown.

Bin/MicroPython/micropython_pico2.uf2

722 KB
Binary file not shown.
1.71 MB
Binary file not shown.

wiki/micropython_thonny.png

66.9 KB
Loading

wiki/micropython_thonny_config.png

112 KB
Loading

0 commit comments

Comments
 (0)