Initial commit: PRU LED firmware and HTTP service

- Combined PRU0 firmware for both mood (56 LED) and jaw (24 LED) strips
- Uses P9_27 and P9_25 (free pins, not HDMI locked)
- Python HTTP service on port 8765
- Named states: idle, listening, responding, pleasure, thinking, playful, commanding, love, sleep
- Setup scripts for fresh BBB deployment

Built with love by Vixy 🦊💜
This commit is contained in:
2026-01-29 21:25:08 -06:00
commit ce4f46ec18
11 changed files with 714 additions and 0 deletions

25
pru/AM335x_PRU.cmd Normal file
View File

@@ -0,0 +1,25 @@
/* AM335x PRU Linker Command File */
-cr
-stack 0x100
-heap 0x100
MEMORY
{
PAGE 0:
PRU_IMEM : org = 0x00000000 len = 0x00002000 /* 8kB PRU Instruction RAM */
PAGE 1:
PRU_DMEM_0 : org = 0x00000000 len = 0x00002000 /* 8kB PRU Data RAM 0 */
PRU_DMEM_1 : org = 0x00002000 len = 0x00002000 /* 8kB PRU Data RAM 1 */
PRU_SHAREDMEM : org = 0x00010000 len = 0x00003000 /* 12kB Shared RAM */
}
SECTIONS
{
.text > PRU_IMEM, PAGE 0
.bss > PRU_DMEM_0, PAGE 1
.data > PRU_DMEM_0, PAGE 1
.rodata > PRU_DMEM_0, PAGE 1
.stack > PRU_DMEM_0, PAGE 1
.init_array > PRU_DMEM_0, PAGE 1
}