开发环境安装了arduino 1.8.11。也添加了esp8266的库,每次点编译,出来,error compiling for board generic esp8266 module。不知怎么处理。。
esp8266的arduino开发环境如何搭建啊?我这边老是出现错误。。。
用个简单的程序试一下:我的是Arduino 1.8.13
void setup() {
// put your setup code here, to run once:
Serial.begin(9600); //This pipes to the serial monitor
Serial.println("Initialize Serial Monitor");
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Hello world!"); // Print "Hello World" to the Serial Monitor
delay(1000); // wait for a second
}
下面的黑窗口,只有这些输出:<div class="blockcode"><blockquote>
Executable segment sizes:
IROM : 232936 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26892 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1248 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 748 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 24936 ) - zeroed variables (global, static) in RAM/HEAP
项目使用了 261824 字节,占用了 (27%) 程序存储空间。最大为 958448 字节。
全局变量使用了26932字节,(32%)的动态内存,余留54988字节局部变量。最大为81920字节。
回复
有奖活动 | |
---|---|
【有奖活动】智能可穿戴设备AR/VR如何引领科技新潮流! | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
【有奖活动】震撼来袭!这场直播将直击工程师的心灵! | |
“我想要一部加热台”活动,不花钱赢取开发好工具!活动开始了哦 | |
【有奖活动】伙伴们:您的“需求”解决了吗? |
打赏帖 | |
---|---|
【换取手持数字示波器】AHT10温度检测分享被打赏40分 | |
【换取手持数字示波器】ACM32F070开发板点亮LCD屏和触控按键,串口,ADC被打赏40分 | |
【换取手持数字示波器】ACM32F070LCD屏和触控按键功驱动蜂鸣器分享被打赏40分 | |
【换取手持数字示波器】国民技术PWM功能知识分享被打赏40分 | |
【换取手持数字示波器】放大器运放知识分享被打赏40分 | |
【分享评测,赢取加热台】+开关电源AC输入知识分享被打赏30分 | |
【换取手持数字示波器】N32G430点亮数码管与串口打印、ADC被打赏40分 | |
老胖子聊电路--分析一个反馈电路被打赏50分 | |
【换取手持数字示波器】+点亮WS2812RGB灯被打赏50分 | |
【换取手持数字示波器】+线性调整器理论知识分享被打赏40分 |