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

llext: Shell sample fixups #79429

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

teburd
Copy link
Collaborator

@teburd teburd commented Oct 4, 2024

The simple naming at this point is a bit understating what the test
suite is attempting to validate, which is that we can load, link, and
execute a variety of extensions under a variety of scenarios.

Copies and modifies the hello_world sample extension for use with the
sample app.

TODO: Need to test this out and verify I can do things without needing EXPORT_SYMBOL, which apparently requires all of zephyr (ugh) to exist.

Fixes #79318

The simple naming at this point is a bit understating what the test
suite is attempting to validate, which is that we can load, link, and
execute a variety of extensions under a variety of scenarios.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
Hello world from the tests is not longer what it once was, a simple
hello_world function that prints. The sample was here to let people
explore and learn about how llext and ELFs work.

Moving the sample extension code to the shell loader sample disconnects
the two and lets the sample remain simpler.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
@zephyrbot zephyrbot added area: Samples Samples area: llext Linkable Loadable Extensions labels Oct 4, 2024
@teburd teburd marked this pull request as draft October 4, 2024 14:32
@pillo79
Copy link
Collaborator

pillo79 commented Oct 4, 2024

Nice idea, appreciated! My 2c: I kind of regret pushing for creating the "simple" directory, since we have never found the need for a different test suite. Unless you already have ideas on that topic, we could remove the subfolder altogether and just have tests/subsys/llext/ ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: llext Linkable Loadable Extensions area: Samples Samples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation references non existing file: llext/shell_loader/README.rst
4 participants