robert-hh / pycom-micropython-sigfox

A fork of MicroPython with the ESP32 port customized to run on Pycom's IoT multi-network modules.
MIT License
6 stars 3 forks source link

problem to build pycom-micropython-sigfox-heltec #4

Open osorioen opened 2 years ago

osorioen commented 2 years ago

(base) edgar@edgar-inspiron3493:\~/pycom-micropython-sigfox-heltec/esp32$ make BOARD=HELTEC Use make SECURE=on [optionally SECURE_KEY ?= secure_boot_signing_key.pem] to enable Secure Boot and Flash Encryption mechanisms. Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. COAP Module Enabled LORA Module Enabled Variant: BASE IDF Version OK! 3394ee5 mkdir -p build/HELTEC/release/bootloader/ CC bootloader/bootloader.c CC bootloader/bootmgr.c CC bootloader/mperror.c CC bootloader/gpio.c AR build/HELTEC/release/bootloader/bootloader.a LINK xtensa-esp32-elf-gcc -nostdlib -Wl,-Map=build/HELTEC/release/bootloader/bootloader.map -Wl,--no-check-sections -u call_user_start_cpu0 -Wl,-static -Wl,--undefined=uxTopUsedPriority -Wl,--gc-sections -T esp32.bootloader.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.bootloader.rom.ld -T esp32.rom.spiram_incompatible_fns.ld -T esp32.extram.bss.ld -Wl,--start-group -Lbootloader/lib -Lbootloader -Lbuild/HELTEC/release/bootloader -L/home/edgar/pycom-esp-idf/components/esp32/ld -L/home/edgar/pycom-esp-idf/components/esp32/lib -llog -lcore -lbootloader_support -lspi_flash -lsoc -lmicro-ecc -lgcc -lstdc++ -lgcov -lefuse build/HELTEC/release/bootloader/bootloader.a -Wl,--end-group -Wl,-EL -o build/HELTEC/release/bootloader/bootloader.elf /home/edgar/Downloads/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld:esp32.extram.bss.ld:18: warning: memory region `extern_ram_seg' not declared text data bss dec hex filename 18582 1920 24 20526 502e build/HELTEC/release/bootloader/bootloader.elf IMAGE build/HELTEC/release/bootloader/bootloader.bin Pyserial is not installed for /usr/bin/python2. Check the README for installation instructions. Traceback (most recent call last): File "/home/edgar/pycom-esp-idf/components/esptool_py/esptool/esptool.py", line 37, in import serial ImportError: No module named serial make: *** [application.mk:749: build/HELTEC/release/bootloader/bootloader.bin] Error 1 (base) edgar@edgar-inspiron3493:~/pycom-micropython-sigfox-heltec/esp32$

I need help to build .

robert-hh commented 2 years ago

At least one error: Pyserial is not installed for /usr/bin/python2.

Try to install pyserial with

python2 -m pip install pyserial

or

python install pyserial