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

RAM overflow with bbc:microbit for samples/bluetooth/peripheral... #32702

Closed
Liviu112 opened this issue Feb 26, 2021 · 4 comments
Closed

RAM overflow with bbc:microbit for samples/bluetooth/peripheral... #32702

Liviu112 opened this issue Feb 26, 2021 · 4 comments
Labels
priority: low Low impact/importance bug

Comments

@Liviu112
Copy link

Describe the bug
Trying to build the peripheral samples the following errors occur:

  1. west build -p auto -b bbc_microbit samples/bluetooth/peripheral_hids
    `SRAM' overflowed by 5627 bytes
  2. west build -p auto -b bbc_microbit samples/bluetooth/peripheral_hr
    `SRAM' overflowed by 2971 bytes
  3. west build -p auto -b bbc_microbit samples/bluetooth/peripheral_ht
    `SRAM' overflowed by 2971 bytes
  4. west build -p auto -b bbc_microbit samples/bluetooth/peripheral_ots
    `SRAM' overflowed by 4771 bytes
  5. west build -p auto -b bbc_microbit samples/bluetooth/peripheral_sc_only
    `SRAM' overflowed by 2803 bytes
  6. west build -p auto -b bbc_microbit samples/bluetooth/peripheral_esp
    `SRAM' overflowed by 1587 bytes
  7. west build -p auto -b bbc_microbit samples/bluetooth/peripheral_dis
    `SRAM' overflowed by 593 bytes
  8. west build -p auto -b bbc_microbit samples/bluetooth/peripheral
    `SRAM' overflowed by 6592 bytes

To Reproduce
Steps to reproduce the behaviour:

  1. zephyr 2.5
  2. toolchain: zephyr 0.12.2
  3. use any of the codes shown previously (1-8)

Impact
Not able to proceed on using the samples.

Environment (please complete the following information):

  • OS: Linux 20.04
  • Toolchain: Zephyr version: 2.5.0, west 0.9
@Liviu112 Liviu112 added the bug The issue is a bug, or the PR is fixing a bug label Feb 26, 2021
@jhedberg
Copy link
Member

This was already fixed by #32562

@jhedberg
Copy link
Member

Oh, sorry, you're referring to the peripheral samples whereas #32562 is just for mesh. This isn't strictly a bug per-se, in my opinion. It's unavoidable that many things will not fit into 16k of RAM. That said, we should probably make sure that at least one of the peripheral samples fits. @joerchan any opinion on this?

@nashif nashif added the priority: low Low impact/importance bug label Mar 2, 2021
@galak galak removed the bug The issue is a bug, or the PR is fixing a bug label Mar 16, 2021
@galak
Copy link
Collaborator

galak commented Mar 16, 2021

We don't consider these overflow conditions as a bug.

@galak galak closed this as completed Mar 16, 2021
@joerchan
Copy link
Contributor

@jhe I think we have to let bbc_microbit and connections go, if we wanted to have one working it should have been peripheral_hr IMO, and that is almost 3k bytes we need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

5 participants