mirror of
https://github.com/apache/nuttx.git
synced 2026-08-27 12:20:46 +00:00
Merged in masayuki2009/nuttx.nuttx/fix_lc823450_related (pull request #789)
Fix lc823450 related
* configs/lc823450-xgevk: Fix IOB params in rndis/defconfig
These prameters work for HTTP audio streaming.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* arch/arm/src/lc823450: Fix up_allocate_heap() in lc823450_allocateheap2.c
This change fixes heap size and also implements up_addregion().
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
cf453cb84b
commit
0d20c39250
2 changed files with 12 additions and 4 deletions
|
|
@ -166,7 +166,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
|
|||
/* Return the heap settings */
|
||||
|
||||
*heap_start = (uintptr_t *)&_eronly; /* please see ld.script */
|
||||
*heap_size = SRAM1_END - (int)heap_start;
|
||||
*heap_size = SRAM1_END - (int)*heap_start;
|
||||
|
||||
/* Colorize the heap for debug */
|
||||
|
||||
|
|
@ -230,6 +230,14 @@ void up_allocate_kheap(FAR void **heap_start, size_t *heap_size)
|
|||
#if CONFIG_MM_REGIONS > 1
|
||||
void up_addregion(void)
|
||||
{
|
||||
# error "TODO"
|
||||
FAR void *region_start;
|
||||
size_t region_size;
|
||||
|
||||
/* NOTE: add 1KB to avoid conflicts of initial stack */
|
||||
|
||||
region_start = (uintptr_t *)&_ebss + 1024;
|
||||
region_size = 0x02040000 - (int)region_start;
|
||||
|
||||
umm_addregion(region_start, region_size);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -52,9 +52,9 @@ CONFIG_I2CTOOL_MAXBUS=1
|
|||
CONFIG_I2C_RESET=y
|
||||
CONFIG_I2S=y
|
||||
CONFIG_INTELHEX_BINARY=y
|
||||
CONFIG_IOB_BUFSIZE=128
|
||||
CONFIG_IOB_BUFSIZE=64
|
||||
CONFIG_IOB_NBUFFERS=64
|
||||
CONFIG_IOB_NCHAINS=10
|
||||
CONFIG_IOB_NCHAINS=20
|
||||
CONFIG_LC823450_I2C0=y
|
||||
CONFIG_LC823450_I2C1=y
|
||||
CONFIG_LC823450_I2S0=y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue