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
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>
Heesub Shin [Thu, 13 Jul 2017 06:54:48 +0000 (15:54 +0900)]
s5j/clk: rework CMU driver
Change-Id: I7725455a27572e72331b686933ad61a3af0de94f
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Conflicts:
os/arch/arm/src/s5j/Kconfig
os/arch/arm/src/s5j/chip/s5jt200_cmu.h
os/arch/arm/src/s5j/s5j_clock.c
os/arch/arm/src/s5j/s5j_clock.h
os/arch/arm/src/s5j/s5j_spi.c
Heesub Shin [Thu, 13 Jul 2017 06:13:50 +0000 (15:13 +0900)]
s5j/pm: add missing callbacks for PM framework
BSP should provide an implementation of up_idle() in order to use the PM
framework that NuttX supports, but it is missing in S5J. This commit
adds up_idle() and other additional callback implementation. However,
this commit does not any functional differences at all, because PM
callbacks are blank and doing nothing for now.
Change-Id: Iced2074dd71afd545b6cf1ed74164e3cc525a019
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 13 Jul 2017 06:28:01 +0000 (15:28 +0900)]
s5j/pwm: verify the result of pinmux control
Change-Id: I8ce31f4f16322077ab71360115a4f183ac7e1c7a
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 13 Jul 2017 04:51:46 +0000 (13:51 +0900)]
s5j/pm: drop broken PM stuff
PM stuff has been left abandoned since it was introduced just for
proof-of-concept. It is time to clean up. This commit gets rid of those
broken code lines and also invalid comments that were copy-and-pasted
from other NuttX BSP.
This commit does not cause any functional differences because codes that
are being touched were not actually called from anywhere.
Change-Id: Id5b23b2149c7e048b08485ccdd148130ca6579b4
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Conflicts:
os/arch/arm/src/s5j/Kconfig
os/arch/arm/src/s5j/Make.defs
Heesub Shin [Thu, 13 Jul 2017 04:36:21 +0000 (13:36 +0900)]
s5j/pm: fix invalid build rule on PM
s5j_pm*.c should be included when CONFIG_PM=y, not
CONFIG_ARCH_CUSTOM_PMINIT.
Change-Id: I14ff07bf542c8e8e3a1c73b26328558a51f50ac2
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Fri, 14 Jul 2017 06:52:49 +0000 (15:52 +0900)]
tools/mkkconfig: mkkconfig not to complaining
mkkconfig.sh is a script for generating Kconfig recursively. Sometimes
it spits a trivial warning that is very annoying to see as following:
mkkconfig in /home/heesub/Documents/artik053/tinyara/apps/netutils
mkkconfig in /home/heesub/Documents/artik053/tinyara/apps/netutils
ls: cannot access '/home/heesub/Documents/artik053/tinyara/apps/netutils/*/Kconfig_ENTRY': No such file or directory
This commit should stop mkkconfig.sh from complaining and will hopefully
save someone from having to debug it.
Change-Id: Iaef3cb00cc011d09d1d4abeda430dc16a56ddf83
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Fri, 14 Jul 2017 01:41:57 +0000 (10:41 +0900)]
build: fix incorrect definition on build order
The target 'memstat' becomes available to be built after $(BIN) is
ready. In other words, 'memstat' depends on $(BIN). However, build rule
does not reflect this fact, and thus fails when it runs with -j option
greater than 1 as following:
LN: include/apps to ../apps/include
make[1]: Entering directory '/home/heesub/Documents/artik053/tinyara/apps'
Traceback (most recent call last):
File "./tools/memstats_gnueabil.py", line 42, in <module>
infile = open(options.infilename,'r')
IOError: [Errno 2] No such file or directory: '../build/output/bin/tinyara.map'
Makefile.unix:618: recipe for target 'memstat' failed
make: *** [memstat] Error 1
make: *** Waiting for unfinished jobs....
This commit fixes this.
Change-Id: Ic1c7251caaa378411548bf66d3bdc73ad822fce6
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Conflicts:
os/Makefile.unix
JeonginKim [Wed, 20 Sep 2017 05:29:06 +0000 (14:29 +0900)]
Added doxygen script for audio framework
Heesub Shin [Wed, 12 Jul 2017 08:32:30 +0000 (17:32 +0900)]
artik053/openocd: reset the target on prepare_target()
prepare_target() fails sometimes when the target is in abnormal state
like data abort, and we need to push the reset button. In such cases,
it is not enough to give 'halt' command. 'reset halt' seems to be
appropriate.
Change-Id: I15e197a8e7232924cfeac8d064fb4f46a84d09cf
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junhwan Park [Mon, 10 Jul 2017 01:57:23 +0000 (10:57 +0900)]
examples/smart_test: fix append test
I append some data to the end of the file. There was an error in the
starting position setting for searching data.
Change-Id: I9346b8ca4f2c0f34bd8253caea667cb3dae622fe
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Thu, 22 Jun 2017 11:13:40 +0000 (20:13 +0900)]
examples/sensorbd_demo: fix thread safety on SPI examples
In the case of spi, the user directly calls the os level define at the
app level. So when using spi, the user must first check the device data
value.
Change-Id: Ic73bc6f9a76ace75d55952c6b94aa36306b25c5f
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Thu, 22 Jun 2017 11:05:54 +0000 (20:05 +0900)]
i2c: fix thread safety
In the i2c_read / i2c_write function at the os level, a problem may
occur when the device data value is not declared. This patch is modified
to check the device data value first to ensure thread safety.
Change-Id: I7a47791939412ef8b2828526de7130276bd3a03c
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Taejun-Kwon [Wed, 20 Sep 2017 04:53:29 +0000 (13:53 +0900)]
Merge pull request #643 from sunghan-chang/artik053_userfs
artik053: cleanup download script
davidfather [Wed, 20 Sep 2017 01:20:25 +0000 (10:20 +0900)]
Merge pull request #647 from sangwon03/gpio_sync
fix the issue that didn't receive event from gpio pin.
sangwon03 [Wed, 20 Sep 2017 00:50:55 +0000 (09:50 +0900)]
Merge pull request #645 from JeongJunSik/prinf_remove
Remove unnecessary log output
sangwon03.an@samsung.com [Tue, 19 Sep 2017 23:58:24 +0000 (16:58 -0700)]
fix the issue that didn't receive event from gpio pin.
gpio.c is synchronized with ARTIK053 repo.
Tomasz Wozniak [Tue, 19 Sep 2017 13:21:48 +0000 (15:21 +0200)]
Fix setjmp/longjmp implementation for thumb mode (i.e.: tiva, which is Cortex M3, based on armv7-m architecture).
Compiles for armv7-a/r in both arm and thumb modes and for armv7-m.
JunSik Jeong [Tue, 19 Sep 2017 11:47:52 +0000 (20:47 +0900)]
unneed debuging message
Heesub Shin [Thu, 22 Jun 2017 07:23:16 +0000 (16:23 +0900)]
s5j: fix invalid calculations on sector offsets
The size of sector is stored in '.blocksize' field of data structure for
mtd device instance and we should use it when calculating sector
offsets. On the other hand, '.erasesize' holds the size of erase unit
that underlying flash device supports and might be quite different with
sector size. This commit fixes code lines that are confusing them.
Fortunately, those buggy lines have not yet caused any harm, because
both numbers are the same, but this will break the system soon when
start to use different units on them. So let's fix them all.
Change-Id: I2a115fb7dd648257941577f85b9461be81abebde
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Fri, 16 Jun 2017 05:33:38 +0000 (14:33 +0900)]
artik053/Kconfig: remove unnecessary if statement
'artik053/Kconfig' is included only when ARCH_BOARD_ARTIK053 is set.
Thus, checking it seems redundant.
Change-Id: I90b5b8a57d041abf2b25d4e2deadbe245548febb
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junhwan Park [Wed, 14 Jun 2017 06:06:30 +0000 (15:06 +0900)]
examples/wave_gen: fix config name
I modified it to use the config that I set in Kconfig correctly.
Change-Id: Ia975ad7d133ae3fc8b957e2d121fc1090c92af99
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
apps/examples/wave_gen/Makefile
Junhwan Park [Wed, 14 Jun 2017 06:01:11 +0000 (15:01 +0900)]
apps: fix trivial typo
Fix trivial typo
Change-Id: Id89bc4b81f8a22e1406dfce3700dcbeeea70b22e
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Conflicts:
apps/include/nxplayer.h
Junhwan Park [Wed, 14 Jun 2017 05:03:19 +0000 (14:03 +0900)]
s5j: fix trivial typo
Fix trivial typo
Change-Id: I0d1488053975d71591713a730575e107c8187d09
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Fri, 19 May 2017 05:16:55 +0000 (14:16 +0900)]
examples/sensorbd_demo: fix define naming
I want to delete "S5J" prefix.
Change-Id: I6c9a6fb13833272a20fcb1be7595b40c5a1b466c
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Wed, 24 May 2017 06:18:53 +0000 (15:18 +0900)]
examples/smart_test: fix append mode when disk has been fulled
This patch includes fix about append mode. In append mode, calculate the
number of lines and perform the append test.
Change-Id: I5b2bdefd3750c4628309ca09fd67a2fc3ae8e4a4
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Wed, 17 May 2017 05:01:10 +0000 (14:01 +0900)]
examples/sysio_test: add dependencies on driver subsystems
Depending on the dependencies of the sysio driver, this example might
cause a build error. This patch adds the dependencies of the driver.
Change-Id: I7dfb0d284af1adbe4a82dd2ae47d4196cfe5185a
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Thu, 1 Jun 2017 00:52:42 +0000 (09:52 +0900)]
examples/sensorbd_demo: add SAMSUNG License
This patch includes adding missing Samsung License.
Change-Id: Ic3ee7ae33eddd43fb4a74b9fd64ceb37b61af08c
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Bongryul Lee [Thu, 1 Jun 2017 11:57:20 +0000 (20:57 +0900)]
artik053: fix trivial typo in Make.def
s/LDFLAAGS/LDFLAGS/
This enables the linker option '--gc-sections' that was not actually
applied so far, reducing binary footprints a little.
Change-Id: I227df3213598cb986068a317d6c5e741ae365850
Signed-off-by: Bongryul Lee <bongryul.lee@samsung.com>
sunghan [Tue, 19 Sep 2017 09:37:26 +0000 (18:37 +0900)]
artik053: cleanup download script
1. Split romfs stubs from main
2. Support low-case character for ALL option
3. Remove temporarily file, romfs_flashing.cfg when execution is failed
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