# Forum: ARM programming with GCC/GNU tools Modular Programming in ARMS

Rate this post
 0 ▲ useful ▼ not useful
hi,

I have a qns.

I have a list of ARMS source code that is compiled using Embest IDE.

We have written many different functions but it looks very unorganised
and there seems to be proper grouping of functions by similarity into
modules.

I was looking at object-oriented and those class-based programming. like
those A::B function with parent-child relationship and data
structures...  know A::B function is available in C++ but not in C, yet
embedded software are normally compiled in C.

if i can do some sort of grouping like this and then later on, use
doxygen to create a proper documentation so that all related functions
are displayed in the form of parent-child relationship through a
class-based diagrams (like having nodes), then my objective would have
been met.

for example, for a GPRS module, we have at least more than 10 different
functions written for it, such as GPRS_Init, GPRS_GetState etc.... i
want to be able to group those similar functions together.

Has anyone ever implement such types of modular programming into an
embedded system? Or is there other IDE that is suitable?

Would appreciate any advice

• $formula (LaTeX syntax)$