Changes between Version 2 and Version 3 of GCI/Obsolete/RefactorBSPs


Ignore:
Timestamp:
09/06/18 20:17:21 (6 years ago)
Author:
Joel Sherrill
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GCI/Obsolete/RefactorBSPs

    v2 v3  
    1212A BSP is a set of code files that provides the glue between RTEMS and a device mother-board. All the BSP code is concentrated in the directory c/src/lib/libbsp which is further subdivided based on CPU family and BSP.
    1313
    14 For Example, c/src/lib/libbsp/arm directory contains the BSPs for the 'arm' family, and c/src/lib/libbsp/arm/gumstix refers to the 'gumstix' BSP.
     14For example, the c/src/lib/libbsp/arm and bsps/arm directories contain the BSPs for the 'arm' family, and c/src/lib/libbsp/arm/gumstix and bsps/arm/gumstix directories refer to the 'gumstix' BSP. The use of two directories is admittedly confusing and reflects some work in transition. All of the source code is in bsps/ and the build system files are under c/src/libbbsp.
    1515
    1616The set of rules pertaining to the standardization of file location and function definitions each file must contain can be found [https://github.com/vipulnayyar/gsoc2013_rtems/blob/master/rules/bsp_file_unified_way_rules.txt here].
    1717
    18 After making changes to any of the files, you'll need to make sure to compile it so that no errors are left. The quick start [http://rtems.org/wiki/index.php/Quick_Start guide] can help you in learning how to compile a BSP for the first time.
     18After making changes to any of the files, you'll need to make sure to compile it so that no errors are left. The [https://docs.rtems.org/branches/master/user/start/index.html Users Guide] can help you in learning how to compile a BSP for the first time.
    1919
    2020RTEMS uses the GNU Autotools for its build system. The Makefile.am, part of Automake, present in each BSP directory contains the list of source files which have to be compiled. The 'libbsp_a_SOURCES' container consists of space seperated values of the path to source files which will be compiled. So in case a new file is created in the BSP, the entry for that newly created file needs to be added to 'libbsp_a_SOURCES'.
     21
    2122=== First things first ===
    2223