sangwon03 [Wed, 20 Sep 2017 00:50:55 +0000 (09:50 +0900)]
Merge pull request #645 from JeongJunSik/prinf_remove
Remove unnecessary log output
JunSik Jeong [Tue, 19 Sep 2017 11:47:52 +0000 (20:47 +0900)]
unneed debuging message
Taejun-Kwon [Tue, 19 Sep 2017 08:37:37 +0000 (17:37 +0900)]
Merge pull request #642 from jarvisjang/resolve_crash
Resolve crash issue on audio_utc
Jarvis Jang [Tue, 19 Sep 2017 08:28:30 +0000 (17:28 +0900)]
Resolve crash issue on audio_utc
Taejun-Kwon [Tue, 19 Sep 2017 08:21:48 +0000 (17:21 +0900)]
Merge pull request #641 from sunghan-chang/artik053_userfs
artik053: add flashing script to erase user fs
sunghan [Tue, 19 Sep 2017 08:16:42 +0000 (17:16 +0900)]
artik053: add flashing script to erase user fs
Sometimes, we should erase user fs at first flashing on new board.
So, ERASE_USERFS option is added.
sunghan-chang [Tue, 19 Sep 2017 07:14:15 +0000 (16:14 +0900)]
Merge pull request #590 from HONGCHAEHEE/download-file
Update download file and README for ROMFS (related commit : fa2cd4c )
chaehee.hong [Thu, 14 Sep 2017 07:49:14 +0000 (16:49 +0900)]
Update artik053 download file and README for ROMFS (related commit: fa2cd4c)
Taejun-Kwon [Tue, 19 Sep 2017 06:43:52 +0000 (15:43 +0900)]
Merge pull request #637 from sunghan-chang/appupdate
apps/tools: fix update_config.sh for issue on update entry point
sunghan [Tue, 19 Sep 2017 06:30:29 +0000 (15:30 +0900)]
apps/tools: fix update_config.sh for issue on update entry point
When user entry point is changed through make applist/appupdate,
CONFIG_ENTRY_XX is not updated, only CONFIG_USER_ENTRYPOINT is.
So, it looks not changed on menuconfig.
Let's change it to manaul when entry is changed.
sunghan-chang [Tue, 19 Sep 2017 05:25:16 +0000 (14:25 +0900)]
Merge pull request #636 from hs0225/modify_iotjs
Fix iot.js build config
Hosung Kim [Tue, 19 Sep 2017 05:10:12 +0000 (14:10 +0900)]
Fix iot.js build config
to remove build warnning, fix build config
davidfather [Tue, 19 Sep 2017 03:51:33 +0000 (12:51 +0900)]
Merge pull request #595 from pillip8282/websocket_fix
examples:websocket fix strncpy bug
sangwon03 [Tue, 19 Sep 2017 03:18:01 +0000 (12:18 +0900)]
Merge pull request #634 from junmin-kim/framework_iotbus
Add missed logic of iotbus
Taejun-Kwon [Tue, 19 Sep 2017 03:14:44 +0000 (12:14 +0900)]
Merge pull request #635 from junmin-kim/audio_debug
Remove duplicated debug macro
junmin kim [Tue, 19 Sep 2017 02:59:37 +0000 (19:59 -0700)]
Remove duplicated debug macro
junmin kim [Tue, 19 Sep 2017 02:40:47 +0000 (19:40 -0700)]
Add missed logic of iotbus
pwm_get_duty_cyle : return pecentage value
gpio_set_direction : ioctl when IOTBUS_GPIO_DIRECTION_NONE
pillip8282 [Tue, 19 Sep 2017 02:33:55 +0000 (11:33 +0900)]
Merge pull request #622 from dr-venkman/fix_dm_utc
Fix unit testcases for DM
pillip8282 [Tue, 19 Sep 2017 02:25:23 +0000 (11:25 +0900)]
Merge pull request #633 from davidfather/wifi_manager
Fix missing null termination in wifi_manager & wifi_test
sangwon03 [Mon, 18 Sep 2017 23:12:40 +0000 (08:12 +0900)]
Merge pull request #632 from daeyeon/fix.net-connect
fix iotjs net connection test
Seongil Hahm [Mon, 18 Sep 2017 16:10:33 +0000 (09:10 -0700)]
Fix missing null termination in wifi_manager
1. Use strlen(str) + 1 instead of strlen(str) when calculating the length of ssid or passphrase
2. Add checkpoint logic to judge that ssid length is greater than 31 and passphrase length is greather than 63.
Seongil Hahm [Sat, 16 Sep 2017 05:42:20 +0000 (22:42 -0700)]
Fix missing null termination at strncat() in wifi_test.c
1. Use snprintf instead of sprintf with maximum length - 1
2. Tackle the overflow when string concatenating
Daeyeon Jeong [Mon, 18 Sep 2017 14:36:35 +0000 (23:36 +0900)]
fix iotjs net connection test
This gets the net_connection test fixed through moving the time when closing server. The test purpose is to test 'net.connect'.
sunghan-chang [Mon, 18 Sep 2017 14:26:45 +0000 (23:26 +0900)]
Merge pull request #631 from jeongarmy/stream_doxygen
Add doxygen for stream API in include/tinyara/streams.h
Taejun-Kwon [Mon, 18 Sep 2017 14:21:09 +0000 (23:21 +0900)]
Merge pull request #603 from shivgarg/internal_syncup
Audio framework
Ahreum Jeong [Mon, 18 Sep 2017 13:53:48 +0000 (22:53 +0900)]
Add doxygen for stream API in include/tinyara/streams.h
Additionally, there are testcases for these functions in fs tc except internal functions
Shivam Garg [Mon, 18 Sep 2017 13:24:40 +0000 (22:24 +0900)]
Changed #ifdef CONFIG_AUDIO to CONFIG_AUDIO_ALC5658 in ALC5658 driver files
Shivam Garg [Mon, 18 Sep 2017 04:57:44 +0000 (13:57 +0900)]
Fixed Make.defs in s5j and added necessary config flags to remove build error due to watchdog
Shivam Garg [Mon, 18 Sep 2017 04:18:32 +0000 (13:18 +0900)]
adding nuttx license to alc5658 driver files
Shivam Garg [Mon, 18 Sep 2017 02:19:54 +0000 (11:19 +0900)]
Reduced audio_utc stack size
Shivam Garg [Sat, 16 Sep 2017 18:13:20 +0000 (03:13 +0900)]
Applying coding rule script to all files to remove coding rule violations, changing file permissions for some files from 755->644
Shivam Garg [Sat, 16 Sep 2017 16:50:44 +0000 (01:50 +0900)]
Clean header file's definition flow
Shivam Garg [Sat, 16 Sep 2017 16:42:41 +0000 (01:42 +0900)]
Clean-duplicated-code-in-alc5658_configure
TaeJun Kwon [Sat, 16 Sep 2017 10:20:36 +0000 (19:20 +0900)]
Modify Text error in license
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
sunghan-chang [Mon, 18 Sep 2017 13:38:42 +0000 (22:38 +0900)]
Merge pull request #616 from junmin-kim/common_codingrule
Fix coding rule error
sunghan-chang [Mon, 18 Sep 2017 13:36:49 +0000 (22:36 +0900)]
Merge pull request #624 from jeongarmy/fix_freopen
Fix wrong condition for checking invalid mode in freopen function.
sunghan-chang [Mon, 18 Sep 2017 13:33:12 +0000 (22:33 +0900)]
Merge pull request #628 from pillip8282/mqtt_utc_fix
example:mqtt fix mqtt utc error
sunghan-chang [Mon, 18 Sep 2017 13:32:36 +0000 (22:32 +0900)]
Merge pull request #625 from hs0225/iotjs
Add artik053/iotjs config
sunghan-chang [Mon, 18 Sep 2017 13:32:07 +0000 (22:32 +0900)]
Merge pull request #629 from hs0225/modify_iotjs
Modify IoT.js for kindly test
Hosung Kim [Mon, 18 Sep 2017 13:09:54 +0000 (22:09 +0900)]
Modify IoT.js for kindly test
-result print in debug mode
-include all module
pillip8282 [Mon, 18 Sep 2017 13:25:15 +0000 (22:25 +0900)]
Merge pull request #612 from davidfather/Svace_fix_dnsclient_app
Fix Svace issue in dnsclient_main.c
kang [Mon, 18 Sep 2017 13:07:53 +0000 (22:07 +0900)]
example:mqtt fix mqtt utc error
Hosung Kim [Mon, 18 Sep 2017 11:49:49 +0000 (20:49 +0900)]
Add artik053/iotjs config
sunghan-chang [Mon, 18 Sep 2017 12:48:17 +0000 (21:48 +0900)]
Merge pull request #623 from jeongarmy/fix_fstc
Remove unnessasary testcase in libc_stdio_freopen_tc
sunghan-chang [Mon, 18 Sep 2017 12:37:15 +0000 (21:37 +0900)]
Merge pull request #626 from junmin-kim/tiva_setjmp
Remove setjmp.S in tiva/Make.defs
junmin kim [Mon, 18 Sep 2017 12:34:42 +0000 (05:34 -0700)]
Remove setjmp.S in tiva/Make.defs
It makes build error.
Assembler messages: common/setjmp.S:155: Error: r13 not allowed here
junmin kim [Mon, 18 Sep 2017 04:23:01 +0000 (21:23 -0700)]
Fix coding rule error
- please, no spaces at the start of a line
- code indent should use tabs where possible
- space prohibited before that close parenthesis ')'
- space required after that ';'
davidfather [Mon, 18 Sep 2017 11:33:01 +0000 (20:33 +0900)]
Merge pull request #619 from jeongarmy/fix_config
Change defconfig files in artik053 to disable logm by default
sunghan-chang [Mon, 18 Sep 2017 11:00:43 +0000 (20:00 +0900)]
Merge pull request #620 from junmin-kim/kernel_tc
libc/sched: Add test case about task cancellation
venkat.iyer [Mon, 18 Sep 2017 10:38:17 +0000 (19:38 +0900)]
Fix unit testcases for DM -- 1. Connect WiFi at startup, 2. Provide valid tx power for set TX power API
Ahreum Jeong [Mon, 18 Sep 2017 07:14:57 +0000 (16:14 +0900)]
Remove unnessasary testcase in libc_stdio_freopen_tc
We don't need many testcases for various mode flags here.
Internally, lib_mode2flags function checks whether it is valid or not.
It is already covered in libc_stdio_fopen_tc.
sunghan-chang [Mon, 18 Sep 2017 10:52:13 +0000 (19:52 +0900)]
Merge pull request #582 from lokeshbv/tc_libc_math
TC: Expand test cases of Libc Math
pillip8282 [Mon, 18 Sep 2017 10:50:56 +0000 (19:50 +0900)]
Merge branch 'master' into websocket_fix
davidfather [Mon, 18 Sep 2017 10:50:43 +0000 (19:50 +0900)]
Merge pull request #601 from pillip8282/modify_menuconfig
os:Kconfig Add new menuconfigs(Runtime, Device Manage)
Ahreum Jeong [Mon, 18 Sep 2017 10:45:51 +0000 (19:45 +0900)]
Fix wrong condition for checking invalid mode in freopen function.
freopen should return NULL when oflags is less than 0, not equal to 0.
Because negative value is returned on failure of lib_mode2offlags which converts the mode string into file open mode flag.
sunghan-chang [Mon, 18 Sep 2017 10:35:59 +0000 (19:35 +0900)]
Merge pull request #617 from JeonginKim/master
closesocket() Changed to Internal API
sunghan-chang [Mon, 18 Sep 2017 10:14:11 +0000 (19:14 +0900)]
Merge pull request #618 from pillip8282/lwip_debug_fix
fix setting lwip debug option
junmin kim [Mon, 18 Sep 2017 08:43:59 +0000 (01:43 -0700)]
libc/sched: Add test case about task cancellation
This patch adds TC for scheduler API task_setcanceltype(), task_setcancelstate(), task_testcancel()
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
Signed-off-by: junmin kim <junmindd.kim@samsung.com>