From 5cc169573dc80209b19f3d4752aa8f5f7f457ebb Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 19 Apr 2021 10:55:33 +0200 Subject: Fixes for TMS570 BSP When compiling the lwIP port for the TMS570, there were issues with the BSP. Headers are expected in a folder named ti_herc which did not exist. This fixes the issue. Furthermore, there were multiple warnings about define redefinitions. This was fixed as well. --- bsps/arm/tms570/include/bsp/irq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bsps') diff --git a/bsps/arm/tms570/include/bsp/irq.h b/bsps/arm/tms570/include/bsp/irq.h index 0fab45655d..872bebd908 100644 --- a/bsps/arm/tms570/include/bsp/irq.h +++ b/bsps/arm/tms570/include/bsp/irq.h @@ -33,7 +33,7 @@ #endif #define TMS570_IRQ_ESM_HIGH 0 -#define TMS570_IRQ_RESERVED 1 +#define TMS570_IRQ_RESERVED_0 1 #define TMS570_IRQ_TIMER_0 2 #define TMS570_IRQ_TIMER_1 3 #define TMS570_IRQ_TIMER_2 4 @@ -49,7 +49,7 @@ #define TMS570_IRQ_ADC1_EVENT 14 #define TMS570_IRQ_ADC1_GROUP_1 15 #define TMS570_IRQ_CAN1_HIGH 16 -#define TMS570_IRQ_RESERVED 17 +#define TMS570_IRQ_RESERVED_1 17 #define TMS570_IRQ_FLEXRAY_HIGH 18 #define TMS570_IRQ_CRC_1 19 #define TMS570_IRQ_ESM_LOW 20 @@ -62,7 +62,7 @@ #define TMS570_IRQ_SCI_LEVEL_1 27 #define TMS570_IRQ_ADC1_GROUP_2 28 #define TMS570_IRQ_CAN1_LOW 29 -#define TMS570_IRQ_RESERVED +#define TMS570_IRQ_RESERVED_2 30 #define TMS570_IRQ_ADC1_MAG 31 #define TMS570_IRQ_FLEXRAY_LOW 32 #define TMS570_IRQ_DMA_FTCA 33 -- cgit v1.2.3