2021-01-11

安信可 IDE 1.5 开发学习记录

1、按照https://blog.csdn.net/Boantong_/article/details/106229281 官方教程,总是提示  user_esp_platform_timer.c:77:19: error: implicit declaration of function 'in的报错。

后来按照https://blog.csdn.net/felix_tao/article/details/106698643 这个教程还是一样。 卸载重装了好几次,还是一样的情况。后来更换了example 底下另外一个项目去测试,

就可以正常编译。

3、更换电脑安装新环境,按照上述步骤一直提示:

20:18:50 **** Build of configuration Default for project smart_config ****
make COMPILE=gcc BOOT=new APP=1 SPI_SPEED=40 SPI_MODE=DIO SPI_SIZE_MAP=6 all 
make[1]: Entering directory '/e/Ai-Thinker V1.1/workspace/ESP8266_NONOS_SDK-3.0/smart_config/user'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -fno-builtin-printf -DICACHE_FLASH -DSPI_FLASH_SIZE_MAP=6 -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle -I ../../driver_lib/include user_main.c
/bin/sh: line 1: xtensa-lx106-elf-gcc: command not found
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -fno-builtin-printf  -DICACHE_FLASH -DSPI_FLASH_SIZE_MAP=6   -I include -I ./ -I ../../include/ets -I ../include -I ../../include -I ../../include/eagle -I ../../driver_lib/include  -o .output/eagle/debug/obj/user_main.o -c user_main.c
make[1]: xtensa-lx106-elf-gcc: Command not found
make[1]: *** [../../Makefile:346: .output/eagle/debug/obj/user_main.o] Error 127
make[1]: Leaving directory '/e/Ai-Thinker V1.1/workspace/ESP8266_NONOS_SDK-3.0/smart_config/user'
make: *** [../Makefile:331: .subdirs] Error 2

20:18:53 Build Finished (took 3s.512ms)

像是环境变量配置类似的问题,目前没找到问题所在

 

2、在上一步的基础上输出hello word 。直接用example里面一个示例去改就可以,我这边用的是smartconfig,和上面的步骤一样。这里比较坑的是,在IDE里面编辑的代码一定要去保存一下

我没有保存,每次下载到开发板都得不到自己想要的结果,纳闷了好多次,再静下心来发现这个没保存。保存下,再clean   编译之后就得到自己想要的hello word了 

3、下载程序的截图:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值