Ignore:
Timestamp:
Apr 5, 2019, 9:26:53 PM (5 years ago)
Author:
coas-nagasima
Message:

mbed関連を更新
シリアルドライバをmbedのHALを使うよう変更
ファイルディスクリプタの処理を更新

Location:
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX
Files:
3 added
9 copied

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/common/cmsis_nvic.c

    r373 r374  
    2929 *******************************************************************************
    3030 */
    31 #include "MBRZA1H.h"
     31#include "cmsis.h"
     32#include "irq_ctrl.h"
    3233
    33 extern IRQHandler IRQTable[Renesas_RZ_A1_IRQ_MAX+1];
    34 
    35 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) {
     34void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
     35{
    3636    InterruptHandlerRegister(IRQn, (IRQHandler)vector);
    3737}
    3838
    39 uint32_t NVIC_GetVector(IRQn_Type IRQn) {
    40     uint32_t vectors = (uint32_t)IRQTable[IRQn];
     39uint32_t NVIC_GetVector(IRQn_Type IRQn)
     40{
     41    uint32_t vectors = (uint32_t)IRQ_GetHandler(IRQn);
    4142    return vectors;
    4243}
  • asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/common/nvic_wrapper.c

    r373 r374  
    3131Includes   <System Includes> , "Project Includes"
    3232******************************************************************************/
    33 #include "MBRZA1H.h"
     33#include "cmsis.h"
    3434#include "wdt_iodefine.h"
    3535#include "nvic_wrapper.h"
    36 #include "gic.h"
    3736
    3837/******************************************************************************
     
    7271uint32_t NVIC_GetPriorityGrouping(void)
    7372{
    74     return GIC_GetBinaryPoint(0);
     73    return GIC_GetBinaryPoint();
    7574}
    7675
     
    215214
    216215
    217 int32_t ITM_ReceiveChar (void) {
     216int32_t ITM_ReceiveChar (void)
     217{
    218218    /* Not support this function */
    219219    /* Use mbed Serial */
     
    222222
    223223
    224 int32_t ITM_CheckChar (void) {
     224int32_t ITM_CheckChar (void)
     225{
    225226    /* Not support this function */
    226227    /* Use mbed Serial */
  • asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/common/r_typedefs.h

    r373 r374  
    3636#include <stdbool.h>
    3737#include <stdint.h>
     38#if defined(__ARM_NEON__)
     39#include <arm_neon.h>
     40#endif /* __ARM_NEON__ */
    3841
    39 #if defined(__ARM_NEON__)
     42#ifndef float32_t
     43typedef float               float32_t;
     44#endif
     45#ifndef float64_t
     46typedef double              float64_t;
     47#endif
    4048
    41 #include <arm_neon.h>
    42 
    43 #else /* __ARM_NEON__ */
    44 
    45 typedef float               float32_t;
    46 typedef double              float64_t;
    47 
    48 #endif /* __ARM_NEON__ */
    4949
    5050/******************************************************************************
     
    5252******************************************************************************/
    5353typedef char                char_t;
    54 typedef int                 bool_t;
     54#ifndef bool_t
     55typedef bool                bool_t;
     56#endif
    5557typedef int                 int_t;
    5658typedef long double         float128_t;
  • asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/common/rza_io_regrw.h

    r373 r374  
    4444#include "riic_iobitmask.h"
    4545#include "usb_iobitmask.h"
     46#include "spibsc_iobitmask.h"
    4647#include "gpio_iobitmask.h"
    4748
Note: See TracChangeset for help on using the changeset viewer.