Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:56 28 Nov 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Coming soon to a CMM2 near you - Basic multi-tasking

     Page 2 of 2    
Author Message
circuit
Guru

Joined: 10/01/2016
Location: United Kingdom
Posts: 312
Posted: 01:35pm 26 Nov 2026
Copy link to clipboard 
Print this post

  matherp said  
  Quote  @37k per thread, this is a no-go for the non-PSRAM pico's.

At the moment this is a cmm2 only capability however, if it will translate to the PicoMite at all then the memory usage can be already be tuned using:
THREAD SIZE kb [, locals] sets the stack and the number of local variables for threads started after it. The stack can be quite low if the thread isn't itself calling many nested subroutines and if it doesn't use many locals. The final code will also allow setting stack and local parameters on a per thread basis.
I see no reason it couldn't be fully usable on an RP2040 let alone an RP2350


Now that would truly be a dream come true; even it was only 4 threads.  For embedded control applications, having an RP2350 with simple multi-threading would be fantastic. Dare I say that I can hardly wait...
 
gob33
Newbie

Joined: 26/02/2018
Location: France
Posts: 9
Posted: 03:05pm 26 Nov 2026
Copy link to clipboard 
Print this post

You can go further :
Use STM32 port of canadian academic µC/OS RTOS by Jean Labrosse as micro kernel.
Add MMBasic as a task by adapting timer, interrupts, blocking I/O
Change STM32H7 to new STM32N6
Add a GUI like GEOS.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 9402
Posted: 07:13pm 26 Nov 2026
Copy link to clipboard 
Print this post

Translated: "Start again from scratch."

;)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 2175
Posted: 10:46pm 26 Nov 2026
Copy link to clipboard 
Print this post

Testing and it's really nice.

Need to hit the sack but now I have a ton more ideas, might be a struggle to sleep  
 
gob33
Newbie

Joined: 26/02/2018
Location: France
Posts: 9
Posted: 11:48pm 26 Nov 2026
Copy link to clipboard 
Print this post

Some kind of a Maximite 3 base:
All Micrium products (µC/OS-II, µC/OS-III, µC/Shell, µC/FS, µC/USB,...) are free under Apache 2.0 license.

Comparable to:
ARM + RiscOS + BBCBasic V + Wimp
STM32N6 + µC/OS + µC/Shell + GEOS + MMBasic

With a GUI like Veranda :


 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026