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

Legend:

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

    r364 r374  
    169169#  共通コンパイルオプションの定義
    170170#
    171 COPTS := -g -std=gnu99 $(COPTS)
     171COPTS := -g -std=gnu99 -ffunction-sections -fdata-sections $(COPTS)
    172172ifndef OMIT_WARNING_ALL
    173173        COPTS := -Wall $(COPTS)
     
    217217        APPL_COBJS := $(APPL_COBJS) main.o ntshell_main.o echonet_main.o
    218218endif
    219 APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o
     219APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o mbed_stub.o
    220220APPL_BINOBJS := rom_fs.o
    221221APPL_CFLAGS := $(APPL_CFLAGS) -nostdinc
  • asp3_tinet_ecnl_arm/trunk/app5_temp_sensor/DebugEther/Makefile

    r364 r374  
    167167#  共通コンパイルオプションの定義
    168168#
    169 COPTS := -g -std=gnu99 $(COPTS)
     169COPTS := -g -std=gnu99 -ffunction-sections -fdata-sections $(COPTS)
    170170ifndef OMIT_WARNING_ALL
    171171        COPTS := -Wall $(COPTS)
     
    215215        APPL_COBJS := $(APPL_COBJS) main.o ntshell_main.o echonet_main.o
    216216endif
    217 APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o
     217APPL_COBJS := $(APPL_COBJS) log_output.o vasyslog.o t_perror.o strerror.o mbed_stub.o
    218218APPL_BINOBJS := rom_fs.o
    219219APPL_CFLAGS := $(APPL_CFLAGS) -nostdinc
  • asp3_tinet_ecnl_arm/trunk/app5_temp_sensor/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/app5_temp_sensor/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.