-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rasc ra2a1_ek, but usb does not seem to work
- Loading branch information
Showing
12 changed files
with
1,589 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
hw/bsp/ra/boards/ra2a1_ek/ra_cfg/fsp_cfg/bsp/bsp_pin_cfg.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* generated configuration header file - do not edit */ | ||
#ifndef BSP_PIN_CFG_H_ | ||
#define BSP_PIN_CFG_H_ | ||
#include "r_ioport.h" | ||
|
||
/* Common macro for FSP header files. There is also a corresponding FSP_FOOTER macro at the end of this file. */ | ||
FSP_HEADER | ||
|
||
#define LED1 (BSP_IO_PORT_02_PIN_05) | ||
#define SW1 (BSP_IO_PORT_02_PIN_06) | ||
extern const ioport_cfg_t g_bsp_pin_cfg; /* RA2A1-EK.pincfg */ | ||
|
||
void BSP_PinConfigSecurityInit(); | ||
|
||
/* Common macro for FSP header files. There is also a corresponding FSP_HEADER macro at the top of this file. */ | ||
FSP_FOOTER | ||
#endif /* BSP_PIN_CFG_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* generated common source file - do not edit */ | ||
#include "common_data.h" | ||
ioport_instance_ctrl_t g_ioport_ctrl; | ||
const ioport_instance_t g_ioport = | ||
{ | ||
.p_api = &g_ioport_on_ioport, | ||
.p_ctrl = &g_ioport_ctrl, | ||
.p_cfg = &g_bsp_pin_cfg, | ||
}; | ||
void g_common_init(void) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* generated common header file - do not edit */ | ||
#ifndef COMMON_DATA_H_ | ||
#define COMMON_DATA_H_ | ||
#include <stdint.h> | ||
#include "bsp_api.h" | ||
#include "r_ioport.h" | ||
#include "bsp_pin_cfg.h" | ||
FSP_HEADER | ||
#define IOPORT_CFG_NAME g_bsp_pin_cfg | ||
#define IOPORT_CFG_OPEN R_IOPORT_Open | ||
#define IOPORT_CFG_CTRL g_ioport_ctrl | ||
|
||
/* IOPORT Instance */ | ||
extern const ioport_instance_t g_ioport; | ||
|
||
/* IOPORT control structure. */ | ||
extern ioport_instance_ctrl_t g_ioport_ctrl; | ||
void g_common_init(void); | ||
FSP_FOOTER | ||
#endif /* COMMON_DATA_H_ */ |
Oops, something went wrong.