[GSOC] Unified APIs Project Final Report

Vipul Nayyar nayyar_vipul at yahoo.com
Mon Sep 23 18:09:03 UTC 2013


Since this being the end of the coding period of GSOC 2013, I'm submitting my report for the work done this summer. More detailed glance into the work done can be taken at my blog (http://www.vipulnayyar.com/) across different blog posts written over time during the GSOC timeline.

I've created a separate repository on github ( https://github.com/vipulnayyar/gsoc2013_rtems/ ) where all the code & work done by me can be found. I'll briefly take you through the work done & stuff left in the pipeline below :

Contributed Work
	* Submitted patches to remove legacy code from RTEMS bsps which have been accepted & are currently a part of the official RTEMS repository. These patches were submitted for bsps : csb337, csb336, edb7312, gumstix, gba, rtl22xx, & pc386.

	* Since more than about 100 bsps are a part of RTEMS, so guided instructions & rules for continuing this work has been compiled & is present in my github repository & publicly available on a Google drive document.

	* Studied the PIC interrupt model based on the comments written in irq-generic.h & my own observations. Information about PIC Interrupt Model API  is added to the current RTEMS documentation.

	* For bsps that do not use the generic interrupt framework , rules to initialize & use it are written and present in the code repository. These rules specify how bsp specific code & the generic code works together & handles Interrupt Service Routines before, during and after an interrupt has occurred.

	* Based on my observations from model bsp lpc24xx , rules were compiled based on an ongoing discussion in the community on how bsp support files are included & compiled. These rules specify which set of files are a must to be used by a bsp & in which directory they all must lie. These rules will in future help in maintaining a unified pattern for BSP file organization.

	* Since the above rules are very difficult to check manually for each bsp, so a bash script was written merging the functionality of check_submission from rtems-testing. This script is supposed to be a final test for any bsp developer before his code is accepted into RTEMS, so as to check whether that the bsp code submitted follows this unified pattern of file organization & formatting or not.

To be Done
	* Continue working with the RTEMS community to strengthen the unified way rules and include more checks in it as suggested.

	* Increase code coverage for removing legacy support from bsps by converting them to PIC interrupt support model.

	* Submit regular patches so as to correct the warnings flagged by the new check_submission script in rtems-testing.

I sincerely hope that my work will benefit the RTEMS community as a whole in the long run & avoid incurring any more technical debt  so that someone else doesn't have to pay for it. I gladly look forward to working with RTEMS developers in future while continuing the work done in GSOC & maybe more !!

Vipul Nayyar 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130924/0ea30eef/attachment.html>

More information about the devel mailing list