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

Does not support math in RAM origin with address #101

Open
HaoboGu opened this issue Oct 20, 2024 · 0 comments
Open

Does not support math in RAM origin with address #101

HaoboGu opened this issue Oct 20, 2024 · 0 comments
Labels
type: enhancement New feature or request

Comments

@HaoboGu
Copy link
Contributor

HaoboGu commented Oct 20, 2024

It's similar with #65.

flip-link reports:

error: linking with `flip-link` failed: exit status: 1
 ...
 = note: rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 116 bytes
          rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 21964 bytes
          rust-lld: error: section '.uninit' will not fit in region 'RAM': overflowed by 22988 bytes
   

when using memory.x:

MEMORY
{
  /* nRF52832 s132 7.3.0 */
  FLASH : ORIGIN = 0x26000,    LENGTH = 0x80000 - 0x26000
  RAM : ORIGIN = 0x20007af8, LENGTH = 0x20010000 - 0x20007af8
}

But compiles with

MEMORY
{
  /* nRF52832 s132 7.3.0 */
  FLASH : ORIGIN = 0x26000,    LENGTH = 360K
  RAM : ORIGIN = 0x20007af8, LENGTH = 64K - 30K
}
@Urhengulas Urhengulas added the type: enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants