comparison packages/hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl @ 115:6ed91473a1cd ecos-sw-2000-08-21

Merge from eCos master repository on 2000-08-21-22:40:54-BST
author jlarmour
date Fri, 25 Aug 2000 17:32:38 +0000
parents 84e4bde58b26
children 518f42066aba
comparison
equal deleted inserted replaced
114:5ad2b71d525e 115:6ed91473a1cd
53 compile hal_diag.c edb7xxx_misc.c 53 compile hal_diag.c edb7xxx_misc.c
54 54
55 implements CYGINT_HAL_DEBUG_GDB_STUBS 55 implements CYGINT_HAL_DEBUG_GDB_STUBS
56 implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK 56 implements CYGINT_HAL_DEBUG_GDB_STUBS_BREAK
57 implements CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT 57 implements CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT
58 implements CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_GUARANTEED
58 59
59 define_proc { 60 define_proc {
60 puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>" 61 puts $::cdl_system_header "#define CYGBLD_HAL_TARGET_H <pkgconf/hal_arm.h>"
61 puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_edb7xxx.h>" 62 puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_edb7xxx.h>"
62 } 63 }
139 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS { 140 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS {
140 display "Number of communication channels on the board" 141 display "Number of communication channels on the board"
141 flavor data 142 flavor data
142 calculated 2 143 calculated 2
143 } 144 }
145
146 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_DEFAULT {
147 display "Default console channel."
148 flavor data
149 legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
150 calculated 0
151 }
144 152
145 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL { 153 cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL {
146 display "Debug serial port" 154 display "Debug serial port"
147 flavor data 155 flavor data
148 legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1 156 legal_values 0 to CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS-1
557 the most basic support which is likely to be common to most 565 the most basic support which is likely to be common to most
558 implementations of ROM monitor. 566 implementations of ROM monitor.
559 \"GDB_stubs\" provides support when GDB stubs are included in 567 \"GDB_stubs\" provides support when GDB stubs are included in
560 the ROM monitor or boot ROM." 568 the ROM monitor or boot ROM."
561 } 569 }
570
571 cdl_component CYGPKG_REDBOOT_HAL_OPTIONS {
572 display "Redboot HAL options"
573 flavor none
574 no_define
575 parent CYGPKG_REDBOOT
576 active_if CYGPKG_REDBOOT
577 description "
578 This option lists the target's requirements for a valid Redboot
579 configuration."
580
581 cdl_option CYGBLD_BUILD_REDBOOT_BIN {
582 display "Build Redboot ROM binary image"
583 active_if CYGBLD_BUILD_REDBOOT
584 default_value 1
585 no_define
586 description "This option enables the conversion of the Redboot ELF
587 image to a binary image suitable for ROM programming."
588
589 make -priority 325 {
590 <PREFIX>/bin/redboot.bin : <PREFIX>/bin/redboot.elf
591 $(OBJCOPY) --strip-debug $< $(@:.bin=.img)
592 $(OBJCOPY) -O srec $< $(@:.bin=.srec)
593 $(OBJCOPY) -O binary $< $@
594 }
595 }
596 }
597
562 } 598 }