Skip to content

Commit 44a399c

Browse files
ZhaoxiangJinmmahadevan108
authored andcommitted
sdk_ng: Add components from mcuxsdk-ng 24.12.00 release
added conn_fwloader, flash, imu_adapter, lists, misc_utilities, osa, phy, rpmsg, wifi_bt_module from mcuxsdk-ng 24.12.00 release to hal_nxp. Signed-off-by: Zhaoxiang Jin <[email protected]>
1 parent f035182 commit 44a399c

File tree

198 files changed

+72685
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+72685
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright 2024 NXP
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
4+
if (CONFIG_MCUX_COMPONENT_driver.conn_fwloader)
5+
mcux_add_source(
6+
SOURCES include/api_tree_root.h
7+
include/fsl_loader.h
8+
include/fsl_loader_utils.h
9+
include/fusemap.h
10+
include/life_cycle.h
11+
include/nboot_rom_api_table.h
12+
fsl_loader.c
13+
fsl_loader_utils.c
14+
nboot_hal.c
15+
life_cycle.c
16+
readme.txt
17+
script/fw_bin2c_conv.py
18+
)
19+
mcux_add_include(
20+
INCLUDES include
21+
)
22+
endif()
23+
24+
if(CONFIG_BUILD_WITH_TFM)
25+
add_compile_definitions(TFM_PARTITION_LOADER_SERVICE)
26+
endif()
27+
28+
if(CONFIG_USE_component_osa_free_rtos_RW612)
29+
include(component_osa_free_rtos_RW612)
30+
endif()
31+
32+
if(CONFIG_USE_component_osa_bm)
33+
include(component_osa_bm)
34+
endif()
35+
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* Copyright 2020-2021,2024 NXP
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
*
6+
*/
7+
#ifndef TFM_PARTITION_LOADER_SERVICE
8+
#include "fsl_loader_utils.h"
9+
10+
//! @addtogroup sbloader
11+
//! @{
12+
13+
/*******************************************************************************
14+
* Definitions
15+
******************************************************************************/
16+
17+
/*******************************************************************************
18+
* Prototype
19+
******************************************************************************/
20+
21+
/*******************************************************************************
22+
* Variables
23+
******************************************************************************/
24+
25+
/*******************************************************************************
26+
* Codes
27+
******************************************************************************/
28+
////////////////////////////////////////////////////////////////////////////
29+
//! @brief fw download
30+
////////////////////////////////////////////////////////////////////////////
31+
status_t sb3_fw_download(LOAD_Target_Type loadTarget, uint32_t flag, uint32_t sourceAddr)
32+
{
33+
return sb3_fw_download_impl(loadTarget,flag,sourceAddr);
34+
}
35+
36+
////////////////////////////////////////////////////////////////////////////
37+
//! @brief fw reset
38+
////////////////////////////////////////////////////////////////////////////
39+
status_t sb3_fw_reset(LOAD_Target_Type loadTarget, uint32_t flag, uint32_t sourceAddr)
40+
{
41+
return sb3_fw_reset_impl(loadTarget, flag, sourceAddr);
42+
}
43+
44+
////////////////////////////////////////////////////////////////////////////
45+
//! @brief power on device
46+
////////////////////////////////////////////////////////////////////////////
47+
void power_on_device(LOAD_Target_Type loadTarget)
48+
{
49+
power_on_device_impl(loadTarget);
50+
}
51+
52+
////////////////////////////////////////////////////////////////////////////
53+
//! @brief power off device
54+
////////////////////////////////////////////////////////////////////////////
55+
void power_off_device(LOAD_Target_Type loadTarget)
56+
{
57+
power_off_device_impl(loadTarget);
58+
}
59+
//! @}
60+
////////////////////////////////////////////////////////////////////////////
61+
// EOF
62+
////////////////////////////////////////////////////////////////////////////
63+
#endif /* TFM_PARTITION_LOADER_SERVICE */

0 commit comments

Comments
 (0)