Skip to content

Commit b033822

Browse files
khoa-nguyen-18KhiemNguyenT
authored andcommitted
hal: renesas: ra: Modify BSP_PRV_IELS_ENUM for build process
Modify BSP_PRV_IELS_ENUM to use CONCAT instead of ## Signed-off-by: Khoa Nguyen <[email protected]>
1 parent 85d9d9a commit b033822

19 files changed

+30
-27
lines changed

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra2a1/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ extern "C" {
6868

6969
/* Used to create IELS values for the interrupt initialization table
7070
* g_interrupt_event_link_select. */
71-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
71+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
7272
/*
7373
ID Code
7474
Note: To permanently lock and disable the debug interface define the

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra2l1/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ extern "C" {
6666
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)
6767
#endif
6868
/* Used to create IELS values for the interrupt initialization table g_interrupt_event_link_select. */
69-
#define BSP_PRV_IELS_ENUM(vector) (ICU_ ## vector)
69+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ICU_, vector)
7070

7171
#define BSP_CFG_DCDC_ENABLE (0)
7272
#define BSP_CFG_DCDC_VOLTAGE_RANGE (BSP_POWER_MODE_DCDC_2V7_TO_3V6)

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra4e1/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ extern "C" {
327327

328328
/* Used to create IELS values for the interrupt initialization table
329329
* g_interrupt_event_link_select. */
330-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
330+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
331331

332332
/* Dual Mode Select Register */
333333
#ifndef BSP_CFG_ROM_REG_DUALSEL

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra4e2/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ extern "C" {
304304

305305
/* Used to create IELS values for the interrupt initialization table
306306
* g_interrupt_event_link_select. */
307-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
307+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
308308

309309
/* Block Protection Register 0 */
310310
#ifndef BSP_CFG_ROM_REG_BPS0

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra4l1/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ extern "C" {
313313

314314
/* Used to create IELS values for the interrupt initialization table
315315
* g_interrupt_event_link_select. */
316-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
316+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
317317

318318
/* Dual Mode Select Register */
319319
#ifndef BSP_CFG_ROM_REG_DUALSEL

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra4m1/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ extern "C" {
6767

6868
/* Used to create IELS values for the interrupt initialization table
6969
* g_interrupt_event_link_select. */
70-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
70+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
7171
/*
7272
ID Code
7373
Note: To lock and disable the debug interface define BSP_ID_CODE_LOCKED in

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra4m2/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ extern "C" {
330330

331331
/* Used to create IELS values for the interrupt initialization table
332332
* g_interrupt_event_link_select. */
333-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
333+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
334334

335335
/* Dual Mode Select Register */
336336
#ifndef BSP_CFG_ROM_REG_DUALSEL

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra4m3/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ extern "C" {
337337

338338
/* Used to create IELS values for the interrupt initialization table
339339
* g_interrupt_event_link_select. */
340-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
340+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
341341

342342
/* Dual Mode Select Register */
343343
#ifndef BSP_CFG_ROM_REG_DUALSEL

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra4w1/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ extern "C" {
6767

6868
/* Used to create IELS values for the interrupt initialization table
6969
* g_interrupt_event_link_select. */
70-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
70+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
7171
/*
7272
ID Code
7373
Note: To permanently lock and disable the debug interface define the

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra6e1/bsp_mcu_family_cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ extern "C" {
336336

337337
/* Used to create IELS values for the interrupt initialization table
338338
* g_interrupt_event_link_select. */
339-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
339+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
340340

341341
/* Dual Mode Select Register */
342342
#ifndef BSP_CFG_ROM_REG_DUALSEL

0 commit comments

Comments
 (0)