Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iotjs: Add defconfigs for ARTIKS and doc #2009

Merged
merged 3 commits into from
Aug 9, 2018

Conversation

rzr
Copy link
Contributor

@rzr rzr commented Aug 7, 2018

No description provided.

@rzr rzr force-pushed the sandbox/rzr/review/master branch from 1b9d3c8 to 4bded8b Compare August 7, 2018 17:49
@seinfra
Copy link

seinfra commented Aug 7, 2018

Target : [4bded8bcd1d9fcb7d5976d895f9bfcb554238bde] - Code Rule Check (C++) OK.

@seinfra
Copy link

seinfra commented Aug 7, 2018

Target : [4bded8bcd1d9fcb7d5976d895f9bfcb554238bde] - Code Rule Check OK.

@@ -0,0 +1,150 @@
###########################################################################
#
# Copyright 2017 Samsung Electronics All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2018

#
###########################################################################
############################################################################
# configs/artik053s/nettest/Make.defs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iotjs

@@ -0,0 +1,150 @@
###########################################################################
#
# Copyright 2017 Samsung Electronics All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2018

#
###########################################################################
############################################################################
# configs/artik055s/nettest/Make.defs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iotjs


## Use reference configuration

machine=artik053 # Adapt with your supported target
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to change a line, you must add two spaces at end of line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok but why ?

Using menuconfig an example can be used to selected needed feature.

make menuconfig
# Application Configuration --->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs ``` block

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or 4 spaces,

It's will be properly formatted:
https://github.com/TizenTeam/TizenRT/blob/sandbox/rzr/review/master/docs/HowToUseIoTjs.md

and easier to read in editor or terminal.

@rzr rzr force-pushed the sandbox/rzr/review/master branch from 4bded8b to 1ffd6d4 Compare August 8, 2018 08:40
@seinfra
Copy link

seinfra commented Aug 8, 2018

Target : [1ffd6d4cd68292cc610f2c98e39df3a66c5ced4f] - Code Rule Check (C++) OK.

@seinfra
Copy link

seinfra commented Aug 8, 2018

Target : [1ffd6d4cd68292cc610f2c98e39df3a66c5ced4f] - Code Rule Check OK.

## Use reference configuration

machine=artik053 # Adapt with your supported target
cd os && ./tools/configure.sh ${machine}/devel # Generate os/.config
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the meaning of devel? not iotjs?

@rzr rzr force-pushed the sandbox/rzr/review/master branch from 1ffd6d4 to 7f18e0b Compare August 8, 2018 10:14
@seinfra
Copy link

seinfra commented Aug 8, 2018

Target : [7f18e0ba15dd70ccb449073863a0a7f80ac85b9a] - Code Rule Check (C++) OK.

@seinfra
Copy link

seinfra commented Aug 8, 2018

Target : [7f18e0ba15dd70ccb449073863a0a7f80ac85b9a] - Code Rule Check OK.

@@ -39,12 +39,14 @@ if EXAMPLES_IOTJS_STARTUP_WIFI
config EXAMPLES_IOTJS_STARTUP_WIFI_SSID
string "SSID of AP"
default "public"
depends on EXAMPLES_IOTJS_STARTUP_WIFI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am sorry but last comment.

  1. If you intend to use depends on EXAMPLES_IOTJS_STARTUP_WIFI, let's remove line 37. if EXAMPLES_IOTJS_STARTUP_WIFI and line 52, endif. That is duplicated with depends on.
  2. If you want to keep if xx instead of depends on xx, you should move endif location to cover EXAMPLES_IOTJS_STARTUP_WIFI_AUTH and EXAMPLES_IOTJS_STARTUP_WIFI_CRYPTO.

rzr added 3 commits August 8, 2018 23:26
Bug: Samsung#2009
Change-Id: I79e07b01dcd2a00883c83796ac9570f0e85c2545
Signed-off-by: Philippe Coval <[email protected]>
Some efforts to align configuration between targets:

* iotjs_startup is enabled by default
* ROM part is enabled to store javascripts in image
* WiFi connection is disabled by default
* DM, M2M is disabled to allow WiFi client feature
* IPv6 Enabled to prevent libtuv build issues (resolved in later version)
* ADC device enabled (for IoT.js adc module)

Bug: Samsung#2009
Change-Id: Icbd2584daf98766185f5580a154d09589c77a9f6
Signed-off-by: Philippe Coval <[email protected]>
Bug: Samsung#2009
Change-Id: Ic6a9b78b69727f5937bb7f18a76036c626c7c5f5
Signed-off-by: Philippe Coval <[email protected]>
@rzr rzr force-pushed the sandbox/rzr/review/master branch from 7f18e0b to b83d0cd Compare August 8, 2018 23:29
@seinfra
Copy link

seinfra commented Aug 8, 2018

Target : [b83d0cd] - Code Rule Check OK.

@seinfra
Copy link

seinfra commented Aug 8, 2018

Target : [b83d0cd] - Code Rule Check (C++) OK.

@sunghan-chang sunghan-chang merged commit b5111c3 into Samsung:master Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants