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

Issue for running code on raspberry pico #466

Open
TAOFOR4 opened this issue Feb 27, 2024 · 0 comments
Open

Issue for running code on raspberry pico #466

TAOFOR4 opened this issue Feb 27, 2024 · 0 comments

Comments

@TAOFOR4
Copy link

TAOFOR4 commented Feb 27, 2024

Hi,

I am totally new in this area, so my question might be stupid.

I am trying to run some c code into wasm and run them in pico through wasm3. I write a 'Hello World!' c code. But when it runs on pico the screen shows:

Screenshot from 2024-02-27 15-19-03

I guess it might be the 'printf' in c code is not accepted. But then how can I print out things? ( I wanna compare the performance between natural c code and wasm on pico later so directly print from wasm3 main.c file maybe not a good choice?

Also, when I tried to run bubble sort code, one of the arguments is array which can't be passed through m3_CallV directly so I have no idea how to run this function in main.c file inside the wasm3.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant