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

arm :arm-none-eabi Unable to complete compilation, an error occurred during linking #41392

Closed
hongshui3000 opened this issue Dec 22, 2021 · 1 comment
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@hongshui3000
Copy link
Contributor

hongshui3000 commented Dec 22, 2021

Describe the bug
log:

zephyr/include/arch/arm/aarch32/cortex_m/scripts/linker.ld:31:48: error: operator '==' has no left operand
   31 | #if !defined(CONFIG_XIP) && (CONFIG_FLASH_SIZE == 0)
      |                                                ^~

arm-none-eabi Version:10.3.1

It seems that CONFIG_FLASH_SIZE and CONFIG_FLASH_BASE_ADDRESS must be configured

image

Otherwise, the generated configuration file is very strange

@hongshui3000 hongshui3000 added the bug The issue is a bug, or the PR is fixing a bug label Dec 22, 2021
@hongshui3000
Copy link
Contributor Author

The same reason as this issue #41392

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

1 participant