Build errors doing 2nd and third examples in WI-FI Tutorial 101

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

cross mob
alorc_4110946
Level 1
Level 1
First like received

make.exe[1]: *** No rule to make target 'apps/ww101/02/02_blinkled/../../ARM_CM4/crt0_GCC.c', needed by 'build/ww101.02.02_blinkled-CYW94343WWCD1_EVB/Modules/apps/ww101/02/02_blinkled/../../ARM_CM4/crt0_GCC.o'.  Stop.

make.exe[1]: *** Waiting for unfinished jobs....

Building Bootloader

Finished Building Bootloader

Makefile:351: recipe for target 'main_app' failed

make: *** [main_app] Error 2

MK file:

Name := apps_ww101_02_04_button

$(NAME)_SOURCES := 04_button.c

c file

#include "wiced.h"

void application_start()

{

    wiced_init();

        while(1)

        {

            button1_pressed = wiced_gpio_input_get(WICED_BUTTON1) ? WICED_FALSE : WICED_TRUE;

            if(button1_pressed == WICED_TRUE)

            {

                wiced_gpio_output_high (WICED_LED1);

            }

            else

            {

                wiced_gpio_output_low (WICED_LED1);

            }

        }

}

File structure:

0 Likes
1 Solution

Was able to work through. Thank you for help. Can close "Case"

View solution in original post

5 Replies