-
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
560904f
commit 767679d
Showing
141 changed files
with
12,130 additions
and
1,271 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/*********************************************************************************************************************** | ||
* Copyright [2020] 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. | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* File Name : board.h | ||
* Description : Includes and API function available for this board. | ||
**********************************************************************************************************************/ | ||
|
||
/*******************************************************************************************************************//** | ||
* @ingroup BOARDS | ||
* @defgroup BOARD_RA6T1_RSSK | ||
* @brief BSP for the RA6T1_RSSK Board | ||
* | ||
* The RA6T1_RSSK is a development kit for the Renesas RA6T1 microcontroller. | ||
* | ||
* @{ | ||
**********************************************************************************************************************/ | ||
|
||
#ifndef BOARD_H | ||
#define BOARD_H | ||
|
||
/*********************************************************************************************************************** | ||
* Includes <System Includes> , "Project Includes" | ||
**********************************************************************************************************************/ | ||
|
||
/* BSP Board Specific Includes. */ | ||
#include "board_init.h" | ||
#include "board_leds.h" | ||
|
||
/*********************************************************************************************************************** | ||
* Macro definitions | ||
**********************************************************************************************************************/ | ||
#define BOARD_RA6T1_RSSK | ||
|
||
/*********************************************************************************************************************** | ||
* Typedef definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global variables | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global functions (to be accessed by other files) | ||
**********************************************************************************************************************/ | ||
|
||
/** @} (end defgroup BSP_CONFIG_RA6T1) */ | ||
|
||
#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,67 @@ | ||
/*********************************************************************************************************************** | ||
* Copyright [2020] 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. | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* File Name : board_init.c | ||
* Description : This module calls any initialization code specific to this BSP. | ||
**********************************************************************************************************************/ | ||
|
||
/*******************************************************************************************************************//** | ||
* @addtogroup BOARD_RA6T1_RSSK_INIT | ||
* | ||
* @{ | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Includes <System Includes> , "Project Includes" | ||
**********************************************************************************************************************/ | ||
#include "bsp_api.h" | ||
|
||
#if defined(BOARD_RA6T1_RSSK) | ||
|
||
/*********************************************************************************************************************** | ||
* Macro definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Typedef definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global variables (to be accessed by other files) | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Private global variables and functions | ||
**********************************************************************************************************************/ | ||
|
||
/*******************************************************************************************************************//** | ||
* @brief Performs any initialization specific to this BSP. | ||
* | ||
* @param[in] p_args Pointer to arguments of the user's choice. | ||
**********************************************************************************************************************/ | ||
void bsp_init (void * p_args) | ||
{ | ||
FSP_PARAMETER_NOT_USED(p_args); | ||
} | ||
|
||
#endif | ||
|
||
/** @} (end addtogroup BOARD_RA6T1_RSSK_INIT) */ |
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,64 @@ | ||
/*********************************************************************************************************************** | ||
* Copyright [2020] 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. | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* File Name : board_init.h | ||
* Description : This module calls any initialization code specific to this BSP. | ||
**********************************************************************************************************************/ | ||
|
||
/*******************************************************************************************************************//** | ||
* @ingroup BOARD_RA6T1_RSSK | ||
* @defgroup BOARD_RA6T1_RSSK_INIT | ||
* @brief Board specific code for the RA6T1_RSSK Board | ||
* | ||
* This include file is specific to the RA6T1_RSSK board. | ||
* | ||
* @{ | ||
**********************************************************************************************************************/ | ||
|
||
#ifndef BOARD_INIT_H | ||
#define BOARD_INIT_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 | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Typedef definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global variables | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global functions (to be accessed by other files) | ||
**********************************************************************************************************************/ | ||
void bsp_init(void * p_args); | ||
|
||
/** 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_RA6T1_RSSK_INIT) */ |
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,75 @@ | ||
/*********************************************************************************************************************** | ||
* Copyright [2020] 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. | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* File Name : board_leds.c | ||
* Description : This module has information about the LEDs on this board. | ||
**********************************************************************************************************************/ | ||
|
||
/*******************************************************************************************************************//** | ||
* @addtogroup BOARD_RA6T1_RSSK_LEDS | ||
* | ||
* @{ | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Includes | ||
**********************************************************************************************************************/ | ||
#include "bsp_api.h" | ||
#if defined(BOARD_RA6T1_RSSK) | ||
|
||
/*********************************************************************************************************************** | ||
* Macro definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Typedef definitions | ||
**********************************************************************************************************************/ | ||
|
||
/*********************************************************************************************************************** | ||
* Private global variables and functions | ||
**********************************************************************************************************************/ | ||
|
||
/** Array of LED IOPORT pins. */ | ||
static const uint16_t g_bsp_prv_leds[] = | ||
{ | ||
(uint16_t) BSP_IO_PORT_04_PIN_08, ///< LED1 | ||
(uint16_t) BSP_IO_PORT_04_PIN_07, ///< LED2 | ||
}; | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global variables (to be accessed by other files) | ||
**********************************************************************************************************************/ | ||
|
||
/** Structure with LED information for this board. */ | ||
|
||
const bsp_leds_t g_bsp_leds = | ||
{ | ||
.led_count = (uint16_t) ((sizeof(g_bsp_prv_leds) / sizeof(g_bsp_prv_leds[0]))), | ||
.p_leds = &g_bsp_prv_leds[0] | ||
}; | ||
|
||
/*********************************************************************************************************************** | ||
* Exported global variables (to be accessed by other files) | ||
**********************************************************************************************************************/ | ||
|
||
#endif | ||
|
||
/** @} (end addtogroup BOARD_RA6T1_RSSK_LEDS) */ |
Oops, something went wrong.