Changeset 340 for asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter
- Timestamp:
- Apr 13, 2018, 1:00:30 PM (6 years ago)
- 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
r337 r340 188 188 CFLAGS = $(COPTS) $(CDEFS) $(INCLUDES) 189 189 190 APPLDIRS := $(APPLDIRS) ../../ntshell/echonet 190 191 APPL_COBJS := echonet.o echonet_agent.o echonet_dbg.o echonet_fbs.o echonet_task.o echonet_udp_task.o echonet_udp6_task.o fbs_string.o 191 APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o 192 APPLDIRS := $(APPLDIRS) $(SRCDIR)/$(TINETDIR)/netapp 193 APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o 194 APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src 192 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 193 196 … … 196 199 # 197 200 APPLNAME = app1_usb_watt_meter 198 APPLDIRS = ../src ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/echonet ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src $(SRCDIR)/$(TINETDIR)/netapp201 APPLDIRS := $(APPLDIRS) ../src 199 202 APPL_CFG = main.cfg 200 203 APPL_CDL = main.cdl -
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/DebugCitrus/Makefile
r337 r340 188 188 CFLAGS = $(COPTS) $(CDEFS) $(INCLUDES) 189 189 190 APPLDIRS := $(APPLDIRS) ../../ntshell/echonet 190 191 APPL_COBJS := echonet.o echonet_agent.o echonet_dbg.o echonet_fbs.o echonet_task.o echonet_udp_task.o echonet_udp6_task.o fbs_string.o 191 APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o 192 APPLDIRS := $(APPLDIRS) $(SRCDIR)/$(TINETDIR)/netapp 193 APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o 194 APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src 192 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 193 196 … … 196 199 # 197 200 APPLNAME = app1_usb_watt_meter 198 APPLDIRS = ../src ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/echonet ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src $(SRCDIR)/$(TINETDIR)/netapp201 APPLDIRS := $(APPLDIRS) ../src 199 202 APPL_CFG = main.cfg 200 203 APPL_CDL = main.cdl -
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/DebugEther/Makefile
r337 r340 188 188 CFLAGS = $(COPTS) $(CDEFS) $(INCLUDES) 189 189 190 APPLDIRS := $(APPLDIRS) ../../ntshell/echonet 190 191 APPL_COBJS := echonet.o echonet_agent.o echonet_dbg.o echonet_fbs.o echonet_task.o echonet_udp_task.o echonet_udp6_task.o fbs_string.o 191 APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o 192 APPLDIRS := $(APPLDIRS) $(SRCDIR)/$(TINETDIR)/netapp 193 APPL_COBJS := $(APPL_COBJS) ping.o ping6.o resolver.o dhcp4_cli.o netapp_subr.o ntp_cli.o net_misc.o 194 APPLDIRS := $(APPLDIRS) ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src 192 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 193 196 … … 196 199 # 197 200 APPLNAME = app1_usb_watt_meter 198 APPLDIRS = ../src ../../ntshell/tlsf ../../ntshell/fatfs ../../ntshell/echonet ../../ntshell/ntshell ../../ntshell/ntshell/core ../../ntshell/ntshell/util ../../ntshell/src $(SRCDIR)/$(TINETDIR)/netapp201 APPLDIRS := $(APPLDIRS) ../src 199 202 APPL_CFG = main.cfg 200 203 APPL_CDL = main.cdl -
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/echonet_main.c
r337 r340 61 61 62 62 /* TODO: メーカーコードを設定 */ 63 #define MAKER_CODE 0x00, 0x00, 0xB3/* TOPPERSプロジェクト */63 #define MAKER_CODE { 0x00, 0x00, 0xB3 } /* TOPPERSプロジェクト */ 64 64 65 65 /* ノードプロファイルオブジェクト */ -
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/main.c
r337 r340 76 76 #include <btstack/utils.h> 77 77 #include "client.h" 78 #include "ntp_cli.h" 78 79 79 80 ID ws_api_mailboxid = MAIN_DATAQUEUE; … … 309 310 } 310 311 312 if (link_up && up) 313 ntp_cli_execute(); 314 311 315 ntshell_change_netif_link(link_up, up); 312 316 … … 338 342 extern int usrcmd_dhcp4c(int argc, char **argv); 339 343 extern int usrcmd_dnsc(int argc, char **argv); 344 extern int usrcmd_ntpc(int argc, char **argv); 340 345 341 346 static const cmd_table_t cmdlist[] = { … … 347 352 {"mkdir", "Make directory", usrcmd_mkdir}, 348 353 {"hexdump", "Hex dump", usrcmd_hexdump}, 354 {"date", "print date and time", usrcmd_date}, 349 355 {"curl", "Command lines or scripts to transfer data", curl_main}, 350 356 {"ping", "ping", usrcmd_ping}, 351 {"dhcpc", "DHCP client rel/renew/info", usrcmd_dhcp4c},357 {"dhcpc", "DHCP Client rel/renew/info", usrcmd_dhcp4c}, 352 358 {"dnsc", "DNS client", usrcmd_dnsc }, 359 {"ntpc", "NTP client", usrcmd_ntpc }, 353 360 {"logupload", "Upload log to server", cmd_logupload}, 354 361 {"info", "This is a description text string for info command.", usrcmd_info}, -
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/main.cfg
r337 r340 58 58 /* DHCP クライアント */ 59 59 #include "netapp/dhcp4_cli.h" 60 INCLUDE("netapp/dhcp4_cli_asp.cfg");60 //INCLUDE("netapp/dhcp4_cli_asp.cfg"); 61 61 INCLUDE("netapp/tinet_dhcp4_cli.cfg"); 62 62 … … 65 65 INCLUDE("netapp/resolver_asp.cfg"); 66 66 INCLUDE("netapp/tinet_resolver.cfg"); 67 68 /* NTPクライアント */ 69 #include "ntp_cli.h" 70 //INCLUDE("ntp_cli.cfg"); 71 INCLUDE("tinet_ntp_cli.cfg"); 72 73 #include "net_misc.h" 74 INCLUDE("net_misc.cfg"); 67 75 68 76 /* FatFs */
Note:
See TracChangeset
for help on using the changeset viewer.