I’m currently working on a low-power cyberdeck (or handheld programming device, whatever you prefer to call it) based on the PicoCalc and the Luckfox Lyra.
Since I couldn’t find an existing software setup that fit my needs, I wrote a small, custom Linux distribution specifically tailored to the PicoCalc.
The project involves a minor hardware mod for the Luckfox Lyra to get the audio working properly. I also updated the STM32 on the PicoCalc to enable a proper shutdown and power-off function, and added a few new keyboard shortcuts while I was at it. I have a Wi-Fi dongle plugged into the Lyra’s second USB port, which makes downloading software super easy. For coding, I installed the micro text editor, expanded its syntax highlighting, and added code correction for the most programming languages. You can even program ESP32s natively right from the PicoCalc! xD
Since I’m a big Pico-8 fan, I integrated it completely, including working sound and a fully functional SPLORE game browser. If you don’t have a Pico-8 license, TIC-80 is pre-installed as well. I’ve also packed drivers for several common Wi-Fi chips into the OS so it should work plug-and-play for you guys if you decide to try it out. I’m currently finalizing the GitHub page. Does this sound interesting to anyone here, or is there any interest in a project like this at all? xD
Greetings from Germany,
LucaWoro
YES, I’m definitely interested in trying this out if you decide to make it available!
I already have a luckfox lyra and wifi usb adapter I can swap in.
My previous solution for PICO-8 is a pocketCHIP which came with PICO-8 pre-installed with a license. There were updates available for a while on the lexaloffle forums provided by an individual that I think is a Lexaloffle employee, but there has been no update to the latest version posted and a lot of games don’t work with the older version.
Welcome to the forum, @LucaWoro!
Did you try https://calculinux.org/ ?
Maybe you could combine your strengths and achieve even more through collaboration.
Secod to that idea ![]()
Yes, I know Calculinux! I deliberately took a different approach, simply to offer one more option, since the two systems work quite differently.
I have two microSD cards and like to switch between both systems.
LyraCalc OS is based on Ubuntu 24.04 LTS (armhf) and uses apt instead of opkg. That means you can install new software directly on the device from the full Ubuntu repositories, without cross-compiling and without a separate build machine.
Compared to my OS, Calculinux is more of a lean, compact Swiss Army knife, so I see the two serving different use cases.
This is also the first time I’ve published one of my own projects. If anything is missing or I got something wrong, please let me know. Thanks a lot!
You can find the project on GitHub:
Thank you so much for sharing this!
It’s a lot of fun. I haven’t found anything that doesn’t work. I’m using a USB WiFi adapter:
Bus 002 Device 002: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
I did the audio mod and it sounds good. I used the directions found here:
to be sure I was doing it right because the directions in the repo don’t identify which pin numbers to use and there are no pictures. I was afraid I might mix up the pins but that post I linked above has pictures so I could be extra sure.
As a Kubuntu user it’s great to be able to use ubuntu on the picocalc. And pico-8 works great! I had no problem flashing your modified keyboard firmware and the optional overlay is nice to have.
This is such a great project! Thank you for your work on it and for sharing it with us.
edit: I forgot to point out that I used a small boost converter (under all the kapton tape) on the USB plug to take the voltage from 3.3v to 5.0v to hopefully keep the wifi from dipping out or having any issues… so far so good. I can even SSH into the picocalc with no issues other than a slight delay in getting a response from key presses, though that could just be from having the adapter internal and not getting a great signal (or the speed of the lyra board?). I’m considering printing a new back for the picocalc that can accommodate an external usb port to see if that makes a difference.
Can a usb hub be used on the Lyra? I would like to have a wifi dongle and also be able to connect to a lora radio. Wondering the best option for this.
or I was also looking into using a pi zero w 2 adapter cause it seems like it might be easier using that setup.
On internal connector for sure, on USB C the host mode is optional. So far no luck to switch to host mode on USB C under Calculinux. More AI info bellow =>
The Luckfox Lyra B (Rockchip RK3506G2 with 256MB SPI NAND flash) features two independent USB 2.0 OTG controllers, giving you two physical interfaces to use in USB Master (Host) mode. [1, 2, 3]
1. Onboard USB Connectors
- Dedicated USB Host Header (MX1.25 4-Pin): The board includes an onboard MX1.25 4-pin connector wired to the second USB 2.0 channel. Using an MX1.25 4-pin to USB Type-A adapter cable, this port acts directly as a standard USB Host (Master) interface without interfering with your power or flashing port. [1, 2]
- USB Type-C Port (USB0 OTG): The primary Type-C connector is used for 5V power supply, firmware flashing (Loader/MaskRom), and ADB/SSH over USB. While hardware-capable of OTG, it operates in Device/Peripheral mode by default. [1, 2, 3, 4]
2. Using the MX1.25 Port as USB Master
- Plug-and-Play Host: Connect your peripheral (flash drive, keyboard, USB hub, or wireless adapter) to the MX1.25 4-pin header via the 4-pin to USB-A female adapter. [1]
- Power Considerations: Keep in mind that the board runs on 5V via the Type-C port. If you attach high-power USB peripherals (like external drives or Wi-Fi dongles) to the MX1.25 port, ensure your 5V Type-C power source provides sufficient current or use a powered USB hub. [1]
- Mounting Storage: Once connected, verify detection in the Linux terminal using
lsusbordmesg | tail, and mount storage drives (for example,mount /dev/sda1 /mnt/udisk). [1, 2]
3. Switching the USB Type-C Port to Host Mode (Optional)
If you specifically need to turn the USB Type-C port into a second Host port (or use a Type-C OTG adapter):
- System Configuration: Check the terminal configuration utility (
luckfox-config) on your Buildroot image. On Luckfox boards, USB mode switching betweenperipheralandhostis typically found under Advanced Options > USB (note that switching the Type-C port to Host mode disables USB ADB/RNDIS network login, so you will need UART serial access to control the board). - Device Tree (
dr_mode): If building a custom kernel/SDK image from the Luckfox Lyra Wiki, you can force the controller into master mode by settingdr_mode = "host";on the respective&usb20_otg0/&usbdrdnode in your.dtsfile and reflashing the boot/kernel image viaRKDevTool. [1, 2, 3, 4, 5]









