Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000011FirmwareStructure / Stylepublic2008-10-29 16:482011-11-26 14:00
Assigned ToFred 
PlatformOSOS Version
Product Version 
Target VersionFutureFixed in Version 
Summary0000011: Define And Reorganise Header Structure
DescriptionCurrently the header structure could be improved somewhat. I would like to see it more granular such that only files that *need* to see certain identifiers can see them. That should be the case with a single exception, main.c which should see everything.
TagsNo tags attached.
Issue TypeImprovement
Risk of Breakagelow
Attached Files

- Relationships
parent of 0000061assignedFred Go Through ALL ISR Code And Check For References To TablesA-D RAM Locations 
Not all the children of this issue are yet resolved or closed.

-  Notes
User avatar (0000007)
Fred (administrator)
2008-10-29 16:50

If possible I'd like to do some tricks to expose various vars for
reading in all files but only allow them to be writable in a few key
places. C lends itself to promiscuity and I'd like to avoid that if
User avatar (0000142)
Fred (administrator)
2009-01-02 14:18

Some of this has been done, but much more is required. This is related to mantis 61
User avatar (0000431)
Fred (administrator)
2011-10-21 12:59

Some thoughts:

 - Comms stuff split into UART ISR, comms common, comms core headers. esc bytes out of globals into this
 - structs.h split into meaninful units that are smaller.
 - globalDefines.h split into system&utility and variableInit and maybe move some to the memory header too and some more to decoderInterface.h
 - freeEMS.h to only contain global struct memory layout stuff, more or less.
 - make directory for define list style headers, sync loss ID, error codes, payloadids, etc.

And more!
User avatar (0000709)
Fred (administrator)
2011-11-26 14:00

structs.h is gone! :-)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker