summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaochenger <[email protected]>2022-12-19 14:09:54 +0800
committerMan, Jianting (Meco) <[email protected]>2022-12-19 18:25:04 -0500
commit8ade08799bba360116200899f92415f9db545120 (patch)
tree1821f97afe24e454e3eff33091a2426dbe2888ca
parent2f214d03c019920109227b7cd1904db9e8d1e4b4 (diff)
[bsp][core-v-mcu]在驱动中添加rtconfig.h,以兼容原工程基于FreeRTOS的驱动
-rw-r--r--bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_hal/source/hal_pinmux.c2
-rw-r--r--bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_cam_driver.c1
-rw-r--r--bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_i2cm_driver.c2
-rw-r--r--bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_qspi_driver.c1
-rw-r--r--bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_sdio_driver.c1
5 files changed, 5 insertions, 2 deletions
diff --git a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_hal/source/hal_pinmux.c b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_hal/source/hal_pinmux.c
index 0957a22543..172a7de435 100644
--- a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_hal/source/hal_pinmux.c
+++ b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_hal/source/hal_pinmux.c
@@ -15,7 +15,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
-
+ #include "rtconfig.h"
#include "core-v-mcu-config.h"
#include "hal_apb_soc_ctrl_regs.h"
#include "hal_pinmux.h"
diff --git a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_cam_driver.c b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_cam_driver.c
index ad128cbaab..e4bd877178 100644
--- a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_cam_driver.c
+++ b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_cam_driver.c
@@ -15,6 +15,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
+#include "rtconfig.h"
#ifdef PKG_USING_FREERTOS_WRAPPER
#include "FreeRTOS.h"
#include <camera.h>
diff --git a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_i2cm_driver.c b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_i2cm_driver.c
index 3fa26cf629..3faa0675ca 100644
--- a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_i2cm_driver.c
+++ b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_i2cm_driver.c
@@ -15,7 +15,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
-
+#include "rtconfig.h"
#ifdef PKG_USING_FREERTOS_WRAPPER
#include "FreeRTOS.h"
#include <string.h>
diff --git a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_qspi_driver.c b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_qspi_driver.c
index 8c05e5ecc8..93a7b53808 100644
--- a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_qspi_driver.c
+++ b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_qspi_driver.c
@@ -15,6 +15,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
+#include "rtconfig.h"
#ifdef PKG_USING_FREERTOS_WRAPPER
#include "FreeRTOS.h"
#include <string.h>
diff --git a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_sdio_driver.c b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_sdio_driver.c
index 5785a68b4e..2af6cefead 100644
--- a/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_sdio_driver.c
+++ b/bsp/core-v-mcu/Libraries/core_v_hal_libraries/core_v_udma_driver/source/udma_sdio_driver.c
@@ -15,6 +15,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
+#include "rtconfig.h"
#ifdef PKG_USING_FREERTOS_WRAPPER
#include "FreeRTOS.h"
#include <string.h>