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
2024-12-29 12:44:21 +08:00
2025-08-10 20:11:36 +08:00
2024-12-29 12:44:21 +08:00
2024-12-29 12:44:21 +08:00
2025-04-28 14:39:36 +08:00
2025-05-19 14:41:19 +08:00
2025-05-19 14:41:19 +08:00
2025-05-26 13:44:46 +08:00

PicoCalc A cost-effective portable MCU terminal

picocalc


📌 Features

  • Supports the Raspberry Pi Pico H/Pico WH series and various compatible modules.
  • Expandable hardware with SPI/I²C/UART for external peripherals.
  • Support for Micropython & C/C++ development using the Raspberry Pi Pico SDK.
  • Customizable keypad & UI, allowing users to modify functionalities.
  • USB Type-C for power and multifunctional design, default is Picos serial port.
  • Compatible with 3D-printed cases, making it an ideal DIY project.

🛠 Development & Customization

PicoCalc supports C/C++ development via Pico SDK,The firmware can be modified to include new features such as:

  • Graphing functions and scientific calculations.
  • I²C/SPI communication for interfacing with external sensors.
  • Keyboard remapping and custom UI modifications.

See the Code directory for sample applications.


📢 Community & Support

Description
No description provided
Readme 53 MiB
Languages
C 98.1%
C++ 0.8%
CMake 0.5%
Assembly 0.4%
Python 0.2%