-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux refactor: Episode I #2678
Linux refactor: Episode I #2678
Conversation
8564fd6
to
6054c63
Compare
6054c63
to
03aa660
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice approach, just some minors
release = "Bullseye" | ||
os_release = load_file("/etc/os-release") | ||
if "bookworm" in os_release: | ||
release = "Bookworm" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use an enum here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this wait?
I plan to move the checks for os_release and pi version to commonwealth in the next PR
core/services/ardupilot_manager/flight_controller_detector/linux/navigator.py
Outdated
Show resolved
Hide resolved
core/services/ardupilot_manager/flight_controller_detector/linux/linux_boards.py
Outdated
Show resolved
Hide resolved
core/services/ardupilot_manager/flight_controller_detector/linux/linux_boards.py
Outdated
Show resolved
Hide resolved
Nice one, eager for the next episodes! |
5ed424a
to
2805f3b
Compare
2805f3b
to
c09b8a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we merge this before 1.3 ? I'm more inclined to merge it in 1.4, but I'm open to discuss.
Yeah, might be a smarted move if this is not required for 1.3 |
Yes, it is probably wiser to keep it for the next sable |
c09b8a7
to
e597a2e
Compare
splitting it up to make the review process smoother
tested on pi4/bullseye
test on pi5/bookworm
port mapping on pi4/bullseye has changed =[updated serial mapping for pi4 on bullseye