mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-26 11:50:52 +00:00
Cortex-M7: Add support for enabled the D-Cache in write only mode.
SAMV7 Ethernet: I- and D-Cache are now enabled in the netnsh/ configuration. D-Cache is enabled in write-though mode. This mode is necessary because the DMA descriptors are each 8-bytes in size but the D-Cache cache line is 32-bits in size. So it is impossible make coherency for every 8-byte DMA descriptor without write-through.
This commit is contained in:
parent
d8d4a3486c
commit
c9eff799c0
1 changed files with 2 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ static int ls_recursive(FAR struct nsh_vtbl_s *vtbl, const char *dirpath,
|
|||
{
|
||||
/* Yes.. */
|
||||
|
||||
char *newpath;
|
||||
FAR char *newpath;
|
||||
newpath = nsh_getdirpath(dirpath, entryp->d_name);
|
||||
|
||||
/* List the directory contents */
|
||||
|
|
@ -408,6 +408,7 @@ static int ls_recursive(FAR struct nsh_vtbl_s *vtbl, const char *dirpath,
|
|||
free(newpath);
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue