Comments (9)
谢谢,我成功了!!
SDK版本似乎还是v3.3rc?
git clone https://github.com/espressif/ESP8266_RTOS_SDK.git
cd ESP8266_RTOS_SDK
git checkout 1be2289fcd68672f5d6bf6aafa4f4b57b20527a4
git branch 1be2289fcd
git checkout 1be2289fcd
sudo pip install -r requirements.txt
. ./export.shgit clone https://github.com/windowsair/wireless-esp8266-dap.git
cd wireless-esp8266-dap/
python3 idf.py build
from wireless-esp8266-dap.
请使用项目里的sdk进行编译,您现在用的不是项目里的sdk
from wireless-esp8266-dap.
Which version of sdk are you using?
Please try using the sdk that comes with the project.
from wireless-esp8266-dap.
ESP8266_RTOS_SDK_3.4
from wireless-esp8266-dap.
但是 ESP8266_RTOS_SDK_3.3rc 也会报错
but ESP8266_RTOS_SDK_3.3rc other error
huyil233@Huyil:~/esp/ESP8266_RTOS_SDK/wireless-esp8266-dap-0.1.3.1$ sudo python idf.py build
Setting IDF_PATH environment variable: /home/huyil233/esp/ESP8266_RTOS_SDK_3.3rc
Checking Python dependencies...
Python requirements from /home/huyil233/esp/ESP8266_RTOS_SDK_3.3rc/requirements.txt are satisfied.
Executing action: all (aliases: build)
Running make in directory /home/huyil233/esp/ESP8266_RTOS_SDK_3.3rc/wireless-esp8266-dap-0.1.3.1/build
Executing "make -j 10 all"...
[ 0%] Built target _project_elf_src
[ 1%] Built target partition_table
[ 1%] Built target esp8266_linker_script
[ 2%] Performing build step for 'bootloader'
[ 2%] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c: In function 'load_partitions':
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c:208:66: error: argument to 'sizeof' in 'strncp
' call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
strncpy(item->info.label, (const char*) it->label, sizeof(it->label));
^
[ 5%] Built target __idf_log
[ 5%] Built target __idf_build_target
[ 7%] Built target _project_elf_src
cc1: some warnings being treated as errors
[ 12%] Built target __idf_esp8266
make[2]: *** [esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/build.make:63: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:3391: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 35%] Built target __idf_util
[ 72%] Built target __idf_bootloader_support
[ 75%] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c: In function 'load_partitions':
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c:208:66: error: argument to 'sizeof' in 'strncp
' call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
strncpy(item->info.label, (const char*) it->label, sizeof(it->label));
^
cc1: some warnings being treated as errors
make[5]: *** [esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/build.make:63: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj] Error 1
make[4]: *** [CMakeFiles/Makefile2:1937: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/all] Error 2
make[3]: *** [Makefile:84: all] Error 2
make[2]: *** [CMakeFiles/bootloader.dir/build.make:112: bootloader-prefix/src/bootloader-stamp/bootloader-build] Error 2make[1]: *** [CMakeFiles/Makefile2:2720: CMakeFiles/bootloader.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
make failed with exit code 2
from wireless-esp8266-dap.
There are some issues with the v3.4. Please try to compile with the sdk that comes with the project
from wireless-esp8266-dap.
项目根目录下包含了sdk,请用那个sdk进行编译
from wireless-esp8266-dap.
idf.py menuconfig
成功了,但
idf.py build
失败
~/esp/ESP8266_RTOS_SDK_3.3/wireless-esp8266-dap-master$ idf.py build
Checking Python dependencies...
Python requirements from /home/huyil233/esp/ESP8266_RTOS_SDK/requirements.txt are satisfied.
Executing action: all (aliases: build)
Running make in directory /home/huyil233/esp/ESP8266_RTOS_SDK_3.3/wireless-esp8266-dap-master/build
Executing "make -j 10 all"...
[ 0%] Built target _project_elf_src
[ 1%] Built target partition_table
[ 1%] Built target esp8266_linker_script
[ 1%] Performing build step for 'bootloader'
[ 2%] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c: In function 'load_partitions':
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c:208:66: error: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
strncpy(item->info.label, (const char*) it->label, sizeof(it->label));
^
[ 2%] Built target _project_elf_src
[ 2%] Built target __idf_build_target
[ 7%] Built target __idf_log
cc1: some warnings being treated as errors
make[2]: *** [esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/build.make:63: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:3393: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 12%] Built target __idf_esp8266
[ 35%] Built target __idf_util
[ 72%] Built target __idf_bootloader_support
[ 75%] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c: In function 'load_partitions':
/home/huyil233/esp/ESP8266_RTOS_SDK/components/spi_flash/src/partition.c:208:66: error: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
strncpy(item->info.label, (const char*) it->label, sizeof(it->label));
^
cc1: some warnings being treated as errors
make[5]: *** [esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/build.make:63: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/src/partition.c.obj] Error 1
make[4]: *** [CMakeFiles/Makefile2:1937: esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/all] Error 2
make[3]: *** [Makefile:84: all] Error 2
make[2]: *** [CMakeFiles/bootloader.dir/build.make:112: bootloader-prefix/src/bootloader-stamp/bootloader-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:2721: CMakeFiles/bootloader.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
make failed with exit code 2
from wireless-esp8266-dap.
是介于3.3和3.4之间的版本,这个版本的wifi性能表现稍微好点
from wireless-esp8266-dap.
Related Issues (20)
- 关于ESP32C3的硬件复位nReset(GPIO05) HOT 29
- ESP32-C3FH4使用此固件WiFi信号很差. HOT 11
- 有关jtag调试无法启动
- 关于jtag调试无法正常启动的问题
- feature: Debug-over-Telegram HOT 1
- 关于而是怕
- 使用esp32c3编译遇到的问题 HOT 9
- 在VScode中用EIDE里的OpenOCD无法找到elaphureLink.cfg HOT 1
- 是否可以通过串口、WIFI、蓝牙等方式修改WIFI连接信息 HOT 1
- 自定义wifi连接,防止错连 HOT 5
- 感谢开源大佬 在英语非常辣鸡 在一点github esp32不懂的情况下搞完了
- 亲爱的佬 云编译一直报错可以看看不 HOT 3
- 以后会出支持esp32s3的版本吗? HOT 15
- esp32 ,软件复位不起作用 HOT 10
- 经常下载不进去程序 是电脑的热点信号太弱了吗? 而且无法进行软件的复位 HOT 1
- USBIP 需要开windows调试模式格外的繁琐,openocd调试有像elaphureLink一样的简易工具吗 HOT 4
- pyocd does not detect debug probe HOT 22
- Can ESP8266-DAP connect to a Wi-Fi router? HOT 1
- flash_parts: partition 0 invalid magic number 0x3333 HOT 13
- 用iar显示Reading CPU status failed HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireless-esp8266-dap.