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

582 次查看
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 回复

574 次查看
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 项奖励
回复