<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6432</bug_id>
          
          <creation_ts>2014-06-11 16:53:53 +0000</creation_ts>
          <short_desc>Document an example SDK usage workflow</short_desc>
          <delta_ts>2017-07-04 17:52:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>ADT Manual</product>
          <component>SDK</component>
          <version>1.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>28 June 2017: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.4 M2</target_milestone>
          <dependson>7675</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Henry Bruce">henry.bruce</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>david.b.kinder</cc>
    
    <cc>henry.bruce</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>kristi</cc>
    
    <cc>mhalstead</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="oscar lopez arandas">oscarx.lopez.arandas</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43873</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-06-11 16:53:53 +0000</bug_when>
    <thetext>Lets imagine we&apos;re an application developer who has an application, A and a library B that the application links to.

This developer needs to take our SDK and a target device, compile the lib and application for the device and iterate through a couple of recompile and retest cycles of the lib *and* the app.

This bug is about documenting how you can do that with the tools as they stand today. Its known there may be some difficulties. In documenting the existing flow, its hoped the gaps can be identified and specific tooling to help those gaps can be added and documented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43966</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-06-16 06:27:34 +0000</bug_when>
    <thetext>Hi, 

So this scenario assumes that the user application (A) and library (B) exist and work for some existing device.  Now the user wants to get them working for a different target device and to do that they will use one of our SDKs. Assuming I understand the overall goal then:

1. user knows the device for which he is compiling and testing the app and library for.

2. user finds the right SDK that YP provides for that target device.

3. user installs the SDK

4. user compiles the application and the library using the SDK

5. user gets the application and library on the target 

6. user tests application and target

7. user identifies any issues

8. user fixes issues

9. repeat 4 through 8.


Is the above the general idea here?

(Adding Paul, Ross, and Saul to CC list).

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44916</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-08-01 07:44:27 +0000</bug_when>
    <thetext>I am setting this to NEEDINFO.  The bug is not assigned to me but I need the information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45612</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-09-15 09:53:44 +0000</bug_when>
    <thetext>Investigation started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51729</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-06-16 10:22:30 +0000</bug_when>
    <thetext>After some discussion with Richard I&apos;m adjusting this task to documenting a worked example of how to use the extensible SDK. That probably means the content would go into the Application Development manual rather than the Development manual, and it&apos;ll need to happen after (or as part of) reworking that manual under bug 7675.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61569</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-04-22 16:44:07 +0000</bug_when>
    <thetext>Paul, 

How does this bug stand now?  With the new SDK manual, we need an example in there?

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61654</commentid>
    <comment_count>6</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-04-25 18:23:51 +0000</bug_when>
    <thetext>I am working with David Kinder to create a&quot;primer&quot; that fills the gap between getting started guide and reference documentation. Perhaps the primer could address this need?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61658</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-04-25 19:32:51 +0000</bug_when>
    <thetext>David, 

So what is going on here?  Is this Primer a new document into the YP documentation set?  We probably should discuss this effort. 

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66873</commentid>
    <comment_count>8</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-10-04 16:38:04 +0000</bug_when>
    <thetext>OTC technical writing team went for for a cookbook rather than a primer.

devtool/esdk article can be found at https://wiki.yoctoproject.org/wiki/Application_Development_with_Extensible_SDK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66876</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-04 17:07:35 +0000</bug_when>
    <thetext>Hi, 

So this bug is completed for the documentation?  If so, can I turn that flag off? When this bug was generated it was for 1.9 and the ADT manual was in existence.  That manual has been replaced for the last couple of releases by the new SDK manual, which is used in the wiki link mentioned in Comment 8.  

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66882</commentid>
    <comment_count>10</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-10-04 17:59:22 +0000</bug_when>
    <thetext>The eSDK section of the manual is mainly reference but I believe it addresses Richard&apos;s original question.

That said, eSDK maunal lacks an worked example (as done for the traditional SDK in http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#creating-and-running-a-project-based-on-gnu-autotools). However this is addressed by cookbook article on wiki.

I&apos;m not sure of next steps for this bug. I see the following options
1. Close as eSDK manual addresses original wording of bug, although manual lacks a worked example
2. Leave open until worked example is added to eSDK manual
3. Leave open until pointer to wiki cookbook article is added to manual</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67088</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-10 16:14:12 +0000</bug_when>
    <thetext>Hi, 

We have a couple examples in the SDK manual.  The Autotools section has a worked example, see http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#autotools-based-projects.  And, the example in the Eclipse section, see http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#sdk-developing-applications-using-eclipse.  I am not sure how much more of a worked example we would want.  Paul indicated that these examples are good for either the extensible or the standard SDK.  I suppose it would be possible to put a separate example in the chapter dedicated to the eSDK.  If that is what we want, I could take the Quick Start I wrote for Mendor.io and convert that for our use here.  Thoughts on all this stuff?

I can easily add a cross-reference link into the wiki.  That should probably be done regardless.  

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73883</commentid>
    <comment_count>12</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2017-06-08 13:51:05 +0000</bug_when>
    <thetext>Henry, 

I think you can just close this bug as the examples in the SDK manual seem to be adequate here.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74609</commentid>
    <comment_count>13</comment_count>
    <who name="Kristi">kristi</who>
    <bug_when>2017-06-28 21:28:19 +0000</bug_when>
    <thetext>Henry, 
Closing this per Scott even thought you own the bug. Setting the doc flag to &quot;Done&quot;. 

Thanks, 
Kristi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74744</commentid>
    <comment_count>14</comment_count>
    <who name="oscar lopez arandas">oscarx.lopez.arandas</who>
    <bug_when>2017-07-04 17:52:36 +0000</bug_when>
    <thetext>Documents an example SDK usage workflow in this link

https://wiki.yoctoproject.org/wiki/Application_Development_with_Extensible_SDK

http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#autotools-based-projects.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>