Merged in masayuki2009/nuttx.apps/add_system_gs2200m (pull request #176)
apps/system/gs2200m: Add usrsock daemon for Tilt GS2200M Wi-Fi module Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
656157399d
commit
2c8e349552
11
system/gs2200m/.gitignore
vendored
Normal file
11
system/gs2200m/.gitignore
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
/Make.dep
|
||||||
|
/.depend
|
||||||
|
/.built
|
||||||
|
/*.asm
|
||||||
|
/*.rel
|
||||||
|
/*.lst
|
||||||
|
/*.sym
|
||||||
|
/*.adb
|
||||||
|
/*.lib
|
||||||
|
/*.src
|
||||||
|
/*.obj
|
28
system/gs2200m/Kconfig
Normal file
28
system/gs2200m/Kconfig
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
|
#
|
||||||
|
|
||||||
|
config SYSTEM_GS2200M
|
||||||
|
tristate "Telit GS2200M usrsock daemon"
|
||||||
|
default n
|
||||||
|
depends on NET_USRSOCK && WL_GS2200M
|
||||||
|
select NET_USRSOCK_TCP
|
||||||
|
select PIPES
|
||||||
|
---help---
|
||||||
|
Enable support for the gs2200m usrsock daemon
|
||||||
|
|
||||||
|
if SYSTEM_GS2200M
|
||||||
|
config SYSTEM_GS2200M_PROGNAME
|
||||||
|
string "gs2200m program name"
|
||||||
|
default "gs2200m"
|
||||||
|
|
||||||
|
config SYSTEM_GS2200M_PRIORITY
|
||||||
|
int "gs2200m task priority"
|
||||||
|
default 50
|
||||||
|
|
||||||
|
config SYSTEM_GS2200M_STACKSIZE
|
||||||
|
int "gs2200m stack size"
|
||||||
|
default 2048
|
||||||
|
|
||||||
|
endif
|
39
system/gs2200m/Make.defs
Normal file
39
system/gs2200m/Make.defs
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
############################################################################
|
||||||
|
# apps/system/gs2200m/Make.defs
|
||||||
|
# Adds selected applications to apps/ build
|
||||||
|
#
|
||||||
|
# Copyright 2019 Sony Home Entertainment & Sound Products Inc.
|
||||||
|
# Author: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in
|
||||||
|
# the documentation and/or other materials provided with the
|
||||||
|
# distribution.
|
||||||
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
# used to endorse or promote products derived from this software
|
||||||
|
# without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_SYSTEM_GS2200M),)
|
||||||
|
CONFIGURED_APPS += system/gs2200m
|
||||||
|
endif
|
56
system/gs2200m/Makefile
Normal file
56
system/gs2200m/Makefile
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
############################################################################
|
||||||
|
# apps/system/gs2200m/Makefile
|
||||||
|
#
|
||||||
|
# Copyright 2019 Sony Video & Sound Products Inc.
|
||||||
|
# Author: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
# 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in
|
||||||
|
# the documentation and/or other materials provided with the
|
||||||
|
# distribution.
|
||||||
|
# 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
|
# used to endorse or promote products derived from this software
|
||||||
|
# without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||||
|
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||||
|
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
#
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
-include $(TOPDIR)/Make.defs
|
||||||
|
|
||||||
|
# gs2200m command
|
||||||
|
|
||||||
|
CONFIG_SYSTEM_GS2200M_PRIORITY ?= SCHED_PRIORITY_DEFAULT
|
||||||
|
CONFIG_SYSTEM_GS2200M_STACKSIZE ?= 2048
|
||||||
|
|
||||||
|
APPNAME = gs2200m
|
||||||
|
PRIORITY = $(CONFIG_SYSTEM_GS2200M_PRIORITY)
|
||||||
|
STACKSIZE = $(CONFIG_SYSTEM_GS2200M_STACKSIZE)
|
||||||
|
|
||||||
|
CONFIG_SYSTEM_GS2200M_PROGNAME ?= gs2200m$(EXEEXT)
|
||||||
|
PROGNAME = $(CONFIG_SYSTEM_GS2200M_PROGNAME)
|
||||||
|
|
||||||
|
# Files
|
||||||
|
|
||||||
|
MAINSRC = gs2200m_main.c
|
||||||
|
|
||||||
|
MODULE = CONFIG_SYSTEM_GS2200M
|
||||||
|
|
||||||
|
include $(APPDIR)/Application.mk
|
1351
system/gs2200m/gs2200m_main.c
Normal file
1351
system/gs2200m/gs2200m_main.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user