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/app3_human_detec
Files:
4 edited

Legend:

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

    r364 r374  
    155155
    156156#
     157#  mbedサービスの定義
     158#
     159
     160include $(SRCDIR)/mbed/Makefile.mbed
     161
     162#
    157163#  共通コンパイルオプションの定義
    158164#
     
    184190APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o
    185191APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src
    186 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
     192APPL_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
    187193
    188194#
  • asp3_tinet_ecnl_rx/trunk/app3_human_detec/DebugCitrus/Makefile

    r364 r374  
    155155
    156156#
     157#  mbedサービスの定義
     158#
     159
     160include $(SRCDIR)/mbed/Makefile.mbed
     161
     162#
    157163#  共通コンパイルオプションの定義
    158164#
     
    184190APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o
    185191APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src
    186 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
     192APPL_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
    187193
    188194#
  • asp3_tinet_ecnl_rx/trunk/app3_human_detec/DebugEther/Makefile

    r364 r374  
    153153
    154154#
     155#  mbedサービスの定義
     156#
     157
     158include $(SRCDIR)/mbed/Makefile.mbed
     159
     160#
    155161#  共通コンパイルオプションの定義
    156162#
     
    182188APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o
    183189APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src
    184 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
     190APPL_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
    185191
    186192#
  • 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.