I was wondering if anyone had experimented with using a raspberry pi without an OS, just as a (very powerful) controller. You could then use something like RTFM to write your application.
My search so far:
- Found rust-raspi3-OS-tutorials, had a look through and see that it hard-codes the register addresses of peripherals, e.g. 03_uart1/src/gpio.rs.
- Wonder if there is a device crate for the bcm2837 (I'm using a pi3) - there isn't
- Had a look to see if there is some kind of specification of register locations etc. The best I can find is
dtbfiles (e.g. https://github.com/raspberrypi/firmware/tree/master/boot) that seem to specify peripheral locations. Can I parse these like you would parse
But now I feel a bit stuck. Does anyone have any suggestions?