Picoware (Open-Source Custom Firmware)

i highly recomend jblanked’s discord server. Also: how do you fight with ChatGPT? Maybe i can help you with that.

quicktip: use at least gpt 5.6 medium or better: on high. below medium its questionable that anything runs.

1 Like

“fight” is a way of saying :)) Is more like fighting with myself to find the right words to explain what I want and adapt the code to the real world since AI doesn’t know how the code manifest itself when implemented on the hardware. Still a great help though… I’ll check on jblanked’s discord server.

Edit: I have the ChatGPT Plus version so is pretty good.

Cheers!

do you use it in the webbrowser? and then copy and paste the code?

Yes, I use it in the web browser, but I could install it on my system or link it to the VSCode, but I was focused on polishing the code rather to set up my working environment. I rarely do programming that’s why… Even now, I just wanted a web browser on the PicoCalc, that’s all. On the Github I upload the files with the code, I don’t know exactly the structure and the workflow on Git, how the forking, merging and pull requests work. So feel free or (anyone) to take the code and improve it as you wish. My contribution to it is minimal, if not none. ChatGPT stole from us and I stole (or rather payed) from/for it :slight_smile:

i have done this workflow for weeks. Its daunting and very frustrating.
use vscode + codex plugin. clone the picoware repo to your pc and open it in vscode. So chatgpt then can see the repo codebase and does not need to guess like in the browser.
also with this method you can use the simulator to run/test/debug your app without putting it on the sd card all the time only to find out it troughs NameErrors right on loading the app or all other stuff gpt webchat does not know about. i tested your app and i ran into run out of memory when loading a page because its too big. Not a criticue just a reminder for myself of the problems that i run into all the time when using the web browser for code generation.

2 Likes

also come to J’s discord. i am basically online all day there so we can let this thread to picoware itself. So we do not make, totally by accident,a vscode codex setup tread.

1 Like

I’m already on the @jblanked discord server. Talk to you there!

2 Likes

ok, i am normaly in the picoware-chat room

1 Like

Here is totally fine. I see you have joined the Discord too :slightly_smiling_face: thanks for helping them with setup @Slasher006 :fire:

2 Likes

MicroBrowser

A small web browser for Picoware/Micropython on PicoCalc/Pico 2W

Copy the file: MicroBrowser.py

  • into the Picoware apps directory on the SD card

Copy the files:

  • browser_store.py
  • config.py
  • htmlparser.py
  • micro_browser_app.py
  • textcodec.py
  • urltools.py

into a new folder /micro_browser into the existing picoware folder.

Restart Picoware. Open MicroBrowser from the application list.

Controls

The main menu contains SEARCH THE WEB, URL SEARCH, and RSS. URL SEARCH automatically opens a site’s advertised RSS/Atom feed when one is available. The RSS menu provides the feed list and options to add, rename, or remove feeds.

Up/Down → Scroll
Left/Right → Select previous/next link
Enter → Open selected link
Enter with no selected link → URL text input
Back/Esc → Previous article, page, or parent menu Shift & Tab/Home → exit the app & return to the main menu

The main purpose of the browser is search for websites online and read text/news. It is not for email reading, social media etc. The browser will try to scrap all unnecessary information and only keep the relevant text and navigation links. Some news sites like www.theguardian.com , www.spiegel.de will load really slow and parsing could take a couple of minutes. That’s because they are full of “junk” and the server response is big. Some sites load pretty fast, like www.biziday.ro . It all depends on how much “stuff” the website has.

With the browser you can search the web with the help of Duckduckgo Lite, access a specific website if you know the URL, or add RSS feed URL.

Feel free to test various websites. Your feedback is more than welcomed.

P.S. Keep an eye on the browser cache folder *.json file if it might become too big. Normally, the browser should discard all the unnecessary cache and information.

Cheers!

6 Likes

Yooo this looks :fire: :fire: :fire: You should submit it to the App Store :slightly_smiling_face:

2 Likes

I downloaded Picoware and it’s quite impressive. I’ve tried hooking my picocalc up to thonny on a pc. I assume that I put the picocalc into python repl. I do that and thonny sees it. To run a python command, I either run it interactively from the shell part of thonny or write the program file part and then run it. What shows up run in the shell part of thonny. At the same time, my picocalc is now locked up which may or not be a problem. That one of the things I want to ask you. The other is that I’m working on using graphics (framebuffer commands) and if the won’t show in the repl on the picocalc, how will I know if they work? Is there something I missing when I setup to use thonny?

1 Like

Hey, thanks for checking out Picoware!

This ThonnyIDE guide should jumpstart you with Thonny setup: Picoware/guides/ThonnyIDE.md at main · jblanked/Picoware · GitHub (there’s a video at the bottom too for more details)

This Apps guide walks through how apps work within Picoware: Picoware/guides/Apps.md at main · jblanked/Picoware · GitHub

You can access the REPL and Python Editor on-device and I think is the quickest way to write and run quick scripts.

Picoware’s sytem manages a framebuffer and provides high-level methods to access it via the Draw class.

Thanks! I’ll take a look.

1 Like

I installed PicoWare 2.1.0 on my PicoCalc with an RP2350W installed. Trying to run System → Update gives

"Error running view: 'tuple' object doesn't support item assignment"

Hey, thanks for checking out Picoware! That issue has been reported and is fixed in the next release.

1 Like

Picoware 2.2 is HERE :partying_face:

This release adds an MMBasic interpreter, an Email system app to read and write messages, Ghouls multiplayer, Code and Flash Desktop app views, and support for the Marauder V8 and Waveshare 1.69 Touch LCD. It also cleans up the Keyboard class and other GUI classes for consistent visibility and interaction on all supported devices.

Thank you for your support!!

Check out the full release notes here:

aftet the download completes I click enter and upon loading the uf2 file it gets the error “[uf2] ERROR:incomplete: got 7039 expected 7449”

tried this several times, same result each time.
it seems there is no longer the means to download the uf2 file for myself and copy it to my SD card - I think this would be useful at times like this/

also when I try to restart the pico with f5 pressed and choose the picowarwe choice I get the error “ERR: Bad uf2 file”

And now the Picocalc is not bootable at all.

Bummer