Search found 13 matches

by xingkunpeng
Wed Apr 14, 2021 6:01 am
Forum: ESP32 boards
Topic: ESP32 micropython Compilation error!!
Replies: 4
Views: 2697

Re: ESP32 micropython Compilation error!!

The log: xkp@xkp-VirtualBox:/esp32/micropython/ports/esp32$ make clean MicroPython v1.13-30-g1d344f446-dirty Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Building with ESP IDF v4 rm -rf build-GENERIC_SPIRAM xkp@xkp-VirtualBox:/esp32/micropython/ports/esp32$ make...
by xingkunpeng
Wed Apr 14, 2021 5:07 am
Forum: ESP32 boards
Topic: ESP32 micropython Compilation error!!
Replies: 4
Views: 2697

Re: ESP32 micropython Compilation error!!

marcidy wrote:
Wed Apr 14, 2021 4:27 am
did you run make clean?
What commit are you using for micropython?
did you run make clean?
me:yes,i did。

What commit are you using for micropython?
me:Sorry, I'm not sure what you mean.
I'm compiling the micropython firmware for esp32 。
by xingkunpeng
Wed Apr 14, 2021 3:34 am
Forum: ESP32 boards
Topic: ESP32 micropython Compilation error!!
Replies: 4
Views: 2697

ESP32 micropython Compilation error!!

CC extmod/mpexception.c CC ../../lib/oofatfs/ff.c CC ../../lib/oofatfs/ffunicode.c CC ../../lib/littlefs/lfs2.c CC ../../lib/littlefs/lfs2_util.c CC ../../extmod/modbtree.c In file included from ../../lib/berkeley-db-1.xx/PORT/include/../../btree/btree.h:44:0, from ../../extmod/modbtree.c:38: ../../...
by xingkunpeng
Wed Apr 14, 2021 2:41 am
Forum: ESP32 boards
Topic: Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed
Replies: 3
Views: 1719

Re: Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed

You're having problems linking into the esp-idf. Are you using the correct version of the idf? There are specific commits to use when compiling micropython v1.13. Are you sourcing "esp-idf/export.sh" before compiling? You have to do this every time. You might want to do it all again from scratch. W...
by xingkunpeng
Tue Apr 13, 2021 7:07 am
Forum: ESP32 boards
Topic: Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed
Replies: 3
Views: 1719

Re: Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed

One more thing: From the beginning of the compilation log, the feeling is a little bit worse, because makefile has reached the end: xkp@xkp-VirtualBox:~/esp32/micropython/ports/esp32$ make MicroPython v1.13-30-g1d344f446-dirty Use make V=1 or set BUILD_VERBOSE in your environment to increase build v...
by xingkunpeng
Tue Apr 13, 2021 5:11 am
Forum: ESP32 boards
Topic: Problem compiling code(esp32)
Replies: 10
Views: 4598

Re: Problem compiling code(esp32)

I'm afraid I am not skilled enough to diagnose your problems. What I can tell you is that I had loads of problems creating the system to build MicroPython, but all of them were solved by re-reading the instructions, each time more carefully . I wish I had read them incredibly carefully the first ti...
by xingkunpeng
Tue Apr 13, 2021 5:11 am
Forum: ESP32 boards
Topic: Problem compiling code(esp32)
Replies: 10
Views: 4598

Re: Problem compiling code(esp32)

jimmo wrote:
Mon Jan 11, 2021 12:16 am
xingkunpeng wrote:
Mon Dec 21, 2020 3:56 am
ESPIDF ?= "/home/lighthouse/esp/esp-idf"
Can you try without the quotes around this?

You also shouldn't need sudo.
Yes, I did as you said. It's OK
by xingkunpeng
Tue Apr 13, 2021 5:10 am
Forum: ESP32 boards
Topic: Problem compiling code(esp32)
Replies: 10
Views: 4598

Re: Problem compiling code(esp32)

@xingkunpeng Did you solve your problem? I have a similar problem when compiling org. micropython from github for ESP8266 with an additional softuart. File sofuart.o exists. I have no clue where to look for the problem! Any hint would be appreciated 8-) b/utils/pyexec.o build-GENERIC/lib/utils/inte...
by xingkunpeng
Tue Apr 13, 2021 5:03 am
Forum: ESP32 boards
Topic: Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed
Replies: 3
Views: 1719

Makefile:979: recipe for target 'build-GENERIC_SPIRAM/bootloader.elf' failed

I'm compiling the firmware of esp32. I encountered the following problems and asked for assistance; xkp@xkp-VirtualBox:~/esp32/micropython/ports/esp32$ make MicroPython v1.13-30-g1d344f446-dirty Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Building with ESP IDF ...
by xingkunpeng
Tue Apr 13, 2021 5:02 am
Forum: ESP32 boards
Topic: Problem compiling code(esp32)
Replies: 10
Views: 4598

Re: Problem compiling code(esp32)

Yes, I did as you said. It's OK