Skip to content

Add dedicated section for pdm buffer #13

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

Merged
merged 2 commits into from
Mar 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ MEMORY
{
RAM (xrw) : ORIGIN = RAM_START + 0x298, LENGTH = RAM_SIZE - 0x298
OPENAMP_RSC_TAB (rwx) : ORIGIN = 0x38000000, LENGTH = 1K
OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 63K
OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 62K
/*PDM_MEM (rwx) : ORIGIN = 0x3800FC00, LENGTH = 1K Reserved for PDM and M7 */
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
}
__OPENAMP_region_start__ = ORIGIN(OPEN_AMP_SHMEM);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ MEMORY
RAM (xrw) : ORIGIN = RAM_START + 0x298, LENGTH = RAM_SIZE - 0x298
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
OPENAMP_RSC_TAB (rwx) : ORIGIN = 0x38000000, LENGTH = 1K
OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 63K
OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 62K
PDM_MEM (xrw) : ORIGIN = 0x3800FC00, LENGTH = 1k
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
}
__OPENAMP_region_start__ = ORIGIN(OPEN_AMP_SHMEM);
Expand Down Expand Up @@ -192,6 +193,11 @@ SECTIONS
*(.resource_table)
} >OPENAMP_RSC_TAB AT > FLASH

.pdm_section (NOLOAD) : {
. = ABSOLUTE(0x3800FC00);
*(.pdm_buffer)
} > PDM_MEM

/* .stack_dummy section doesn't contains any symbols. It is only
* used for linker to calculate size of stack sections, and assign
* values to stack symbols later */
Expand Down