add support for Freescale MQX

This commit is contained in:
Chris Conlon
2012-11-01 11:23:42 -06:00
parent a4220120ba
commit f6304ae37a
14 changed files with 169 additions and 14 deletions

View File

@@ -159,6 +159,19 @@ int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
return 0;
}
#elif defined(FREESCALE_MQX)
#warning "write a real random seed!!!!, just for testing now"
int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
{
int i;
for (i = 0; i < sz; i++ )
output[i] = i;
return 0;
}
#elif defined(NO_DEV_RANDOM)
#error "you need to write an os specific GenerateSeed() here"