Skip to content

Compiling for ESP8285 fails: core/core.a: no such file or directory #35

Closed
@dudelburg

Description

@dudelburg

Hi there,

I am trying to compile a sketch (any sketch can reproduce, even a basic one without any code) for the ESP8285 on an Ubuntu 16.04.5 LTS system. After downloading the precompiled binary 0.2.1-alpha.preview for 64bit, adding the board manager in the ".cli-config.yml"

board_manager:
  additional_urls:
    - http://arduino.esp8266.com/stable/package_esp8266com_index.json

and installing the esp arduino core (version 2.4.2)

arduino-cli core install esp8266:esp8266

the build process can be started using the default build properties from the IDE:

arduino-cli compile --fqbn esp8266:esp8266:esp8285 --build-properties="build.f_cpu=80000000L,build.vtable_flags=-DVTABLES_IN_FLASH,upload.resetmethod=none,build.flash_size=1M,build.flash_size_bytes=0x100000,build.flash_ld=eagle.flash.1m0.ld,build.spiffs_pagesize=256,upload.maximum_size=1023984,build.rfcal_addr=0xFC000,build.led=-DLED_BUILTIN=0,build.lwip_include=lwip2/include,build.lwip_lib=-llwip2,build.lwip_flags=-DLWIP_OPEN_SRC -DTCP_MSS=536,build.debug_port=,build.debug_level=,upload.erase_cmd=,upload.speed=115200"

On a windows system with an installed IDE I end up with a built sketch. On the linux system however, there is an error:

Error: open /tmp/arduino-sketch-9A982EFD8A9D637ECC6D29F90E4C1064/core/core.a: no such file or directory
Compilation failed.

The file core/core.a is not generated on both systems. Additional build logs can be supplied if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions