]> oss.titaniummirror.com Git - tinyos-2.x.git/commit
Workaround the erase problems with AT45DB
authorrazvanm <razvanm>
Sat, 16 Jan 2010 10:02:29 +0000 (10:02 +0000)
committerrazvanm <razvanm>
Sat, 16 Jan 2010 10:02:29 +0000 (10:02 +0000)
commit809036bc77a8366b0f9aa2d78cdcacdcc4dc1379
tree66374c78c634c6e90e000c59cb63838939bb5a4e
parent788537fe28c47e92ce684994f88f85b41f92f798
Workaround the erase problems with AT45DB

The previous commit did not take in consideration that STM45P
requires the erase operation. The new strategy is to make the
FlashVolumeManager refuse the erase for AT45DB, and make the
tos-deluge attempt to overwrite of the metadata only when the
erase fails.
tools/tinyos/misc/tos-deluge
tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerP.nc