Skip to content

Issue for running code on raspberry pico #466

Open
@TAOFOR4

Description

@TAOFOR4

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions