Skip to content

Zephyr v2.7 BuildSkripts - Shell Commands not linked #17

@th-fischer2020

Description

@th-fischer2020

Describe the bug
I just did a bug report in zephyr project. see

Short:

  • i did an Update from Zephyr v2.6 to v2.7
  • I have some submodules in my PlatformIO project with code of shell commands
  • after the update my shell commands are not available.

Workarround:
I just had a look at the platformio zephyr build skripts because i think that the issue may caused by linker options.
After adding -Wl,--whole-archive to my build_flags my shell commands are back on screen. What is the intention for not including this option?

To Reproduce
see

Expected behavior
My commands should appear in shell.

Impact
Key features are not available in my application. showstopper

Logs and console output
No logs. Shell commands not appear.

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used

Additional context
OS: Ubuntu 20.04.4 LTS x86_64
Toolchain: Platformio Core 5.2.5·Home 3.4.1
Zephyr 2.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions