7 Replies Latest reply on Dec 9, 2014 2:09 PM by userc_9557

    Can not build the sample program on IDE2.1.1

      Hello, this is Taka, I'm new for developping Bloadcom BLE module.

       

      I bought BCM92073X_LE_KIT and just started developping Broadcom BLE.

      I installed WICED IDE 2.1.1 and connect the tag board like Quick Start Guid, MMPWICED-Smart-QSG203-R.pdf.

       

      On page 14 of the document, it says I have to copy hello_sensor-BCM920737TAG_Q32 make file but there is no file. Just  xxBCM92073"6"TAG_Q32 is on the IDE and I doubleclicked it.

      But the console shows following and nothing happend.

       

      -----------------------Console display-----------------------------------

       

      18:44:00 **** Build of configuration Release for project WICED-Smart-SDK ****

      "C:\\Users\\ag\\Documents\\WICED\\WICED-Smart-SDK-2.1.1\\WICED-Smart-SDK\\make.exe" Copy of hello_sensor-BCM920736TAG_Q32 download

      Makefile:194: *** Platform makefile not found: Platforms//.mk.  Stop.

       

       

      18:44:00 Build Finished (took 172ms)

       

      -----------------------Console display-----------------------------------

       

      I copyed ohter sample file on the IDE, but all of them was same result.

      How should I do?

        • 1. Re: Can not build the sample program on IDE2.1.1

          BCM92073X_LE_KIT uses BCM20737. So BCM920737TAG_Q32 should be the platform of the make target.

          To build and download "heart_rate_monitor" sample application, please try below make target.

           

          heart_rate_monitor-BCM920737TAG_Q32 download

           

          * Please do not forget removing "Copy of " from the target

          1 of 1 people found this helpful
          • 2. Re: Can not build the sample program on IDE2.1.1

            Thank you for the response.

             

            Unfotunately,

            I already tryed some xxBCM920737TAG_Q32 and the result was same.

             

            For example, I tryed

             

            health_thermometer-BCM920737TAG_Q32

            pwm_tones-BCM920737TAG_Q32

            proximity_client-BCM920737TAG_Q32

             

            There is no "heart_rate_monitor-BCM920737TAG_Q32".


            Here is the screen.

            The console shows it failed because the environment is not correct or somting, but the version of IDE is the latest one I think. It's v2.1.1

            error.png

            • 3. Re: Can not build the sample program on IDE2.1.1

              Your make targets still have "Copy of " as attached.

              error2.PNG

              Right clilck on the target and select "Edit".

              You can modify the target name on the dialog.

              • 4. Re: Can not build the sample program on IDE2.1.1

                Thank you for the reply,

                 

                I tried to rename it, but it will be the same name of the original file, so I couldn't do it. Here is the screen.

                 

                2.png

                "Target with that name already exist" come out, and could not push the OK button.

                 

                I have tried to do below on the Quick Start Guide on page 14-15.

                1.png

                There is no "hello_sensor-BCM920737TAG_Q32 download" in the IDE sample projects.

                And I don't understand why I have to copy and rename as the name of "heart_rate_monitor" ??

                I have experience of using other maker's BLE module and I know that there is a profile, named heart rate. Why the original code of the heart rate was hello-someting?

                The compile error is looks like the file name problem when the linker works, so I think, If I copy a source, I have to remake the make file too. But there is no discription of it.

                • 5. Re: Can not build the sample program on IDE2.1.1
                  MichaelF_56

                  Delete the three Make Files with "Copy of" at the beginning of the name.

                  Also, remember that you have to double click the make file in order for it to build/compile.  You cannot use the menus within the IDE for this task.

                   

                  Try clicking one of the default ones provided during the install to see if they work.

                   

                  Also recall, when creating a new make file, you can copy any of the existing make files and rename them, but the syntax has to be perfect.

                   

                  For example:

                  heart_rate_monitor-BCM920736TAG_Q32 download

                   

                  heart_rate_monitor = project/profile under the \apps folder within the SDK.  This is where the compiler will look for the valid project files.

                   

                  BCM920736TAG_Q32 = specific platform file under the \platforms folder within the SDK

                   

                  download = load/program the application onto the TAG board

                   

                  underscores and dashes also have to be preserved as shown above.

                   

                  Note that hello_sensor-BCM920736TAG_Q32 download is part of the standard install for the Windows IDE.  I do not recognize your screenshots, so I'm thinking you installed the Mac/OSX version of the SDK

                  • 6. Re: Can not build the sample program on IDE2.1.1

                    In this case, same target already exists as below.

                    22.PNG

                    You need to check whether make target that you want to build exists first.

                     

                    The guide shows the way to create/add "new" make target using existing target.

                    There are many sample apps exist in <WICED-Smart-SDK>/Apps directory.

                    But only some of them are available as make target.

                    Copying existing make target is easy way to build others.

                    Of cource you can create original application and add the make target for it.

                     

                    Following items may help your understanding about WICED Smart SDK.

                    <WICED-Smart-SDK>/README.txt

                    <WICED-Smart-SDK>/Apps/README.txt

                    <WICED-Smart-SDK>/Apps/***/***.c <--- There are simple comments at the top of the code.

                    <WICED-Smart-SDK>/Doc/*.pdf

                    <WICED-Smart-SDK>/Doc/API.html

                    1 of 1 people found this helpful
                    • 7. Re: Can not build the sample program on IDE2.1.1

                      Thank you for the reply.

                       

                      Now I know the meaning of Make Target Tab and the name.

                      I have read the document under Apps and Doc and Forum for two days, but I need to read more may be.

                       

                      I ignored the Quick Guide. I double clicked the existing make target name, and succeed to compile and load the program to the Tag board.

                       

                      Taka,