renesas-ra/fsp_cfg: Add common FSP config files.
Add DAC, SCE and USB FSP config files. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
474bf4e1e3
commit
abd9bed667
13
ports/renesas-ra/fsp_cfg/r_dac_cfg.h
Normal file
13
ports/renesas-ra/fsp_cfg/r_dac_cfg.h
Normal file
@ -0,0 +1,13 @@
|
||||
/* generated configuration header file - do not edit */
|
||||
#ifndef R_DAC_CFG_H_
|
||||
#define R_DAC_CFG_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define DAC_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* R_DAC_CFG_H_ */
|
10
ports/renesas-ra/fsp_cfg/r_sce_cfg.h
Normal file
10
ports/renesas-ra/fsp_cfg/r_sce_cfg.h
Normal file
@ -0,0 +1,10 @@
|
||||
/* generated configuration header file - do not edit */
|
||||
#ifndef R_SCE_CFG_H_
|
||||
#define R_SCE_CFG_H_
|
||||
#define SCE_RSA_RETRY_COUNT_FOR_RSA_KEY_GENERATION 10240
|
||||
#define SCE_USER_SHA_384_ENABLED (0)
|
||||
#define SCE_USER_SHA_384_FUNCTION crypto_sha384_user_function
|
||||
#ifndef SCE_USER_FAST_BOOT
|
||||
#define SCE_USER_FAST_BOOT (0)
|
||||
#endif
|
||||
#endif /* R_SCE_CFG_H_ */
|
113
ports/renesas-ra/fsp_cfg/r_usb_basic_cfg.h
Normal file
113
ports/renesas-ra/fsp_cfg/r_usb_basic_cfg.h
Normal file
@ -0,0 +1,113 @@
|
||||
/* generated configuration header file - do not edit */
|
||||
#ifndef R_USB_BASIC_CFG_H_
|
||||
#define R_USB_BASIC_CFG_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef NULL
|
||||
extern const uint16_t NULL[];
|
||||
#endif
|
||||
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HCDC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HHID_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HMSC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HVND_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HPRN_USE
|
||||
#endif
|
||||
#if (1 != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PCDC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PHID_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PMSC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PPRN_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PVND_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HCDC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HMSC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HHID_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HPRN_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_HUVC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PCDC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PPRN_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PHID_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PMSC_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_PAUD_USE
|
||||
#endif
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#define USB_CFG_DFU_USE
|
||||
#endif
|
||||
#if ((RA_NOT_DEFINED != RA_NOT_DEFINED) || (RA_NOT_DEFINED != RA_NOT_DEFINED) || (RA_NOT_DEFINED != RA_NOT_DEFINED))
|
||||
#define USB_CFG_OTG_USE
|
||||
#endif
|
||||
#if (defined(USB_CFG_HCDC_USE) || defined(USB_CFG_HPRN_USE) || defined(USB_CFG_HMSC_USE) || defined(USB_CFG_HHID_USE) || defined(USB_CFG_HVND_USE) || defined(USB_CFG_HUVC_USE))
|
||||
#define USB_CFG_HOST_MODE 1
|
||||
#else
|
||||
#define USB_CFG_HOST_MODE 0
|
||||
#endif
|
||||
|
||||
#if (defined(USB_CFG_PCDC_USE) || defined(USB_CFG_PPRN_USE) || defined(USB_CFG_PMSC_USE) || defined(USB_CFG_PHID_USE) || defined(USB_CFG_PVND_USE) || defined(USB_CFG_PAUD_USE) || defined(USB_CFG_DFU_USE))
|
||||
#define USB_CFG_PERI_MODE 2
|
||||
#else
|
||||
#define USB_CFG_PERI_MODE 0
|
||||
#endif
|
||||
|
||||
#define USB_CFG_MODE (USB_CFG_PERI_MODE | USB_CFG_HOST_MODE)
|
||||
|
||||
#define USB_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
|
||||
#define USB_CFG_CLKSEL (USB_CFG_24MHZ)
|
||||
#define USB_CFG_BUSWAIT (USB_CFG_BUSWAIT_7)
|
||||
#define USB_CFG_BC (USB_CFG_ENABLE)
|
||||
#define USB_CFG_VBUS (USB_CFG_HIGH)
|
||||
#define USB_CFG_DCP (USB_CFG_DISABLE)
|
||||
#define USB_CFG_CLASS_REQUEST (USB_CFG_ENABLE)
|
||||
#define USB_CFG_DBLB (USB_CFG_DBLBON)
|
||||
#define USB_CFG_CNTMD (USB_CFG_CNTMDOFF)
|
||||
#define USB_CFG_LDO_REGULATOR (USB_CFG_DISABLE)
|
||||
#define USB_CFG_DMA (USB_CFG_DISABLE)
|
||||
#define USB_SRC_ADDRESS (NULL)
|
||||
#define USB_DEST_ADDRESS (NULL)
|
||||
#define USB_CFG_TPLCNT (1)
|
||||
#define USB_CFG_TPL USB_NOVENDOR, USB_NOPRODUCT
|
||||
#define USB_CFG_TPL_TABLE NULL
|
||||
#define USB_CFG_COMPLIANCE (USB_CFG_DISABLE)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* R_USB_BASIC_CFG_H_ */
|
5
ports/renesas-ra/fsp_cfg/r_usb_class_cfg.h
Normal file
5
ports/renesas-ra/fsp_cfg/r_usb_class_cfg.h
Normal file
@ -0,0 +1,5 @@
|
||||
/* generated configuration header file - do not edit */
|
||||
#ifndef R_USB_CLASS_CFG_H_
|
||||
#define R_USB_CLASS_CFG_H_
|
||||
|
||||
#endif /* R_USB_CLASS_CFG_H_ */
|
23
ports/renesas-ra/fsp_cfg/r_usb_pcdc_cfg.h
Normal file
23
ports/renesas-ra/fsp_cfg/r_usb_pcdc_cfg.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* generated configuration header file - do not edit */
|
||||
#ifndef R_USB_PCDC_CFG_H_
|
||||
#define R_USB_PCDC_CFG_H_
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if (RA_NOT_DEFINED != RA_NOT_DEFINED)
|
||||
#include "r_usb_pcdc_2ch_cfg.h"
|
||||
#else
|
||||
#define USB_CFG_PCDC_BULK_IN2 (USB_NULL)
|
||||
#define USB_CFG_PCDC_BULK_OUT2 (USB_NULL)
|
||||
#define USB_CFG_PCDC_INT_IN2 (USB_NULL)
|
||||
#endif
|
||||
|
||||
#define USB_CFG_PCDC_BULK_IN (USB_PIPE1)
|
||||
#define USB_CFG_PCDC_BULK_OUT (USB_PIPE2)
|
||||
#define USB_CFG_PCDC_INT_IN (USB_PIPE6)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* R_USB_PCDC_CFG_H_ */
|
Loading…
x
Reference in New Issue
Block a user