mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-12 15:58:38 +00:00
[style] delete trailing whitespace
This commit is contained in:
parent
bdf17c5e46
commit
c9924b3fd7
102 changed files with 1612 additions and 1631 deletions
|
@ -43,9 +43,7 @@ list(REMOVE_ITEM ADD_SRCS
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -60,7 +58,7 @@ list(REMOVE_ITEM ADD_SRCS
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
|
@ -171,7 +171,7 @@ list(APPEND ADD_DEFINITIONS ${CFLAGS})
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
|
@ -21,9 +21,7 @@ list(APPEND ADD_SRCS ${sources})
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -37,7 +35,7 @@ list(APPEND ADD_SRCS ${sources})
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
|
@ -33,9 +33,7 @@ list(APPEND ADD_SRCS ${sources})
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -50,7 +48,7 @@ list(APPEND ADD_DEFINITIONS -DportasmHANDLE_INTERRUPT=FreeRTOS_Interrupt_Handler
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
|
@ -21,9 +21,7 @@ list(APPEND ADD_REQUIREMENTS common)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -38,7 +36,7 @@ list(APPEND ADD_REQUIREMENTS common)
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
|
@ -22,9 +22,7 @@ list(APPEND ADD_SRCS ${sources})
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -39,7 +37,7 @@ list(APPEND ADD_SRCS ${sources})
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
|
@ -7,7 +7,7 @@ list(APPEND ADD_INCLUDE
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/class/msc"
|
"${CMAKE_CURRENT_SOURCE_DIR}/class/msc"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/class/video"
|
"${CMAKE_CURRENT_SOURCE_DIR}/class/video"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/class/audio"
|
"${CMAKE_CURRENT_SOURCE_DIR}/class/audio"
|
||||||
#"${CMAKE_CURRENT_SOURCE_DIR}/class/vendor"
|
"${CMAKE_CURRENT_SOURCE_DIR}/class/vendor"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/class/winusb"
|
"${CMAKE_CURRENT_SOURCE_DIR}/class/winusb"
|
||||||
)
|
)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
@ -30,9 +30,7 @@ list(APPEND ADD_SRCS ${sources})
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -47,7 +45,7 @@ list(APPEND ADD_SRCS ${sources})
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
|
@ -20,9 +20,7 @@ list(APPEND ADD_SRCS xz_crc32.c xz_dec_lzma2.c xz_dec_stream.c xz_decompress.c
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
#list(APPEND ADD_STATIC_LIB "libxxx.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -37,7 +35,7 @@ list(APPEND ADD_SRCS xz_crc32.c xz_dec_lzma2.c xz_dec_stream.c xz_decompress.c
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -Dxxx)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -Dxxx)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
/* configure the CPU type */
|
/* configure the CPU type */
|
||||||
OUTPUT_ARCH( "riscv" )
|
OUTPUT_ARCH( "riscv" )
|
||||||
/* link with the standard c library */
|
/* link with the standard c library */
|
||||||
INPUT(-lc)
|
/*INPUT(-lc)*/
|
||||||
/* link with the standard GCC library */
|
/* link with the standard GCC library */
|
||||||
INPUT(-lgcc)
|
/*INPUT(-lgcc)*/
|
||||||
/* configure the entry point */
|
/* configure the entry point */
|
||||||
ENTRY(_enter)
|
ENTRY(_enter)
|
||||||
|
|
||||||
|
|
|
@ -388,7 +388,6 @@ BL_Err_Type EF_Ctrl_Read_Ldo11VoutSel_Opt(uint8_t *Ldo11VoutSelValue)
|
||||||
|
|
||||||
tmp = (BL_RD_REG(EF_DATA_BASE, EF_DATA_0_EF_KEY_SLOT_4_W3)) >> 7;
|
tmp = (BL_RD_REG(EF_DATA_BASE, EF_DATA_0_EF_KEY_SLOT_4_W3)) >> 7;
|
||||||
|
|
||||||
|
|
||||||
if (trim->en) {
|
if (trim->en) {
|
||||||
if (trim->parity == EF_Ctrl_Get_Trim_Parity(trim->sel_value, 4)) {
|
if (trim->parity == EF_Ctrl_Get_Trim_Parity(trim->sel_value, 4)) {
|
||||||
*Ldo11VoutSelValue = trim->sel_value;
|
*Ldo11VoutSelValue = trim->sel_value;
|
||||||
|
@ -411,7 +410,6 @@ BL_Err_Type EF_Ctrl_Read_TxPower_ATE(int8_t *TxPower)
|
||||||
uint32_t tmp;
|
uint32_t tmp;
|
||||||
Efuse_TxPower_Info_Type *trim = (Efuse_TxPower_Info_Type *)&tmp;
|
Efuse_TxPower_Info_Type *trim = (Efuse_TxPower_Info_Type *)&tmp;
|
||||||
|
|
||||||
|
|
||||||
/* Switch to AHB clock */
|
/* Switch to AHB clock */
|
||||||
EF_Ctrl_Sw_AHB_Clk_0();
|
EF_Ctrl_Sw_AHB_Clk_0();
|
||||||
|
|
||||||
|
@ -424,8 +422,7 @@ BL_Err_Type EF_Ctrl_Read_TxPower_ATE(int8_t *TxPower)
|
||||||
if (trim->parity == EF_Ctrl_Get_Trim_Parity(trim->txpower, 5)) {
|
if (trim->parity == EF_Ctrl_Get_Trim_Parity(trim->txpower, 5)) {
|
||||||
if (trim->txpower >= 16) {
|
if (trim->txpower >= 16) {
|
||||||
*TxPower = trim->txpower - 32;
|
*TxPower = trim->txpower - 32;
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
*TxPower = trim->txpower;
|
*TxPower = trim->txpower;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,9 +34,7 @@ list(APPEND ADD_REQUIREMENTS common)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add static libs ##########################
|
############ Add static libs ##########################
|
||||||
# if(CONFIG_COMPONENT1_INCLUDE_STATIC_LIB)
|
|
||||||
#list(APPEND ADD_STATIC_LIB "lib/libtest.a")
|
#list(APPEND ADD_STATIC_LIB "lib/libtest.a")
|
||||||
# endif()
|
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
############ Add dynamic libs #########################
|
############ Add dynamic libs #########################
|
||||||
|
@ -52,7 +50,7 @@ list(APPEND ADD_DEFINITIONS -DARCH_RISCV -DBFLB_USE_HAL_DRIVER)
|
||||||
|
|
||||||
############ Add private compile option ################
|
############ Add private compile option ################
|
||||||
#add compile option for this component that won't affect other modules
|
#add compile option for this component that won't affect other modules
|
||||||
# list(APPEND ADD_DEFINITIONS_PRIVATE -DAAAAA=1)
|
# list(APPEND ADD_PRIVATE_DEFINITIONS -DAAAAA=1)
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
generate_library()
|
generate_library()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue