Ahreum Jeong [Tue, 26 Sep 2017 06:17:26 +0000 (15:17 +0900)]
Revert "net:tc add dup testcases"
This reverts commit
43f0771693275fe3ea141a5c0869c6da111e21a2.
Missed a main file for this commit. This will be merged including that file later.
davidfather [Mon, 25 Sep 2017 13:37:31 +0000 (22:37 +0900)]
Merge pull request #681 from junmin-kim/artik053_tc
Change deconfig of artik053/tc to disable unnecessary apps
sunghan-chang [Mon, 25 Sep 2017 13:31:36 +0000 (22:31 +0900)]
Merge pull request #644 from thapav/spawn_codecoverage
libc/spawn: Add test case for spawn API's
davidfather [Mon, 25 Sep 2017 08:13:43 +0000 (17:13 +0900)]
Merge pull request #662 from pillip8282/net_utc
code coverage: add utc to network tc and change make.defs not to build unused network files now.
davidfather [Mon, 25 Sep 2017 08:09:54 +0000 (17:09 +0900)]
Merge pull request #680 from pillip8282/multicast_sample
apps:nettest modify multicast test in nettest
sunghan-chang [Mon, 25 Sep 2017 07:39:40 +0000 (16:39 +0900)]
Merge pull request #689 from manoharahk/sidk_s5jt200_romfs_fix
sidk_s5t200 : create rom device using ftl mtd
Vidisha Thapa [Thu, 27 Jul 2017 14:13:28 +0000 (19:43 +0530)]
libc/spawn: Add test case for spawn API's
This patch adds TC's for code coverage of the following API's:
posix_spawn_file_actions_adddup2()
It also covers left over cases in the following test API's:
tc_libc_spawn_posix_spawn_file_actions_dump()
tc_libc_spawn_posix_spawnattr_dump()
Signed-off-by: Vidisha Thapa <thapa.v@samsung.com>
Manohara HK [Sat, 23 Sep 2017 07:06:27 +0000 (12:36 +0530)]
sidk_s5t200 : create rom device using ftl mtd
Changes:
1. Create rom device using ftl mtd instead of smart mtd
2. Removed SIDK_S5JT200_AUTOMOUNT_ROMFS_DEVNAME config,
and devname is dynamically composed.
3. Modified partition and openocd script accordingly
Signed-off-by: Manohara HK <manohara.hk@samsung.com>
Taejun-Kwon [Mon, 25 Sep 2017 05:58:45 +0000 (14:58 +0900)]
Merge pull request #684 from sunghan-chang/master
cleanup Kconfig on external
sunghan-chang [Mon, 25 Sep 2017 05:14:22 +0000 (14:14 +0900)]
Merge pull request #657 from lokeshbv/iotbus
Refactor iotbus PWM
sunghan-chang [Mon, 25 Sep 2017 04:54:06 +0000 (13:54 +0900)]
Merge pull request #679 from hs0225/modify_iotjs
IoT.js: Add new definition, BUILD_OPTION, to give additional build options in Makefile
junmin kim [Fri, 22 Sep 2017 10:36:06 +0000 (03:36 -0700)]
Change deconfig of artik053/tc to disable unnecessary apps
There is unnecessary apps under our tc scenario.
So disable below apps:
EXAMPLES_DNSCLIENT_TEST
EXAMPLES_EASYSETUP
EXAMPLES_MDNS_TEST
EXAMPLES_NETTEST
EXAMPLES_SELECT_TEST
EXAMPLES_WEBCLIENT
EXAMPLES_WEBSERVER
EXAMPLES_WEBSOCKET
EXAMPLES_WIFI_TEST
EXAMPLES_WORKQUEUE
kang [Fri, 22 Sep 2017 08:23:19 +0000 (17:23 +0900)]
apps:nettest modify multicast test in nettest
1) Add an interface name in command line to get an allocated ip address from system
2) Modify an usage because old version is difficult to understand
3) Bug fix in netlib_getipv4addr: NET_LWIP should not be used in netlib
davidfather [Mon, 25 Sep 2017 02:51:06 +0000 (11:51 +0900)]
Merge pull request #673 from dr-venkman/fix_dm_itc
fixed build errors (conn linkUpEvent callback signature) and run-time (improper argument for set_tx_power) errors for DM itc
venkat.iyer [Thu, 21 Sep 2017 10:23:46 +0000 (19:23 +0900)]
Fixed build and run-time errors for DM itc.
Point-wise description
1. The build fix mainly involved changing function signature for linkUpEvent()
callback.
2. The run-time error fix was to provide the correct tx power level argument
for the itc_dm_conn_set_get_tx_power_p testcase.
3. Changed argument types for DM API get_client_state
4. Changed argument types for WiFiConnect SLSI API, to prevent possible compilation error
Hosung Kim [Fri, 22 Sep 2017 04:57:00 +0000 (13:57 +0900)]
IoT.js: Add new definition, BUILD_OPTION, to give additional build options in Makefile
sunghan [Fri, 22 Sep 2017 12:21:30 +0000 (21:21 +0900)]
external: split Kconfig for each module
Each module had better have an independent Kconfig. Putting all of configs
in one Kconfig makes bad readability and maintenance.
The Kconfig on external gets a functionality calling each Kconfig.
sunghan [Fri, 22 Sep 2017 12:13:24 +0000 (21:13 +0900)]
IoT.js: modify Kconfig to be called with Runtime Environment title
1. Split Kconfig from external's
2. Call it from os/Kconfig.runtime to get "Runtime Environment" title
at 1st depth of menuconfig
Lokesh B V [Fri, 22 Sep 2017 11:50:23 +0000 (17:20 +0530)]
Use new type percent_t for duty cycle variable in pwm
percent_t is typedef of uint8_t.
Duty cycle is measured in terms of percentage, so it's value will be
in range from 0 t0 100 and uint8_t is enough to hold percentage values.
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Lokesh B V [Fri, 22 Sep 2017 11:22:24 +0000 (16:52 +0530)]
Update comments for duty element in struct pwm_info_s
In PWM, 1 is always high and 0 is always low.
If we set a duty cycle to 100%, PWM should be 1 always.
If we set a duty cycle to 50%, PWM should be half 1 and half 0.
If we set a duty cycle to 0%, PWM should be 0 always.
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Lokesh B V [Fri, 22 Sep 2017 08:00:56 +0000 (13:30 +0530)]
Refactor IOTBUS_PWM macros used in iotbus_pwm.c
1. Remove unused macro IOTBUS_USEC_2_SEC
2. Replace hard coded value "1000000" with macro IOTBUS_PWM_MAX_PERIOD
3. Replace hard coded value "65536" with new macro IOTBUS_PWM_MAX_RESOLUTION
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Taejun-Kwon [Fri, 22 Sep 2017 08:57:53 +0000 (17:57 +0900)]
Merge pull request #671 from jarvisjang/audio_utc
Modify readi and writei as streaming
Jarvis Jang [Thu, 21 Sep 2017 09:33:37 +0000 (18:33 +0900)]
Modify readi and writei as streaming
Taejun-Kwon [Fri, 22 Sep 2017 06:29:10 +0000 (15:29 +0900)]
Merge pull request #678 from btheosam/audiowork
Fix ALC5658 Kconfig: #1. ALC5658 buffers should be enabled only when …
bsvt [Fri, 22 Sep 2017 05:38:01 +0000 (22:38 -0700)]
Fix ALC5658 Buffer dependency in Kconfig
1. ALC5658 buffers should be enabled only when driver specific buffer
options are enabled in Audio, otherwise audio buffers should be used.
2. There is no worker thread in alc5658 driver.
sunghan-chang [Fri, 22 Sep 2017 04:54:51 +0000 (13:54 +0900)]
Merge pull request #677 from junmin-kim/select_test
Fix typo in select test
junmin kim [Fri, 22 Sep 2017 04:44:15 +0000 (21:44 -0700)]
Fix typo in select test
sunghan-chang [Fri, 22 Sep 2017 04:40:50 +0000 (13:40 +0900)]
Merge pull request #410 from olegartys/992
lib/libc/Kconfig: make FLOATINGPOINT dependent on LIBM support
sunghan-chang [Fri, 22 Sep 2017 03:22:16 +0000 (12:22 +0900)]
Merge pull request #669 from pillip8282/rename_sample
apps:examples rename webserver and webclient
davidfather [Fri, 22 Sep 2017 01:22:54 +0000 (10:22 +0900)]
Merge pull request #672 from pradeepns85/fix_memleak_websocket
Fix the memory leak caused due to merge#667 in websocket_main
kang [Thu, 21 Sep 2017 07:48:24 +0000 (16:48 +0900)]
apps:examples Rename sample programs(webserver, webclient) at menuconfig
kang [Wed, 20 Sep 2017 08:55:04 +0000 (17:55 +0900)]
net:tc add dup testcases
kang [Wed, 20 Sep 2017 07:45:25 +0000 (16:45 +0900)]
os:net modify make.defs not to build unused files
pradeep.ns [Thu, 21 Sep 2017 10:04:10 +0000 (15:34 +0530)]
Fix the memory leak caused due to merge#667 in websocket_main
1) websocket_main() allocates memory for input
2) calls websocket_client() api and passes input as argument
3) websocket_client returns without freeing the input due to error cases
4) websocket_main does not handle this case due to merge commit id #667
Fixed the same as follows
1) Removed the freeing of allocated memory for input inside websocket_client and websocket_server
2) Added pthred_join to wait until the child thread finishes
3) During exit of main thread, take care of releasing the allocated memory
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
sunghan-chang [Thu, 21 Sep 2017 10:41:40 +0000 (19:41 +0900)]
Merge pull request #674 from jsdosa/utc_audio
change file permission for utc_audio_main
jaesick.shin [Thu, 21 Sep 2017 10:30:44 +0000 (19:30 +0900)]
change file permission for utc_audio_main
permissions have been set incorrectly in previous commit
pillip8282 [Thu, 21 Sep 2017 08:52:29 +0000 (17:52 +0900)]
Merge pull request #667 from dr-venkman/fix_errors_tls_websocket
Fix build error in tls_client_main.c
sunghan-chang [Thu, 21 Sep 2017 08:42:23 +0000 (17:42 +0900)]
Merge pull request #666 from JeonginKim/master
Added doxygen script for smartThings Things SDK
Taejun-Kwon [Thu, 21 Sep 2017 08:32:05 +0000 (17:32 +0900)]
Merge pull request #670 from jsdosa/audio_utc
set null for audio_utc
jaesick.shin [Thu, 21 Sep 2017 08:00:56 +0000 (17:00 +0900)]
set null for utc_audio
After pcm_close, set the g_pcm variable to null
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
davidfather [Thu, 21 Sep 2017 07:28:39 +0000 (16:28 +0900)]
Merge pull request #652 from pillip8282/network_doc
fix netdb bug
venkat.iyer [Thu, 21 Sep 2017 07:05:50 +0000 (16:05 +0900)]
apps:websocket- Fixed the double free of input arguments for websocket_main function.
venkat.iyer [Thu, 21 Sep 2017 06:59:50 +0000 (15:59 +0900)]
Fix build error in tls_client_main.c
kang [Wed, 20 Sep 2017 06:57:57 +0000 (15:57 +0900)]
fix netdb bug
1) If netdb calls exit() then tash will be destroyed. so I call 'return' instead of calling exit().
2) Usage message is wrong, showing address options even though HAVE_GETHOSTBYADDR flag is off.
JeonginKim [Thu, 21 Sep 2017 06:38:13 +0000 (15:38 +0900)]
Added doxygen script for smartThings Things SDK
sunghan-chang [Thu, 21 Sep 2017 06:23:04 +0000 (15:23 +0900)]
Merge pull request #665 from junmin-kim/tiva_setjmp
Revert "Remove setjmp.S in tiva/Make.defs"
sunghan-chang [Thu, 21 Sep 2017 06:14:56 +0000 (15:14 +0900)]
Merge pull request #650 from heejin-kim/hj_18
Remove unused files in external/iotivity
junmin kim [Thu, 21 Sep 2017 05:38:14 +0000 (22:38 -0700)]
Revert "Remove setjmp.S in tiva/Make.defs"
This reverts commit
16d1bd0fbe1f16c8745eafc48c21cd6c9152863f.
tiva build works well by merging commit
6959f4f4f4b2d71d09ecee9f3c1c1846d29bd05a
davidfather [Thu, 21 Sep 2017 06:10:43 +0000 (15:10 +0900)]
Merge pull request #663 from JeonginKim/master
Added doxygen script for wifi manager
pillip8282 [Thu, 21 Sep 2017 06:10:24 +0000 (15:10 +0900)]
Merge pull request #659 from davidfather/wifi_manager_refactoring
Adjust the critical sections of wifi_manager
sunghan-chang [Thu, 21 Sep 2017 06:04:49 +0000 (15:04 +0900)]
Merge pull request #664 from jeongchanKim/move_iperf
Move iperf from apps/examples to apps/system
jc_.kim [Thu, 21 Sep 2017 04:58:01 +0000 (13:58 +0900)]
Move iperf from apps/examples to apps/system
Seongil Hahm [Wed, 20 Sep 2017 07:38:29 +0000 (00:38 -0700)]
Adjust the critical sections of wifi_manager
1. relocate w_mutex to protect g_manager_info and to prevent wifi_utils apis from being called simultaneously
2. add mac_addr in wifi_manager_get_info() api
JeonginKim [Thu, 21 Sep 2017 01:08:17 +0000 (10:08 +0900)]
Added doxygen script for wifi manager
Taejun-Kwon [Wed, 20 Sep 2017 10:28:50 +0000 (19:28 +0900)]
Merge pull request #661 from sunghan-chang/remove_lcd
drivers: remove lcd stubs
sunghan [Wed, 20 Sep 2017 10:08:40 +0000 (19:08 +0900)]
drivers: remove lcd stubs
The lcd is imcomplete and unnecessary. Let's remove it.
sunghan-chang [Wed, 20 Sep 2017 10:06:21 +0000 (19:06 +0900)]
Merge pull request #648 from Taejun-Kwon/fs_journaling
Apply verification code for transaction logging.
Taejun-Kwon [Wed, 20 Sep 2017 10:03:11 +0000 (19:03 +0900)]
Merge pull request #660 from sunghan-chang/samsungartik
Sync up kernel side with SamsungARTIK
Junhwan Park [Thu, 14 Sep 2017 00:07:06 +0000 (09:07 +0900)]
artik053: modify memorymap figure
I changed the address value to the wrong one. I added a little
explanation.
Change-Id: Ia54ed094944156b7945654d3f8e5dcc91f4f6a89
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
build/configs/artik053/scripts/README.md
Heesub Shin [Wed, 13 Sep 2017 07:21:57 +0000 (16:21 +0900)]
s5j/serial: refactor up_rxavailable()
When determining the availability of Rx FIFO, combining UFSTAT[8] and
UFSTAT[7:0] looks more tidy and clean.
Change-Id: I1b35dd2afae710375c0bf616f7eeae615fdb8cd6
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Wed, 13 Sep 2017 07:02:17 +0000 (16:02 +0900)]
s5j/serial: fix RX availability check
UFSTAT[7:0] holds the number of data in Rx FIFO, but zero when Rx FIFO
is full. Thus, we need additional check on UFSTAT[8] bit to ensure that
the FIFO is empty, if the count is zero. Otherwise, up_rxavailable() may
return 'false' even when Rx FIFO is full, though it is less likely to
happen.
Change-Id: Iffd65bf356dd840e864553daf8aa9a7f04a0368e
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Wed, 13 Sep 2017 07:16:45 +0000 (16:16 +0900)]
s5j/serial: rename UFSTAT bitfield
For better consistency,
s/UART_UFSTAT_RX_FIFO_MASK/UART_UFSTAT_RX_FIFO_FULL_MASK/
Change-Id: Idb50bd4eb490f85d8e291f073ba9fad00fa850ce
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 12 Sep 2017 05:07:36 +0000 (14:07 +0900)]
s5j/serial: fix initialization order
GPIO pinmux configuration should be done before starting to supply PCLK
and EXTCLK to UART when opening it. Otherwise, a noise signal may be
introduced into the receiving FIFO, causing an odd RX interrupt. For the
same reason, this also applies when closing it.
This commit fixes the issue that select() and poll() fails on serial
devices.
Change-Id: I05309a1637574936f53a529d018dd28600b14295
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Bongryul Lee [Fri, 8 Sep 2017 13:49:19 +0000 (22:49 +0900)]
s5j/pwm: add pwm register value initialization
The register value used in bl2 still remain. So it must be initialized.
Change-Id: I6bbc5484116b941810ba0399f7a90852fc2eee86
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
Bongryul Lee [Fri, 8 Sep 2017 13:43:15 +0000 (22:43 +0900)]
s5j/pwm: fix 32bit integer overflow when arithmetic operation
Change-Id: I216557d33653bfbda9b46333847e9872b979992e
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
sunghan-chang [Wed, 20 Sep 2017 08:34:27 +0000 (17:34 +0900)]
Merge pull request #658 from Taejun-Kwon/fs_common
Add missing fclose state
TaeJun Kwon [Wed, 20 Sep 2017 08:13:33 +0000 (17:13 +0900)]
Add missing fclose state
David Sidrane [Wed, 30 Aug 2017 02:41:39 +0000 (11:41 +0900)]
Pass toplevel make to the script to allow -j greater than 1
Change-Id: I39c5b6aae94eb662119064f1fa59841be74055d5
Signed-off-by: David Sidrane <david_s5@nscdg.com>
[Shin: cherry-picked from the upstream]
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Taejun-Kwon [Wed, 20 Sep 2017 08:23:15 +0000 (17:23 +0900)]
Merge pull request #649 from JeonginKim/master
Added doxygen script for audio framework
Taejun-Kwon [Wed, 20 Sep 2017 08:22:29 +0000 (17:22 +0900)]
Merge pull request #651 from shivgarg/tinyalsa
Removing limits.h and interval.h files from tinyalsa
Taejun-Kwon [Wed, 20 Sep 2017 08:22:09 +0000 (17:22 +0900)]
Merge pull request #656 from lokeshbv/build_fixes
Fix: Remove duplicate entry in 'os/arch/arm/src/s5j/Make.defs'
sunghan-chang [Wed, 20 Sep 2017 08:21:33 +0000 (17:21 +0900)]
Merge pull request #646 from tadziopazur/setjmp_fix
setjmp/longjmp thumb build fix
sunghan-chang [Wed, 20 Sep 2017 08:17:25 +0000 (17:17 +0900)]
Merge pull request #655 from Taejun-Kwon/audio_defconfig
Minimize Audio's defconfig
Junhwan Park [Wed, 30 Aug 2017 02:06:51 +0000 (11:06 +0900)]
examples/sensorbd_demo: fix uart examples about buffer init
In the uart example, the initialization of the rx buffer was missing.
Change-Id: Iafdacd16e3f9f4644bb92bc969e6f1d96cdf0d6f
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Heesub Shin [Wed, 30 Aug 2017 01:19:28 +0000 (10:19 +0900)]
s5j/serial: fix invalid clock configuration on UART4
UARTDBG has incorrect PCLK and EXTCLK configurations. This may cause
system hang when we access UARTDBG if it is not set as a default
console.
Change-Id: Ibbc427e170a7174504e755cdc9732ca83ce9ed1c
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Lokesh B V [Wed, 20 Sep 2017 07:49:41 +0000 (13:19 +0530)]
Fix: Remove duplicate entry in 'os/arch/arm/src/s5j/Make.defs'
Fix "Makefile:174: target `s5j_clock.o' given more than once in the same rule"
Removed the duplicate entry 'CHIP_CSRCS += s5j_clock.c' in 'os/arch/arm/src/s5j/Make.defs'
Signed-off-by: Lokesh B V <lokesh.bv@partner.samsung.com>
Junhwan Park [Mon, 28 Aug 2017 03:55:49 +0000 (12:55 +0900)]
s5j/i2c: fix svace warning
I changed some warnings found in the svace test.
- remove unnecessary casting
Change-Id: I9173e7f75338748064c80835ccc08967ecfa9cb5
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Heesub Shin [Mon, 28 Aug 2017 00:44:39 +0000 (09:44 +0900)]
s5j/serial: add constraints on UART flowcontrol
RTS/CTS pins of UART2/3 are shared with other peripherals. To ensure
that those pins are mutually exclusive, add dependencies on Kconfig
entries.
Change-Id: I0ce100a082b0ce2a58d9a2b7259d2f73bbace155
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junhwan Park [Thu, 10 Aug 2017 06:39:08 +0000 (15:39 +0900)]
artik053: add new line parameter in lldbg
Missing new line parameters were in some lldbg. This can degrade the
readability of the error log when abnormal.
Change-Id: I1794caf247102cf9bcd720260d680e34e6270950
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
os/arch/arm/src/artik053/src/artik053_tash.c
Wonsang Ryou [Mon, 21 Aug 2017 15:51:40 +0000 (00:51 +0900)]
s5j/serial: fix UART problem caused by executing ioctl()'s TCSETS
This patch fixes UART commucation problem that occurs after executing
ioctl()'s TCSETS case. Because the TCSETS executes up_setup() which
disables all interrupts, UART commucation will be blocked after doing
ioctl()'s TCSETS case. In ioctl()'s TCSETS case, this patch replaces
up_setup() with up_configure(). The up_configure() function configures
baud, bits, parity and etc. without disabling all interrupts.
Change-Id: I43c624c13e37d883553ca0b0f498fb9a1663150d
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
Wonsang Ryou [Mon, 21 Aug 2017 15:36:10 +0000 (00:36 +0900)]
s5j/serial: refactor up_setup()
This patch separates up_configure() function, which configures baud
rate, bits and parity, from up_setup(). The up_configure() function
can be called when baud, bits or parity is initialized or changed.
Change-Id: I6f12d57f969fe0fbbde0e13583bde4f0032bccd6
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
Joohwan Kim [Mon, 21 Aug 2017 10:50:53 +0000 (19:50 +0900)]
examples/tls_server: fix svace warning
This commit fixes svace warning about UNREACHABLE_CODE.
Change-Id: I5937a681e34fa29195026f64a4260a1c4fb2de01
Signed-off-by: Joohwan Kim <joohwani.kim@samsung.com>
Junhwan Park [Fri, 18 Aug 2017 07:15:55 +0000 (16:15 +0900)]
s5j/watchdog: fix svace warning
I changed some warnings found in the svace test.
- I added a NULL check on the structure to prevent errors.
Change-Id: I50438ea5df62c7f5d77ecfcb8a00fcddd6200990
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
os/arch/arm/src/s5j/s5j_watchdog_lowerhalf.c
Junhwan Park [Fri, 18 Aug 2017 07:09:39 +0000 (16:09 +0900)]
apps/examples: fix svace warning
I changed some warnings found in the svace test.
- I added a return check to some functions.
- Changed unnecessary variable settings.
Change-Id: Iaf4c2785dafe085e9a887ed0e8dc969bd398e244
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
apps/examples/security_api/security_api_tc_main.c
TaeJun Kwon [Wed, 20 Sep 2017 07:25:27 +0000 (16:25 +0900)]
Minimize Audio's defconfig
Joohwan Kim [Wed, 2 Aug 2017 06:13:06 +0000 (15:13 +0900)]
examples/tls: fix README.txt files for tls client/server
This commit fixes app command in README test.
Change-Id: Ib9326fab2613811b987af341b3af822b53c84ddb
Signed-off-by: Joohwan Kim <joohwani.kim@samsung.com>
Junhwan Park [Thu, 3 Aug 2017 07:42:17 +0000 (16:42 +0900)]
examples/smart_test: fix memory leak
Some fd values were not properly close after open. This can cause memory
leaks.
Change-Id: Ia4a62910370751ad3da3954baa7ad5383c193e2b
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Thu, 27 Jul 2017 05:48:23 +0000 (14:48 +0900)]
examples/mtdpart: fix depend on RAMMTD
'CONFIG_RAMMTD' is required to run the mtdpart example.
Change-Id: If3218b3ee9a27f5d80e1ec21c22faf419e2c2005
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Tue, 25 Jul 2017 04:24:29 +0000 (13:24 +0900)]
artik053: fix trivial typo
'EXTENTION' may be misspelled. perhaps 'EXTENSION'
Change-Id: I74e660e2f802005d60dc536343f86b66d168c833
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
build/configs/artik053/securitytest/defconfig
Shivam Garg [Wed, 20 Sep 2017 06:50:39 +0000 (15:50 +0900)]
Removing limits.h and interval.h files from tinyalsa
TaeJun Kwon [Wed, 20 Sep 2017 04:02:19 +0000 (13:02 +0900)]
Apply verification code for transaction logging.
Sometimes eletronic power grow up after power off, in this case
FS treats writing logging finished properly.
sunghan [Wed, 20 Sep 2017 06:06:34 +0000 (15:06 +0900)]
cJSON: remove warning about prototype
Some functions of cJSON did not have a prototype. This can sometimes
cause a warning when building.
Change-Id: If47338e11f13a77f2a5d2283160245fa4868cfec
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Mon, 17 Jul 2017 04:23:17 +0000 (13:23 +0900)]
tools/mkkconfig: sort apps in menuconfig
When searching for Kconfig in apps with the find command, it was not
output in numerical order. It is a patch that sort only the output
results.
Change-Id: I3b0822735a633de329dcb7ff16c95c33115dedd9
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Heesub Shin [Thu, 13 Jul 2017 07:36:40 +0000 (16:36 +0900)]
s5j/pm: add dynamic clock scaling support per PM state
To reduce power consumption, use OSCCLK of 26MHz as source clock of
DIV_WPLL_DIV3, instead of WPLL_CLK960M of 960MHz. It may reduce the
amount of power consumption up to about 25mA while the system falls into
PMSTOP or PMSTANDBY state.
Change-Id: If9a70c35ed1576cd61e60de6f9942332f022d337
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 13 Jul 2017 07:28:13 +0000 (16:28 +0900)]
s5j/serial: add runtime PM support
This commit adds runtime support calls to notify PM state machine when
UART activity is detected.
Change-Id: Ie549fbca6020b0b664dfb7a60a83e0fbbc6e5083
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Conflicts:
os/arch/arm/src/s5j/s5j_serial.c
Heejin Kim [Wed, 20 Sep 2017 06:02:21 +0000 (15:02 +0900)]
Remove unused files in external/iotivity
Files for Android and other platforms are removed.
Heesub Shin [Thu, 13 Jul 2017 07:15:55 +0000 (16:15 +0900)]
s5j/serial: enable clockgating on UARTs
To reduce dynamic power consumption, UART clocks are set to be disabled
while we are not using it. Except the UARTDBG, all other UARTs will be
unavailable until it is opened through /dev node.
Change-Id: Ibc4c8b750697d1f8ad1ee42764cd7485666d6d04
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 13 Jul 2017 07:04:11 +0000 (16:04 +0900)]
s5j/serial: retrieve UCLK freq from clock driver
In S5J, source clock of UART can be one of following: OSCCLK and
WPLL_DIV12. Now that the clock driver is available, we may retrieve
clock frequency of the source clock, instead of using hard-coded clock
value.
Change-Id: Idc372a8c30cd214da545d40baf1eed9f723102d2
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 13 Jul 2017 07:49:07 +0000 (16:49 +0900)]
s5j/mct: retrieve TCLK freq from clock driver
Instead of using hard-coded clock frequency, retrieve it from the clock
driver.
Change-Id: Iac7ccbfb364016889ec62323698a12e26cb90d3b
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 13 Jul 2017 07:46:14 +0000 (16:46 +0900)]
s5j/pwm: retrieve SCLK freq from clock driver
Instead of using hard-coded clock value, retrieve it from the clock
driver.
Change-Id: I87de159783280ee0ea9fb03ba01d902bf352fd91
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>