Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5376

General • Re: A tiny Raspberry Pico shell with flash file system, vi, and c compiler.

$
0
0

Anything is possible I guess, but it's a little more than I'm willing to undertake right now.

There are a little over 200 external functions (part of the SDK) that would need to be part of this vector table. That could be located at a fixed address, thus simplifying code generation.

Presently the code compiles to a fixed address and some branches are also to fixed addresses. Those would need to be considered relocatable addresses. PC relative loads and branches wouldn't need to change.

The biggest challenge would be memory management. Making sure that no leaks occur.
I don't ask you to do this work, I was literally thinking of new horizons you opened!

It seems these functions are already listed in https://github.com/lurk101/pshell/blob/ ... c_extrns.h.

Statistics: Posted by CHiPs44 — Sun Sep 01, 2024 9:17 pm



Viewing all articles
Browse latest Browse all 5376

Trending Articles