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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/main.c

    r371 r374  
    6868#include "core/ntshell.h"
    6969#include "core/ntlibc.h"
    70 #include "util/ntstdio.h"
     70#include <stdio.h>
    7171#include "usrcmd.h"
    7272#include "util/ntopt.h"
    7373#include "socket_stub.h"
    74 #include "mbed_api.h"
     74#include "gpio_api.h"
    7575#include "usb_hbth.h"
    7676#include "ntshell_main.h"
     
    188188{
    189189        FILINFO fno;
    190 #if _USE_LFN
    191         char lfn[_MAX_LFN + 1];
     190#if FF_USE_LFN
     191        char lfn[FF_MAX_LFN + 1];
    192192        fno.lfname = lfn;
    193         fno.lfsize = _MAX_LFN + 1;
     193        fno.lfsize = FF_MAX_LFN + 1;
    194194#endif
    195195        ER ret;
    196196
    197 #ifdef TOPPERS_OMIT_TECS
    198         serial_opn_por(SIO_PORTID);
    199 #endif
    200         serial_ctl_por(SIO_PORTID, IOCTL_FCSND | IOCTL_FCRCV);
    201 
    202197        //wolfSSL_Debugging_ON();
    203198
    204         ntshell_task_init(uart_read, uart_write, &main_obj);
     199        ntshell_task_init(SIO_PORTID);
    205200
    206201        main_obj.timer = TMO_FEVR;
Note: See TracChangeset for help on using the changeset viewer.