[Tinyos Core WG] include in volume files

David Gay dgay42 at gmail.com
Thu Apr 5 09:59:47 PDT 2007


I propose adding a
  <include>PATH</include>
directive to volume xml files, which would be allowed within
<volume_table>. The PATH would get the same expansion treatment that
ncc gives -I directive:
  %T replaced by TOSDIR
  %p replaced by platform (note that this will require passing the
platform to the tos-storage-* commands)
  %P replaced by the platform directory (not in ncc as of now at least)

So a typical file would change from
<volume_table>
  <volume name="BLOCKTEST" size="262144"/>
</volume_table>

to

<volume_table>
  <include>%P/deluge-volumes.xml</include>
  <volume name="BLOCKTEST" size="262144"/>
</volume_table>


I'm assuming we want to have per-platform deluge configuration. If we
think we want per-chip, then we could drop the %p/%P and the platform
arg to tos-storage-* bit.

I'll do this early next week, modified based on answers to this e-mail.

David


More information about the Tinyos-2.0wg mailing list