summaryrefslogtreecommitdiff
path: root/bsp/lpc43xx
diff options
context:
space:
mode:
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]