platformio / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
9 stars 11 forks source link

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

Open th-fischer2020 opened 2 years ago

th-fischer2020 commented 2 years ago

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

Short:

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):

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