drichmond / RISC-V-On-PYNQ

RISC-V Integration for PYNQ
Other
165 stars 57 forks source link

Notebook 4 compilation of program test failed with UsageError: Cell magic `%%riscvc` not found. #15

Open DracarysFrank opened 4 years ago

DracarysFrank commented 4 years ago

When run %%riscvc test overlay.tutorialProcessor

int main(int argc, char * argv){ unsigned int arr = (unsigned int *)argv[1]; return arr[2]; }

UsageError: Cell magic %%riscvc not found.

Have checked that /riscvonpynq/picorv32/tut/build exists. riscv32-unknown-elf-gcc can be executed in the last step

Any suggestions on why the compilation fails? Thx a lot