Skip to content

Compilation error / Missing Files #3

@hackintoshlover

Description

@hackintoshlover

Hi,
While building the firmware manually i got the following error:
esptool.py v4.5.1 Traceback (most recent call last): File "C:\Users\mishr\.platformio\packages\tool-esptoolpy\esptool.py", line 34, in <module> esptool._main() File "C:\Users\mishr\.platformio\packages\tool-esptoolpy\esptool\__init__.py", line 1032, in _main main() File "C:\Users\mishr\.platformio\packages\tool-esptoolpy\esptool\__init__.py", line 861, in main operation_func(args) File "C:\Users\mishr\.platformio\packages\tool-esptoolpy\esptool\cmds.py", line 1176, in merge_bin with open(args.output, "wb") as of: ^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/share/GIT/busware-esp32/firmware/busware-tul-c3-thelsing-coupler.factory.bin' bin_map_copy(["build\busware-tul-c3-thelsing-coupler\firmware.bin"], ["build\busware-tul-c3-thelsing-coupler\firmware.elf"]) *** Error 1 cp C:\Users\mishr\Downloads\busware-esp32\TUL\thelsing\build\busware-tul-c3-thelsing-coupler/firmware.bin /share/GIT/busware-esp32/firmware/busware-tul-c3-thelsing-coupler.ota.bin 'cp' is not recognized as an internal or external command, operable program or batch file. *** Error 1

As per https://github.com/tostmann/busware-esp32/blob/main/TUL/thelsing/merge_firmware.py
Following directory does not exist:
MERGED_BIN = "/share/GIT/busware-esp32/firmware/${PIOENV}.factory.bin" OTA_BIN = "/share/GIT/busware-esp32/firmware/${PIOENV}.ota.bin"

and there is no "busware-tul-c3-thelsing-coupler.ota.bin" available in firmware folder https://github.com/tostmann/busware-esp32/tree/main/firmware

How do i fix the same?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions