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

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

Location:
asp3_tinet_ecnl_arm/trunk/app6_hot_water_pot
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_arm/trunk/app6_hot_water_pot/Debug/Makefile

    r364 r374  
    163163#  共通コンパイルオプションの定義
    164164#
    165 COPTS := -g -std=gnu99 $(COPTS)
     165COPTS := -g -std=gnu99 -ffunction-sections -fdata-sections $(COPTS)
    166166ifndef OMIT_WARNING_ALL
    167167        COPTS := -Wall $(COPTS)
     
    208208        APPL_COBJS := $(APPL_COBJS) main.o ntshell_main.o echonet_main.o
    209209endif
    210 APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o
     210APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o mbed_stub.o
    211211APPL_BINOBJS := rom_fs.o
    212212APPL_CFLAGS := $(APPL_CFLAGS) -nostdinc
  • asp3_tinet_ecnl_arm/trunk/app6_hot_water_pot/DebugEther/Makefile

    r364 r374  
    161161#  共通コンパイルオプションの定義
    162162#
    163 COPTS := -g -std=gnu99 $(COPTS)
     163COPTS := -g -std=gnu99 -ffunction-sections -fdata-sections $(COPTS)
    164164ifndef OMIT_WARNING_ALL
    165165        COPTS := -Wall $(COPTS)
     
    206206        APPL_COBJS := $(APPL_COBJS) main.o ntshell_main.o echonet_main.o
    207207endif
    208 APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o
     208APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o mbed_stub.o
    209209APPL_BINOBJS := rom_fs.o
    210210APPL_CFLAGS := $(APPL_CFLAGS) -nostdinc
  • asp3_tinet_ecnl_arm/trunk/app6_hot_water_pot/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"
     
    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;
  • asp3_tinet_ecnl_arm/trunk/app6_hot_water_pot/src/main.cfg

    r364 r374  
    5151
    5252INCLUDE("tecsgen.cfg");
     53INCLUDE("mbed_stub.cfg");
    5354
    5455INCLUDE("tinet/tinet_asp.cfg");
Note: See TracChangeset for help on using the changeset viewer.