Hi everyone,
this is my first post here, so greetings to all... 8=)
... well, same here, too.
Did a build regarding adafruits directions and changed '#define UART_TASK_ID 1' accordingly.
MicroPython Compilation Error
Re: MicroPython Compilation Error
Hi everyone,
some kind of embarrassing...
Didn´t changed the new compiled file 'firmware-combined.bin' with the old one...
Now it´s working like a charm....
Greetz......Detlef
some kind of embarrassing...
Didn´t changed the new compiled file 'firmware-combined.bin' with the old one...
Now it´s working like a charm....
Greetz......Detlef
Re: MicroPython Compilation Error
Damien fixed the Issue in the main repo (see https://github.com/micropython/micropython/issues/1895). So there is no more need for this work-aroundslzatz wrote:As per #1895, Stefan Wendler's solution worked for me:
in "esp8266/esp_mphal.h" change:
#define UART_TASK_ID 0
to
#define UART_TASK_ID 1
Re: MicroPython Compilation Error
Sorry for these issues, guys. But it shows why we need to do re-review, refactoring and gradual merging of the code - it allows to expose and address issues serially, while with a big dirty code drop it would be hell trying to figure out what's going wrong for some folks. The master should be in good shape now, and I've posted "official" tips and tricks on how to build the port "right":
http://forum.micropython.org/viewtopic.php?f=16&t=1689
http://forum.micropython.org/viewtopic.php?f=16&t=1689
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Error compiling the esp8266 build
During compiling of the esp8266 build, the copiler flagged the error:
Regards
It looks as if the file esp_sdk_ver.h was corrupt and had a '-e' at the start of the first line. Removing that fixed the problem, but I wonder, if something else is missing now.In file included from ets_alt_task.c:5:0:
/home/robert/Downloads/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/esp_sdk_ver.h:1:1: error: expected identifier or '(' before '-' token
-e #undef ESP_SDK_VERSION
^
/home/robert/Downloads/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/esp_sdk_ver.h:1:4: error: stray '#' in program
-e #undef ESP_SDK_VERSION
^
../py/mkrules.mk:47: recipe for target 'build/ets_alt_task.o' failed
Regards
Re: MicroPython Compilation Error
Hi Roberth,
this error has been reported before here, it happens on macs which use non-standard version of bash, which doesn't understand the "-e" argument to the "echo" command, so it's getting echoed together with the string.
this error has been reported before here, it happens on macs which use non-standard version of bash, which doesn't understand the "-e" argument to the "echo" command, so it's getting echoed together with the string.