-
-
Notifications
You must be signed in to change notification settings - Fork 398
Compiling for ESP8285 fails: core/core.a: no such file or directory #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I patched esp8266-2.4.2/platform.txt to change the location in the recipe.ar pattern and recipe.ar.combine.pattern . I got this location from looking at the "avr" recipe.ar.pattern . -- esp8266-2.4.2/platform.txt 2018-08-03 02:19:33.000000000 -0500 +++ platform.txt 2018-09-07 11:17:45.808640177 -0500 @@ -92,10 +92,10 @@ recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.flags} {compiler.S.flags} -DF_CPU={build.f_cpu} {build.lwip_flags} {build.debug_port} {build.debug_level} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} -DARDUINO_BOARD="{build.board}" {build.led} {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" ## Create archives -recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/arduino.ar" "{object_file}" +recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}" ## Combine gc-sections, archives, and objects -recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -Wl,-Map "-Wl,{build.path}/{build.project_name}.map" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/arduino.ar" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}" +recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -Wl,-Map "-Wl,{build.path}/{build.project_name}.map" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" -Wl,--start-group {object_files} "{build.path}/{archive_file}" {compiler.c.elf.libs} -Wl,--end-group "-L{build.path}" ## Create eeprom recipe.objcopy.eep.pattern= |
The provided patch works. |
The arduino developers said they only tested "arduino" cores. ESP32 is also broken. So more work needs to still be done. |
This is only my solution to this issue. Arduino developers may have a "better" solution. |
Add checks for commonly misspelled words in library.properties
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"
and installing the esp arduino core (version 2.4.2)
the build process can be started using the default build properties from the IDE:
On a windows system with an installed IDE I end up with a built sketch. On the linux system however, there is an error:
The file core/core.a is not generated on both systems. Additional build logs can be supplied if needed.
The text was updated successfully, but these errors were encountered: