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

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

Location:
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src
Files:
3 edited

Legend:

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

    r371 r374  
    3333 *  の責任を負わない.
    3434 *
    35  *  @(#) $Id: client.c 1729 2019-01-09 14:44:36Z coas-nagasima $
     35 *  @(#) $Id$
    3636 */
    3737#include <lib/curl_config.h>
     
    4747#include "kernel_cfg.h"
    4848#include "ff.h"
    49 #include "util/ntstdio.h"
     49#include <stdio.h>
    5050#include "client.h"
    5151#include "jsonsl.h"
  • asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/client.h

    r371 r374  
    3333 *  の責任を負わない.
    3434 *
    35  *  @(#) $Id: client.h 1784 2019-02-06 01:11:25Z coas-nagasima $
     35 *  @(#) $Id$
    3636 */
    3737
  • 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.