Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:30 01 Aug 2025 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 : FAQ / overview of CSUBs on CMM2?

Author Message
johngill
Newbie

Joined: 22/09/2020
Location: United Kingdom
Posts: 38
Posted: 08:52am 24 May 2022
Copy link to clipboard 
Print this post

Hi all,

Does such a thing exist? I'd love to have a crack at writing some CSUBs but don't know where to start. I'm a not-very-experienced programmer, but I have written (and successfully compiled!) simple c / c++ programs in Visual c++ on windows.

It's just what happens between the c/c++ code and the Cortex-M7 hex string that appears in a CMM2 basic program that's stumped me.

Any tips gratefully received!

Thanks in advance

John
 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4311
Posted: 09:19am 24 May 2022
Copy link to clipboard 
Print this post

Hi John,

I don't think there has ever been much beyond posts on the forum, try this Google search "site:https://www.thebackshed.com/ csub".

In a bout of enthusiasm last year I captured some useful links here:

   https://github.com/thwill1000/cmm2-sptools/wiki

but life is too short for me to keep it up to date.

Best wishes,

Tom
MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1003
Posted: 10:38pm 24 May 2022
Copy link to clipboard 
Print this post

This refers to the ArmmiteF4 but summaries a few things from the original CMM2 thread.


ARMmiteF4 CSUBs
Latest F4 Latest H7 FotS
 
GerryL
Newbie

Joined: 24/01/2019
Location: Australia
Posts: 39
Posted: 11:26pm 24 May 2022
Copy link to clipboard 
Print this post

Hi John,
CircuitGizmos had 4 excellent modules on understanding CFunctions, circuitgizmos.com/projects/ . These are a good start.
In just re-checking the link for some reason I get an error when trying to select the module links, not sure what the issue is.

Gerry
 
johngill
Newbie

Joined: 22/09/2020
Location: United Kingdom
Posts: 38
Posted: 07:45am 25 May 2022
Copy link to clipboard 
Print this post

Many thanks all, I'll digest this lot and hopefully make some progress!

John
 
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 2025