Skip to content
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

fix(flash): Fix fail linker #4

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Conversation

mythbuster5
Copy link
Contributor

@mythbuster5 mythbuster5 commented Aug 29, 2024

2024-08-29 02:56:27    ERROR [Post Build] >>> linker script generation failed for /builds/espressif/esp-idf/examples/storage/custom_flash_driver/build_esp32c2_default/esp-idf/esp_system/ld/sections.ld.in
2024-08-29 02:56:27    ERROR [Post Build] >>> ERROR: 'libcustom_flash_driver.a:spi_flash_chip_eon None' not found
2024-08-29 02:56:27    ERROR [Post Build] >>> In fragment 'custom_flash_driver' defined in '/builds/espressif/esp-idf/examples/storage/custom_flash_driver/managed_components/espressif__esp_flash_nor/linker.lf'.
2024-08-29 02:56:27    ERROR [Post Build] >>> ninja: build stopped: subcommand failed.
2024-08-29 02:56:27    ERROR [Post Build] >>> ninja failed with exit code 1, output of the command is in the /builds/espressif/esp-idf/examples/storage/custom_flash_driver/build_esp32c2_default/log/idf_py_stderr_output_66680 and /builds/espressif/esp-idf/examples/storage/custom_flash_driver/build_esp32c2_default/log/idf_py_stdout_output_66680

So I checked there is no libcustom_flash_driver.a the real name is libespressif__esp_flash_nor.a

@mythbuster5 mythbuster5 force-pushed the fix/linker_name branch 7 times, most recently from 95ecd5a to 5facf1d Compare August 29, 2024 06:15
@ginkgm ginkgm merged commit c4e6d07 into espressif:main Aug 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants