Junyeon LEE [Tue, 11 Jul 2017 13:17:07 +0000 (22:17 +0900)]
kernel/sched: remove maximum boundary check for pid
This commit fixes maximum boundary checking in sched_gettcb().
If thread or task was created over 32767, g_lastpid value returns
to lower value and it makes wrong comparision in sched_gettcb().
For example)
System thread (pid = 32767) was already created and user creates
one more thread, then user's pid will be allocated lower than system's
thread (1 or above). In this case, not that g_lastpid is same with
user's pid, system's pid can not fit below condition.
(pid > 0 && pid <= g_lastpid)
Change-Id: I9a6d164dd5d7b49e7920e1f597015bd8211b1297
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Jin-Seong Kim [Mon, 10 Jul 2017 08:29:55 +0000 (17:29 +0900)]
examples/libcoap : increase pthread stack size to support security
This commit is to increase pthread stack size to support security
- to support security through mbedTLS libarary,
pthread stack size should be (16 * 1024) at least
Change-Id: Ic01b803dcb0b4bf3d6e4a0c2e8f3b6e5546ab434
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Jin-Seong Kim [Mon, 10 Jul 2017 02:37:59 +0000 (11:37 +0900)]
netutils/libcoap : fixes, including path of libcoap headers
This commit is to fix including header path
- header including path is fixed to absoulte path
to give same experiences to developers as other netutil libraries
Change-Id: Idf5aa0c5e4684e9d206f8018e4532949eb410ed1
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
bossjisu [Fri, 7 Jul 2017 10:51:53 +0000 (03:51 -0700)]
netutils/websocket: add websocket state
add state to let application know websocket_handler is stopped for error.
Change-Id: I6d21fe8f68e6947fbf2000253ad767ccb04a330c
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
bossjisu [Thu, 6 Jul 2017 09:21:39 +0000 (02:21 -0700)]
netutils/websocket: separate state
running state is splitted to run_client state and run_server state.
it's because mbed_tls function varies between client and server.
TLS code will be separated with websocket code in next update.
Change-Id: I0a7c2cff335a6b92e18cb0d1b52c1f28d4811f16
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
bossjisu [Wed, 5 Jul 2017 17:44:48 +0000 (10:44 -0700)]
netutils/websocket: multi client is not supported
Change-Id: I9eef55cb8ad93581f87c3ccaa6444340048ae526
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
bossjisu [Wed, 5 Jul 2017 13:58:08 +0000 (06:58 -0700)]
netutils/websocket: Use defined free and close
Use defines to close the socket and free the memory.
misc changes to organize codes
Change-Id: I826e3aff984883e614e6666de8e9c602d1ff798d
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
bossjisu [Wed, 5 Jul 2017 13:34:25 +0000 (06:34 -0700)]
netutils/websocket: misc changes in handling loop
websocket state is supposed to be changed at the last.
Otherwise, it can happen memory leaks.
Change-Id: I32d82a77dae1c17406c485a21f9b7d098da8a89e
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
bossjisu [Wed, 5 Jul 2017 13:17:34 +0000 (06:17 -0700)]
netutils/websocket: set TCP_NODELAY
TCP_NODELAY option is recommended for the user application like websocket.
https://developers.slashdot.org/comments.pl?sid=174457&threshold=1&commentsort=0&mode=thread&cid=
14515105
Change-Id: I1fa04271fa3b62a35221551670b0aa6fc024da0d
Signed-off-by: bossjisu <jisuu.kim@samsung.com>
Junyeon LEE [Tue, 4 Jul 2017 11:15:31 +0000 (20:15 +0900)]
examples/websocket: set default TLS debug level.
This commit set default tls debug level to zero. Because of too
much debug log, socket recv function sometimes makes timeout error.
Change-Id: Icf51b8d6eedc36469b019b1b7e756706d8d9e2ec
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
EunBong Song [Tue, 4 Jul 2017 06:01:34 +0000 (15:01 +0900)]
vfs: fdopen: add missing file stream flags clearing.
Clear file stream structure regardless of config options.
Structure clearing is needed as previous use of stream
list entry might leave fs_flags set.
Thia patch comes from nuttx community commit id:
b8b9309d
Change-Id: I072757f092cedc179982af736d6d9a48ee90c97b
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Tue, 4 Jul 2017 04:11:26 +0000 (13:11 +0900)]
libc netdb: gethostbyname_r: Fix check for space in buffer.
This patch comes from Nuttx commit id:
ee7217be
Change-Id: Ifc2b1973978b1b16e7fa1795a6009717bd67aa51
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Tue, 4 Jul 2017 02:19:30 +0000 (11:19 +0900)]
MTD M2PX: Fix read problem when write/erase is pending
If we READ while a write/erase is pending, the command is ignored
and the write/erase continues. If we dont catch this situation we will
return garbage to the user because the flash will not execute the command.
So READ MUST wait for write completion, and before that, the bus must be
locked since it's a precondition to calling waitwritecomplete().
This patch comes from Nuttx commit id:
2851959d
Change-Id: I2934f7d5d96048a6a97a272d84267ae8551d1198
Signed-off-by: EunBong Song <eunb.song@samsung.com>
Vyacheslav Tyrtov [Tue, 6 Jun 2017 08:50:12 +0000 (11:50 +0300)]
memstats_gnueabil.py: minor fix
Drop subSymbol value at level1
Otherwise there is possibility of a bug during parsing of "fill" line.
Change-Id: I6800ced4cdf2143bb7a0dacc88f887b817d5e38a
Signed-off-by: Vyacheslav Tyrtov <v.tyrtov@samsung.com>
Junyeon LEE [Mon, 3 Jul 2017 14:13:26 +0000 (23:13 +0900)]
netutils/webserver: fix chunked-encoding problem.
This commit fixes chunked encoding problem in webserver. Webserver
sometimes misunderstood received data whether chunked or content-length.
This problem is caused by uninitialized request structure and fixed it.
Additinally, chunked routine added in PUT callback.
Change-Id: If63dace52e03feb3b71a4fc18f957c8822ec13d3
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Wed, 28 Jun 2017 19:57:55 +0000 (04:57 +0900)]
examples/tls_benchmark: introduce new benchmark app
This commit introduce a new crypto benchmark application.
You can get a each crypto's performance with this app.
MD5 : 24017 Kb/s
SHA-1 : 15548 Kb/s
SHA-256 : 7518 Kb/s
3DES : 1103 Kb/s
DES : 2714 Kb/s
AES-CBC-128 : 4202 Kb/s
AES-CBC-192 : 3991 Kb/s
AES-CBC-256 : 3538 Kb/s
AES-GCM-128 : 1789 Kb/s
..........
Change-Id: I67fd6a9139e404208a02397c7fc49f1fe4e6905b
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Seongeun Choi [Fri, 23 Jun 2017 12:06:54 +0000 (21:06 +0900)]
external/wakaama : change type to fix a error.
This commit is to fix a logical error.
Expression 'len < ((1 << 16) + 269)' is always true,
which may be caused by a logical error.
Change-Id: I07408010f17ff85458fd666baaedce7f8571f343
Signed-off-by: Seongeun Choi <seongeun.choi@samsung.com>
Wonsang Ryou [Mon, 19 Jun 2017 06:11:10 +0000 (15:11 +0900)]
drivers/sensors: introduce ppd42ns dust sensor driver
This commit introduces the sensor driver that controls ppd42ns dust
sensor.
Change-Id: Ic3781eeeb5c898a7cd9ab3b52dbf0788d36e168d
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
sunghan-chang [Wed, 30 Aug 2017 03:50:48 +0000 (12:50 +0900)]
Merge pull request #439 from junmin-kim/qemu_tc
Add qemu tc build config
sunghan-chang [Wed, 30 Aug 2017 03:39:21 +0000 (12:39 +0900)]
Merge pull request #452 from iamsanjeev/master
Fix Artik Demo example.
sunghan-chang [Wed, 30 Aug 2017 03:34:47 +0000 (12:34 +0900)]
Merge pull request #464 from pmarcinkiew/gcc720_double_t
Fix compilation of arm-linux-gnueabi-gcc-
sunghan-chang [Wed, 30 Aug 2017 03:31:01 +0000 (12:31 +0900)]
Merge pull request #460 from jeongarmy/ttrace
Fix incorrect logics and somethings in t-trace
btheosam [Wed, 30 Aug 2017 02:02:22 +0000 (11:02 +0900)]
Merge pull request #449 from sunghan-chang/s5jt200_romfs
romfs
btheosam [Wed, 30 Aug 2017 02:02:00 +0000 (11:02 +0900)]
Merge pull request #458 from jeongchanKim/kernel_tc
Modify libgen tc to avoid constant string modification
sangwon03 [Tue, 29 Aug 2017 23:23:40 +0000 (08:23 +0900)]
Merge pull request #454 from pillip8282/svace_fix
Svace Bug Fix
Jaroslaw Pelczar [Tue, 29 Aug 2017 08:26:18 +0000 (10:26 +0200)]
Fix compilation of arm-linux-gnueabi-gcc-
When compiling with Linux toolchain, there are build errors like:
math/lib_j1.c: In function ‘pone’:
math/lib_j1.c:363:2: error: unknown type name ‘double_t’; did you mean
‘double’?
double_t z;
^~~~~~~~
This patch solves compilation using modern v7.2.0 toolchain.
Signed-off-by: Jaroslaw Pelczar <j.pelczar@samsung.com>
Sanjeev BA [Mon, 28 Aug 2017 09:38:22 +0000 (18:38 +0900)]
Fix Artik demo example link error by
1. fixing typos in wifi API.
2. Replacing an get_security_config with getSecurityConfig.
3. Making 'dm' a dependency for this example.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>
Ahreum Jeong [Tue, 29 Aug 2017 08:38:20 +0000 (17:38 +0900)]
Change tash command to excute ttrace testcase and fix typo in ttrace testcase
junmin kim [Tue, 22 Aug 2017 05:36:59 +0000 (22:36 -0700)]
Add qemu tc build config
Ahreum Jeong [Tue, 29 Aug 2017 08:17:49 +0000 (17:17 +0900)]
Move logic of checking whether the tag is valid or not to upper level
When tag is invalid, ttrace ioctl returns -1 and it is considered as error in upper level
But It is not failure of ioctl operation
So I changed that ioctl just returns value and a function which calls it should check whether ths tag is valid or not
jc_.kim [Tue, 29 Aug 2017 08:12:07 +0000 (17:12 +0900)]
Modify libgen tc to avoid constant string modification
sunghan-chang [Tue, 29 Aug 2017 07:55:25 +0000 (16:55 +0900)]
Merge pull request #436 from JeonginKim/master
External API -> Internal API for DM_Connectivity
JeonginKim [Fri, 25 Aug 2017 00:42:42 +0000 (09:42 +0900)]
External API -> Internal API for DM_Connectivity
sunghan-chang [Tue, 29 Aug 2017 07:30:03 +0000 (16:30 +0900)]
Merge pull request #455 from jeongchanKim/kernel_svace
Modify tc and mm_heapinfo.c based on svace
davidfather [Tue, 29 Aug 2017 07:03:33 +0000 (16:03 +0900)]
Merge pull request #456 from sunghan-chang/makefile
Deliver the EXTDIR definition for external folder path on Makefile
pillip8282 [Tue, 29 Aug 2017 07:00:57 +0000 (16:00 +0900)]
Merge pull request #457 from HONGCHAEHEE/lwip-sem
Fix a lwip semaphore issue
jc_.kim [Tue, 29 Aug 2017 06:30:26 +0000 (15:30 +0900)]
Modify tc and mm_heapinfo.c based on svace
tc_libc_syslog.c : Use of vulnerable function 'sprintf' at tc_libc_syslog.c:90. This function is unsafe, use snprintf instead.
tc_libc_unistd.c : Use of vulnerable function 'sprintf' at tc_libc_unistd.c:279. This function is unsafe, use snprintf instead.
tc_pthread.c : No unlock for mutex 'g_mutex' at tc_pthread.c:1284 after lock at tc_pthread.c:1278 by calling function 'pthread_mutex_lock'.
tc_sched.c : Dynamic memory referenced by 'status' was allocated at tc_sched.c:306 by calling function 'malloc' and lost at tc_sched.c
mm_heapinfo.c : Return value of a function 'sched_gettcb' is dereferenced at mm_heapinfo.c:277 without checking, but it is usually checked for this function
chaehee.hong [Tue, 29 Aug 2017 06:50:44 +0000 (23:50 -0700)]
Fix a lwip semaphore issue
sunghan [Tue, 29 Aug 2017 06:35:03 +0000 (15:35 +0900)]
Deliver the EXTDIR definition for external folder path on Makefile
The external and apps folder need to use the external folder path.
kang [Tue, 29 Aug 2017 05:25:31 +0000 (14:25 +0900)]
Svace Bug Fix
btheosam [Tue, 29 Aug 2017 01:38:38 +0000 (10:38 +0900)]
Merge pull request #453 from GalkinIvan/audio
Initial complete commit to test audio through i2schar path.
Ivan [Mon, 28 Aug 2017 20:26:24 +0000 (05:26 +0900)]
i2schar: added code to enable I2Schar on Artik
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Ivan [Mon, 28 Aug 2017 20:25:33 +0000 (05:25 +0900)]
TizenRT: Fix code errors
Signed-off-by: Ivan <ivan.galkin@samsung.com>
btheosam [Mon, 28 Aug 2017 06:52:39 +0000 (15:52 +0900)]
Merge pull request #429 from sunghan-chang/0818
change a file permission to 644
btheosam [Mon, 28 Aug 2017 06:52:12 +0000 (15:52 +0900)]
Merge pull request #447 from sunghan-chang/gitignore
add .gitignore to block adding built file for specific configs
sunghan [Mon, 28 Aug 2017 06:36:19 +0000 (15:36 +0900)]
tools/fs: add x option, messages and modify volume name on mkromfsimg.sh
1. Because the .gitignore should not be included at romfs.img, x option
is added.
2. Messages are added to know the start and end of making romfs.
3. The volume name is changed to "TinyAraROMVol" from "NuttXBootVol".
sunghan [Mon, 28 Aug 2017 06:12:01 +0000 (15:12 +0900)]
remove usages of res folder on making romfs
We don't need to copy contents of romfs to res folder.
Let's make a romfs image in contents folder directly.
sunghan [Mon, 28 Aug 2017 06:05:14 +0000 (15:05 +0900)]
add .gitignore at contents
Currently we don't need to add any contents on remote.
Let's ignore everything in contents except .gitignore.
sunghan [Mon, 28 Aug 2017 05:50:54 +0000 (14:50 +0900)]
move mkromfsimg.sh script and contents folder to tools/fs folder
The location of them is not correct. ROMFS is not a part of application and
external so that we move them to under tools folder.
Bongryul Lee [Thu, 17 Aug 2017 05:01:43 +0000 (14:01 +0900)]
audio: fix compile error when enable sensorbd
Fixed a problem where alc5658char.c was not built
Change-Id: Icd908920c028bb359ed596b7c6f46770502ae2a9
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Ivan [Wed, 16 Aug 2017 06:11:33 +0000 (15:11 +0900)]
examples/i2schar: add i2s character device example
Example for checking i2s rx / tx behavior
Change-Id: If7b367bdeb1d166ea1bced83c2d17bd637e982c9
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Wed, 16 Aug 2017 06:09:11 +0000 (15:09 +0900)]
audio: fix to use i2s character device
Change-Id: Ie7d5c45aba10e8831506eb6d0c32b58f431fbd92
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Mon, 14 Aug 2017 08:21:32 +0000 (17:21 +0900)]
artik053: add artik053 i2schar devinit interface
Added initialization part to artik053 to use i2schar example
Change-Id: I8a2c0b35bcc3a47310b32bba6c9ee66376eba7d1
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Mon, 14 Aug 2017 07:28:18 +0000 (16:28 +0900)]
artik053: remove unnecessary codes
Since alc5658 is not included in artik053, the related code is removed.
If you want to test alc5658 just enable CONFIG_EXAMPLES_SENSORBOARD.
Change-Id: I030627e16ec7cc3996d77109c88709f77b4dd71d
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Ivan [Wed, 9 Aug 2017 09:11:14 +0000 (18:11 +0900)]
s5j/i2s: add i2s disable feature when no fifo transfer.
Change-Id: I7f86759d3aad87de2e7e3cad8392bbbe03306f01
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Mon, 7 Aug 2017 07:17:24 +0000 (16:17 +0900)]
examples/alc5658char: fix an invalid types
Change variables and functions to static and delete invalid comments.
Change-Id: I7f55d9d5f6751f1c6d13d0e370d52c9128123d74
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Fri, 4 Aug 2017 06:20:33 +0000 (15:20 +0900)]
defconfig: disable CONFIG_AUDIO_FORMAT_MP3 in audio defconfig
Change-Id: I2f13c9e0dd1758f709f773130ba4f348893e6dda
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Fri, 4 Aug 2017 06:15:18 +0000 (15:15 +0900)]
examples/nxplayer: fix build error when CONFIG_AUDIO_FORMAT_MIDI=y
nxplayer_getmidisubformat() did not consider default case in the switch
statement.
Change-Id: I8e0fb2d2c72caab8038eaddeb5886128e0037051
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Junhwan Park [Tue, 1 Aug 2017 11:06:50 +0000 (20:06 +0900)]
audio/alc5658: fix trivial typo
We tested Realtek's ALC5658 codec.
Change-Id: I8dcce0afc01ac79aaf441bc54e7418f391ddcd4f
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Bongryul Lee [Tue, 1 Aug 2017 10:06:06 +0000 (19:06 +0900)]
audio/alc5658: fix codec initialization procedure
If the codec id is not alc5658, the initialization stops.
Change-Id: I79a0be9ab858b39923f7fc4f6ce7c142970eec9e
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Junhwan Park [Mon, 31 Jul 2017 14:03:33 +0000 (23:03 +0900)]
audio/alc5658: del unusing irq functions
This version of TizenRT does not use the critical_section functions. Use
the functions of irqsave() and irqrestrore().
Change-Id: I81c71c67a4ea55cfb7c4e31d586fba7b2db57ea9
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Junhwan Park [Fri, 28 Jul 2017 05:45:11 +0000 (14:45 +0900)]
audio/alc5658char: fix timeout value naming
The names of the values indicating TX/RX TIMEOUT are incorrect.
Change-Id: I81a9488a399652aaea863ff5177681f430bfa786
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Bongryul Lee [Thu, 27 Jul 2017 05:39:08 +0000 (14:39 +0900)]
examples/alc5658char_test: add alc5658 char codec test app
This patch includes record, play and loopback to test the alc5658
character codec.
This code is for reference only.
Change-Id: Ieacfd55520b74c06144e6a2a62646ac7b871da35
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Ivan [Thu, 27 Jul 2017 05:36:39 +0000 (14:36 +0900)]
audio/alc5658char: add reference alc5658 character device driver
This patch contains code for ALC5658 codec character device driver.
This code is for reference only.
Change-Id: I1a0bb368cede15130b5f6821f575884eba8427e6
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Bongryul Lee [Thu, 27 Jul 2017 05:49:48 +0000 (14:49 +0900)]
examples/wave_gen: fix Kconfig to prevent invalied enable
wave_gen can be enabled when CONFIG_AUDIO=y
Change-Id: I01f38fedf3e23c358cf01d80594a79e324fe845f
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Mon, 3 Jul 2017 04:58:04 +0000 (13:58 +0900)]
Makefile: fix build error when select a nettest config
fixed artik053_alc5658.c to be built when CONFIG_AUDIO_ALC5658 is declared.
Change-Id: I2e83d132a4729e8dee24b5b44eccfc9706af37aa
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Fri, 30 Jun 2017 05:45:22 +0000 (14:45 +0900)]
defconfig: Add audio defconfig for artik055 audio test
You can use this defconfig to enable audio related config.
Also can use nxplayer and wave_gen app.
Change-Id: I9de5d4f8932b1363f4087f2b5c3a5db11803605c
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Fri, 30 Jun 2017 05:33:50 +0000 (14:33 +0900)]
artik053: Add support for the alc5658 audio CODEC
This patch includes to use alc5653 codec on the artik055 board
Change-Id: I164ae01db200a038f124da111f480905a52ff475
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Ivan [Thu, 15 Jun 2017 17:15:09 +0000 (02:15 +0900)]
s5j/dma: fixed DMA code for correct operation
For M2P and P2M transactions code is fixed to
make it able correctly transfer buffers sizes
from 4B to 4*(64K + 256)B
Change-Id: I90a2c058c3427574b0ca47a71be50b968564bea6
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Wed, 14 Jun 2017 06:24:39 +0000 (15:24 +0900)]
audio: fix inavlid debug message macro
Change-Id: Id7170e6de898e0bce3e7f69772990532bd2aee6e
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Wed, 14 Jun 2017 05:11:24 +0000 (14:11 +0900)]
s5j/i2s: fix compilation errors
Change-Id: Ib87227eb3cb0fa0974019f388705baf2516a0663
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Ivan [Wed, 7 Jun 2017 21:08:19 +0000 (06:08 +0900)]
examples/wave_gen: add wave file generator
generate sign wave file and store
Change-Id: I9d7bf6fdf186e9d9b10891a23a6285141930cc99
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Wed, 7 Jun 2017 21:07:24 +0000 (06:07 +0900)]
examples/nxplayer: add nxplayer from NuttX
add command line media player.
Change-Id: I8ee94dff717833e0d64ac9655502fba663110f1d
Signed-off-by: Gregory Nutt <gnutt@nuttx.org>
[Lee: backported from NuttX]
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Ivan [Thu, 1 Jun 2017 11:24:49 +0000 (20:24 +0900)]
audio/alc5658: Add alc5658 codec driver
Add alc5658 codec driver
Change-Id: Ia65453c8e961f0b7c3d404418ba81419f2ceabe7
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Ivan [Wed, 31 May 2017 09:38:43 +0000 (18:38 +0900)]
s5j/pwrcal: add to support I2S MUX
Powercal code updated to support I2S mux.
Clocks sould come from I2S BCLK input, not PCLK.
Change-Id: I1014d4669c43b354fdfb9d4cf4c1390db0ee609a
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Ivan [Tue, 30 May 2017 08:30:53 +0000 (17:30 +0900)]
s5j/dma: Add dma driver for i2s
This DMA code initally is intended to be used with I2S driver.
Can be also used with common memory transfers, and other IPs.
Change-Id: If2a30e00a1f2ec7f5d410d11a8b4a3a59814ecf3
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Ivan [Mon, 29 May 2017 11:15:28 +0000 (20:15 +0900)]
audio: import audio framework from NuttX
Audio subsystem migrated from Nuttx prior to start defelopment of
audio codec and I2S drivers.
Change-Id: I442147d5481af28653de5d7e49ca463341a06b0b
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Ivan Galkin [Sun, 27 Aug 2017 05:24:56 +0000 (14:24 +0900)]
Revert "Initial commit of I2S minimal driver without of any BSP support for any hardware"
This reverts commit
146b9e3f105c4e15b1d90fc02ef63705311d0ef3.
Conflicts:
os/drivers/audio/Make.defs
Ivan Galkin [Sun, 27 Aug 2017 05:18:44 +0000 (14:18 +0900)]
Revert "Audio devices and audio pipeline buffer support"
This reverts commit
bba9f1f8265e900131961fdfa4dd5bd9a180db60.
Ivan [Tue, 25 Apr 2017 13:47:04 +0000 (22:47 +0900)]
s5j/gpio: fix incorrect pinmux configuration on I2S
Change-Id: Ic97a2ca79220efd94725afab52888d792f2b29a1
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Ivan [Mon, 24 Apr 2017 18:44:42 +0000 (03:44 +0900)]
s5j/i2s: Add device driver for I2S
I2S supports only 48KHz Stereo playback.
I2S supports both read and write channels.
Change-Id: Iba94830758e5b90a56fe33e33333f3709d6e2823
Signed-off-by: Ivan <ivan.galkin@samsung.com>
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
sunghan-chang [Fri, 25 Aug 2017 01:19:25 +0000 (10:19 +0900)]
Merge pull request #437 from jeongchanKim/kernel_sample
Add kernel_sample config for artik053
jc_.kim [Tue, 22 Aug 2017 03:56:56 +0000 (12:56 +0900)]
Add kernel_sample config for artik053
sunghan [Thu, 24 Aug 2017 11:27:12 +0000 (20:27 +0900)]
arch/sidk_s5jt200: change conditionals for automount
AUTOMOUNT_XX_DEVNAME is an one component of automount functionality.
AUTOMOUNT_XX is a title of it.
sunghan [Thu, 24 Aug 2017 11:21:28 +0000 (20:21 +0900)]
modify contents of ROMFS for SIDK_S5JT200's README
',' should be followed at end of type and name lists.
sunghan-chang [Thu, 24 Aug 2017 09:42:31 +0000 (18:42 +0900)]
Merge pull request #438 from junmin-kim/app_ramtest
Support ramtest as builtin app
sunghan [Thu, 24 Aug 2017 06:54:29 +0000 (15:54 +0900)]
add .gitignore to block adding built file for specific configs
The partition_map.cfg is built for specific configs and is a temporary file.
It should not be shown at git status as a change.
sunghan-chang [Thu, 24 Aug 2017 05:31:41 +0000 (14:31 +0900)]
Merge pull request #446 from thapav/localtime
Fix coding rule violation
Vidisha Thapa [Thu, 24 Aug 2017 04:27:02 +0000 (09:57 +0530)]
Fix coding rule violation
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
btheosam [Wed, 23 Aug 2017 10:26:26 +0000 (19:26 +0900)]
Merge pull request #431 from sunghan-chang/artik053_automount
modify CONFIG name for automount of artik053 user fs
btheosam [Wed, 23 Aug 2017 10:25:52 +0000 (19:25 +0900)]
Merge pull request #442 from sunghan-chang/usb
Add contents how to set usb environment
sunghan [Wed, 23 Aug 2017 00:06:49 +0000 (09:06 +0900)]
Add contents how to set usb environment
ARTIK053 and SIDK_S5JT200 boards are connected through USB.
To use USB, permission is needed. So, contents which shows how to do it
are added.
junmin kim [Tue, 22 Aug 2017 04:29:51 +0000 (21:29 -0700)]
Support ramtest as builtin app
sunghan-chang [Tue, 22 Aug 2017 02:07:19 +0000 (11:07 +0900)]
Merge pull request #433 from jeongchanKim/kernel_tc
Modify the tc func name for representing the tested API name
sunghan-chang [Tue, 22 Aug 2017 02:05:43 +0000 (11:05 +0900)]
Merge pull request #430 from pradeepns85/remove_failsafe_in_setschedparam
Remove failsafe error setting in pthread_setschedparam.c
sunghan-chang [Tue, 22 Aug 2017 02:04:33 +0000 (11:04 +0900)]
Merge pull request #408 from olegartys/981
drivers/rwbuffer/Kconfig: hide "Buffering" menu with SCHED_WORKQUEUE …
sunghan-chang [Tue, 22 Aug 2017 02:02:25 +0000 (11:02 +0900)]
Merge pull request #365 from thapav/time
Added LIBC_LOCALTIME support for date command
Vidisha Thapa [Tue, 8 Aug 2017 11:42:08 +0000 (17:12 +0530)]
libc: add support for localtime in date command
Date command did not support localtime (LIBC_LOCALTIME).
This patch gives support for 3 more parameters in date command namely:
Day of Week [Sunday = Sun, Monday = Mon, and so on...]
Day of Year [0,365]
Daylight savings time(DST) flag [positive: DST in effect, 0: DST not in effect, negative: information not availabe]
The parameters are updated based on the RTC support for Localtime.
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
Oleg Lyovin [Thu, 27 Jul 2017 14:45:07 +0000 (17:45 +0300)]
drivers/rwbuffer/Kconfig: hide "Buffering" menu with SCHED_WORKQUEUE disabled
* The rwbuffer driver depends on workqueue support, which
checks at compile time and cause build failure, if workqueues
disabled. However, it seems necessary to make "Buffering"
menu dependent on SCHED_WORKQUEUE itself.
Signed-off-by: Oleg Lyovin <o.lyovin@partner.samsung.com>
jc_.kim [Mon, 21 Aug 2017 07:39:45 +0000 (16:39 +0900)]
Modify the tc func name for representing the tested API name