README, API, help, P4_NANO and the sub-READMEs now describe the ESP32-P4-Nano controller and the simulator on it. API.md gains the users and permissions routes; BENCH_TEST and SPECIFICATION are marked historical. Screenshots of the simulator, sequence editor and pattern gallery. Graph rebuilt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
sim-controller
The led-controller firmware (main/) built for ESP-IDF's linux target, so the whole rig runs on a
computer with no hardware. It serves the simulated rig itself at /sim/ (see led-simulator/README.md).
make sim-web # the controller on http://localhost:8080/ and the rig on http://localhost:8080/sim/
make test-sim # test/api against it, including test_rig_sim.py
make sim is the older headless rig over UDP 8766. Its MicroPython drivers are gone from led-driver, so it has no
drivers to run.
- Same sources as the board, minus Ethernet, Wi-Fi, mic and firmware OTA (
components/sim:app_main,esp_timer, mic/OTA/littlefs stubs,driver/gpio.hand lwip socket headers).sim_rig.candsim_net.cthere are also compiled into the board's firmware. The beat clock ataudio_simulated_bpmstands in for the mic. - ESP-NOW goes through
main/bridge.c: the bridges in settings, orbrowser(the rig page) when there are none. - The store is a directory:
LED_SIM_DB(defaultsim-controller/dataundermake sim). LED_SIM_HTTP_PORT(default 8080),LED_SIM_BRIDGE(one bridge address, overriding the settings;make sim-websetsbrowser).- The binary runs on the host, not in Docker: rootless Docker's
--network hostis its own namespace.