Repository navigation
Move sensor configs to per-board files, 1-Wire bus from the temp MW config - #558
Merged
Merged
Conversation
…onfig Pressure sensor ADC channels/calibration and 1-Wire sensor IDs of the EC, SEC_EC and FC env services move to config_<Board>.json. The 1-Wire sysfs directory and bus master name are no longer constants in core/temp: TempDriver takes them in its constructor and the temp MW reads them from its new config (deployment/mw/temp/config_<Board>.json).
Mateusz-Krajewski
marked this pull request as ready for review
November 17, 2026 21:50
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
KrzysKond
requested changes
Nov 22, 2026
Mateusz-Krajewski
enabled stacked auto-merge
November 22, 2026 17:59
KrzysKond
approved these changes
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack płytek 3/5 (baza: board/2-actuators). Poprzedni: board/2-actuators, następny: board/4-i2c-bus.
Zmiana
a/b) i ID czujników 1-Wire wenv_serviceEC →config_<Plytka>.json. FC i SEC_EC bez zmian (komputery do wycofania).core/tempnie ma już stałych/sys/bus/w1/devices/iw1_bus_master1—TempDriver(devices_path, bus_master)dostaje je w konstruktorze (sim: ignorowane). MWtempczyta je z nowego configudeployment/mw/temp/config_<Plytka>.json(w1_devices_path,w1_bus_master); brak/niepełny config →kInitializeError. MW jest wspólne, więc config trafia do pakietów wszystkich komputerów (wartości = dotychczasowe stałe).core/temp,mw/temp, env_service EC.Test
build
ec:pkg+fc:pkg(bbb-EB_V2) OK; UT całości na szczycie stacku.Ryzyko i sprawdzenie na sprzęcie
Wartości configu = dotychczasowe stałe. Na BBB:
temp_servicestartuje (log bez błędu configu) i widzi czujniki jak wcześniej.