summaryrefslogtreecommitdiff
path: root/bsp/lpc43xx
diff options
context:
space:
mode:
authorliruncong <[email protected]>2021-02-09 23:25:56 +0800
committerliruncong <[email protected]>2021-02-09 23:25:56 +0800
commit6df5634b52d2b202414e52dcadc2700bc2cbf9ef (patch)
tree2541b73eda5acc92f440039bb89cb3ef365ec82a /bsp/lpc43xx
parent0208fc5546a76ea4494e26000a10b7614af79793 (diff)
[bsp]SECTION=>RT_SECTION(与catch2中SECTION冲突)
Diffstat (limited to 'bsp/lpc43xx')
-rw-r--r--bsp/lpc43xx/M0/applications/vbus_drv.c2
-rw-r--r--bsp/lpc43xx/M4/applications/application.c2
-rw-r--r--bsp/lpc43xx/M4/applications/vbus_drv.c2
-rw-r--r--bsp/lpc43xx/drivers/drv_emac.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/bsp/lpc43xx/M0/applications/vbus_drv.c b/bsp/lpc43xx/M0/applications/vbus_drv.c
index 88d5321b30..696535247f 100644
--- a/bsp/lpc43xx/M0/applications/vbus_drv.c
+++ b/bsp/lpc43xx/M0/applications/vbus_drv.c
@@ -14,7 +14,7 @@
#include <vbus.h>
#include <board.h>
-struct rt_vbus_ring rt_vbus_rings[2] SECTION("vbus_ring");
+struct rt_vbus_ring rt_vbus_rings[2] RT_SECTION("vbus_ring");
int rt_vbus_do_init(void)
{
diff --git a/bsp/lpc43xx/M4/applications/application.c b/bsp/lpc43xx/M4/applications/application.c
index 1c31c9da73..8fb1a4ae83 100644
--- a/bsp/lpc43xx/M4/applications/application.c
+++ b/bsp/lpc43xx/M4/applications/application.c
@@ -22,7 +22,7 @@
#include <vbus.h>
#endif
-static const unsigned char _M0_CODE[] SECTION("M0_CODE") = {
+static const unsigned char _M0_CODE[] RT_SECTION("M0_CODE") = {
#include "M0_CODE.h"
};
diff --git a/bsp/lpc43xx/M4/applications/vbus_drv.c b/bsp/lpc43xx/M4/applications/vbus_drv.c
index bd3ae03adb..09fd2373c4 100644
--- a/bsp/lpc43xx/M4/applications/vbus_drv.c
+++ b/bsp/lpc43xx/M4/applications/vbus_drv.c
@@ -14,7 +14,7 @@
#include <vbus.h>
#include <board.h>
-struct rt_vbus_ring rt_vbus_rings[2] SECTION("vbus_ring");
+struct rt_vbus_ring rt_vbus_rings[2] RT_SECTION("vbus_ring");
int rt_vbus_do_init(void)
{
diff --git a/bsp/lpc43xx/drivers/drv_emac.c b/bsp/lpc43xx/drivers/drv_emac.c
index d1f02af768..b8875c340c 100644
--- a/bsp/lpc43xx/drivers/drv_emac.c
+++ b/bsp/lpc43xx/drivers/drv_emac.c
@@ -20,7 +20,7 @@
#define EMAC_PHY_100MBIT 2
#define MAX_ADDR_LEN 6
-static rt_uint32_t ETH_RAM_BASE[4 * 1024] SECTION("ETH_RAM");
+static rt_uint32_t ETH_RAM_BASE[4 * 1024] RT_SECTION("ETH_RAM");
/* EMAC variables located in 16K Ethernet SRAM */
#define RX_DESC_BASE (uint32_t)&ETH_RAM_BASE[0]