mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 00:27:19 +08:00
[bsp][hpmicro]添加utest相关段信息,修复scons编译问题
This commit is contained in:
parent
cb0b5b05ad
commit
0df9a9f0cc
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -107,6 +107,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -107,6 +107,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -110,6 +110,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -116,6 +116,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -116,6 +116,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -116,6 +116,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -116,6 +116,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -116,6 +116,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
@ -5,7 +5,7 @@ import rtconfig
|
|||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
else:
|
||||||
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../../../rt-thread')
|
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
|
||||||
|
|
||||||
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
try:
|
try:
|
||||||
|
@ -113,6 +113,12 @@ SECTIONS
|
|||||||
* RT-Thread related sections - Start
|
* RT-Thread related sections - Start
|
||||||
*
|
*
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
/* section information for utest */
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_utest_tc_tab_start = .;
|
||||||
|
KEEP(*(UtestTcTab))
|
||||||
|
__rt_utest_tc_tab_end = .;
|
||||||
|
|
||||||
/* section information for finsh shell */
|
/* section information for finsh shell */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__fsymtab_start = .;
|
__fsymtab_start = .;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user