上面是我的微信和QQ群,欢迎新朋友的加入。
地址:https://github.com/DaveGamble/cJSON
解压到Ubuntu下
直接在Ubuntu下使用
gcc test.c cJSON.c -o test -lm ./test
会生成一段测试数据
直接在imx6上面直接使用测试代码
arm-linux-gnueabihf-gcc test.c cJSON.c -o test -lm
拷贝执行文件到板子上,直接运行