⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ecos.ecc

📁 eCos/RedBoot for勤研ARM AnywhereII(4510) 含全部源代码
💻 ECC
📖 第 1 页 / 共 5 页
字号:
# eCos saved configuration

# ---- commands --------------------------------------------------------
# This section contains information about the savefile format.
# It should not be edited. Any modifications made to this section
# may make it impossible for the configuration tools to read
# the savefile.

cdl_savefile_version 1;
cdl_savefile_command cdl_savefile_version {};
cdl_savefile_command cdl_savefile_command {};
cdl_savefile_command cdl_configuration { description hardware template package };
cdl_savefile_command cdl_package { value_source user_value wizard_value inferred_value };
cdl_savefile_command cdl_component { value_source user_value wizard_value inferred_value };
cdl_savefile_command cdl_option { value_source user_value wizard_value inferred_value };
cdl_savefile_command cdl_interface { value_source user_value wizard_value inferred_value };

# ---- toplevel --------------------------------------------------------
# This section defines the toplevel configuration object. The only
# values that can be changed are the name of the configuration and
# the description field. It is not possible to modify the target,
# the template or the set of packages simply by editing the lines
# below because these changes have wide-ranging effects. Instead
# the appropriate tools should be used to make such modifications.

cdl_configuration eCos {
    description "" ;

    # These fields should not be modified.
    hardware    anywhereii ;
    template    all ;
    package -hardware CYGPKG_HAL_ARM current ;
    package -hardware CYGPKG_HAL_ARM_ANYWHEREII current ;
    package -hardware CYGPKG_DEVS_ETH_ARM_KS32C5000 current ;
    package -hardware CYGPKG_IO_FLASH current ;
    package -hardware CYGPKG_DEVS_FLASH_ARM_ANYWHEREII current ;
    package -hardware CYGPKG_DEVS_FLASH_SST_39VFXXX current ;
    package CYGPKG_HAL current ;
    package CYGPKG_IO current ;
    package CYGPKG_IO_SERIAL current ;
    package CYGPKG_INFRA current ;
    package CYGPKG_KERNEL current ;
    package CYGPKG_MEMALLOC current ;
    package CYGPKG_ISOINFRA current ;
    package CYGPKG_LIBC current ;
    package CYGPKG_LIBC_I18N current ;
    package CYGPKG_LIBC_SETJMP current ;
    package CYGPKG_LIBC_STARTUP current ;
    package CYGPKG_LIBC_STDIO current ;
    package CYGPKG_LIBC_STDLIB current ;
    package CYGPKG_LIBC_STRING current ;
    package CYGPKG_LIBC_TIME current ;
    package CYGPKG_LIBM current ;
    package CYGPKG_POSIX current ;
    package CYGPKG_IO_WATCHDOG current ;
    package -template CYGPKG_IO_WALLCLOCK current ;
    package -template CYGPKG_ERROR current ;
    package -template CYGPKG_IO_FILEIO current ;
    package -template CYGPKG_NET current ;
    package -template CYGPKG_NET_FREEBSD_STACK current ;
    package -template CYGPKG_SNMPAGENT current ;
    package -template CYGPKG_SNMPLIB current ;
    package -template CYGPKG_NS_DNS current ;
    package -template CYGPKG_IO_ETH_DRIVERS current ;
    package -template CYGPKG_CRC current ;
    package -template CYGPKG_CPULOAD current ;
    package -template CYGPKG_NET_SNTP current ;
    package -template CYGPKG_HTTPD current ;
};

# ---- conflicts -------------------------------------------------------
# There are no conflicts.

# ---- contents --------------------------------------------------------
# >
# >
# Redboot for ARM options
# This option lists the target's requirements for a valid Redboot
# configuration.
#
cdl_component CYGPKG_REDBOOT_ARM_OPTIONS {
    # This option is not active
    # ActiveIf constraint: CYGPKG_REDBOOT
    #     CYGPKG_REDBOOT (unknown) == 0
    #   --> 0

    # There is no associated value.

    # The following properties are affected by this value
};

# >
# Provide the exec command in RedBoot
# This option contains requirements for booting linux
# from RedBoot. The component is enabled/disabled from
# RedBoots CDL.
#
cdl_component CYGPKG_REDBOOT_ARM_LINUX_EXEC {
    # This option is not active
    # The parent CYGPKG_REDBOOT_ARM_OPTIONS is not active
    # ActiveIf constraint: CYGBLD_BUILD_REDBOOT_WITH_EXEC
    #     CYGBLD_BUILD_REDBOOT_WITH_EXEC (unknown) == 0
    #   --> 0

    # There is no associated value.
};

# >
# Physical base address of linux kernel
# This is the physical address of the base of the 
# Linux kernel image.
#
cdl_option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS {
    # This option is not active
    # The parent CYGPKG_REDBOOT_ARM_LINUX_EXEC is not active

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value 0
    # value_source default
    # Default value: CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT
    #     CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT == 0
    #   --> 0
};

# Default physical base address of linux kernel
# This is the physical address of the base of the 
# Linux kernel image. This option gets set by the 
# platform CDL.
#
cdl_option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT {
    # This option is not active
    # The parent CYGPKG_REDBOOT_ARM_LINUX_EXEC is not active

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value 0x00008000
    # value_source default
    # Default value: 0x00008000

    # The following properties are affected by this value
    # option CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS
    #     DefaultValue: CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT
};

# Base address of linux kernel parameter tags
# This is the base address of the area of memory used to
# pass parameters to the Linux kernel. This should be chosen
# to avoid overlap with the kernel and any ramdisk image.
#
cdl_option CYGHWR_REDBOOT_ARM_LINUX_TAGS_ADDRESS {
    # This option is not active
    # The parent CYGPKG_REDBOOT_ARM_LINUX_EXEC is not active

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value 0x00000100
    # value_source default
    # Default value: 0x00000100
};

# <
# <
# Global build options
# Global build options including control over
# compiler flags, linker flags and choice of toolchain.
#
cdl_component CYGBLD_GLOBAL_OPTIONS {
    # There is no associated value.

    # The following properties are affected by this value
};

# >
# Global command prefix
# This option specifies the command prefix used when
# invoking the build tools.
#
cdl_option CYGBLD_GLOBAL_COMMAND_PREFIX {
    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value arm-elf
    # value_source default
    # Default value: arm-elf
};

# Global compiler flags
# This option controls the global compiler flags which are used to
# compile all packages by default. Individual packages may define
# options which override these global flags.
#
cdl_option CYGBLD_GLOBAL_CFLAGS {
    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value "-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority"
    # value_source default
    # Default value:  (CYGHWR_THUMB && CYGHWR_HAL_ARM_BIGENDIAN) ? "-mthumb-interwork -mbig-endian -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" :
    #                        CYGHWR_THUMB ? "-mthumb-interwork -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" :
    #                        (CYGHWR_HAL_ARM_CPU_FAMILY == "ARM9") && CYGHWR_HAL_ARM_BIGENDIAN ? "-mcpu=arm9 -mbig-endian -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" :
    #                        (CYGHWR_HAL_ARM_CPU_FAMILY == "ARM9") && ! CYGHWR_HAL_ARM_BIGENDIAN ? "-mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" :
    #                        (CYGHWR_HAL_ARM_CPU_FAMILY != "ARM9") && CYGHWR_HAL_ARM_BIGENDIAN ? "-mcpu=arm7tdmi -mbig-endian -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" :
    #                        "-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" 
    #     CYGHWR_THUMB == 0
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #     CYGHWR_THUMB == 0
    #     CYGHWR_HAL_ARM_CPU_FAMILY == ARM7
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #     CYGHWR_HAL_ARM_CPU_FAMILY == ARM7
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #     CYGHWR_HAL_ARM_CPU_FAMILY == ARM7
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #   --> "-mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority"

    # The following properties are affected by this value
    # option CYGBLD_INFRA_CFLAGS_WARNINGS_AS_ERRORS
    #     Requires:  is_substr(CYGBLD_GLOBAL_CFLAGS, " -Werror") 
    # option CYGBLD_INFRA_CFLAGS_PIPE
    #     Requires:  is_substr(CYGBLD_GLOBAL_CFLAGS, " -pipe") 
};

# Global linker flags
# This option controls the global linker flags. Individual
# packages may define options which override these global flags.
#
cdl_option CYGBLD_GLOBAL_LDFLAGS {
    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value "-mcpu=arm7tdmi -g -nostdlib -Wl,--gc-sections -Wl,-static"
    # value_source default
    # Default value:  (CYGHWR_THUMB && CYGHWR_HAL_ARM_BIGENDIAN) ? "-mthumb-interwork -mbig-endian -g -nostdlib -Wl,--gc-sections -Wl,-static" :
    #                        CYGHWR_THUMB ? "-mthumb-interwork -g -nostdlib -Wl,--gc-sections -Wl,-static" :
    #                        (CYGHWR_HAL_ARM_CPU_FAMILY == "ARM9") && CYGHWR_HAL_ARM_BIGENDIAN ? "-mcpu=arm9 -mbig-endian -g -nostdlib -Wl,--gc-sections -Wl,-static" :
    #                        (CYGHWR_HAL_ARM_CPU_FAMILY == "ARM9") && ! CYGHWR_HAL_ARM_BIGENDIAN ? "-mcpu=arm9 -g -nostdlib -Wl,--gc-sections -Wl,-static" :
    #                        (CYGHWR_HAL_ARM_CPU_FAMILY != "ARM9") && CYGHWR_HAL_ARM_BIGENDIAN ? "-mcpu=arm7tdmi -mbig-endian -g -nostdlib -Wl,--gc-sections -Wl,-static" :
    #                        "-mcpu=arm7tdmi -g -nostdlib -Wl,--gc-sections -Wl,-static" 
    #     CYGHWR_THUMB == 0
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #     CYGHWR_THUMB == 0
    #     CYGHWR_HAL_ARM_CPU_FAMILY == ARM7
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #     CYGHWR_HAL_ARM_CPU_FAMILY == ARM7
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #     CYGHWR_HAL_ARM_CPU_FAMILY == ARM7
    #     CYGHWR_HAL_ARM_BIGENDIAN == 0
    #   --> "-mcpu=arm7tdmi -g -nostdlib -Wl,--gc-sections -Wl,-static"
};

# Build GDB stub ROM image
# This option enables the building of the GDB stubs for the
# board. The common HAL controls takes care of most of the
# build process, but the final conversion from ELF image to
# binary data is handled by the platform CDL, allowing
# relocation of the data if necessary.
#
cdl_option CYGBLD_BUILD_GDB_STUBS {
    # Flavor: bool
    # No user value, uncomment the following line to provide one.
    # user_value 0
    # value_source default
    # Default value: 0
    # Requires:  CYG_HAL_STARTUP == "ROM" 
    #     CYG_HAL_STARTUP == RAM
    #   --> 0
    # Requires: CYGSEM_HAL_ROM_MONITOR
    #     CYGSEM_HAL_ROM_MONITOR == 0
    #   --> 0
    # Requires: CYGBLD_BUILD_COMMON_GDB_STUBS
    #     CYGBLD_BUILD_COMMON_GDB_STUBS == 0
    #   --> 0
    # Requires: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
    #     CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS == 0
    #   --> 0
    # Requires: CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
    #     CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT == 0
    #   --> 0
    # Requires: CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT
    #     CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT == 1
    #   --> 1
    # Requires: ! CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT
    #     CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT == 1
    #   --> 0
    # Requires: ! CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM
    #     CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM == 1
    #   --> 0
};

# Build common GDB stub ROM image
# Unless a target board has specific requirements to the
# stub implementation, it can use a simple common stub.
# This option, which gets enabled by platform HALs as
# appropriate, controls the building of the common stub.
#
cdl_option CYGBLD_BUILD_COMMON_GDB_STUBS {
    # Flavor: bool
    # No user value, uncomment the following line to provide one.
    # user_value 0
    # value_source default
    # Default value: 0
    # Requires: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
    #     CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS == 0
    #   --> 0

    # The following properties are affected by this value
    # option CYGBLD_BUILD_GDB_STUBS
    #     Requires: CYGBLD_BUILD_COMMON_GDB_STUBS
};

# <
# CygMon HAL options
# This option also lists the target's requirements for a valid CygMon
# configuration.
#
cdl_component CYGPKG_CYGMON_HAL_OPTIONS {
    # This option is not active
    # ActiveIf constraint: CYGPKG_CYGMON
    #     CYGPKG_CYGMON (unknown) == 0
    #   --> 0

    # There is no associated value.
    # Requires: CYGPKG_IO_SERIAL_ARM_SNDS
    #     CYGPKG_IO_SERIAL_ARM_SNDS (unknown) == 0
    #   --> 0
    # Requires: (CYGDAT_CYGMON_CONSOLE_DEV != "\"/dev/ser0\"") ||  (CYGPKG_IO_SERIAL_ARM_SNDS_SERIAL0 &&               (CYGNUM_IO_SERIAL_ARM_SNDS_SERIAL0_BUFSIZE == 512))
    #     CYGDAT_CYGMON_CONSOLE_DEV == 0
    #     CYGPKG_IO_SERIAL_ARM_SNDS_SERIAL0 (unknown) == 0
    #     CYGNUM_IO_SERIAL_ARM_SNDS_SERIAL0_BUFSIZE (unknown) == 0
    #   --> 1
    # Requires: (CYGDAT_CYGMON_CONSOLE_DEV != "\"/dev/ser1\"") ||  (CYGPKG_IO_SERIAL_ARM_SNDS_SERIAL1 &&               (CYGNUM_IO_SERIAL_ARM_SNDS_SERIAL1_BUFSIZE == 512))
    #     CYGDAT_CYGMON_CONSOLE_DEV == 0
    #     CYGPKG_IO_SERIAL_ARM_SNDS_SERIAL1 (unknown) == 0
    #     CYGNUM_IO_SERIAL_ARM_SNDS_SERIAL1_BUFSIZE (unknown) == 0
    #   --> 1
};

# >
# Serial port for default console
# This option selects the physical device to use as the default
# console device for CygMon.
#
cdl_option CYGDAT_CYGMON_CONSOLE_DEV {
    # This option is not active
    # The parent CYGPKG_CYGMON_HAL_OPTIONS is not active

    # Flavor: data
    # No user value, uncomment the following line to provide one.
    # user_value "\"/dev/ser0\""
    # value_source default

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -