[SOLVED] Having issues build firmware from soure
-
Hi. This is the first time a try to build the firmware from soure and i am getting a error.
I have used the instruction from here:
https://github.com/pycom/pycom-micropython-sigfox
https://github.com/pycom/pycom-micropython-sigfox/tree/master/esp32$ cd ../mpy-cross
$ make all- Compiled fine
$ cd ../esp32
$ make BOARD=LOPY -j5 TARGET=boot- Compiled fine
make BOARD=LOPY -j5 LORA_BAND=USE_BAND_868 TARGET=app
- Failed part way though
C mods/moducrypto.c
CC mods/machtimer.c
CC mods/machtimer_alarm.c
In file included from /root/esp/pycom-esp-idf/components/soc/esp32/include/soc/soc.h:20:0,
from /root/esp/pycom-esp-idf/components/driver/include/driver/timer.h:19,
from mods/machtimer_alarm.c:6:
/root/esp/pycom-esp-idf/components/soc/esp32/include/soc/io_mux_reg.h: In function 'PIN_PULLUP_DIS':
/root/esp/pycom-esp-idf/components/esp32/include/esp_assert.h:23:28: error: first argument to '__builtin_choose_expr' not a constant
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG);
.....................................................................................................................................................................................................
../py/mkrules.mk:47: recipe for target 'build/LOPY_868/release/mods/machtimer_alarm.o' failed
make: *** [build/LOPY_868/release/mods/machtimer_alarm.o] Error 1[0_1498856183565_Build output.txt](Uploading 100%)
My build enviroment is based on Debian 9
Is anyne else have similer issues? Would very much appreciate help.Thanks!
//Jonatan -
Please try using the latest toolchain (1.22.0-61-gab8375a) instead of the older one linked to on the README (1.22.0-59)
for 64-bit Linux:
https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gzfor 32-bit Linux:
https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz -
This post is deleted! -
-
I had the same problem today, and i've searched for a solution for hours before finding this post. It did worked for me as well, please update your docuentation. I really love my wipy, but the lack of clear documentation is a bit of a problem for newbies like me. Please help us enjoing your fantastic work
-
@jmarcelino said in [SOLVED] Having issues build firmware from soure:
https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz
once again, @jmarcelino saved my day, thanks
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