This directory contains preliminary experiments on running Rocq (formerly known as Coq) code on ARM embedded processors. The code is compiled to C using the CertiCoq compiler.
To compile and run the code, you will need the following tools:
The experiments target the ARM Cortex-M3 processor, a 32-bit RISC
processor. The machine model used in emulation is the Stellaris
LM3S6965 Evaluation Board (lm3s6965evb
).
The Coq code is located in tests.v
. To compile it and link it with
the necessary libraries, run:
make all
To execute the generated code using qemu
, use:
qemu-system-arm -M lm3s6965evb -m 64K -nographic -kernel main.bin