-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
drivers: modem: hl7800: fix file open in fw update #28766
Conversation
Fixes #28745 |
File open function for firmware update requires a flags parameter to be passed in. Signed-off-by: Ryan Erickson <[email protected]>
99cd376
to
ac11ff2
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.
Fix is fine, but we should add a build test to tests/drivers/build_all
Sounds good. What are your thoughts on how to approach this?
|
I don't know if we can get away with doing something similar to |
Change looks good, and I agree with @galak we should have a build test of this driver. |
Due to the driver relying on a UART and multiple IO, couldn't see how to do it like that. Added the test for the HL7800 driver and made use of the pinnacle_100_dvk because it already supports the HL7800. |
@mike-scott get I get a re-review, thanks! |
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.
LGTM
@galak can I get a second look and get this merged? |
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 you rename modem_hl7800.conf
to modem.conf
are you sure? the settings in there are specific to the hl7800 modem. Different modems may have different settings. |
I am, as I can follow up this PR w/having the test build support for multiple modems at the same time. |
@rerickson1 / @mike-scott here's a PR based on the build_all change in here that enables additional modem support: I would like to squash it down to one commit for the build_all changes, and one for the build bug fix, but left it as is for now for review purposes (and signed-off-by ack if I squash it all down) from @rerickson1 . |
Add the HL7800 modem driver to the build_all drivers test. Signed-off-by: Ryan Erickson <[email protected]>
a94a4c9
to
afbd392
Compare
File open function for firmware update requires a flags parameter to be passed in.