TaeJun Kwon [Fri, 15 Sep 2017 16:03:16 +0000 (01:03 +0900)]
Fix utc to prevent potential leak
TaeJun Kwon [Fri, 15 Sep 2017 15:57:36 +0000 (00:57 +0900)]
Fix to prevent abort during mq_close
Shivam Garg [Fri, 15 Sep 2017 15:24:13 +0000 (00:24 +0900)]
removing extra calls to readi and writei unit tc's
bsvt [Thu, 14 Sep 2017 16:16:12 +0000 (09:16 -0700)]
Changes to include mic gain and other properties in the alc5658.c driver
bsvt [Thu, 14 Sep 2017 11:23:46 +0000 (04:23 -0700)]
Fix switch case with missing break
TaeJun Kwon [Wed, 13 Sep 2017 09:46:35 +0000 (18:46 +0900)]
Clean code & add tc for pcm_is_ready & pcm_prepare
Jarvis Jang [Fri, 15 Sep 2017 10:46:32 +0000 (19:46 +0900)]
Resolve issue that stuck on pcm_readi
bsvt [Fri, 15 Sep 2017 07:36:55 +0000 (00:36 -0700)]
Alc5658 code cleanup
TaeJun Kwon [Fri, 15 Sep 2017 07:42:24 +0000 (16:42 +0900)]
unlink recorded file end of test to improve readi test's performance
Shivam Garg [Fri, 15 Sep 2017 07:13:27 +0000 (16:13 +0900)]
Fixing audio debug print macros.
The macros gave a warning(error when built with -Wunused-error flags) when built with audio debug flags turned off.
Shivam Garg [Fri, 15 Sep 2017 07:04:45 +0000 (16:04 +0900)]
WATCHDOG is selected when watchdog in chip drivers is selected to be built
Shivam Garg [Fri, 15 Sep 2017 02:22:19 +0000 (11:22 +0900)]
removing coding rule errors
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>
Junhwan Park [Wed, 31 May 2017 02:20:51 +0000 (11:20 +0900)]
s5j/i2c: tidy up a bit
This commit removes code lines that are not in use, reducing binary
footprints as following:
text data bss dec hex filename
Before 3639 432 16 4087 ff7 s5j_i2c.o
After 2819 272 16 3107 c23 s5j_i2c.o
Change-Id: Id193c425327dc80e4724773b9e7d51780ca81bc6
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Heesub Shin [Thu, 1 Jun 2017 02:18:44 +0000 (11:18 +0900)]
s5j/timerisr: add missing initialization on RTC
The first stage bootloader is initializing RTCCON[7:4] to 0x4 before it
jumps to subsequent stages. This is no harm if we clear it while
initializing the RTC, but it is not cleared when CONFIG_RTC is not set
and causing OS timetick to be generated at 2048Hz. To avoid this issue,
we need to clear it always before enabling the timer isr.
Change-Id: Id27a079e35f5d0a93d6a6428117daa3d45b71a61
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junhwan Park [Fri, 16 Jun 2017 02:55:20 +0000 (11:55 +0900)]
Added watchdog code
Heesub Shin [Thu, 13 Jul 2017 06:54:48 +0000 (15:54 +0900)]
Added reworked CMU driver for audio framework
TaeJun Kwon [Thu, 14 Sep 2017 08:29:01 +0000 (17:29 +0900)]
Fix open api list, remove pcm_start pcm_stop and add utc pcm_format_to_bits
Shivam Garg [Thu, 14 Sep 2017 08:02:20 +0000 (17:02 +0900)]
Adding i2c and clock changes for audio framework
bsvt [Thu, 14 Sep 2017 03:00:27 +0000 (20:00 -0700)]
Fix sample rate as 16k
Kishore SN [Thu, 14 Sep 2017 04:31:45 +0000 (10:01 +0530)]
Audio: Fix issue of ac_type always coming as AUDIO_TYPE_OUTPUT
bsvt [Wed, 13 Sep 2017 10:56:50 +0000 (03:56 -0700)]
Remove incomplete worker thread in alc5658
bsvt [Wed, 13 Sep 2017 09:11:33 +0000 (02:11 -0700)]
Split alc5658 scripts and declarations file
Kishore SN [Wed, 13 Sep 2017 09:17:23 +0000 (14:47 +0530)]
Tinyalsa: Fix apb and wav header setting
TaeJun Kwon [Wed, 13 Sep 2017 07:18:40 +0000 (16:18 +0900)]
Modify Comment & define values in header file of audio
Kishore SN [Wed, 13 Sep 2017 06:01:34 +0000 (11:31 +0530)]
Fix tinyalsa issues during testing
Set apb flags, nbytes, curbyte before enque
TaeJun Kwon [Tue, 12 Sep 2017 05:57:30 +0000 (14:57 +0900)]
Add configuration values for AUDIO_INPUT & OUTPUT in pcm_set_config
jaesick.shin [Tue, 12 Sep 2017 06:42:43 +0000 (15:42 +0900)]
Modify audio utc of negative case
change file premission of utc_aduio_main
Kishore SN [Tue, 5 Sep 2017 13:43:42 +0000 (19:13 +0530)]
Fixed negative test case failure cases in tinyalsa
Shivam Garg [Fri, 8 Sep 2017 11:48:34 +0000 (20:48 +0900)]
WAV header construction in tinyalsa
In pcm_open , while opening pcm device with PCM_IN flag, the wav header is written to the first buffer which is enqueued for getting captured data.
Moved definitions little->big endian and vice versa converting functions to pcm.h so that there is no need for reimplementing those in tinyalsa.c
Jaesik [Fri, 8 Sep 2017 02:21:03 +0000 (11:21 +0900)]
add test case for audio framework
add test case for audio framework
Shivam Garg [Thu, 7 Sep 2017 09:04:38 +0000 (18:04 +0900)]
Added support for separate device registeration for play and capture.
alc5658 audio device can be registered as two seperate devices.
The device naming format is "/dev/audio/pcmC%dD%d%c",card,device,(playback or capture flag).
Changed the device opening format in tinyalsa to open the device registered as a single device for both playback and capture.
bsvt [Thu, 7 Sep 2017 06:46:47 +0000 (23:46 -0700)]
Fix artik audio bootup
Shivam Garg [Tue, 5 Sep 2017 07:18:19 +0000 (16:18 +0900)]
Fixed potential memory leak in s5j_i2s_initialize function.
Everytime a new s5j_i2s_s object was created when s5j_i2s_initialize function was called. This lead to memory leak when device on same port is initialized by multiple modules. Now , if the device has been initialised , then the dev object from the initialised s5j_i2s_s object is returned.
Shivam Garg [Tue, 5 Sep 2017 12:03:58 +0000 (21:03 +0900)]
Some coding rule corrections and incorporating reviews
bsvt [Sat, 2 Sep 2017 07:59:35 +0000 (00:59 -0700)]
Remove non-artik code from board init and add additional pin macros
Shivam Garg [Tue, 5 Sep 2017 11:38:32 +0000 (20:38 +0900)]
Removed nxplayer example
TaeJun Kwon [Sat, 16 Sep 2017 09:22:29 +0000 (18:22 +0900)]
Apply defconfig for Audio
Shivam Garg [Tue, 5 Sep 2017 11:21:21 +0000 (20:21 +0900)]
Initial port of audio framework code from public git repo.
This commit includes the following pull requests/commit:-
1. https://github.com/Samsung/TizenRT/commit/
146b9e3f105c4e15b1d90fc02ef63705311d0ef3
2. https://github.com/Samsung/TizenRT/commit/
bba9f1f8265e900131961fdfa4dd5bd9a180db60
3. https://github.com/Samsung/TizenRT/pull/453
Rest of the commits/ pull requests will be added later.
Currently, only compilation has been tested and no actual testing of the code has been done.
The above is the commit message of internal commit. Had to apply this again to external, so that application of further commits is smooth
Kishore SN [Tue, 5 Sep 2017 11:32:24 +0000 (17:02 +0530)]
Fixed compilation error due to misspelled MILLI_TO_NANO define
bsvt [Mon, 3 Jul 2017 11:08:56 +0000 (04:08 -0700)]
Audio devices and audio pipeline buffer support
Kishore SN [Wed, 30 Aug 2017 14:21:35 +0000 (19:51 +0530)]
Initial porting of TinyAlsa on TizenRT
Shivam Garg [Fri, 15 Sep 2017 08:05:35 +0000 (17:05 +0900)]
Initial commit of I2S minimal driver without of any BSP support for any hardware
Shivam Garg [Fri, 15 Sep 2017 07:53:30 +0000 (16:53 +0900)]
Merge remote-tracking branch 'upstream/master'
sunghan-chang [Fri, 15 Sep 2017 07:20:24 +0000 (16:20 +0900)]
Merge pull request #593 from Taejun-Kwon/romfs
Apply FTL for romfs instead of smart mtd
sunghan-chang [Fri, 15 Sep 2017 06:15:30 +0000 (15:15 +0900)]
Merge pull request #598 from JeongJunSik/master
SmartThings_things SDK Header
btheosam [Fri, 15 Sep 2017 06:08:16 +0000 (15:08 +0900)]
Merge pull request #602 from jeongarmy/fix_logm
Initialize g_logm_overflow_offset value as -1 in logm.c
JunSik Jeong [Fri, 15 Sep 2017 03:10:44 +0000 (12:10 +0900)]
SmartThings_things SDK Header
Ahreum Jeong [Fri, 15 Sep 2017 05:41:01 +0000 (14:41 +0900)]
Initialize g_logm_overflow_offset value as -1 in logm.c
g_logm_overflow_offset is a variable for saving buffer offset where overflow happened.
So when overflow happens only, It has a value of which the range is from 0 to (buffer size-1).
If not, it should be invalid value like -1.
Initially, logm buffer is empty but logm can decide that overflow happened because this value is 0.
So It is needed to be initialized as invalid value.
sunghan-chang [Fri, 15 Sep 2017 04:24:22 +0000 (13:24 +0900)]
Merge pull request #445 from lokeshbv/code_coverage
TC: Add missing test cases of Libc misc
Taejun-Kwon [Fri, 15 Sep 2017 03:34:17 +0000 (12:34 +0900)]
Merge pull request #599 from sunghan-chang/artik053_romfs
arch/artik053: make a dependancy with ROMFS for ROMFS automount
sunghan [Fri, 15 Sep 2017 03:16:00 +0000 (12:16 +0900)]
arch/artik053: make a dependancy with ROMFS for ROMFS automount
Automount functionality of ROMFS for ARTIK053 should be executed
only when FS_ROMFS is enabled.
Taejun-Kwon [Thu, 14 Sep 2017 14:59:54 +0000 (23:59 +0900)]
Merge pull request #592 from jeongarmy/build_audio
Update Directories.mk, KernelLibs.mk and ProtectedLibs.mk for audio support
TaeJun Kwon [Thu, 14 Sep 2017 13:59:47 +0000 (22:59 +0900)]
Apply FTL for romfs instead of smart mtd
Lokesh B V [Fri, 18 Aug 2017 09:21:42 +0000 (14:51 +0530)]
TC: Add missing test cases of Libc misc
Adds tc for lib_dumpbuffer, sendfile and match api's.
NOTE: As lib_dumpbuffer return void, the success or failure result should be
checked manually by looking into tc output.
It has 2 cases,
1. dumps "
53414d53554e472d54697a656e5254 SAMSUNG-TizenRT".
2. dumps "
0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a ..............." (i.e, 256 "0a").
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Ahreum Jeong [Thu, 14 Sep 2017 09:35:51 +0000 (18:35 +0900)]
Update Directories.mk, KernelLibs.mk and ProtectedLibs.mk for audio support
Add audio directory to KERNDEPDIR and library to TINYARALIBS becuase this is in kernel-space.
sunghan-chang [Thu, 14 Sep 2017 09:45:03 +0000 (18:45 +0900)]
Merge pull request #591 from davidfather/Svace_fix_wifi_test
Fix Svace issues in wifi_test.c
Seongil Hahm [Thu, 14 Sep 2017 09:35:15 +0000 (02:35 -0700)]
Fix Svace issues in wifi_test.c
1. use strncat instead of strcat.
2. use snprintf instead of sprintf
3. close socket fd when send() fails.
sunghan-chang [Thu, 14 Sep 2017 09:30:31 +0000 (18:30 +0900)]
Merge pull request #588 from davidfather/Savce_fix_wifi_manager
Fix Savce issues in wifi_manager.c: strcpy=>strncpy, specifying the l…
Seongil Hahm [Thu, 14 Sep 2017 07:04:26 +0000 (00:04 -0700)]
Fix Savce issues in wifi_manager.c: strcpy=>strncpy, specifying the length of string includig '\0'.
1. replace strcpy with strncpy
2. specify the length of string including '\0'.
sunghan-chang [Thu, 14 Sep 2017 08:30:39 +0000 (17:30 +0900)]
Merge pull request #589 from junmin-kim/common_codingrule
Fix coding rule
junmin kim [Thu, 14 Sep 2017 07:37:40 +0000 (00:37 -0700)]
Fix coding rule
- open brace '{' following function declarations go on the next line
- please, no spaces at the start of a line
- code indent should use tabs where possible
- space required before the open parenthesis '('
sunghan-chang [Thu, 14 Sep 2017 08:15:08 +0000 (17:15 +0900)]
Merge pull request #562 from thapav/stdioCodeCoverage
Codecoverage(libc/stdio): Add TC's for few API's in stdio
Shivam Garg [Thu, 14 Sep 2017 07:29:11 +0000 (16:29 +0900)]
Merge pull request #2 from Samsung/master
Bringing head up to the official public repo.
Vidisha Thapa [Thu, 7 Sep 2017 09:52:19 +0000 (15:22 +0530)]
Codecoverage(libc/stdio): Add TC's for few API's in stdio
This patch adds test cases for stream initialization API's namely:
memoutstream, meminstream, memsistream, memsostream,
rawinstream, rawoutstream, rawsistream, rawsostream,
stdinstream, stdoutstream, stdsistream, stdsostream
nullinstream, nulloutstream, zeroinstream
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
sunghan-chang [Thu, 14 Sep 2017 02:29:05 +0000 (11:29 +0900)]
Merge pull request #584 from jeongchanKim/readme_kconfig
Modify the README.md : TizenRT, lib/libxx
jc_.kim [Thu, 14 Sep 2017 02:18:27 +0000 (11:18 +0900)]
Modify the README.md : TizenRT, lib/libxx
1. kconfig package, toolchain
2. remove unnecessary description
sunghan-chang [Thu, 14 Sep 2017 01:54:04 +0000 (10:54 +0900)]
Merge pull request #583 from JeongJunSik/master
remove TC_ASSERT API of IoTBus(N/A TC)
sunghan-chang [Thu, 14 Sep 2017 01:53:28 +0000 (10:53 +0900)]
Merge pull request #580 from thapav/codecoverage_pthread
Codecoverage: (libc/pthread) Fix TC for pthread_setcanceltype() & pthread_setcancelstate() API
JunSik Jeong [Thu, 14 Sep 2017 01:48:37 +0000 (10:48 +0900)]
remove TC_ASSERT API of IoTBus(N/A TC)
sangwon03 [Thu, 14 Sep 2017 01:29:32 +0000 (10:29 +0900)]
Merge pull request #578 from an4967/modify_tls_for_iotivity
Modify tls configs for iotivity
sunghan-chang [Wed, 13 Sep 2017 23:35:25 +0000 (08:35 +0900)]
Merge pull request #579 from jeongchanKim/kdbg_svace
Fix svace issue : kdbg_stackopt array index error
Taejun-Kwon [Wed, 13 Sep 2017 12:20:43 +0000 (21:20 +0900)]
Merge pull request #577 from davidfather/dm_stack_correction
Correct the stack size of DM testcase
Taejun-Kwon [Wed, 13 Sep 2017 10:46:24 +0000 (19:46 +0900)]
Merge pull request #544 from HONGCHAEHEE/romfs
Add a ROMFS file system feature for artik053/iotivity
Daesung [Wed, 13 Sep 2017 09:53:06 +0000 (18:53 +0900)]
Change mbedtls configs for iotivity build
Daesung [Wed, 13 Sep 2017 09:52:21 +0000 (18:52 +0900)]
Fix wrong path in build_iotivity.sh
chaehee.hong [Wed, 13 Sep 2017 08:25:19 +0000 (17:25 +0900)]
Add ROMFS auto-mount feature for artik053
chaehee.hong [Wed, 13 Sep 2017 08:24:25 +0000 (17:24 +0900)]
Update artik053/iotivity defconfig
chaehee.hong [Wed, 13 Sep 2017 08:23:06 +0000 (17:23 +0900)]
Modify download files for ROMFS file system
Vidisha Thapa [Wed, 13 Sep 2017 07:56:26 +0000 (13:26 +0530)]
pthread: Fix TC for pthread_setcanceltype() & pthread_setcancelstate() API
This patch fixes the value for old cancellability variable used in the TC for testing.
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
jc_.kim [Wed, 13 Sep 2017 06:11:04 +0000 (15:11 +0900)]
Fix svace issue : kdbg_stackopt array index error
Buffer '&stkmon_arr' of size 64 accessed at kdbg_stackopt.c:124 can overflow, since its index 'stkmon_idx' can have value 64
that is out of range, as indicated by preceding conditional expression at kdbg_stackopt.c:114.
Seongil Hahm [Wed, 13 Sep 2017 01:41:31 +0000 (18:41 -0700)]
Correct the stack size of DM testcase
The stack size of DM testcase is too big, so that needs to shrink to 2048.
pillip8282 [Wed, 13 Sep 2017 01:31:18 +0000 (10:31 +0900)]
Merge pull request #557 from davidfather/wifi_manager_scan_channelID
Modify scan API of Wi-Fi Manager and its unit testcase
davidfather [Wed, 13 Sep 2017 01:26:31 +0000 (10:26 +0900)]
Merge branch 'master' into wifi_manager_scan_channelID
Seongil Hahm [Thu, 7 Sep 2017 17:10:06 +0000 (10:10 -0700)]
Modify unit testcase of scan API to print channel and phy type of scanned APs
Unit testcase of scan API reads channel and phy type of scanned APs after scanning.
pillip8282 [Wed, 13 Sep 2017 00:59:11 +0000 (09:59 +0900)]
Merge pull request #556 from davidfather/wifi_manager_scan
Add scan API to Wi-Fi Manager and its testcase
davidfather [Wed, 13 Sep 2017 00:53:18 +0000 (09:53 +0900)]
Merge branch 'master' into wifi_manager_scan
Seongil Hahm [Thu, 7 Sep 2017 16:30:28 +0000 (09:30 -0700)]
Add unit testcase for scan API of Wi-Fi Manager
Test the basic functions of scan API
pillip8282 [Wed, 13 Sep 2017 00:22:56 +0000 (09:22 +0900)]
Merge pull request #554 from davidfather/wifi_manager
Wi-Fi Manager Modification and Addition of Unit TCs for Wi-Fi Manager
Juitem JoonWoo Kim [Tue, 12 Sep 2017 13:08:50 +0000 (22:08 +0900)]
Merge pull request #572 from sunghan-chang/defconfig
update defconfig with latest menuconfig
davidfather [Tue, 12 Sep 2017 12:53:23 +0000 (21:53 +0900)]
Merge branch 'master' into wifi_manager
sunghan [Tue, 12 Sep 2017 12:21:08 +0000 (21:21 +0900)]
sidk_s5jt200/configs: update defconfig with latest menuconfig
Many configs are changed so that all of defconfig should be updated.
pillip8282 [Tue, 12 Sep 2017 11:02:31 +0000 (20:02 +0900)]
Merge pull request #575 from sunghan-chang/aws
fix compilation errors on aws
sunghan [Tue, 12 Sep 2017 10:54:12 +0000 (19:54 +0900)]
aws: fix compilation errors
The aws is not modified by latest make system on external.
sunghan [Tue, 12 Sep 2017 10:47:06 +0000 (19:47 +0900)]
configs: add include path for external/include folder at ARCHXXINCLUDES
To buile some C++ files, external/include should be included.
sunghan [Tue, 12 Sep 2017 07:43:20 +0000 (16:43 +0900)]
artik053/configs: update defconfig with latest menuconfig
Many configs are changed so that all of defconfig should be updated.
Taejun-Kwon [Tue, 12 Sep 2017 07:39:34 +0000 (16:39 +0900)]
Merge pull request #571 from sunghan-chang/kconfig_iotivity
iotivity: modify Kconfig
sunghan [Tue, 12 Sep 2017 07:22:22 +0000 (16:22 +0900)]
iotivity: modify Kconfig
1. Move a comment location to show title when iotivity is enabled.
2. Iotivity is an one component of external so that it makes menuconfig.
3. Remove a dependancy from all of iotivity configs and make a conditional
sunghan-chang [Tue, 12 Sep 2017 03:41:13 +0000 (12:41 +0900)]
Merge pull request #568 from jeongarmy/fix_tc
Change TC_ASSERT to TC_ASSERT_EQ for readability in TCs of fs, arstorage and kernel
sunghan-chang [Tue, 12 Sep 2017 03:39:27 +0000 (12:39 +0900)]
Merge pull request #565 from lokeshbv/libc_math
Fix: Use correct type of 'fabs' API