mirror of
https://github.com/clockworkpi/PicoCalc.git
synced 2025-12-12 18:28:53 +01:00
add micropython pre-compiled files
This commit is contained in:
parent
4c65694629
commit
5013c7768b
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -10,3 +10,6 @@
|
|||||||
[submodule "Code/picocalc_kbd_tester/uthash"]
|
[submodule "Code/picocalc_kbd_tester/uthash"]
|
||||||
path = Code/picocalc_kbd_tester/uthash
|
path = Code/picocalc_kbd_tester/uthash
|
||||||
url = https://github.com/troydhanson/uthash.git
|
url = https://github.com/troydhanson/uthash.git
|
||||||
|
[submodule "Bin/MicroPython/PicoCalc-micropython-driver"]
|
||||||
|
path = Bin/MicroPython/PicoCalc-micropython-driver
|
||||||
|
url = https://github.com/zenodante/PicoCalc-micropython-driver.git
|
||||||
|
|||||||
1
Bin/MicroPython/PicoCalc-micropython-driver
Submodule
1
Bin/MicroPython/PicoCalc-micropython-driver
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 58635637e7fddc743614d58818cf78f0b9425863
|
||||||
35
Bin/MicroPython/README.md
Normal file
35
Bin/MicroPython/README.md
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# MicroPython for PicoCalc
|
||||||
|
|
||||||
|
Here is pre-compiled uf2 files for micropython running on PicoCalc based on [PicoCalc-micropython-driver](https://github.com/zenodante/PicoCalc-micropython-driver)
|
||||||
|
|
||||||
|
- micropython_pico.uf2
|
||||||
|
- micropython_pico2.uf2
|
||||||
|
- micropython_pico2w.uf2
|
||||||
|
|
||||||
|
These uf2 files already included main.py ,so just put into PicoCalc , you will get a python running terminal immediately
|
||||||
|
No need to use Thonny , for those who interest to try python.
|
||||||
|
|
||||||
|
For developers, just visit [PicoCalc-micropython-driver](https://github.com/zenodante/PicoCalc-micropython-driver)
|
||||||
|
|
||||||
|
Follow the readme to
|
||||||
|
- Flash firmware and upload python code through Thonny IDE.
|
||||||
|
- Compile custom micropython firmware for picocalc.
|
||||||
|
|
||||||
|
|
||||||
|
Here is the Sequence for beginners to run python on Pico with PicoCalc:
|
||||||
|
|
||||||
|
1. Put pico into BOOTSEL mode.
|
||||||
|
2. Flash correct firmware uf2 file included all necessary python module.
|
||||||
|
3. Open Thonny at the mean time, config Interpreter with correct kind and port (usuall /dev/ttyACM0 on linux).
|
||||||
|
4. Upload main.py( this is the entry boot up python file) and other py files to /. from left sidebar.
|
||||||
|
5. Do nothing but wait for uploading finished,then unplug the Micro-usb cable from pico.
|
||||||
|
6. Plug USB-C cable into PicoCalc and Power On to see if everything goes right.
|
||||||
|
|
||||||
|
here is the sample screenshots about thonny:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
Bin/MicroPython/micropython_pico.uf2
Normal file
BIN
Bin/MicroPython/micropython_pico.uf2
Normal file
Binary file not shown.
BIN
Bin/MicroPython/micropython_pico2.uf2
Normal file
BIN
Bin/MicroPython/micropython_pico2.uf2
Normal file
Binary file not shown.
BIN
Bin/MicroPython/micropython_pico2w.uf2
Normal file
BIN
Bin/MicroPython/micropython_pico2w.uf2
Normal file
Binary file not shown.
BIN
wiki/micropython_thonny.png
Normal file
BIN
wiki/micropython_thonny.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
BIN
wiki/micropython_thonny_config.png
Normal file
BIN
wiki/micropython_thonny_config.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
Loading…
x
Reference in New Issue
Block a user