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:
2 added
1 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}
Note: See TracChangeset for help on using the changeset viewer.