File tree Expand file tree Collapse file tree
bsp/xuantie/xiaohui/c908x Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ Export('rtconfig')
3434SDK_ROOT = os .path .abspath ('./' )
3535
3636if os .path .exists (SDK_ROOT + '/libraries' ):
37- libraries_path_prefix = SDK_ROOT + '../ libraries'
37+ libraries_path_prefix = os . path . normpath ( os . path . join ( SDK_ROOT , '..' , ' libraries'))
3838else :
39- libraries_path_prefix = os .path .dirname (SDK_ROOT ) + '/../ libraries'
39+ libraries_path_prefix = os .path .normpath ( os . path . join ( os . path . dirname (SDK_ROOT ), '..' , ' libraries'))
4040
4141SDK_LIB = libraries_path_prefix
4242Export ('SDK_LIB' )
Original file line number Diff line number Diff line change 1717 */
1818
1919/*
20- This is an example board.h for Board Compment , New Board should flow the macro defines.
20+ This is an example board.h for Board Component , New Board should follow the macro defines.
2121*/
2222
2323#ifndef __BOARD_H__
@@ -44,7 +44,7 @@ extern "C" {
4444 · WIFI
4545 · BT
4646 · AUDIO
47- BOARD_XXX Macro descripted below should be defined if the board support.
47+ BOARD_XXX Macro described below should be defined if the board support.
4848*/
4949
5050/****************************************************************************/
@@ -120,8 +120,8 @@ extern "C" {
120120// UART
121121
122122/*
123- The total supported uart numbers on this board, 0 meas No uart support.
124- the BOARD_UART<x>_XXX, x in rang of (0, BOARD_UART_NUM - 1)
123+ The total supported uart numbers on this board, 0 means No uart support.
124+ the BOARD_UART<x>_XXX, x in range of (0, BOARD_UART_NUM - 1)
125125*/
126126#ifndef BOARD_UART_NUM
127127#define BOARD_UART_NUM (1)
You can’t perform that action at this time.
0 commit comments