blob: 3c907897e85429019ae6bdfd5492bb8335cf077d [file] [log] [blame]
xdc-H04 (corevers:; B:200,G:200,R:200)
eXpanDed C Tools (XDCtools)
This tree contains the RTSC build and configuration engines for
target content. The tree is used in XDCtools 3.60 product releases where
we implemented some changes that allow for smaller config C files.
Librarian repo creation
The xdc.git repo was created to "track" the repo maintained at and was created as follows:
git clone --bare ssh:// xdc.git
cd xdc.git
git config remote.origin.fetch "+refs/heads/*:refs/heads/*"
o setup ssh to enable "git" from xlibrary as "dr" (if necessary)
cd ~xlibrary/.ssh
cp -f config-dr config
o fetch the latest changes from the Eclipse git server
cd xdc.git
git fetch
o Build this tree from Linux using standard SM-MAKE
# clone the tree and merge/review user content
ggentree -u xdc.git/
cd xdc-H??
# unzip from the last released tree
unzip ../xdc-H??/
# make sure the user email and name are your eclipse credentials
git merge origin/xdccore-H-dr
# build the tree on Linux
SM-MAKE .clean
SM-MAKE .all-files >& Make.log
# update README
emacs README
git commit -a -m xdc-H??
# release the tree
greltree -m "something brief and meaningful"
o to build only packages in src/packages from scratch:
SM-MAKE .xdc-packages
o to build bundles:
SM-MAKE .bundles
xdc.runtime fixed a MISRA warning in Error_IGNORE with a missing cast for
unsigned short
reverted the change from CString to String for literal strings
in Text. If they are changed, then the type of Label.iname must
change too because we assign these strings from Text to iname.
MISRA tags such assignments if one type is String (i.e. char*)
while another is CString (const char*). If we change iname to
CString, then the return type of the existing Mod_Handle_name
functions is incorrect because they get a Label value and then
extract iname.
there were missing useModule calls between Assert, Diags and Log
that caused some of these modules to be missing in the
configurations that worked before changes that made the config C
file smaller. None of these modules are included in the
configurations that we care about, so these added calls are not
affecting the minimal config C file.
core for vectors, the pointer 'elem' is a const pointer. If
initialization of such vectors includes a cast, that cast must
preserve 'const' qualifier