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

[BUG] olimex-stm32-p407/kmodule: .bss will not fit in region ksram #14744

Closed
1 task done
lupyuen opened this issue Nov 12, 2024 · 3 comments · Fixed by #14748
Closed
1 task done

[BUG] olimex-stm32-p407/kmodule: .bss will not fit in region ksram #14744

lupyuen opened this issue Nov 12, 2024 · 3 comments · Fixed by #14748
Labels
Arch: arm Issues related to ARM (32-bit) architecture Area: Board support Board support issues OS: Linux Issues related to Linux (building system, etc) Type: Bug Something isn't working

Comments

@lupyuen
Copy link
Member

lupyuen commented Nov 12, 2024

Description / Steps to reproduce the issue

olimex-stm32-p407:kmodule build is failing in our NuttX Mirror Repo:

Configuration/Tool: olimex-stm32-p407/kmodule,CONFIG_ARM_TOOLCHAIN_GNU_EABI
chip/stm32_gpio.c:41:11: note: '#pragma message: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py'
   41 | #  pragma message "CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py"
      |           ^~~~~~~
arm-none-eabi-ld: /github/workspace/sources/nuttx/nuttx section `.bss' will not fit in region `ksram'
arm-none-eabi-ld: region `ksram' overflowed by 408 bytes

https://github.com/NuttX/nuttx/actions/runs/11796808033/job/32859595255#step:7:848

Which is probably caused by one of these recent commits:

(The earlier commits were OK)

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu LTS at GitHub Actions

NuttX Version

master

Issue Architecture

[Arch: arm]

Issue Area

[Area: Board support]

Verification

  • I have verified before submitting the report.
@lupyuen lupyuen added the Type: Bug Something isn't working label Nov 12, 2024
@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Area: Board support Board support issues OS: Linux Issues related to Linux (building system, etc) labels Nov 12, 2024
@acassis
Copy link
Contributor

acassis commented Nov 12, 2024

@lupyuen should we increase the ksram area and reduce the userspace ram?

@lupyuen
Copy link
Member Author

lupyuen commented Nov 12, 2024

@acassis Sorry I'm not sure what's the impact?

@acassis
Copy link
Contributor

acassis commented Nov 12, 2024

@lupyuen please take a look: #14748

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: arm Issues related to ARM (32-bit) architecture Area: Board support Board support issues OS: Linux Issues related to Linux (building system, etc) Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants