How to run c program in terminal for imx8mm for Android 10 OS

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

How to run c program in terminal for imx8mm for Android 10 OS

863件の閲覧回数
Ruban1
Contributor II

How to execute C program in terminal for imx8mm for Android 10 OS. For I2C, UART and SPI communication.

ラベル(1)
0 件の賞賛
返信
1 返信

855件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Ruban1,

You can compile your C programs with an ARM cross-compiler:

arm-linux-gnueabi-gcc -static -march=armv7-a test.c -o test

Then you can push your compiled binary file to somewhere (don't push it in to the SD card):

adb push test /data/local/tmp/test

Regards

 

 

 

 

0 件の賞賛
返信