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

📄 redboot.cdl

📁 eCos操作系统源码
💻 CDL
📖 第 1 页 / 共 4 页
字号:
            description      "                This option controls the granularity of the timers.                Faster CPUs can afford higher granularity (lower values)                which should give higher network performance since the stack                is purely polled."        }        compile main.c        compile misc_funs.c io.c parse.c ticks.c syscall.c alias.c        compile -library=libextras.a load.c        make -priority 320 {            <PREFIX>/bin/redboot.elf : $(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a $(PREFIX)/lib/libextras.a                    @sh -c "mkdir -p $(dir $@)"                    $(CC) -c $(INCLUDE_PATH) $(CFLAGS) -o $(PREFIX)/lib/version.o $(REPOSITORY)/$(PACKAGE)/src/version.c                    $(CC) $(LDFLAGS) -L$(PREFIX)/lib -Ttarget.ld -o $@ $(PREFIX)/lib/version.o        }        cdl_component CYGPKG_REDBOOT_NETWORKING {            display       "Redboot Networking"            flavor        bool            active_if     CYGPKG_IO_ETH_DRIVERS            default_value 1            implements    CYGINT_REDBOOT_LOAD_METHOD            compile net/bootp.c net/udp.c net/ip.c net/pktbuf.c net/cksum.c            compile net/enet.c net/icmp.c net/tcp.c net/timers.c net/arp.c            compile net/inet_addr.c            compile -library=libextras.a net/ping.c net/net_io.c             description "This option includes networking support in RedBoot."            define_proc {                puts $::cdl_system_header "#define CYGNUM_HAL_VIRTUAL_VECTOR_AUX_CHANNELS 1"            }                cdl_option CYGDBG_REDBOOT_NET_DEBUG {                display          "Print net debug information"                flavor           bool                default_value    0                description      "                    This option is overriden by the configuration stored in flash."            }                cdl_option CYGSEM_REDBOOT_NET_TFTP_DOWNLOAD {                display          "Support TFTP for download"                flavor           bool                default_value    1                compile          -library=libextras.a net/tftp_client.c                description      "                    This option enables the use of the TFTP protocol for download"            }                cdl_option CYGSEM_REDBOOT_NET_HTTP_DOWNLOAD {                display          "Support HTTP for download"                flavor           bool                default_value    1                compile          -library=libextras.a net/http_client.c                description      "                    This option enables the use of the HTTP protocol for download"            }                cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR {                display          "Default IP address"                flavor           booldata                default_value    CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \                                    { "0, 0, 0, 0" }                description      "                    This IP address is the default used by RedBoot if a BOOTP/DHCP                    server does not respond. The numbers should be separated by                    *commas*, and not dots. If an IP address is configured into                    the Flash configuration, that will be used in preference."                    cdl_option CYGSEM_REDBOOT_DEFAULT_NO_BOOTP {                     display          "Do not try to use BOOTP"                     flavor           bool                     default_value    0                     description      "                         By default Redboot tries to use BOOTP to get an IP                         address. If there's no BOOTP server on your network                         use this option to avoid to wait until the                         timeout. This option is overriden by the                         configuration stored in flash."                }            }                cdl_component CYGSEM_REDBOOT_NETWORKING_DHCP {                display          "Use DHCP to get IP information"                flavor           bool                default_value    1                description      "                    Use DHCP protocol to obtain pertinent IP addresses, such as                    the client, server, gateway, etc."            }                cdl_component CYGSEM_REDBOOT_NETWORKING_USE_GATEWAY {                display          "Use a gateway for non-local IP traffic"                flavor           bool                default_value    1                requires         CYGSEM_REDBOOT_NETWORKING_DHCP                description      "                  Enabling this option will allow the RedBoot networking                stack to use a \[single\] gateway to reach a non-local                IP address.  If disabled, RedBoot will only be able to                reach nodes on the same subnet."                    cdl_component CYGDAT_REDBOOT_DEFAULT_GATEWAY_IP_ADDR {                    display          "Default gateway IP address"                    flavor           booldata                    default_value    CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \                                        { "0, 0, 0, 0" }                    description      "                        This IP address is the default used by RedBoot if a BOOTP/DHCP                        server does not respond. The numbers should be separated by                        *commas*, and not dots. If an IP address is configured into                        the Flash configuration, that will be used in preference."                }                    cdl_component CYGDAT_REDBOOT_DEFAULT_IP_ADDR_MASK {                    display          "Default IP address mask"                    flavor           booldata                    default_value    CYGSEM_REDBOOT_FLASH_CONFIG ? 0 : \                                        { "255, 255, 255, 0" }                    description      "                        This IP address mask is the default used by RedBoot if a BOOTP/DHCP                        server does not respond. The numbers should be separated by                        *commas*, and not dots. If an IP address is configured into                        the Flash configuration, that will be used in preference."                }            }                cdl_option CYGNUM_REDBOOT_NETWORKING_TCP_PORT {                display          "TCP port to listen for incoming connections"                flavor           data                default_value    9000                description      "                   RedBoot will 'listen' on this port for incoming TCP connections.                   This allows outside connections to be made to the platform, either                   for GDB or RedBoot commands."            }                cdl_option CYGNUM_REDBOOT_NETWORKING_MAX_PKTBUF {                display          "Number of \[network\] packet buffers"                flavor           data                default_value    4                legal_values     3 to 8                description      "                   RedBoot may need to buffer network data to support various connections.                   This option allows control over the number of such buffered packets,                   and in turn, controls the amount of memory used by RedBoot (which                   is not available to user applications).  Each packet buffer takes up                   about 1514 bytes.  Note: there is little need to make this larger                   than the default."            }                cdl_component CYGPKG_REDBOOT_NETWORKING_DNS {                display         "DNS support"                default_value   1                active_if       CYGPKG_NS_DNS                requires        !CYGPKG_NS_DNS_BUILD                compile         net/dns.c                description     "                    When this option is enabled, RedBoot will be built with                    support for DNS, allowing use of hostnames on the command                    line."                            cdl_option CYGPKG_REDBOOT_NETWORKING_DNS_IP {                    display         "Default DNS IP"                    flavor          data                    active_if       !CYGSEM_REDBOOT_FLASH_CONFIG                    default_value   { "0.0.0.0" }                    description "                      This option sets the IP of the default DNS. The IP can be                      changed at runtime as well."                }                    cdl_option CYGNUM_REDBOOT_NETWORKING_DNS_TIMEOUT {                    display         "Timeout in DNS lookup"                    flavor          data                    default_value   10                    description "                      This option sets the timeout used when looking up an                      address via the DNS. Default is 10 seconds."                }                }	    cdl_option CYGNUM_REDBOOT_DEFAULT_NETWORK_DEVICE {                display         "Default network device driver"                flavor          data                active_if       { !CYGSEM_REDBOOT_FLASH_CONFIG && CYGHWR_NET_DRIVERS > 1 }	        legal_values    0 to CYGHWR_NET_DRIVERS-1                default_value   0                description     "                    This is the index of the first network device driver that                    RedBoot will try to initialize."            }        }            cdl_option CYGPKG_REDBOOT_ANY_CONSOLE {            display       "Allow RedBoot to use any I/O channel for its console."            flavor        bool            default_value 1            description   "              If this option is enabled then RedBoot will attempt to use all              defined serial I/O channels for its console device.  Once input              arrives at one of these channels then the console will use only              that port."        }            cdl_option CYGSEM_REDBOOT_VARIABLE_BAUD_RATE {            display       "Allow RedBoot to adjust the baud rate on the serial console."            flavor        bool            default_value 1            active_if     CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT            description   "              If this option is enabled then RedBoot will support commands to set              and query the baud rate on the selected console."             }            cdl_option CYGSEM_REDBOOT_PLF_STARTUP {            display       "Run a platform specific startup function."            flavor        bool            default_value 0            description   "              If this option is enabled then RedBoot will execute a platform              specific startup function before entering into its command line              processing.  This allows the platform to perform any special              setups before RedBoot actually starts running.  Note: the entire              RedBoot environment will already be initialized at this point."        }            cdl_option CYGSEM_REDBOOT_PLF_ESA_VALIDATE {            display       "Run a platform specific ESA validation function."            flavor        bool            default_value 0            description   "              If this option is enabled then RedBoot will execute a platform              specific function to validate an ethernet ESA.  This would be              useful if the address must conform to standards set by the              hardware manufacturer, etc."        }            cdl_option CYGPKG_REDBOOT_MAX_CMD_LINE {            display       "Maximum command line length"            flavor        data            default_value 256            description   "              This option allows control over how long the CLI command line              should be.  This space will be allocated statically              rather than from RedBoot's stack."        }            cdl_option CYGNUM_REDBOOT_CLI_IDLE_TIMEOUT {            display       "Command processing idle timeout (ms)"            flavor        data            default_value 10            description   "              This option controls the timeout period before the              command processing is considered 'idle'.  Making this              number smaller will cause idle processing to take place              more often, etc.  The default value of 10ms is a reasonable              tradeoff between responsiveness and overhead."        }            cdl_option CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS {            display       "Validate RAM addresses during load"            flavor        bool            default_value 1

⌨️ 快捷键说明

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