diff options
| author | Damien George <damien@micropython.org> | 2023-06-22 23:22:43 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-06-25 16:14:28 +1000 |
| commit | c2ea8b2f98c6e2a00f78f9ab14754f53c257302e (patch) | |
| tree | 6a2cd446f770974fdbf42e53d47299545e47f3b4 | |
| parent | 23fe170da447340f42e924b2a1fc520a735525bb (diff) | |
renesas-ra: Consolidate all fsp_cfg header files to one location.
The config header files with the same name have the same contents, so they
don't need to be repeated for each board in the board's source directory.
Signed-off-by: Damien George <damien@micropython.org>
21 files changed, 1 insertions, 205 deletions
diff --git a/ports/renesas-ra/Makefile b/ports/renesas-ra/Makefile index c49db286f..13be532cb 100644 --- a/ports/renesas-ra/Makefile +++ b/ports/renesas-ra/Makefile @@ -91,6 +91,7 @@ CROSS_COMPILE ?= arm-none-eabi- INC += -imacros boards/compiler_barrier.h INC += -I. +INC += -Ifsp_cfg INC += -I$(TOP) INC += -I$(BUILD) INC += -I$(TOP)/$(CMSIS_DIR) diff --git a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_adc_cfg.h b/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_adc_cfg.h deleted file mode 100644 index be8a42720..000000000 --- a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_adc_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_ADC_CFG_H_ -#define R_ADC_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define ADC_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_ADC_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_flash_lp_cfg.h b/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_flash_lp_cfg.h deleted file mode 100644 index 7f285cace..000000000 --- a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_flash_lp_cfg.h +++ /dev/null @@ -1,15 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_FLASH_LP_CFG_H_ -#define R_FLASH_LP_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define FLASH_LP_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) -#define FLASH_LP_CFG_CODE_FLASH_PROGRAMMING_ENABLE (1) -#define FLASH_LP_CFG_DATA_FLASH_PROGRAMMING_ENABLE (0) - -#ifdef __cplusplus -} -#endif -#endif /* R_FLASH_LP_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_ioport_cfg.h b/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_ioport_cfg.h deleted file mode 100644 index d2688bf5b..000000000 --- a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_ioport_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_IOPORT_CFG_H_ -#define R_IOPORT_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_IOPORT_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_lpm_cfg.h b/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_lpm_cfg.h deleted file mode 100644 index 6712eee6a..000000000 --- a/ports/renesas-ra/boards/EK_RA4W1/ra_cfg/fsp_cfg/r_lpm_cfg.h +++ /dev/null @@ -1,14 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_LPM_CFG_H_ -#define R_LPM_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define LPM_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) -#define LPM_CFG_STANDBY_LIMIT (0) - -#ifdef __cplusplus -} -#endif -#endif /* R_LPM_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_adc_cfg.h b/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_adc_cfg.h deleted file mode 100644 index be8a42720..000000000 --- a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_adc_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_ADC_CFG_H_ -#define R_ADC_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define ADC_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_ADC_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_ioport_cfg.h b/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_ioport_cfg.h deleted file mode 100644 index d2688bf5b..000000000 --- a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_ioport_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_IOPORT_CFG_H_ -#define R_IOPORT_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_IOPORT_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_lpm_cfg.h b/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_lpm_cfg.h deleted file mode 100644 index 6712eee6a..000000000 --- a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_lpm_cfg.h +++ /dev/null @@ -1,14 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_LPM_CFG_H_ -#define R_LPM_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define LPM_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) -#define LPM_CFG_STANDBY_LIMIT (0) - -#ifdef __cplusplus -} -#endif -#endif /* R_LPM_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_adc_cfg.h b/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_adc_cfg.h deleted file mode 100644 index be8a42720..000000000 --- a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_adc_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_ADC_CFG_H_ -#define R_ADC_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define ADC_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_ADC_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_flash_hp_cfg.h b/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_flash_hp_cfg.h deleted file mode 100644 index 9f7819b71..000000000 --- a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_flash_hp_cfg.h +++ /dev/null @@ -1,15 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_FLASH_HP_CFG_H_ -#define R_FLASH_HP_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define FLASH_HP_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) -#define FLASH_HP_CFG_CODE_FLASH_PROGRAMMING_ENABLE (1) -#define FLASH_HP_CFG_DATA_FLASH_PROGRAMMING_ENABLE (0) - -#ifdef __cplusplus -} -#endif -#endif /* R_FLASH_HP_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_ioport_cfg.h b/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_ioport_cfg.h deleted file mode 100644 index d2688bf5b..000000000 --- a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_ioport_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_IOPORT_CFG_H_ -#define R_IOPORT_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_IOPORT_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_lpm_cfg.h b/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_lpm_cfg.h deleted file mode 100644 index 6712eee6a..000000000 --- a/ports/renesas-ra/boards/EK_RA6M2/ra_cfg/fsp_cfg/r_lpm_cfg.h +++ /dev/null @@ -1,14 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_LPM_CFG_H_ -#define R_LPM_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define LPM_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) -#define LPM_CFG_STANDBY_LIMIT (0) - -#ifdef __cplusplus -} -#endif -#endif /* R_LPM_CFG_H_ */ diff --git a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_adc_cfg.h b/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_adc_cfg.h deleted file mode 100644 index be8a42720..000000000 --- a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_adc_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_ADC_CFG_H_ -#define R_ADC_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define ADC_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_ADC_CFG_H_ */ diff --git a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_flash_lp_cfg.h b/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_flash_lp_cfg.h deleted file mode 100644 index 7f285cace..000000000 --- a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_flash_lp_cfg.h +++ /dev/null @@ -1,15 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_FLASH_LP_CFG_H_ -#define R_FLASH_LP_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define FLASH_LP_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) -#define FLASH_LP_CFG_CODE_FLASH_PROGRAMMING_ENABLE (1) -#define FLASH_LP_CFG_DATA_FLASH_PROGRAMMING_ENABLE (0) - -#ifdef __cplusplus -} -#endif -#endif /* R_FLASH_LP_CFG_H_ */ diff --git a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_ioport_cfg.h b/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_ioport_cfg.h deleted file mode 100644 index d2688bf5b..000000000 --- a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_ioport_cfg.h +++ /dev/null @@ -1,13 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_IOPORT_CFG_H_ -#define R_IOPORT_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define IOPORT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) - -#ifdef __cplusplus -} -#endif -#endif /* R_IOPORT_CFG_H_ */ diff --git a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_lpm_cfg.h b/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_lpm_cfg.h deleted file mode 100644 index 6712eee6a..000000000 --- a/ports/renesas-ra/boards/RA4M1_CLICKER/ra_cfg/fsp_cfg/r_lpm_cfg.h +++ /dev/null @@ -1,14 +0,0 @@ -/* generated configuration header file - do not edit */ -#ifndef R_LPM_CFG_H_ -#define R_LPM_CFG_H_ -#ifdef __cplusplus -extern "C" { -#endif - -#define LPM_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE) -#define LPM_CFG_STANDBY_LIMIT (0) - -#ifdef __cplusplus -} -#endif -#endif /* R_LPM_CFG_H_ */ diff --git a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_adc_cfg.h b/ports/renesas-ra/fsp_cfg/r_adc_cfg.h index be8a42720..be8a42720 100644 --- a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_adc_cfg.h +++ b/ports/renesas-ra/fsp_cfg/r_adc_cfg.h diff --git a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_flash_hp_cfg.h b/ports/renesas-ra/fsp_cfg/r_flash_hp_cfg.h index 9f7819b71..9f7819b71 100644 --- a/ports/renesas-ra/boards/EK_RA6M1/ra_cfg/fsp_cfg/r_flash_hp_cfg.h +++ b/ports/renesas-ra/fsp_cfg/r_flash_hp_cfg.h diff --git a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_flash_lp_cfg.h b/ports/renesas-ra/fsp_cfg/r_flash_lp_cfg.h index 7f285cace..7f285cace 100644 --- a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_flash_lp_cfg.h +++ b/ports/renesas-ra/fsp_cfg/r_flash_lp_cfg.h diff --git a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_ioport_cfg.h b/ports/renesas-ra/fsp_cfg/r_ioport_cfg.h index d2688bf5b..d2688bf5b 100644 --- a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_ioport_cfg.h +++ b/ports/renesas-ra/fsp_cfg/r_ioport_cfg.h diff --git a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_lpm_cfg.h b/ports/renesas-ra/fsp_cfg/r_lpm_cfg.h index 6712eee6a..6712eee6a 100644 --- a/ports/renesas-ra/boards/EK_RA4M1/ra_cfg/fsp_cfg/r_lpm_cfg.h +++ b/ports/renesas-ra/fsp_cfg/r_lpm_cfg.h |
