180 Commits
Author SHA1 Message Date
cuu fdcfe2c87a Add axp2101 datasheet 2026-10-14 14:35:59 +08:00
cuu 5b55038c9e Add picocalc zero kernel compilation instructions 2026-10-10 23:51:56 +08:00
cuu f91519806d Add Code/picocalc_zero 2026-09-10 16:02:38 +08:00
cuu 5ae1660fce update PicoCalc_BIOS_v1.7,check_hp_det add pinMode to fix CKS potential bug 2026-09-05 00:48:43 +08:00
cuu e36ee963b4 Fix CKS Potential Bug 2026-09-04 14:47:18 +08:00
cuu 16bd4dbb35 update wiki Setting-Up-Arduino-Development-for-PicoCalc-keyboard
Publish wiki / publish-wiki (push) Has been cancelled
2026-09-01 23:00:38 +08:00
cuu e8e38aa4b5 Add PicoCalc gerber files 2026-07-19 17:26:57 +08:00
GNU 362514a639 Merge pull request #49 from Kniffler/master
Fixed previous PR and changed load/launch logic
2026-06-15 12:50:15 +08:00
Lume 20ca94944d Me when I forget to add a pretty important if statement:
>:(
2026-06-14 14:09:34 +01:00
Lume 561aa89ff5 Renamed is_same_existing_program to is_same_as_existing_program
Me do grammar
2026-06-14 13:54:38 +01:00
Lume ca3c2c6418 Refactor load & launch conditions, added better fp handling 2026-06-14 13:50:03 +01:00
GNU 6dd93abe86 Merge pull request #48 from Kniffler/patch-3
Fix pointer handling for fp in sd_boot
2026-06-12 11:48:12 +08:00
Lume 4f14392880 Clarify file pointer handling with comments
Added comments to clarify file pointer handling in the function.
2026-06-10 21:32:01 +01:00
GNU bcefe717c7 Merge pull request #46 from Kniffler/master
Changed fseek guard clauses to properly handle error codes
2026-04-28 14:22:13 +08:00
Lume 42075b1e39 Changed fseek guard clauses to properly handle error codes
fseek returns non-zero value upon failure, not -1.
Added proper implementation of load skip in load_program to allow skipping a program when it already exists
2026-04-27 15:09:09 +01:00
GNU b9eede2cd6 Merge pull request #45 from Kniffler/patch-1
Modify stack pointer validation range to allow scratch banks
2026-04-27 15:11:06 +08:00
Lume 2acf381528 Modify stack pointer validation range
Updated the stack pointer validation to allow an additional 8KB for the scratch banks
2026-04-26 18:02:50 +01:00
cuu 553da6f240 Add PicoCalc_BIOS_v1.6 binary files 2026-04-02 17:20:37 +08:00
cuu 155380a95c update readme 2026-03-19 23:48:21 +08:00
cuu 9503f36db5 update readme 2026-03-19 23:45:51 +08:00
cuu bc5e599fbc update readme 2026-03-19 22:40:10 +08:00
cuu 410f8fcd72 Prepare to update picocalc_keyboard to v1.6 made by @ernst
This version has the following changes:

* return the bios version with REG_ID_VER
* Improved backlight setting for LCD and Keyboard
* Replaced delay() with a non-blocking delay nbDelay()
* Implements monitoring of receive and request events
* I2C reset if no events were recorded in previous 2.5 seconds indicating a possible I2C malfunction.
2026-03-07 00:53:05 +08:00
cuu 881ea3edc1 update Bin/PicoCalc SD/README.md 2026-03-01 15:47:52 +08:00
cuu 25fcf0a680 update Bin/PicoCalc SD/README.md 2026-03-01 15:43:29 +08:00
cuu d5c0a8531a update PicoCalc SD 2026-03-01 15:25:55 +08:00
cuu c1b8f3fc3e Update Bin/PicoCalc SD
add PicoCalc_Bootloader_v0.5 and related bin files
multi_uf2_bootloader_0.6
2025-11-11 15:28:51 +08:00
cuu a7fb3894bd update Code/uLisp/README.md 2025-11-08 14:41:00 +08:00
cuu e677870d3b Bug fix
Update PicoCalc SD/firmware/PicoCalc_uLisp_v1.1.uf2

Fix the bug that kept restarting of uLisp when under v1.4 keyboard firmware
2025-11-08 14:24:51 +08:00
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 a690686270.
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