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/app3_human_detec/src/main.c

    r364 r374  
    6767#include "core/ntshell.h"
    6868#include "core/ntlibc.h"
    69 #include "util/ntstdio.h"
     69#include <stdio.h>
    7070#include "usrcmd.h"
    7171#include "util/ntopt.h"
    7272#include "socket_stub.h"
    73 #include "mbed_api.h"
     73#include "gpio_api.h"
    7474#include "usb_hbth.h"
    7575#include "ntshell_main.h"
     
    183183{
    184184        FILINFO fno;
    185 #if _USE_LFN
    186         char lfn[_MAX_LFN + 1];
     185#if FF_USE_LFN
     186        char lfn[FF_MAX_LFN + 1];
    187187        fno.lfname = lfn;
    188         fno.lfsize = _MAX_LFN + 1;
     188        fno.lfsize = FF_MAX_LFN + 1;
    189189#endif
    190190        ER ret;
    191191
    192 #ifdef TOPPERS_OMIT_TECS
    193         serial_opn_por(SIO_PORTID);
    194 #endif
    195         serial_ctl_por(SIO_PORTID, IOCTL_FCSND | IOCTL_FCRCV);
    196 
    197         ntshell_task_init(uart_read, uart_write, &main_obj);
     192        ntshell_task_init(SIO_PORTID);
    198193
    199194        main_obj.timer = TMO_FEVR;
Note: See TracChangeset for help on using the changeset viewer.