9 Replies Latest reply on May 7, 2017 6:37 PM by hbkim

    Generating DCT Images problems.

    hbkim

      my os is windows10 and develope environment is WICED Studio 4.1.1 IDE.

      I want to create shadow example DCT Image. (refer to "WICED-AN800-R-Factory-Programming.pdf")

       

       

      First, I downloaded this -> (https://github.com/wlljk2002/bcm-wiced-sdk/tree/master/apps/demo/temp_control)

      and copy factory_reset_dct.c file , mfg folder (included files also)

       

       

       

      Second, I modified factory_reset_dct.c and  mfg/0001.txt

       

      **factory_reset_dct.c (I changed the contents to this code.)**

      static const factory_reset_dct_t factory_reset_dct =

      {

          /* Security Credentials for Config Section _______________________________________*/

          .Platform.security_credentials.certificate = _DYNAMIC_CERTIFICATE_STORE,

          .Platform.security_credentials.private_key = _DYNAMIC_PRIVATE_KEY_STORE,

       

       

      };

       

       

      **0001.txt***(I changed the contents to this code.Omit the contents of the security keys)

      CERTIFICATE_STORE="-----BEGIN CERTIFICATE-----\r\n"\

                        "-----END CERTIFICATE-----\r\n"\

                        "\0"\

                        "\0"

      PRIVATE_KEY_STORE="-----BEGIN CERTIFICATE-----\r\n"\

                        "-----END CERTIFICATE-----\r\n"\

                        "\0"\

                        "\0"

       

       

      Third, I input Windows cmd shell command to build shadow application

      > .\make demo.aws_iot.shadow-BCM943907WCD2 factory_reset_dct apps/demo/aws_iot/shadow/mfg/0001.txt

      (This is done after moving to the path where 'make' file exists.)

       

       

       

       

      But I got the error message.

       

       

      MAKEFILE MAKECMDGOALS=demo.aws_iot.shadow-BCM943907WCD2 factory_reset_dct apps/demo/aws_iot/shadow/mfg/0001.txt OTA2_SUPPORT is disabled

      Makefile:322: warning: overriding recipe for target 'demo.aws_iot.shadow-BCM943907WCD2'

      Makefile:288: warning: ignoring old recipe for target 'demo.aws_iot.shadow-BCM943907WCD2'

      Makefile:322: warning: overriding recipe for target 'apps/demo/aws_iot/shadow/mfg/0001.txt'

      Makefile:288: warning: ignoring old recipe for target 'apps/demo/aws_iot/shadow/mfg/0001.txt'

      Makefile:360: warning: overriding recipe for target 'factory_reset_dct'

      Makefile:322: warning: ignoring old recipe for target 'factory_reset_dct'

      make: *** No rule to make target 'wiced_factory_reset.mk', needed by 'factory_reset_dct'.  Stop.

       

       

      and I found wiced_factory_reset.mk file , but this file is not exist

      Please help me figure out what's wrong.