constintLED=2;voidsetup(){// initialize digital pin LED_BUILTIN as an output.
pinMode(LED,OUTPUT);}// the loop function runs over and over again forever
voidloop(){digitalWrite(LED,HIGH);// turn the LED on (HIGH is the voltage level)
delay(1000);// wait for a second
digitalWrite(LED,LOW);// turn the LED off by making the voltage LOW
delay(1000);// wait for a second
}
项目使用了 219045 字节,占用了 (16%) 程序存储空间。最大为 1310720 字节。
全局变量使用了16088字节,(4%)的动态内存,余留311592字节局部变量。最大为327680字节。
esptool.py v3.3
Serial port COM4
Connecting......
Chip is ESP32-D0WD-V3 (revision 3)Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e8:31:cd:74:1c:84
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00045fff...
Flash params set to 0x022f
Compressed 18880 bytes to 12992...
Writing at 0x00001000... (100 %)Wrote 18880 bytes (12992 compressed) at 0x00001000 in 0.5 seconds (effective 279.9 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 350.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 490.3 kbit/s)...
Hash of data verified.
Compressed 219440 bytes to 120828...
Writing at 0x00010000... (12 %)Writing at 0x0001d956... (25 %)Writing at 0x00022fd3... (37 %)Writing at 0x00028288... (50 %)Writing at 0x0002d6ef... (62 %)Writing at 0x00035f5d... (75 %)Writing at 0x0003e042... (87 %)Writing at 0x000438e3... (100 %)Wrote 219440 bytes (120828 compressed) at 0x00010000 in 2.4 seconds (effective 722.3 kbit/s)...
Hash of data verified