where can I find correct driver for unit_tests?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

where can I find correct driver for unit_tests?

965件の閲覧回数
leeseungik
Contributor III

Hi

I am trying to test some module on sabrelite board.

because of the size issue I have to use small fs so I use compact buildroot fs.

I found unit_tests source file but can't find correct driver to use unit_tests app.

for example, to test mxc_i2c_test

32         i2c_file = open("/dev/mxc_test", O_RDWR);

33         if (i2c_file < 0) {

34                 printf("Open failed\n");

35                 exit(-1);

36         }

37

38         /* Enable the CSI clock */

39         ioctl(i2c_file, MXCTEST_I2C_CSICLKENB, &i2c_test);

where can I find these information of /dev/mxc_test or MXCTEST_I2C_CSICLKENB ... and so on ..

Thanks

silee


ラベル(1)
タグ(3)
0 件の賞賛
返信
0 返答(返信)