Mercurial > ecos
view packages/devs/flash/synth/current/cdl/flash_synth.cdl @ 202:353a011b23b8
Merge from eCos master repository on 2002-01-11-06:43:03-GMT
| author | jlarmour |
|---|---|
| date | Fri, 11 Jan 2002 16:53:46 +0000 |
| parents | |
| children | e0c0827131d1 |
line wrap: on
line source
# ==================================================================== # # flash_synth.cdl # # FLASH memory - Synthetic flash driver for Synthetic target # # ==================================================================== #####COPYRIGHTBEGIN#### # # ------------------------------------------- # The contents of this file are subject to the Red Hat eCos Public License # Version 1.1 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # http://www.redhat.com/ # # Software distributed under the License is distributed on an "AS IS" # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the # License for the specific language governing rights and limitations under # the License. # # The Original Code is eCos - Embedded Configurable Operating System, # released September 30, 1998. # # The Initial Developer of the Original Code is Red Hat. # Portions created by Red Hat are # Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. # All Rights Reserved. # ------------------------------------------- # #####COPYRIGHTEND#### # ==================================================================== ######DESCRIPTIONBEGIN#### # # Author(s): andrew.lunn@ascom.ch # Contributors: jlarmour # Date: 2000-10-30 # #####DESCRIPTIONEND#### # # ==================================================================== cdl_package CYGPKG_DEVS_FLASH_SYNTH { display "Synthetic FLASH memory support" parent CYGPKG_IO_FLASH active_if CYGPKG_IO_FLASH implements CYGHWR_IO_FLASH_DEVICE include_dir . include_files ; # none _exported_ whatsoever description "FLASH memory device support for Synthetic target" compile synth.c flash_erase_block.c flash_program_buf.c flash_query.c cdl_option CYGNUM_FLASH_SYNTH_BLOCKSIZE { display "Size of one block of synth flash" flavor data default_value 65536 legal_values 4096 to 999999 requires { (CYGNUM_FLASH_SYNTH_BLOCKSIZE % 4096) == 0 } description " This controls the size of one block of flash. This is the minimum size that can be erased." } cdl_option CYGNUM_FLASH_SYNTH_NUMBLOCKS { display "Number of blocks in the synth flash" flavor data default_value 16 description " This controls how many blocks there are in the flash" } cdl_option CYGDAT_FLASH_SYNTH_FILENAME { display "Name of file emulating synth flash" flavor data default_value { "\"synth.flash\"" } description " This is the name of the file which holds the contents of the flash. It is mmap'ed into memory and written for flash program & erase operations. It will be created if it does not exist." } cdl_option CYGPKG_DEVS_FLASH_SYNTH_TESTS { display "Synth flash tests" flavor data no_define calculated { "tests/flash1.c"} description " This option specifies the set of tests for the synth flash package." } } # EOF flash_synth.cdl
