-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
55bffd3
commit 9713f5b
Showing
76 changed files
with
37,901 additions
and
15,670 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
Copyright [2020-2021] Renesas Electronics Corporation and/or its affiliates. All Rights Reserved. | ||
This software and documentation are supplied by Renesas Electronics America Inc. and may only be used with products | ||
of Renesas Electronics Corp. and its affiliates ("Renesas"). No other uses are authorized. Renesas products are | ||
sold pursuant to Renesas terms and conditions of sale. Purchasers are solely responsible for the selection and use | ||
of Renesas products and Renesas assumes no liability. No license, express or implied, to any intellectual property | ||
right is granted by Renesas. This software is protected under all applicable laws, including copyright laws. Renesas | ||
reserves the right to change or discontinue this software and/or this documentation. THE SOFTWARE AND DOCUMENTATION | ||
IS DELIVERED TO YOU "AS IS," AND RENESAS MAKES NO REPRESENTATIONS OR WARRANTIES, AND TO THE FULLEST EXTENT | ||
PERMISSIBLE UNDER APPLICABLE LAW, DISCLAIMS ALL WARRANTIES, WHETHER EXPLICITLY OR IMPLICITLY, INCLUDING WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT, WITH RESPECT TO THE SOFTWARE OR | ||
DOCUMENTATION. RENESAS SHALL HAVE NO LIABILITY ARISING OUT OF ANY SECURITY VULNERABILITY OR BREACH. TO THE MAXIMUM | ||
EXTENT PERMITTED BY LAW, IN NO EVENT WILL RENESAS BE LIABLE TO YOU IN CONNECTION WITH THE SOFTWARE OR DOCUMENTATION | ||
(OR ANY PERSON OR ENTITY CLAIMING RIGHTS DERIVED FROM YOU) FOR ANY LOSS, DAMAGES, OR CLAIMS WHATSOEVER, INCLUDING, | ||
WITHOUT LIMITATION, ANY DIRECT, CONSEQUENTIAL, SPECIAL, INDIRECT, PUNITIVE, OR INCIDENTAL DAMAGES; ANY LOST PROFITS, | ||
OTHER ECONOMIC DAMAGE, PROPERTY DAMAGE, OR PERSONAL INJURY; AND EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY | ||
OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS. | ||
Copyright [2020-2021] Renesas Electronics Corporation and/or its affiliates. All Rights Reserved. | ||
|
||
This software and documentation are supplied by Renesas Electronics America Inc. and may only be used with products | ||
of Renesas Electronics Corp. and its affiliates ("Renesas"). No other uses are authorized. Renesas products are | ||
sold pursuant to Renesas terms and conditions of sale. Purchasers are solely responsible for the selection and use | ||
of Renesas products and Renesas assumes no liability. No license, express or implied, to any intellectual property | ||
right is granted by Renesas. This software is protected under all applicable laws, including copyright laws. Renesas | ||
reserves the right to change or discontinue this software and/or this documentation. THE SOFTWARE AND DOCUMENTATION | ||
IS DELIVERED TO YOU "AS IS," AND RENESAS MAKES NO REPRESENTATIONS OR WARRANTIES, AND TO THE FULLEST EXTENT | ||
PERMISSIBLE UNDER APPLICABLE LAW, DISCLAIMS ALL WARRANTIES, WHETHER EXPLICITLY OR IMPLICITLY, INCLUDING WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT, WITH RESPECT TO THE SOFTWARE OR | ||
DOCUMENTATION. RENESAS SHALL HAVE NO LIABILITY ARISING OUT OF ANY SECURITY VULNERABILITY OR BREACH. TO THE MAXIMUM | ||
EXTENT PERMITTED BY LAW, IN NO EVENT WILL RENESAS BE LIABLE TO YOU IN CONNECTION WITH THE SOFTWARE OR DOCUMENTATION | ||
(OR ANY PERSON OR ENTITY CLAIMING RIGHTS DERIVED FROM YOU) FOR ANY LOSS, DAMAGES, OR CLAIMS WHATSOEVER, INCLUDING, | ||
WITHOUT LIMITATION, ANY DIRECT, CONSEQUENTIAL, SPECIAL, INDIRECT, PUNITIVE, OR INCIDENTAL DAMAGES; ANY LOST PROFITS, | ||
OTHER ECONOMIC DAMAGE, PROPERTY DAMAGE, OR PERSONAL INJURY; AND EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY | ||
OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS. |
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 |
---|---|---|
@@ -1,73 +1,80 @@ | ||
## Overview | ||
|
||
Flexible Software Package (FSP) for Renesas RA MCU Family | ||
|
||
FSP is the next generation Arm® MCU software package from Renesas, that enables secure devices and IoT connectivity through production ready peripheral drivers, FreeRTOS, and portable middleware stacks. | ||
FSP includes best-in-class HAL drivers with high performance and low memory footprint. Middleware stacks with FreeRTOS integration are included to ease implementation of complex modules like communication and security. | ||
The e² studio ISDE provides support with intuitive configurators and intelligent code generation to make programming and debugging easier and faster. | ||
|
||
FSP uses an open software ecosystem and provides flexibility in using your preferred RTOS, legacy code, and third-party ecosystem solutions. | ||
|
||
### Current Release | ||
|
||
[FSP v2.3.0](https://github.com/renesas/fsp/releases/tag/v2.3.0) | ||
|
||
### Supported RA MCU Kits | ||
|
||
- EK-RA2A1 | ||
- EK-RA2E1 | ||
- EK-RA2L1 | ||
- EK-RA4M1 | ||
- EK-RA4M2 | ||
- EK-RA4M3 | ||
- EK-RA4W1 | ||
- EK-RA6M1 | ||
- EK-RA6M2 | ||
- EK-RA6M3 | ||
- EK-RA6M3G | ||
- EK-RA6M4 | ||
- RSSK-RA2L1 | ||
- RSSK-RA6T1 | ||
|
||
### Setup Instructions | ||
|
||
#### For existing users that are using FSP with e² studio | ||
|
||
- FSP versions of 2.0.0 and later require a minimum e² studio version of 2020-10. | ||
- FSP versions of 2.3.0 and later require a minimum e² studio version of 2021-01. | ||
|
||
If you have already installed a previous FSP release that included e² studio then you can download the packs separately. These are available for download under the Assets section for each release. There is a zipped version, FSP_Packs_\<version\>.zip, and an installer version, FSP_Packs_\<version\>.exe. | ||
|
||
#### For new users that are using FSP with e² studio | ||
|
||
1. Download the FSP with e² studio Installer from the Assets section of the [current release](https://github.com/renesas/fsp/releases/tag/v2.3.0). | ||
2. Run the installer. This will install the e² studio tool, FSP packs, GCC toolchain and other tools required to use this software. No additional installations are required. | ||
|
||
#### If using RA Smart Configurator (RASC) with IAR Embedded Workbench or Keil MDK #### | ||
|
||
1. See [RA SC User Guide for MDK and IAR](https://renesas.github.io/fsp/_s_t_a_r_t__d_e_v.html#RASC-MDK-IAR-user-guide). | ||
|
||
### Starting Development | ||
|
||
1. Open e² studio and click File > New > C/C++ Project. | ||
2. In the window that pops up, choose Renesas RA in the left pane. | ||
|
||
### Related Links | ||
|
||
FSP Releases : https://github.com/renesas/fsp/releases | ||
|
||
FSP Documentation : https://renesas.github.io/fsp | ||
|
||
FSP Webpage: www.renesas.com/ra/fsp | ||
|
||
RA Product Information: www.renesas.com/ra | ||
|
||
RA Product Support Forum: www.renesas.com/ra/forum | ||
|
||
e² studio : www.renesas.com/e2studio | ||
|
||
Example Projects : www.renesas.com/ra/example-projects | ||
|
||
Knowledge Base: https://en-support.renesas.com/knowledgeBase/category/31087 | ||
|
||
Support: www.renesas.com/support | ||
## Overview | ||
|
||
Flexible Software Package (FSP) for Renesas RA MCU Family | ||
|
||
FSP is the next generation Arm® MCU software package from Renesas, that enables secure devices and IoT connectivity through production ready peripheral drivers, FreeRTOS, and portable middleware stacks. | ||
FSP includes best-in-class HAL drivers with high performance and low memory footprint. Middleware stacks with FreeRTOS integration are included to ease implementation of complex modules like communication and security. | ||
The e² studio ISDE provides support with intuitive configurators and intelligent code generation to make programming and debugging easier and faster. | ||
|
||
FSP uses an open software ecosystem and provides flexibility in using your preferred RTOS, legacy code, and third-party ecosystem solutions. | ||
|
||
### Current Release | ||
|
||
[FSP v2.4.0](https://github.com/renesas/fsp/releases/tag/v2.4.0) | ||
|
||
### Supported RA MCU Kits | ||
|
||
- EK-RA2A1 | ||
- EK-RA2E1 | ||
- EK-RA2L1 | ||
- EK-RA4M1 | ||
- EK-RA4M2 | ||
- EK-RA4M3 | ||
- EK-RA4W1 | ||
- EK-RA6M1 | ||
- EK-RA6M2 | ||
- EK-RA6M3 | ||
- EK-RA6M3G | ||
- EK-RA6M4 | ||
- EK-RA6M5 | ||
- RSSK-RA2L1 | ||
- RSSK-RA6T1 | ||
|
||
### Known Issues | ||
|
||
[Visit GitHub Issues for this project.](https://github.com/renesas/fsp/issues) | ||
|
||
[Critical issues](https://github.com/renesas/fsp/issues?q=label%3Acritical+is%3Aclosed) that cause an MCU to operate out of the hardware manual documented specifications are tagged with the 'critical' label. Please check critical issues before going to production for a fix, workaround, or recommended patch upgrade. | ||
|
||
### Setup Instructions | ||
|
||
#### For existing users that are using FSP with e² studio | ||
|
||
- FSP versions of 2.0.0 and later require a minimum e² studio version of 2020-10. | ||
- FSP versions of 2.3.0 and later require a minimum e² studio version of 2021-01. | ||
|
||
If you have already installed a previous FSP release that included e² studio then you can download the packs separately. These are available for download under the Assets section for each release. There is a zipped version, FSP_Packs_\<version\>.zip, and an installer version, FSP_Packs_\<version\>.exe. | ||
|
||
#### For new users that are using FSP with e² studio | ||
|
||
1. Download the FSP with e² studio Installer from the Assets section of the [current release](https://github.com/renesas/fsp/releases/tag/v2.4.0). | ||
2. Run the installer. This will install the e² studio tool, FSP packs, GCC toolchain and other tools required to use this software. No additional installations are required. | ||
|
||
#### If using RA Smart Configurator (RASC) with IAR Embedded Workbench or Keil MDK #### | ||
|
||
1. See [RA SC User Guide for MDK and IAR](https://renesas.github.io/fsp/_s_t_a_r_t__d_e_v.html#RASC-MDK-IAR-user-guide). | ||
|
||
### Starting Development | ||
|
||
1. Open e² studio and click File > New > C/C++ Project. | ||
2. In the window that pops up, choose Renesas RA in the left pane. | ||
|
||
### Related Links | ||
|
||
FSP Releases : https://github.com/renesas/fsp/releases | ||
|
||
FSP Documentation : https://renesas.github.io/fsp | ||
|
||
FSP Webpage: www.renesas.com/ra/fsp | ||
|
||
RA Product Information: www.renesas.com/ra | ||
|
||
RA Product Support Forum: www.renesas.com/ra/forum | ||
|
||
e² studio : www.renesas.com/e2studio | ||
|
||
Example Projects : www.renesas.com/ra/example-projects | ||
|
||
Knowledge Base: https://en-support.renesas.com/knowledgeBase/category/31087 | ||
|
||
Support: www.renesas.com/support |
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,70 @@ | ||
/*********************************************************************************************************************** | ||
* Copyright [2020-2021] Renesas Electronics Corporation and/or its affiliates. All Rights Reserved. | ||
* | ||
* This software and documentation are supplied by Renesas Electronics America Inc. and may only be used with products | ||
* of Renesas Electronics Corp. and its affiliates ("Renesas"). No other uses are authorized. Renesas products are | ||
* sold pursuant to Renesas terms and conditions of sale. Purchasers are solely responsible for the selection and use | ||
* of Renesas products and Renesas assumes no liability. No license, express or implied, to any intellectual property | ||
* right is granted by Renesas. This software is protected under all applicable laws, including copyright laws. Renesas | ||
* reserves the right to change or discontinue this software and/or this documentation. THE SOFTWARE AND DOCUMENTATION | ||
* IS DELIVERED TO YOU "AS IS," AND RENESAS MAKES NO REPRESENTATIONS OR WARRANTIES, AND TO THE FULLEST EXTENT | ||
* PERMISSIBLE UNDER APPLICABLE LAW, DISCLAIMS ALL WARRANTIES, WHETHER EXPLICITLY OR IMPLICITLY, INCLUDING WARRANTIES | ||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT, WITH RESPECT TO THE SOFTWARE OR | ||
* DOCUMENTATION. RENESAS SHALL HAVE NO LIABILITY ARISING OUT OF ANY SECURITY VULNERABILITY OR BREACH. TO THE MAXIMUM | ||
* EXTENT PERMITTED BY LAW, IN NO EVENT WILL RENESAS BE LIABLE TO YOU IN CONNECTION WITH THE SOFTWARE OR DOCUMENTATION | ||
* (OR ANY PERSON OR ENTITY CLAIMING RIGHTS DERIVED FROM YOU) FOR ANY LOSS, DAMAGES, OR CLAIMS WHATSOEVER, INCLUDING, | ||
* WITHOUT LIMITATION, ANY DIRECT, CONSEQUENTIAL, SPECIAL, INDIRECT, PUNITIVE, OR INCIDENTAL DAMAGES; ANY LOST PROFITS, | ||
* OTHER ECONOMIC DAMAGE, PROPERTY DAMAGE, OR PERSONAL INJURY; AND EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY | ||
* OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS. | ||
**********************************************************************************************************************/ | ||
|
||
/*******************************************************************************************************************//** | ||
* @ingroup BOARDS | ||
* @defgroup BOARD_RA6M5_EK for the RA6M5-EK board | ||
* @brief BSP for the RA6M5-EK Board | ||
* | ||
* The RA6M5_EK is a development kit for the Renesas R7FA6M5BH3CFC microcontroller in a LQFP176 package. | ||
* | ||
* @{ | ||
**********************************************************************************************************************/ | ||
|
||
#ifndef BOARD_H | ||
#define BOARD_H | ||
|
||
/*********************************************************************************************************************** | ||
* Includes <System Includes> , "Project Includes" | ||
**********************************************************************************************************************/ | ||
|
||
/* BSP Board Specific Includes. */ | ||
#include "board_init.h" | ||
#include "board_leds.h" | ||
#include "board_ethernet_phy.h" | ||
|
||
/*********************************************************************************************************************** | ||
* Macro definitions | ||
**********************************************************************************************************************/ | ||
#define BOARD_RA6M5_EK | ||
|
||
/* Except for BSP_CLOCK_CFG_SUBCLOCK_POPULATED and _MAIN_OSC_POPULATED, these are just default settings, not based on the board design. */ | ||
#define BSP_CLOCK_CFG_MAIN_OSC_POPULATED (1) | ||
#define BSP_CLOCK_CFG_MAIN_OSC_WAIT (9) | ||
#define BSP_CLOCK_CFG_MAIN_OSC_CLOCK_SOURCE (0) | ||
#define BSP_CLOCK_CFG_SUBCLOCK_POPULATED (1) | ||
#define BSP_CLOCK_CFG_SUBCLOCK_DRIVE (0) | ||
#define BSP_CLOCK_CFG_SUBCLOCK_STABILIZATION_MS (1000U) | ||
|
||
/*********************************************************************************************************************** | ||
* Typedef definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global variables | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global functions (to be accessed by other files) | ||
**********************************************************************************************************************/ | ||
|
||
/** @} (end defgroup BOARD_RA6M5_EK) */ | ||
|
||
#endif |
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,60 @@ | ||
/*********************************************************************************************************************** | ||
* Copyright [2020-2021] Renesas Electronics Corporation and/or its affiliates. All Rights Reserved. | ||
* | ||
* This software and documentation are supplied by Renesas Electronics America Inc. and may only be used with products | ||
* of Renesas Electronics Corp. and its affiliates ("Renesas"). No other uses are authorized. Renesas products are | ||
* sold pursuant to Renesas terms and conditions of sale. Purchasers are solely responsible for the selection and use | ||
* of Renesas products and Renesas assumes no liability. No license, express or implied, to any intellectual property | ||
* right is granted by Renesas. This software is protected under all applicable laws, including copyright laws. Renesas | ||
* reserves the right to change or discontinue this software and/or this documentation. THE SOFTWARE AND DOCUMENTATION | ||
* IS DELIVERED TO YOU "AS IS," AND RENESAS MAKES NO REPRESENTATIONS OR WARRANTIES, AND TO THE FULLEST EXTENT | ||
* PERMISSIBLE UNDER APPLICABLE LAW, DISCLAIMS ALL WARRANTIES, WHETHER EXPLICITLY OR IMPLICITLY, INCLUDING WARRANTIES | ||
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT, WITH RESPECT TO THE SOFTWARE OR | ||
* DOCUMENTATION. RENESAS SHALL HAVE NO LIABILITY ARISING OUT OF ANY SECURITY VULNERABILITY OR BREACH. TO THE MAXIMUM | ||
* EXTENT PERMITTED BY LAW, IN NO EVENT WILL RENESAS BE LIABLE TO YOU IN CONNECTION WITH THE SOFTWARE OR DOCUMENTATION | ||
* (OR ANY PERSON OR ENTITY CLAIMING RIGHTS DERIVED FROM YOU) FOR ANY LOSS, DAMAGES, OR CLAIMS WHATSOEVER, INCLUDING, | ||
* WITHOUT LIMITATION, ANY DIRECT, CONSEQUENTIAL, SPECIAL, INDIRECT, PUNITIVE, OR INCIDENTAL DAMAGES; ANY LOST PROFITS, | ||
* OTHER ECONOMIC DAMAGE, PROPERTY DAMAGE, OR PERSONAL INJURY; AND EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY | ||
* OF SUCH LOSS, DAMAGES, CLAIMS OR COSTS. | ||
**********************************************************************************************************************/ | ||
|
||
/*******************************************************************************************************************//** | ||
* @ingroup BOARD_RA6M5_EK | ||
* @defgroup BOARD_RA6M5_EK_ETHERNET_PHY Board Ethernet Phy | ||
* @brief Ethernet Phy information for this board. | ||
* | ||
* This is code specific to the RA6M5_EK board. | ||
* | ||
* @{ | ||
**********************************************************************************************************************/ | ||
|
||
#ifndef BSP_ETHERNET_PHY_H | ||
#define BSP_ETHERNET_PHY_H | ||
|
||
/** Common macro for FSP header files. There is also a corresponding FSP_FOOTER macro at the end of this file. */ | ||
FSP_HEADER | ||
|
||
/*********************************************************************************************************************** | ||
* Macro definitions | ||
**********************************************************************************************************************/ | ||
#define BOARD_PHY_TYPE (1) | ||
#define BOARD_PHY_REF_CLK (1) | ||
|
||
/*********************************************************************************************************************** | ||
* Typedef definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global variables | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Public Functions | ||
**********************************************************************************************************************/ | ||
|
||
/** Common macro for FSP header files. There is also a corresponding FSP_HEADER macro at the top of this file. */ | ||
FSP_FOOTER | ||
|
||
#endif | ||
|
||
/** @} (end defgroup BOARD_RA6M5_EK_ETHERNET_PHY) */ |
Oops, something went wrong.