-
Notifications
You must be signed in to change notification settings - Fork 0
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
Apollo4p update asize isize #22
base: ambiq-stable
Are you sure you want to change the base?
Conversation
b5eb25d
to
b476ce5
Compare
LOG_INST_ERR(cfg->log, "%u, failed to configure device.", __LINE__); | ||
ret = -EHOSTDOWN; | ||
goto e_return; | ||
} |
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.
} | |
} | |
data->dev_cfg.cmd_length = hal_dev_cfg.eInstrCfg + 1; | |
data->dev_cfg.addr_length = hal_dev_cfg.eAddrCfg + 1; | |
@@ -1047,6 +1063,20 @@ static int mspi_pio_prepare(const struct device *controller, am_hal_mspi_pio_tra | |||
|
|||
data->dev_cfg.addr_length = xfer->addr_length; |
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.
data->dev_cfg.addr_length = xfer->addr_length; |
if (ret) { | ||
LOG_INST_ERR(cfg->log, "%u, failed to configure device.", __LINE__); | ||
ret = -EHOSTDOWN; | ||
} |
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.
Updates to data->hal_dev_cfg.eAddrCfg, data->hal_dev_cfg.eInstrCfg, data->dev_cfg.addr_length and data->dev_cfg.cmd_length should happen here. After hal function had returned successful.
b476ce5
to
5de2a46
Compare
This adds the separate config for ASIZE and ISIZE setting ran clang format on driver Signed-off-by: Richard Wheatley <[email protected]>
Combine the separate mspi memc in CMakeLists Signed-off-by: Richard Wheatley <[email protected]>
5de2a46
to
c2d78e6
Compare
Update some small features from last pull request for mspi