Ignore:
Timestamp:
Jul 24, 2014, 3:19:18 PM (10 years ago)
Author:
cfuguet
Message:

tsar_boot: improving configuration infrastructure

  • Using hard_config.h which respects the same sintax that the hard_config.h file of all TSAR platforms. This file can be then generated by the GIET-VM genmap tool or written manually.
  • All peripheral drivers have been moved to a drivers directory and they are compiled as a static library. This allows GCC to only include in the final .ELF the object files of used peripherals and not all of them.
  • Example hard_config.h and ldscripts have been introduced in the conf directory.
  • Improving comments in all files
Location:
trunk/softs/tsar_boot/conf/platform_de2_115_fpga
Files:
3 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/conf/platform_de2_115_fpga/ldscript

    r757 r758  
    11/**********************************************************
    2   File   : ldscript 
     2  File   : ldscript
    33  Author : Cesar Fuguet
    44  Date   : June 2011
    55**********************************************************/
    66
    7 /* Definition of the base address for code segment */
     7/* Definition of the base address for segments */
    88
    9 seg_reset_code_base     = 0xBFC00000;
    10 
    11 seg_reset_stack_base    = 0x08000000 - 0x4000;;
    12 seg_reset_stack_size    = 0x4000;
     9seg_code_base = 0xFF000000;
     10seg_data_base = 0x03F00000;
    1311
    1412/* Grouping sections into segments */
     
    1816SECTIONS
    1917{
    20     . = seg_reset_code_base;
    21     .text : 
     18    . = seg_code_base;
     19    .text :
    2220    {
    2321        *(.reset)
     
    2927    }
    3028
    31     . = seg_reset_stack_base;
    32     .bss ALIGN(0x4) (NOLOAD) : 
     29    . = seg_data_base;
     30    .bss ALIGN(0x4) (NOLOAD) :
    3331    {
    3432        *(.data)
Note: See TracChangeset for help on using the changeset viewer.