Skip to content

Commit 123bce8

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 61d27c2 commit 123bce8

19 files changed

+26
-25
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
@@ -41,7 +41,7 @@ extern "C" {
4141

4242
/* Used to create IELS values for the interrupt initialization table
4343
* g_interrupt_event_link_select. */
44-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
44+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
4545
#ifdef __cplusplus
4646
}
4747
#endif

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ extern "C" {
3838
#ifndef BSP_CLOCK_CFG_MAIN_OSC_WAIT
3939
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)
4040
#endif
41-
/* Used to create IELS values for the interrupt initialization table
42-
* g_interrupt_event_link_select. */
43-
#define BSP_PRV_IELS_ENUM(vector) (ICU_##vector)
41+
/* Used to create IELS values for the interrupt initialization table g_interrupt_event_link_select. */
42+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ICU_, vector)
4443

4544
#define BSP_CFG_DCDC_ENABLE (0)
4645
#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
@@ -306,7 +306,7 @@ extern "C" {
306306

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

311311
#ifndef BSP_CLOCK_CFG_MAIN_OSC_WAIT
312312
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)

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
@@ -288,7 +288,7 @@ extern "C" {
288288
#endif
289289
/* Used to create IELS values for the interrupt initialization table
290290
* g_interrupt_event_link_select. */
291-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
291+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
292292

293293
#ifndef BSP_CLOCK_CFG_MAIN_OSC_WAIT
294294
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)

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
@@ -292,7 +292,7 @@ extern "C" {
292292

293293
/* Used to create IELS values for the interrupt initialization table
294294
* g_interrupt_event_link_select. */
295-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
295+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
296296

297297
#ifndef BSP_CLOCK_CFG_MAIN_OSC_WAIT
298298
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)

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
@@ -47,7 +47,7 @@ extern "C" {
4747

4848
/* Used to create IELS values for the interrupt initialization table
4949
* g_interrupt_event_link_select. */
50-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
50+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
5151

5252
#ifdef __cplusplus
5353
}

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
@@ -309,7 +309,7 @@ extern "C" {
309309

310310
/* Used to create IELS values for the interrupt initialization table
311311
* g_interrupt_event_link_select. */
312-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
312+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
313313

314314
#ifndef BSP_CLOCK_CFG_MAIN_OSC_WAIT
315315
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)

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
@@ -316,7 +316,7 @@ extern "C" {
316316

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

321321
#ifndef BSP_CLOCK_CFG_MAIN_OSC_WAIT
322322
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)

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
@@ -40,7 +40,7 @@ extern "C" {
4040

4141
/* Used to create IELS values for the interrupt initialization table
4242
* g_interrupt_event_link_select. */
43-
#define BSP_PRV_IELS_ENUM(vector) (ELC_##vector)
43+
#define BSP_PRV_IELS_ENUM(vector) CONCAT(ELC_, vector)
4444

4545
#ifdef __cplusplus
4646
}

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
@@ -315,7 +315,7 @@ extern "C" {
315315

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

320320
#ifndef BSP_CLOCK_CFG_MAIN_OSC_WAIT
321321
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9)

0 commit comments

Comments
 (0)