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

Feature: rbpf containers #2422

Merged
merged 2 commits into from
Nov 16, 2021
Merged

Feature: rbpf containers #2422

merged 2 commits into from
Nov 16, 2021

Conversation

slaff
Copy link
Contributor

@slaff slaff commented Nov 11, 2021

This PR adds support for rBPF in Sming.
rBPF provides a minimal virtual machine for microcontrollers.
rBPF is a virtual machine based on the popular Linux BPF virtual machine.
It is small and fast enough to host multiple instances on architectures targeted by Sming.

Related to #2419.

@slaff slaff added this to the 4.5.0 milestone Nov 11, 2021
@mikee47
Copy link
Contributor

mikee47 commented Nov 11, 2021

I'm looking at how to get this working on Windows. Clang is already present on appveyor (and is easiily installed using winget install llvm) so can generate the bytecode, but still looking for the system compiler to generate BPF object code...

@mikee47
Copy link
Contributor

mikee47 commented Nov 11, 2021

Don't need LLC at all, can use Clang directly! Fix coming...

@mikee47
Copy link
Contributor

mikee47 commented Nov 11, 2021

@slaff Pushed a PR to your repo which fixes Windows build. Got another PR ready with Store support.

@slaff slaff force-pushed the feature/library-rbpf branch from b6787e1 to 77a47d7 Compare November 12, 2021 08:10
@slaff
Copy link
Contributor Author

slaff commented Nov 12, 2021

Got another PR ready with Store support.

Send it to me :)

@slaff slaff force-pushed the feature/library-rbpf branch 4 times, most recently from 7210196 to f84325b Compare November 15, 2021 11:24
@slaff slaff force-pushed the feature/library-rbpf branch from f84325b to a5178ee Compare November 15, 2021 12:22
@slaff slaff removed the 3 - Review label Nov 16, 2021
@slaff slaff merged commit f1cdc35 into SmingHub:develop Nov 16, 2021
@slaff slaff mentioned this pull request Nov 16, 2021
5 tasks
@slaff slaff deleted the feature/library-rbpf branch November 19, 2021 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants