This is the mail archive of the
mailing list for the eCos project.
Re: V2 flash - configury clean-up
>>>>> "Andrew" == Andrew Lunn <firstname.lastname@example.org> writes:
>> Some Tcl scripting has been used to generate the block device
>> configury, and as a side effect CYGSEM_IO_FLASH_BLOCK_DEVICE_2 is
>> now CYGPKG_IO_FLASH_BLOCK_DEVICE_2. CYGSEM_ violated the naming
Andrew> Thanks for putting in all this work on the Flash code. I
Andrew> particularly likes this bit. Very clever. Pitty the "2"
Andrew> cannot itself be a CDL option, but from what i understand,
Andrew> Tcl cannot access CDL variables.
You are welcome - and there are more patches still to come. I just
hope I haven't broken anything serious yet.
In this case Tcl accessing CDL variables wouldn't help. The Tcl only
gets evaluated when the CDL script is read, not every time some CDL
count variable changes. In the original CDL design there was a concept
of instantiating n objects based on the value of a CDL variable, but
that part of the design was never completely fleshed out and sadly
enhancing CDL is still not a high priority.
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts