Skip to content

Move actuator configs to per-board files - #557

Merged
Mateusz-Krajewski merged 3 commits into
board/1-gpiofrom
board/2-actuators
Nov 22, 2026
Merged

Mateusz-Krajewski merged 3 commits into
board/1-gpiofrom
board/2-actuators

Conversation

@Mateusz-Krajewski

@Mateusz-Krajewski Mateusz-Krajewski commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Stack płytek 2/5 (baza: board/1-gpio). Poprzedni: board/1-gpio, następny: board/3-sensors.

Zmiana

Configi aktuatorów EC → config_<Plytka>.json + board_config() (bez zmian w kodzie):

  • engine_app (piny ARM), servo_service (kanały PCA, MOSFET-y), prim_service (piny zapalnika).

config_BbbLbV1.json = kopia BbbEbV2 do uzupełnienia pod LiquidBoard.

FC i SEC_EC bez zmian (komputery do wycofania) — ich configi zostają jako config.json.

Testy QEMU (tests/audit/test_functional.py, tools/qemu_test/qemu_docker.sh) czytają servo_service/config_BbbEbV2.json — QEMU jest budowane jako bbb-EB_V2. UT serwa dalej używa //deployment/apps/servo_service:config.json (teraz wynik board_config). README/komentarze: ścieżki configów.

Test

bazel build --config=bbb-EB_V2 //deployment/cpu/ec:pkg //deployment/cpu/fc:pkg OK.

Engine arm pins, EC and SEC_EC servo maps, primer pins and FC recovery (servo channel, MOSFET, line cutter pin) move to config_<Board>.json; config_BbbLbV1.json is a copy of BbbEbV2 for now. The QEMU tests read config_BbbEbV2.json, the board QEMU runs as.
@Mateusz-Krajewski
Mateusz-Krajewski marked this pull request as ready for review November 17, 2026 21:48
@Mateusz-Krajewski
Mateusz-Krajewski enabled stacked auto-merge November 17, 2026 21:55
Only the EC apps move to config_<Board>.json for now; FC and SEC_EC app configs and sources stay as on master, since those computers are going to be retired soon.
stacked auto-merge was automatically disabled November 22, 2026 17:12

Auto-merge was disabled for another pull request in the stack

Comment thread apps/ec/primer_service/README.md Resolved
PrimerController::Initialize reads primer_ids and active_time from etc/config.json; pin 13 / 2500 ms are only the fallback (review #557).
@Mateusz-Krajewski
Mateusz-Krajewski enabled stacked auto-merge November 22, 2026 17:59
@Mateusz-Krajewski
Mateusz-Krajewski added this pull request to the merge queue Nov 22, 2026
Merged via the queue into master with commit 51f2dea Nov 22, 2026
2 checks passed
@Mateusz-Krajewski
Mateusz-Krajewski deleted the board/2-actuators branch November 22, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SW] Przystosowanie Konfiguracji aplikacji pod 2 różne projekty

2 participants