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 };


cdl_configuration eCos {
    package CYGPKG_IO_FLASH current ;
    package CYGPKG_DEVS_FLASH_STD_IMS current;
    package CYGPKG_DEVS_FLASH_AMD_AM29XXXXX current;
    package CYGPKG_IO_ETH_DRIVERS current ;
    package CYGPKG_IO_FILEIO current ;
    package CYGPKG_ERROR current ;
    package CYGPKG_FS_JFFS2 current ; #needs packs ISOINFRA, CRC, IO_FLASH, IO_FLASH_BLOCK_DEVICE, IO_FILEIO, IO_FILEIO_INODE, LINUX_COMPAT, ERROR; needs ints ISO_ERRNO, ISO_ERRNO_CODES, ISO_MALLOC
    package CYGPKG_LINUX_COMPAT current ;
    package CYGPKG_IO current ; #needed by CYGPKG_IO_FLASH_BLOCK_DEVICE
    package CYGPKG_MEMALLOC current ; #diff
    package CYGPKG_COMPRESS_ZLIB current ; #needs packs 
};
# cdl_configuration eCos {
#     package CYGPKG_IO_ETH_DRIVERS current ;
# };
#     package CYGPKG_FS_FAT current ; #needs packs FILEIO, ISOINFRA, MEMALLOC; needs ints ISO_ERRNO, ISO_ERRNO_CODES
#     package CYGPKG_DEVS_DISK_IDE current ; #needs packs IO_DISK
#     package CYGPKG_IO_DISK current ; #needs packs IO, ERROR
#     package CYGPKG_BLOCK_LIB current ; #needs packs ISOINFRA, MEMALLOC, LINUX_COMPAT, ERROR

cdl_option CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE {
    user_value 4096
}; #sam7 value = 6144

cdl_option CYGDBG_HAL_COMMON_INTERRUPTS_SAVE_MINIMUM_CONTEXT {
    user_value 0
};

cdl_option CYGDBG_HAL_COMMON_CONTEXT_SAVE_MINIMUM {
    inferred_value 0
};

cdl_option CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS {
    user_value 0
};
# Provide diagnostic dump for exceptions
# Print messages about hardware exceptions, including
# raw exception frame dump and register contents.
cdl_option CYGHWR_HAL_ARM_DUMP_EXCEPTIONS {
    user_value 1
    # Default value: 0
    # Requires: !CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
};


cdl_component CYGDBG_HAL_DIAG_TO_DEBUG_CHAN {
    user_value 0
};
cdl_option CYGSEM_HAL_ROM_MONITOR {
    user_value 1
};

cdl_component CYG_HAL_STARTUP {
    user_value ROM
};

cdl_component CYGBLD_BUILD_REDBOOT {
    user_value 1
};

#linux exec
cdl_option CYGBLD_BUILD_REDBOOT_WITH_EXEC {
    user_value 0
};

# Include I/O Memory commands 'iopeek' and 'iopoke'
cdl_option CYGBLD_BUILD_REDBOOT_WITH_IOMEM {
    user_value 1
};

cdl_option CYGBLD_BUILD_REDBOOT_WITH_CACHES {
    user_value 0
};

cdl_option CYGHWR_DEVS_FLASH_AMD_S29GL128N {
        user_value 1
}
# 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_STARTUP {
#     # user_value 0
# };

cdl_option CYGOPT_REDBOOT_FIS {
    user_value 1
};

# When this option is enabled, RedBoot will use CRC checksums
# when reading and writing flash images.
# cdl_option CYGSEM_REDBOOT_FIS_CRC_CHECK {
#     # Default value: 1
# };

# When this option is enabled, RedBoot will keep configuration
# data in a separate block of FLASH memory.  This data will
# include such items as the node IP address or startup scripts.
cdl_component CYGSEM_REDBOOT_FLASH_CONFIG {
    user_value 1
};

# Length of configuration data in FLASH
# cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_SIZE {
#     # user_value 4096
#     # Default value: 4096
# };

# If this option is set, then the FIS directory and FLASH
# configuration database will be stored in the same physical
# FLASH block. NO: if one gets corrupt.., don't loose other
cdl_option CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG {
    user_value 0
    # Default value: 1
};

# Script default timeout value
# This option is used to set the default timeout for startup
# scripts, when they are enabled.
#
cdl_option CYGNUM_REDBOOT_BOOT_SCRIPT_DEFAULT_TIMEOUT {
    user_value 3
    # Default value: 10
};

# Which block of flash should hold the configuration 
# information. Positive numbers are absolute block numbers. 
# Negative block numbers count backwards from the last block.
# eg 2 means block 2, -2 means the last but one block.
# cdl_option CYGNUM_REDBOOT_FLASH_CONFIG_BLOCK {
#     user_value -16
# };
# cdl_option CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK {
#     user_value -24
# };

# cdl_option CYGBLD_REDBOOT_LOAD_INTO_FLASH {
#     user_value 0
#     # Default value: 0 if no flash, 1 if flash (CYGPKG_REDBOOT_FLASH, default
#                                                 1 if CYGHWR_IO_FLASH_DEVICE)
# };

cdl_option CYGPKG_REDBOOT_ANY_CONSOLE {
        user_value 0
};

cdl_option CYGOPT_REDBOOT_REDUNDANT_FIS {
        user_value 1
};
