fadushin / esp8266

This repository contains source code for the ESP8266.
BSD 2-Clause "Simplified" License
73 stars 22 forks source link

make breaks with an error when trying run mpy-cross #22

Closed chess-levin closed 2 years ago

chess-levin commented 2 years ago

Hi @fadushin,

I like to try your webserver for my ESP8266 project. For evaluation I want to work with *.mpy files, but when I use you Makefile and the process you describe in your excellent docs, make breaks with an error

esp@esp-VirtualBox:~/projects/py-www-srv/esp8266/micropython$ make
make: *** No rule to make target 'build/mpy/logging/ulog.mpy', needed by 'all'.  Stop.

Using GNU Make 4.2.1, Built for x86_64-pc-linux-gnu

I've tried to change the paths specified for LOGGING_MODULES, but without success.

Any hint what cold help here?

chess-levin commented 2 years ago

Hi @fadushin,

I like to try your webserver for my ESP8266 project. For evaluation I want to work with *.mpy files, but when I use you Makefile and the process you describe in your excellent docs, make breaks with an error

esp@esp-VirtualBox:~/projects/py-www-srv/esp8266/micropython$ make
make: *** No rule to make target 'build/mpy/logging/ulog.mpy', needed by 'all'.  Stop.

Using GNU Make 4.2.1, Built for x86_64-pc-linux-gnu

I've tried to change the paths specified for LOGGING_MODULES, but without success.

Any hint what cold help here?

Changed LOGGING_MODULES to

LOGGING_MODULES= \
    ulog/logging.py \
    ulog/ulog/console_sink.py \
    ulog/ulog/syslog_sink.py \
    ulog/ulog/__init__.py \
    ulog/ulog/mqtt_sink.py

and make runs.