Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:43 18 Nov 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 : Windows Console CFunction Generator

Author Message
GerryL
Regular Member

Joined: 24/01/2019
Location: Australia
Posts: 41
Posted: 03:58am 17 Apr 2021
Copy link to clipboard 
Print this post

Not sure if this is useful to others who play around with CFunctions, but attached is a Win32 console application with instructions for converting ELF files into CSub/CFunctions.  It will handle ELF files generated for the MMPlus (PIC32MX470) and CMM2 (STM32H743IIT6).  I have included the source code files in case you want to customise it for your own use, but be aware I'm no expert programmer and I apologies to those who don't like the C++ Standard Template Library.
It's been tested on my CMM2 and E100 and it seems to work fine with my C functions.  I just find it convenient to drag and drop an ELF file onto the application icon on my desk top to generate a CSub and found it really useful in developing my Astro CSub (solar system stuff) for the CMM2, it's just under 100k in size, and this will turn the ELF to a CSub in under a second and leave a copy on the clipboard, so making it easy to work through all my endless self-inflicted bugs.


CFunc Gen.zip

Gerry
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3477
Posted: 11:29am 17 Apr 2021
Copy link to clipboard 
Print this post

It does look useful, thanks. CMM2 CFunctions are on my todo list (but not near the top). I'll be glad to have this tool when I start.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
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