boards: Enable thread local storage for some config

to improve the ci coverage

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-08-03 00:25:27 +08:00 committed by Petro Karashchenko
parent c61381da56
commit 35fe1cd7d7
4 changed files with 28 additions and 0 deletions

View File

@ -26,6 +26,7 @@ CONFIG_PREALLOC_TIMERS=4
CONFIG_RAM_SIZE=65536 CONFIG_RAM_SIZE=65536
CONFIG_RAM_START=0x1fff8000 CONFIG_RAM_START=0x1fff8000
CONFIG_RR_INTERVAL=200 CONFIG_RR_INTERVAL=200
CONFIG_SCHED_THREAD_LOCAL=y
CONFIG_START_DAY=25 CONFIG_START_DAY=25
CONFIG_START_MONTH=3 CONFIG_START_MONTH=3
CONFIG_START_YEAR=2013 CONFIG_START_YEAR=2013

View File

@ -86,6 +86,18 @@ SECTIONS
__exidx_end = ABSOLUTE(.); __exidx_end = ABSOLUTE(.);
} > progflash } > progflash
.tdata : {
_stdata = ABSOLUTE(.);
*(.tdata .tdata.* .gnu.linkonce.td.*);
_etdata = ABSOLUTE(.);
} > progflash
.tbss : {
_stbss = ABSOLUTE(.);
*(.tbss .tbss.* .gnu.linkonce.tb.* .tcommon);
_etbss = ABSOLUTE(.);
} > progflash
.data : { .data : {
_sdata = ABSOLUTE(.); _sdata = ABSOLUTE(.);
*(.data .data.*) *(.data .data.*)

View File

@ -48,6 +48,7 @@ CONFIG_RAM_SIZE=134217728
CONFIG_RAM_START=0xc0800000 CONFIG_RAM_START=0xc0800000
CONFIG_RAW_BINARY=y CONFIG_RAW_BINARY=y
CONFIG_RR_INTERVAL=200 CONFIG_RR_INTERVAL=200
CONFIG_SCHED_THREAD_LOCAL=y
CONFIG_SCHED_WAITPID=y CONFIG_SCHED_WAITPID=y
CONFIG_STACK_COLORATION=y CONFIG_STACK_COLORATION=y
CONFIG_START_DAY=20 CONFIG_START_DAY=20

View File

@ -82,6 +82,20 @@ SECTIONS
_einit = .; _einit = .;
} > flash } > flash
.tdata :
{
_stdata = ABSOLUTE(.);
*(.tdata .tdata.* .gnu.linkonce.td.*);
_etdata = ABSOLUTE(.);
} > flash
.tbss :
{
_stbss = ABSOLUTE(.);
*(.tbss .tbss.* .gnu.linkonce.tb.* .tcommon);
_etbss = ABSOLUTE(.);
} > flash
/*put wifibss in the first place*/ /*put wifibss in the first place*/
.wifibss (NOLOAD) : .wifibss (NOLOAD) :
{ {