building firmware 1.18.2.r7 errors
-
Hi,
Im trying to build a firmware but it is failing with errors
root@gt-VirtualBox:~/pycom-micropython-sigfox/esp32# make clean 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. rm -rf build/WIPY/release root@gt-VirtualBox:~/pycom-micropython-sigfox/esp32# make 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. mkdir -p build/WIPY/release/genhdr Create build/WIPY/release/genhdr/pins.h Generating build/WIPY/release/genhdr/mpversion.h GEN build/WIPY/release/genhdr/qstr.i.last In file included from ./mpconfigport.h:43:0, from ../py/mpconfig.h:45, from ../py/mpstate.h:31, from ../py/mpstate.c:27: ./mp_pycom_err.h:11:33: fatal error: mbedtls/net_sockets.h: No such file or directory compilation terminated.i have compiled the most recent firmware following the readme with no issues.
my paths are set the same as the newest firmware but i must be missing something. I have tried
git clone --recursive -b v1.18.2.r7 https://github.com/pycom/pycom-micropython-sigfox.gitwith the newest idf. then i have tried different versions of the idf but I cant find any info on what i should be using.
I have also tried downloading the gz file as well and seem to get the same results.im using https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz
does anyone have any ideas what i am missing or what i should be doing differently?
-
@gt1
you should use this two repos:
https://github.com/pycom/pycom-esp-idf
and
https://github.com/pycom/pycom-micropython-sigfox -
I have complied a firmware with frozen modules but it is v 1.20.2.R4 with the modules and it seems to work well.
is there a way i can add a folder www with my html files so i can include it in the firmware?i tried putting this into the frozen/Common folder but it doesnt seem to work or i dont know the path to wall the html pages.
-
Hi, I have a similar issue. What I found was that the paths in the pycom-esp-idf master branch is different from what I get when I clone with this branch idf_v3.3.1 (as stated in the readme). E.g. there was an additional level with mbedtls in the idf_v3.3.1 compared to the master.
I then tried to checkout the master branch of pycom-esp-idf and it build ok. I haven't check if the actual image/bin file is working / equal to the released version.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login