Where are build line command options defined?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

Where are build line command options defined?

The file “make_target_examples.txt” in the doc directory of WICED states “The following is a complete list…”

There are some explanations:

  • -debug: “Each make target may optionally append "-debug" which will compile each component unoptimized for debugging purposes”
  • download _apps: “For the BCM943364WCD1, BCM943438WCD1, and BCM9433634WCD1 platforms you must also add "download_apps" to the end of the target string to download the WLAN firmare to the external flash.”
  • download run: “Add "download run" to the end of the target string to download/flash and run your application.”

I'd like to see a true complete list that includes explanations for additional options such as:

  • -Netx
  • -Threadx
  • -SDIO
  • ALWAYS=1
  • Ota2_image
  • Ota2_factory_download
  • -FreeRTOS
  • -LwIP
0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

please use this one as a reference from make command:

age: make <target> [download] [run | debug] [JTAG=xxx] [no_dct]

  <target>

    One each of the following mandatory [and optional] components separated by '-'

      * Application (apps in sub-directories are referenced by subdir.appname)

      * Hardware Platform ()

      * [RTOS] (FreeRTOS NoOS ThreadX wiced_rtos_common.c wiced_rtos_common.h)

      * [Network Stack] (LwIP NetX NetX_Duo NoNS wiced_network_common.c wiced_tcpip_common.c)

      * [MCU-WLAN Interface Bus] (SDIO SPI)

Let me explain the target by using below command:

snip.scan-BCM943362WCD4-FreeRTOS-LwIP-SDIO download run

          application   -  Platform     -             RTOS   - Network Stack-WLAN Interface Bus

Be noted these five components are separated by '-'

  Notes

    * Component names are case sensitive

    * 'WICED', 'SDIO', 'SPI' and 'debug' are reserved component names

    * Component names MUST NOT include space or '-' characters

    * Building for release is assumed unless '-debug' is appended to the target

    * Some platforms may only support a single interface bus option

View solution in original post

5 Replies
lock attach
Attachments are accessible only for community members.
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

please use this one as a reference from make command:

age: make <target> [download] [run | debug] [JTAG=xxx] [no_dct]

  <target>

    One each of the following mandatory [and optional] components separated by '-'

      * Application (apps in sub-directories are referenced by subdir.appname)

      * Hardware Platform ()

      * [RTOS] (FreeRTOS NoOS ThreadX wiced_rtos_common.c wiced_rtos_common.h)

      * [Network Stack] (LwIP NetX NetX_Duo NoNS wiced_network_common.c wiced_tcpip_common.c)

      * [MCU-WLAN Interface Bus] (SDIO SPI)

Let me explain the target by using below command:

snip.scan-BCM943362WCD4-FreeRTOS-LwIP-SDIO download run

          application   -  Platform     -             RTOS   - Network Stack-WLAN Interface Bus

Be noted these five components are separated by '-'

  Notes

    * Component names are case sensitive

    * 'WICED', 'SDIO', 'SPI' and 'debug' are reserved component names

    * Component names MUST NOT include space or '-' characters

    * Building for release is assumed unless '-debug' is appended to the target

    * Some platforms may only support a single interface bus option

zhez,

Thank you,

That is the information I am looking for.

Can you also pass the pointer - link to or location where that information is maintained - to help me learn to find information directly.

I'm assuming the make_notes file exists somewhere in the WICED dcumentation.

Greg

0 Likes

Hi:

   I just went to a linux shell environment, and change directory to the make directory.

and press "make" , it will show all the explanations.

0 Likes

Thanks for the explanation zhez

0 Likes

Can you send me the "makenotes" document in an email so that I can include it here as text vs. an attachment to the thread.

When I download it, there is no formatting in notepad.

0 Likes