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
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/Debug/Makefile

    r373 r374  
    158158
    159159#
     160#  mbedサービスの定義
     161#
     162
     163include $(SRCDIR)/mbed/Makefile.mbed
     164
     165#
    160166#  共通コンパイルオプションの定義
    161167#
     
    193199APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o
    194200APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src
    195 APPL_COBJS := $(APPL_COBJS) mbed_api.o netcmd.o fdtable.o io_stub.o socket_stub.o ffarch.o diskio.o ff.o mmc_rspi.o ccsbcs.o ntshell.o text_editor.o text_history.o usrcmd.o vtrecv.o vtsend.o ntlibc.o ntstdio.o ntopt.o syscall.o tlsf.o
     201APPL_COBJS := $(APPL_COBJS) netcmd.o fdtable.o io_stub.o socket_stub.o ffarch.o diskio.o ff.o mmc_rspi.o ccsbcs.o ntshell.o text_editor.o text_history.o usrcmd.o vtrecv.o vtsend.o ntlibc.o ntstdio.o ntopt.o syscall.o tlsf.o
    196202
    197203#
  • asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/DebugCitrus/Makefile

    r373 r374  
    158158
    159159#
     160#  mbedサービスの定義
     161#
     162
     163include $(SRCDIR)/mbed/Makefile.mbed
     164
     165#
    160166#  共通コンパイルオプションの定義
    161167#
     
    193199APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o
    194200APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src
    195 APPL_COBJS := $(APPL_COBJS) mbed_api.o netcmd.o fdtable.o io_stub.o socket_stub.o ffarch.o diskio.o ff.o mmc_rspi.o ccsbcs.o ntshell.o text_editor.o text_history.o usrcmd.o vtrecv.o vtsend.o ntlibc.o ntstdio.o ntopt.o syscall.o tlsf.o
     201APPL_COBJS := $(APPL_COBJS) netcmd.o fdtable.o io_stub.o socket_stub.o ffarch.o diskio.o ff.o mmc_rspi.o ccsbcs.o ntshell.o text_editor.o text_history.o usrcmd.o vtrecv.o vtsend.o ntlibc.o ntstdio.o ntopt.o syscall.o tlsf.o
    196202
    197203#
  • asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/DebugEther/Makefile

    r373 r374  
    158158
    159159#
     160#  mbedサービスの定義
     161#
     162
     163include $(SRCDIR)/mbed/Makefile.mbed
     164
     165#
    160166#  共通コンパイルオプションの定義
    161167#
     
    193199APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o
    194200APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src
    195 APPL_COBJS := $(APPL_COBJS) mbed_api.o netcmd.o fdtable.o io_stub.o socket_stub.o ffarch.o diskio.o ff.o mmc_rspi.o ccsbcs.o ntshell.o text_editor.o text_history.o usrcmd.o vtrecv.o vtsend.o ntlibc.o ntstdio.o ntopt.o syscall.o tlsf.o
     201APPL_COBJS := $(APPL_COBJS) netcmd.o fdtable.o io_stub.o socket_stub.o ffarch.o diskio.o ff.o mmc_rspi.o ccsbcs.o ntshell.o text_editor.o text_history.o usrcmd.o vtrecv.o vtsend.o ntlibc.o ntstdio.o ntopt.o syscall.o tlsf.o
    196202
    197203#
  • 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.