NUM_SECTORS = int(enums["STM25P_NUM_SECTORS"])
SECTOR_SIZE = 2**int(enums["STM25P_SECTOR_SIZE_LOG2"])
if NUM_SECTORS == 0 or SECTOR_SIZE == 0:
- stderr.write( 'No valid Stm25p.h in PFLAGS path; check .platform file\n' )
stderr.write( "tos-storage-stm25p: no valid Stm25p.h found.\n\t"
- "Check the platform's .platform file\n" )
+ "Check @includes in the platform's .platform file\n" )
exit(2)
volumes = {}