-
Notifications
You must be signed in to change notification settings - Fork 349
debugability: extract fw_version and copy it to .ldc file #512
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,8 @@ | |
| #include <string.h> | ||
| #include <version.h> | ||
|
|
||
| static const struct sof_ipc_fw_ready ready = { | ||
| static const struct sof_ipc_fw_ready ready | ||
| __attribute__((section(".fw_ready"))) = { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just move to end of definition (like Linux) and we are good to merge.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is exactly in line with kernel examples: It is a variable attribute, and cannot be placed after assignment operator, otherwise it will not compile.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, it seems we can do this where we define but not declare...
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The problem is that it is defined and declared in the same statement. |
||
| .hdr = { | ||
| .cmd = SOF_IPC_FW_READY, | ||
| .size = sizeof(struct sof_ipc_fw_ready), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.