|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Directories | |
| src | |
Serves camera frames and microphone audio from the board over the ESP32-C6 radio. The RA8D2 runs NetX Duo, DHCP, an HTTP server, CEU capture, colour conversion and a software JPEG encoder; the co-processor stays on its stock esp-hosted image and does nothing but carry 802.3 frames. A browser on the bench network gets a page that continuously reloads fresh stills, a rolling one-second recording of MIC1 as a WAV, and a health line for automation.
c6_camera_mjpeg is the same idea through the other camera backend – sensor-side JPEG with zero-copy passthrough – behind the same facade.
This is the only app that needs both the C6 link and the DVP camera, and the physical DIP switches cannot be set for both. SW4 stays in the C6 position (see the tier README) and the firmware forces the camera position of SW4-6 through the U15 I/O expander instead.
It must do that with the masked board API, writing only that one expander bit. Driving a whole U15 byte overrides the Pmod selection and disconnects the live C6 SPI link, so the physical switch state has to stay authoritative for every other bit.
The camera firmware and build artifacts contain no Wi-Fi credential. A freshly flashed image prints ra8_net_provision: READY v1 and accepts one bounded ASCII-hex provisioning line over the debug UART. The camera app ignores the optional URL field, never echoes received bytes, and explicitly erases the decoded credential and C6 request staging after association.