152 Commits

Author SHA1 Message Date
cuu
9219115667 Fix micropython endless reboot issue with keyboard v1.4 firmware
pico-sdk commit hash a1438dff1d38bd9c65dbd693f0e5db4b9ae91779

https://github.com/zenodante/PicoCalc-micropython-driver  commit hash fa8b24c3d7b4b1b6d621b46ceced787dce69f4c1

micropython commit hash 4efc5e12b94082af16520e73ecdd53a67ceddfcf

all repos above need `git submodule update` to sync with their submodules

PicoCalc-micropython-driver/pico_files/modules/picocalc.py
```
diff --git a/pico_files/modules/picocalc.py b/pico_files/modules/picocalc.py
index 6178ab1..e503ccb 100644
--- a/pico_files/modules/picocalc.py
+++ b/pico_files/modules/picocalc.py
@@ -141,7 +141,7 @@ class PicoKeyboard:
         self.ignor = True
         self.address = address
         self.temp=bytearray(2)
-        self.reset()
+        #self.reset()
         self.isShift = False
         self.isCtrl = False
         self.isAlt = False
@@ -524,4 +524,4 @@ class PicoSpeaker:
             return

         for freqc, msec in tune:
-            self._play_frequency(freqc, msec * 0.001)
\ No newline at end of file
+            self._play_frequency(freqc, msec * 0.001)
```

copy PicoCalc-micropython-driver/pico_files/modules/*.py  to  micropython/ports/rp2/modules
copy PicoCalc-micropython-driver/pico_files/root/*.py to micropython/ports/rp2/modules

get into micropython/ports/rp2/ to prepare to compile,follow the PicoCalc-micropython-driver/README.md to get it done

here is a brief tip

```
mkdir build && cd build
-DUSER_C_MODULES="Path/To/PicoCalc-micropython-driver/picocalcdisplay/micropython.cmake;Path/To/PicoCalc-micropython-driver/vtterminal/micropython.cmake" \
 32   -DMICROPY_BOARD=[TARGET_BOARD]
make
cp firmware.uf2 /media/xxxx/RPI-RP2
```

Supported `TARGET_BOARD` values:
- `RPI_PICO`
- `RPI_PICO2`
- `RPI_PICO2_W`
2025-10-30 14:47:40 +08:00
cuu
a049952189 update picocalc keyboard 2025-08-10 20:11:36 +08:00
cuu
8b6822a80c Add REG_ID_OFF to power off picocalc
add button callback when short press Power key of picocalc
2025-08-01 15:02:23 +08:00
GNU
ebdc77ad4a
Merge pull request #33 from yatli/multiboot
Multiboot
2025-06-19 14:01:26 +08:00
Yatao Li
9c449b8b03 picomite: properly save options 2025-06-18 15:30:14 +08:00
Yatao Li
763a7080a2 sd_boot: better key handling 2025-06-18 10:11:27 +08:00
Yatao Li
7ce75c9ee0 program offset back to 200k, picomite size increase to 880k (1080k in total) 2025-06-18 10:06:34 +08:00
Yatao Li
eb3b15e188 sdcard picomite: sync with upstream 2025-06-15 21:31:45 +08:00
Yatao Li
f305e6def6 Merge branch 'master' of yatao-nas:/home/yatli/git/PicoCalc 2025-06-15 18:36:33 +08:00
Yatao Li
7f62e15f55 sd_boot: move readboot logic to bootloader. 2025-06-15 18:36:30 +08:00
Yatao Li
557986bcb8 Revert "picocalc_keyboard: add bootmode register"
This reverts commit a690686270a1ea7eab0533f521d00cbe3c3a2806.
2025-06-15 18:36:13 +08:00
Yatao Li
2f6ba71531 Merge branch 'master' of yatao-nas:/home/yatli/git/PicoCalc 2025-06-15 02:51:04 +08:00
Yatao Li
a690686270 picocalc_keyboard: add bootmode register 2025-06-15 02:50:35 +08:00
Yatao Li
fa3ad399d7 sd_boot: handle bootmode 2025-06-15 02:50:03 +08:00
cuu
44615ce5d2 Update multi booter readme 2025-06-05 14:04:47 +08:00
cuu
2826755bcb Update multi booter
change battery icon/text to top right
multi_booter_v0.5
2025-06-03 20:24:57 +08:00
cuu
26cde76df8 Update multi booter
final flash offset of bootloader set to 200k
right now bootloader code occupied 156k of flash
so there is a small space left for future modifications
2025-06-02 14:55:46 +08:00
cuu
6a15612907 Update multi booter
change status text when no bin files
2025-06-02 01:01:36 +08:00
cuu
4449860332 Update multi booter 2025-06-01 17:22:45 +08:00
cuu
bdbac6751e Update multi booter 2025-06-01 14:21:30 +08:00
cuu
cb0b1fbb63 Update multi booter
add battery percentage displaying
2025-06-01 00:15:57 +08:00
cuu
e403bc04d8 update readme multi_booter_v0.4 2025-05-30 14:13:37 +08:00
cuu
3c56dbcb88 Add keyboard firmware bin file md5sum
https://forum.clockworkpi.com/t/unable-to-update-keyboard-firmware/17683/6
2025-05-29 16:08:42 +08:00
cuu
87ae62d080 Update multi booter 2025-05-28 23:01:30 +08:00
cuu
162c7c46dc Update multi booter
optimize listing logic to avoid flickering
2025-05-27 17:56:57 +08:00
cuu
a0b530ea7a Update multi booter
optimize description text

fill up sd card actions functions
2025-05-27 00:38:03 +08:00
cuu
0090c0237a update screen specs pdf
replace ili9488 with ST7365P
multi_booter_v0.3
2025-05-26 13:44:46 +08:00
cuu
5276f48b6d update multi booter
switch order of picomite and sd_boot to make more space for progs of multi booter

bin folder name changed to firmware

ui interface improvments
2025-05-25 15:40:46 +08:00
cuu
3009ce75ba add mp linker script pico_multi_booter_v0.2 2025-05-23 14:57:39 +08:00
cuu
704474dd57 update code 2025-05-22 00:42:50 +08:00
cuu
b57f1f916e add Code/pico_multi_booter/sd_boot/ base commit hash log pico_multi_booter_v0.1 2025-05-19 14:53:10 +08:00
cuu
beb05b7ca7 add pico_multi_booter code 2025-05-19 14:50:19 +08:00
cuu
f0058240cd add pico_multi_booter code 2025-05-19 14:44:50 +08:00
cuu
4c74e3b3fe add pico_multi_booter code 2025-05-19 14:41:19 +08:00
GNU
bf95745428
Merge pull request #30 from donatj/patch-1
Correct Typo of FUZIX
2025-05-14 14:12:38 +08:00
Jesse Donat
148356d742
Correct Typo of FUZIX
FUXIX -> FUZIX
2025-05-14 00:21:41 -05:00
cuu
354454c2f6 update 2025-05-13 19:59:03 +08:00
cuu
010228eb0b update PicoMite uf2 2025-05-13 19:58:22 +08:00
cuu
07321fc44a update 2025-05-13 19:56:00 +08:00
cuu
e0c379707e update 2025-05-13 19:54:34 +08:00
cuu
ccf6b3f1b1 update 2025-05-13 19:53:45 +08:00
cuu
16f241eef2 sync madcock PicoMite RC19
Some checks failed
Publish wiki / publish-wiki (push) Has been cancelled
2025-05-02 21:53:57 +08:00
cuu
e2f79407df Update micropython uf2 files with latest PicoCalc-micropython-driver
Add new PicoMiteAllVersions uf2 files for pico1 pico2
2025-04-30 14:43:22 +08:00
cuu
6b560b3dcc Add PicoMite_002.patch
keyboard mapping fixes (DEL, ALT, etc.)

reference:

https://forum.clockworkpi.com/t/del-key-problem-solved/17049/33?u=guu
2025-04-30 00:24:23 +08:00
cuu
b7cb37617a Add commit hash in PicoMite/README.md for stock PicoMite verison 2025-04-28 15:01:17 +08:00
cuu
da2cc766dc rename keyboard firmware file name 2025-04-28 14:39:36 +08:00
cuu
b465637ca5 PicoCalc_kbd_firmware_v1.2.bin
* Read battery percentage with charging status flag
* Read and set keyboard backlight
* Bug fix low_bat,add debounce to avoid false shutdown
* Depricated report_bat()
2025-04-28 14:11:43 +08:00
cuu
111319e22d add set kbd backlight via i2c example in picocalc_helloworld 2025-04-27 15:32:55 +08:00
cuu
f2fa13099c Add url of the official uLisp for PicoCalc 2025-04-25 21:09:25 +08:00
cuu
295f7e7a8e Depricated report_bat in picocalc_keyboard 2025-04-21 23:24:28 +08:00